Command
shutdown
Use
This command will administratively disable an interface. Alternatively, you can enable the interface by negating the command using no shutdown.
Syntax
Router(config-if)#shutdown
OR
Router(config-if)#no shutdown
Example
In the below example, we shutdown R1’s Fa0/0 interface and then enable the interface again.
R1(config)#int fa0/0 R1(config-if)#shutdown R1(config-if)# *Mar 1 19:17:34.339: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is down: interface down R1(config-if)# *Mar 1 19:17:36.315: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down *Mar 1 19:17:37.315: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down R1(config-if)#do show ip int br Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.1.1.1 YES NVRAM administratively down down R1(config-if)#no shut R1(config-if)# *Mar 1 19:17:53.111: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is up: new adjacency R1(config-if)# *Mar 1 19:17:53.411: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up *Mar 1 19:17:54.411: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R1(config-if)#do show ip int br Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.1.1.1 YES NVRAM up up