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. (more…)

HowTo: Check Fan Tray status on Cisco

Execute one of the following commands to check the status of fans on Cisco equipment.

Use the ‘show environment | include fan-tray‘ command to check Fan-Tray status.

# show environment | include fan-tray
system minor alarm on fan-tray 1 fan-fail (raised 00:22:13 ago)
fan-tray 1:
  fan-tray 1 type: WS-C6K-9SLOT-FAN
  fan-tray 1 version: 1
  fan-tray 1 fan-fail: failed

Or use ‘show environment status fan-tray‘ command.

# show environment status fan-tray
fan-tray 1:
  fan-tray 1 type: WS-C6K-9SLOT-FAN
  fan-tray 1 version: 1
  fan-tray 1 fan-fail: failed

You can also check temperature using ‘show environment temperature‘ command.

# show environment temperature
  VTT 1 outlet temperature: 24C
  VTT 2 outlet temperature: 26C
  VTT 3 outlet temperature: 25C
  module 1 outlet temperature: 24C
  module 1 inlet temperature: 26C
  module 1 device-1 temperature: 33C
  module 1 device-2 temperature: 33C
  RP 1 outlet temperature: 30C
  RP 1 inlet temperature: 34C
  EARL 1 outlet temperature: 30C
  EARL 1 inlet temperature: 26C

HowTo: Configure CISCO port description

Type the following commands to create/edit the description of the port ‘FastEthernet 0/1’ on CISCO switch or router:

# enable
# configure terminal
(config)# interface FastEthernet 0/1
(config-subif)# description This is 1st Port of My Switch
(config-subif)# end
# write

To display a description and a status of an interface, use the ‘show interfaces description‘ command:

# show interfaces FastEthernet 0/1 description
Interface                      Status         Protocol Description
FastEthernet 0/1                     up           up     This is 1st Port of My Switch