show interface命令
Show interface [type] [module/port]命令显示交换机所有接口的配置统计情况。此外还可以对此命令加上其他参数,以显示某个具体的接口的配置统计情况,如例10-53所示。show interface [type] [module/port]命令对于解决网络问题很有帮助。
例10-54  利用show interface命令显示接口的配置情况:
Switch#show interfaces fastEthernet 0/5
FastEthernet0/5 is up, line protocol is up
Hardware is Fast Ethernet, address is 000b.46c8.be05 (bia 000b.46c8.be05)
MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
input flow-control is off, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:00, 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
134 packets input, 13001 bytes, 0 no buffer
Received 42 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 3 multicast, 0 pause input
0 input packets with dribble condition detected
4606 packets output, 395474 bytes, 0 underruns
0 output errors, 0 collisions, 4 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
Switch#