CISCO: [No] Shutdown Command – Enable/Disable Interface

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

5 Replies to “CISCO: [No] Shutdown Command – Enable/Disable Interface”

  1. Ошибка в начале статьи во втором абзаце shutdown(выкл) and no shutdown(вкл)

    1. Поправил. Спасибо.

    2. 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

  2. Hi! What would happen if the port being shutdown is a aggregated port? Would the member ports also be shutdown?

  3. 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???

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.