Translate

4 de noviembre de 2014

CAP 2 - CONFIGURACIÓN ROUTER - CONFIGURACIÓN INTERFACES

Lo primero que tenemos que hacer es verificar que las conexiones de nuestros routers, switchs con  nuestro ordenador de administración estén conectados correctamente en sus puertos debidos, en especial el  cable consola, como se muestra en la siguiente representación. 

Lo siguiente es tener instalado en nuestro ordenador algún programa de comunicación para puestos serie o rs-232 , como por ejemplo teraterm.

Seleccione la siguiente imagen  pueden descargar teraterm.





OBSERVACIÓN DE RUTAS CUANDO SE AÑADEN A LA TABLA DE ENRRUTAMIENTO 

Con este comando se pretende ver cuando las rutas directamente conectadas se añaden a la tabla de enrutamiento y cuando se eliminan.
  • Router >
  • Router > enable
  • Router # debug ip routing
IP routing debugging is on
·         Router #

CONFIGURACIÓN DEL PUERTO DE INTERFAZ ETHERNET EN UN ROUTER
  • Router > enable
  • Router # configure terminal
  • Router ( config )# interface fastethernet [nº interface]  
  • Router (config-if)# ip address  [direccion ip] [mascara subred]
  • Router (config-if)# description   [texto  descriptivo]
  • Router (config-if)# no shutdown
CONFIGURACIÓN DEL PUERTO DE INTERFAZ GIGABITETHERNET IPV6

  • Router > enable
  • Router # configure terminal
  • Router ( config )#interface gigabitethernet [nº interface]
  • Router (config-if)# ipv6  address [dirección ipv6]
  • outer (config-if)# no shutdown
VERIFICACIÓN DE LA CONFIGURACION ETHERNET  DE UN ROUTER
Comprobación de la configuración de la interfaz serie:
·       Router # show interfaces  fastethernet [nº interface]  o gigabitethernet [nº interface]
·       Router # Show ip interface Router # ping direccion_ip
  Router # show ip route
3.       Uso de los comandos para verificar las configuraciones de las interfaces :
·         Router # show running-config

COMANDOS DE ESTADO Y VERIFICACION DE UNA INTERFAZ ESPECÍFICA  FASTETHERNET EN UN ROUTER
Comando show interfaces muestra el estado y una descripción detallada de la interfaz deseada
  • Router >
  • Router > enable
  • Router # show interfaces  [tipo de interface]
FastEthernet0/0 is up, line protocol is up (connected)
Hardware is Lance, address is 0000.0cce.0ae3 (bia 0000.0cce.0ae3)
Internet address is 192.168.2.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
1 packets output, 52 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Comandos adicionales para examinar el estado de las interfaces fastethernet:
·         Show ip interface brief:  se utiliza para ver una porción de la información de las interfaces  en formato resumido
·         Show runing-config:  se utiliza para ver la configuración que el router está utilizando actualmente

MODIFICACION DE LA DIRECCION DE RED DE UNA INTERFAZ FASTETHERNET DE UN ROUTER
1.       Router # debug ip routing

2.       Router # configure terminal
·         Router (config) # interface  fastethernet [nº  interface]
·         Router (config) # shutdown

3.       Router (config) # no ip address
·         Router (config) # end

4.       Router # undebug all

5.       Router # show ip route

CONFIGURACIÓN DE INTERFACES LOOPBACK

  • Router >
  • Router > enable
  • Router # configure terminal
  • Router ( config )# interface loopback [nº  interface]
  • Router (config-if)# ip address [Direction ip]  [mascara sub red]
  • Router (config-if)# description    [texto descriptivo]
  • Router (config-if)# no shutdown
  • Router (config-if)# exit


CONFIGURACION DE INTERFACES SERIE

OBSERVACIÓN DE RUTAS CUANDO SE AÑADEN A LA TABLA DE ENRRUTAMIENTO 

Con este comando se pretende ver cuando las rutas directamente conectadas se añaden a la tabla de enrutamiento y cuando se eliminan.
  • Router >
  • Router > enable
  • Router # debug ip routing
IP routing debugging is on
·         Router #

CONFIGURACIÓN DE LAS INTERFACES SERIE DE UN ROUTER
  • Router > enable
  • Router # configure terminal
  • Router (config) # interface serial [nº  interface]
  • Router (config-if)# Ip address [Direction ip]  [mascara sub red]
  • Router (config-if)# clock rate [56000] o [64000]
  • Router (config-if)# description  [texto descriptivo]
  • Router (config-if)# no shutdown
  • Router (config-if)# exit
COMANDO BANDWIDTH ( SE APLICA EN LAS INTERFACES )

·         Router (config)#  interface serial  0/0
·         Router (config-if)#  bandwidth [valor deseado]

MODIFICAR BANDWIDTH  ( SE APLICA EN LAS INTERFACES )
·         Router (config)#  interface serial  0/0
·         Router(config-if)# ip bandwidth-percent eigrp [numero sa ][porcentaje ]

MODIFICACION DE LA DIRECCION DE RED DE UNA INTERFAZ SERIAL DE UN ROUTER
  1. Router # debug ip routing
  2. Router # configure terminal
  3. Router (config) # interface serial [nº  interface]
  4. Router (config) # shutdown
  5. Router (config) # no ip address
  6. Router (config) # end
  7. Router # undebug all
  8. Router # show ip route
COMANDO PARA DETERMINAR EL TIPO DE CABLE SERIE QUE SE ESTA UTILIZANDO
En caso de no estar etiquetado ningún cable podemos usar el comando show controllers para determinar que extremo del cable está conectado a esa interfaz
  • Router >
  • Router > enable
  • Router # show controllers serial [nº  interface]

Interface Serial0/0
Hardware is PowerQUICC MPC860
DTE V.35 TX and RX clocks detected

COMANDOS DE ESTADO Y VERIFICACION DE UNA INTERFAZ ESPECÍFICA  SERIAL EN UN ROUTER
Comando show interfaces muestra el estado y una descripción detallada de la interfaz deseada
  • Router >
  • Router > enable
  • Router # show interfaces  serial [nº  interface]
Serial0/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 10.0.0.1/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 96 kilobits/sec
5 minute input rate 15 bits/sec, 0 packets/sec
5 minute output rate 13 bits/sec, 0 packets/sec
51 packets input, 2652 bytes, 0 no buffer
Received 51 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
50 packets output, 2600 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up

Comandos adicionales para examinar el estado de las interfaces serial:
·         Show ip interface brief: se utiliza para ver una porción de la información de las interfaces  en formato resumido.
·         Show running-config: se utiliza para ver la configuración que el router está utilizando actualmente.
·         Ping [direccion ip
Comprobación de la configuración de la interfaz serie:
·         Router # show interfaces  serial [nº  interface]
·         Router # Show ip interface brief


VERIFICACIÓN DE LA CONFIGURACION SERIAL  DE UN ROUTER
  •      Uso del comando ping para verificar la conectividad:                                                                                        Router # ping [direccion ip
  •      Uso del comando show ip Router para verificar la conectividad:                                                                      Router # show ip route
  •      Uso de los comandos para verificar las configuraciones de las interfaces :                                                      Router # show running-config


No hay comentarios:

Publicar un comentario