06-02-2021 04:48 AM
Newbie here. I'm studying networking and struggling to understand the no shutdown command. I don't understand what no shutdown command actually does. I've read that it enables the interface but I don't even understand what that means. What does enabling the interface do? Does it allow you to configure its settings?
06-02-2021 05:13 AM - edited 06-02-2021 05:15 AM
if interface is UP UP , aka operational, you can shut it down; like if u want to make some changes. you issue shutdown. once you do those changes, u can bring interface back to up up, operational, by issuing no shutdown command.
"no" is use a lot in ios. basically, if u want to undo command, meaning remove command, you can and sometimes must use no. i.e. to add default gateway you do: ip route 0.0.0.0. 0.0.0.0.0 1.2.3.4, to remove it you must add no in front of it, aka no ip route 0.0.0.0. 0.0.0.0.0 1.2.3.4
Regards, ML
**Please Rate All Helpful Responses **
06-02-2021 05:26 AM - edited 06-02-2021 05:27 AM
another example, you have just configured and made mistake:
interface fastEthernet0/0
ip address 192.168.4.1 255.255.255.0
arp timeout 100
no shut
opps, i made mistake, you can fix it with no command or by typing correct numbers.
interface fastEthernet0/0
shutdown
no ip address 192.168.4.1 255.255.255.0
ip address 192.168.40.1 255.255.255.192
no arp timeout 100
no shutdown
Technically, in this case You could jsut type correct ip without shutdown command or type default values for arp time out (if u can remember ).
Regards, ML
**Please Rate All Helpful Responses **
06-16-2021 05:03 AM
The no shutdown command enables an interface (brings it up). This command must be used in interface configuration mode. It is useful for new interfaces and for troubleshooting. When you're having trouble with an interface, you may want to try a shut and no shut.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide