[fusion_text]How do you enable or disable an interface on a Cisco switch?
With the following steps we disable interface FastEthernet 0/1
As shown above, the interface is now administratively down, verify this:
To enable this interface, do the following and verify it:
Show interfaces status with:
[/fusion_text][separator style_type=”none” top_margin=”5″ bottom_margin=”” sep_color=”” border_size=”” icon=”” icon_circle=”” icon_circle_color=”” width=”” alignment=”center” class=”” id=””]
With the following steps we disable interface FastEthernet 0/1
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 | Linuxsource-switch1> enable Linuxsource-switch1# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Linuxsource-switch1(config)# interface fastEthernet 0/1 Linuxsource-switch1(config-if)# shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down Linuxsource-switch1(config-if)# end |
Shell
1 2 | Linuxsource-switch1# show interfaces fastEthernet 0/1 <strong>FastEthernet0/1 is administratively down, line protocol is down (disabled)</strong> |
Shell
1 2 3 4 5 6 7 8 9 | Linuxsource-switch1# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Linuxsource-switch1(config)# interface fastEthernet 0/1 Linuxsource-switch1(config-if)# no shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, <strong>changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up</strong> |
Shell
1 2 3 | Linuxsource-switch1# show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/1 unassigned YES manual up up |