Operating instructions
218 Cisco Systems Intelligent Gigabit Ethernet Switch Module
shut - no shut (interface config mode)
Used to administratively shut down or bring up an interface. Run from interface config mode.
If Telneted in, use term mon to see port up/down messages. Use show int status to see
whether port is administratively shut down.
shut - no shut is very handy for clearing ports in err-disable state. (Exception: If using the
trunk failover feature, shut - no shut is
not the tool to clear err-disabled. Instead, err-disable is
normal for trunk failover if all upstream defined ports down. Fixing upstream fixes err-disable.)
cigesm_t#conf t
Enter configuration commands, one per line. End with CNTL/Z.
cigesm_t(config)#int g0/5
cigesm_t(config-if)#shut
cigesm_t(config-if)#
12:50:36: %LINK-5-CHANGED: Interface GigabitEthernet0/5, changed state to
administratively down
12:50:37: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/5, changed
state to down
cigesm_t(config-if)#no shut
cigesm_t(config-if)#
12:50:46: %LINK-3-UPDOWN: Interface GigabitEthernet0/5, changed state to up
12:50:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/5, changed
state to up
show int g0/X
Figure 8-8 shows the output from the sh int g0/X (X is a number between 1 and 20)
command. It is very handy for monitoring interface throughput and error conditions. Use clear
counters to clear the numbers on the interfaces for fresh monitoring.
Figure 8-8 Output of sh int g0/X command
Important: shut is used to effectively block all traffic through an interface. This disrupts
data flow and should be used only by those understanding the consequences of using this
command.
• Show status of individual interface along with
input/output stats and error stats
cigesm_t#sh int g0/5
GigabitEthernet0/5 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 000f.90cd.6fc5 (bia 000f.90cd.6fc5)
Description: blade5
...
Full-duplex, 1000Mb/s, link type is auto, media type is unknown 0
...
5871 packets input, 633470 bytes, 0 no buffer
Received 1210 broadcasts (0 multicast)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
13265 packets output, 1409452 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
Port link state
Port speed/duplex
Input stats and errors for interface
output stats and errors for interface