Below you will find the examples of how to bring up and down an interface on a CISCO switch or router.
On the CISCO command-line interface, there is the shutdown interface configuration command to disable an interface and the no shutdown command to enable it.
I will show the examples of these commands, as well as how to check an interface status using the show interfaces status command.
Cool Tip: There is nothing worse then trying to debug a network problem when the problematic interface is unlabeled! Always set the interface description! Read more →
“No Shutdown” Command – Enable Interface
To enable an interface FastEthernet 0/1 on a CISCO switch or router, run:
# enable # configure terminal (config)# interface FastEthernet 0/1 (config-subif)# no shutdown (config-subif)# end # write
To display a status of the interface FastEthernet 0/1, use the show interfaces FastEthernet 0/1 status command:
# show interfaces FastEthernet 0/1 status Port Name Status Vlan Duplex Speed Type Fa0/1 connected 15 full 100 10/100BaseTX
Cool Tip: Don’t let your CISCO device burn in torment! Check its temperature and the fan tray status! Read more →
“Shutdown” Command – Disable Interface
To disable an interface FastEthernet 0/1 on a CISCO switch or router, run:
# enable # configure terminal (config)# interface FastEthernet 0/1 (config-subif)# shutdown (config-subif)# end # write
To display a status of the interfaceFastEthernet 0/1, use the show interfaces FastEthernet 0/1 status command:
# show interfaces FastEthernet 0/1 status Port Name Status Vlan Duplex Speed Type Fa0/1 disabled 15 full 100 10/100BaseTX
Ошибка в начале статьи во втором абзаце shutdown(выкл) and no shutdown(вкл)
Поправил. Спасибо.
Hello Roman:
How would you do this if the switch put in an enable prompt
and I dont know the password for the enable login prompt.
Thank you,
Kurt
Hi! What would happen if the port being shutdown is a aggregated port? Would the member ports also be shutdown?
Hi Guys,
these is my command in router, which is connected to the switch 2960-24TT, the both interface is gigabitEthernet 0/1, but after I type the no shutdown command, the interface still down, how to fix it, what is the problem? And also all the interface of pc connected to the switch are down.
RFINANCE>enable
RFINANCE#configure terminal
RFINANCE(config-if)#int g0/1
RFINANCE(config-if)#ip address 10.10.10.1 255.255.224.0
RFINANCE(config-if)#no shutdown
#show ip interface brie
:GigabitEthernet0/1 unassigned YES manual down down
Why???
Down/Down is a L1 problem
Possible reasons
Damaged cable
Wrong type of cable (Straight/Cross), without MDIX active
Hardcoded Duplex/Speed setting on one side (it may be a problem even if autonegotiation is enabled)
Device/port on the other side is shutdown
Simple yet effective, definitely needed to have the port on the other end up, thanks a bunch a noodes, toodles!
you don’t have gateway configured?
Hi,
I tried no shut in my interface but still it is in down status what i can do
PS: i am trying to configure Spanning Tree
How can I run this command for all the interfaces of a switch in one go ?
shutdown
No shutdown
Try interface range in conf mode.
What is default port state if shut/no shut command is not given? If no shut, what is the point to use no shut?