Comandos para Ingresar a las Interfaces:
interface ethernet 0
interface fastEthernet 0/1
interface gigabitethernet 0/0
interface serial 1/0/1
Comandos para Mostrar el Estatus de las Interfaces:
Dos de los comandos más comunes para mostrar el estatus de las interfaces son show ip interface brief y show interfaces.
El primero lista las interfaces una por línea, con información básica como la dirección IP y el estado de la intefaz. El segundo comando lista las interfaces, pero con muchas más información por cada una.
Ejemplo: Listar Interfaz del Router
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/0 172.16.1.1 YES NVRAM down down
GigabitEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 172.16.4.1 YES NVRAM up up
Serial0/0/1 172.16.5.1 YES NVRAM up up
Serial0/1/0 unassigned YES NVRAM up up
Serial0/1/1 unassigned YES NVRAM administratively down down
R1# show interfaces serial 0/0/0
Serial0/0/0 is up, line protocol is up
Hardware is WIC MBRD Serial
Description: Link in lab to R2's S0/0/1
Internet address is 172.16.4.1/24
MTU 1500 bytes, BW 1544 Kbit/sec, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input 00:00:03, output 00:00:06, output hang never
Last clearing of 'show interface' counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); 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 0 bits/sec, 0 packets/sec
42 packets input, 3584 bytes, 0 no buffer
Received 42 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
41 packets output, 3481 bytes, 0 underruns
0 output errors, 0 collisions, 4 interface resets
3 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
Comandos Clave para Listar el Estado de la Interfaz del Router
| Comando | Líneas Mostradas por Interfaz | Listado de Configuración IP | Estado de la Interfaz Listada? |
|---|---|---|---|
| show ip interface brief | 1 | Dirección | Si |
| show protocols [type number] | 1 o 2 | Dirección/Máscara | Si |
| show interfaces [type number] | Muchas | Dirección/Máscara | Si |
