- show banner exec
- show banner motd
- show boot
- show cli alias
- show cli history
- show cli variables
- show clock
- show configuration session
- show copyright
- show debug logfile
- show environment
- show feature
- show file
- show hardware internal
- show hostname
- show incompatibility system
- show install all
- show inventory
- show license
- show license host-id
- show license usage
- show line
- show module
- show processes
- show processes cpu
- show processes log
- show processes memory
- show running-config
- show running-config diff
- show sprom
- show startup-config
- show switchname
- show system cores
- show system reset-reason
- show system resources
- show system uptime
- show tech-support
- show terminal
- show version
Show Commands
This chapter describes the basic Cisco NX-OS system show commands.
show banner exec
To display the EXEC banner, use the show banner exec command.
Syntax Description
Defaults
Command Modes
network-admin
vdc-admin
network-operator
vdc-operator
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the EXEC banner:
Related Commands
|
|
---|---|
show banner motd
To display the message-of-the-day (MOTD) banner, use the show banner motd command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the MOTD banner:
Related Commands
|
|
---|---|
show boot
To display the boot variable configuration, use the show boot command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display all configured boot variables:
This example shows how to display the list of boot variable names:
Related Commands
|
|
---|---|
Configures the boot variable for the kickstart or system image. |
show cli alias
To display the command alias configuration, use the show cli alias command.
show cli alias [ name alias-name ]
Syntax Description
(Optional) Specifies the name of a command alias. The alias name is not case sensitive. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display all configured command aliases:
This example shows how to display a specific command alias:
Related Commands
|
|
---|---|
show cli history
To display the command history, use the show cli history command.
show cli history [ lines ] [ unformatted ]
Syntax Description
(Optional) Last number of lines from the end of the command history. |
|
(Optional) Displays the commands without line numbers or time stamps. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display all of the command history:
This example shows how to display the last 10 lines of the command history:
This example shows how to display unformatted command history:
Related Commands
|
|
---|---|
show cli variables
To display the configuration of the command-line interface (CLI) variables, use the show cli variables command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the CLI variables:
Related Commands
|
|
---|---|
show clock
To display the current date and time, use the show clock command.
Syntax Description
(Optional) Displays the summer-time (daylight saving time) offset configuration. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the current clock setting:
This example shows how to display the current clock setting and the summer-time (daylight saving time) configuration:
Related Commands
|
|
---|---|
show configuration session
To display information about configuration sessions, use the show configuration session command.
show configuration session [ session-name | status | summary ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display information about a specific configuration session:
This example shows how to display the status of the active configuration session:
This example shows how to display the summary information of the active configuration sessions:
Related Commands
|
|
---|---|
show copyright
To display the Cisco NX-OS software copyright information, use the show copyright command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the Cisco NX-OS copyright information:
show debug logfile
To display the contents of the debug logfile, use the show debug logfile command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the contents of a debug log file:
Related Commands
|
|
---|---|
show environment
To display information about the hardware environment status, use the show environment command.
show environment [ fan | power | temperature ]
Syntax Description
(Optional) Displays information about the power capacity and distribution. |
|
(Optional) Displays information about the temperature environment. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display information about the hardware environment:
show feature
To display the status of features on a switch, use the show feature command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the state of all features on a switch:
Related Commands
|
|
---|---|
show file
To display the contents of a file on the local memory, use the show file command.
show file [ filesystem :] [// server /] [ directory ] filename
Syntax Description

Note There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this string are separated by colons (:) and slashes (/).
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the contents of a file:
If the file that you want to display is a directory, the command will return an error message:
Related Commands
|
|
---|---|
show hardware internal
To display information about the physical device hardware, use the show hardware internal command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display information about the physical device hardware:
Related Commands
|
|
---|---|
show hostname
To display the hostname for the switch, use the show hostname command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The show switchname command also displays the switch hostname.
Examples
This example shows how to display the hostname for the switch:
Related Commands
|
|
---|---|
show incompatibility system
To display the configuration incompatibilities between the running system image and an earlier system image prior to downgrading the Cisco NX-OS software, use the show incompatibility system command.
show incompatibility system { filesystem : // server / [ directory ] filename }
Syntax Description

Note There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this string are separated by colons (:) and slashes (/).
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the configuration incompatibilities:
Related Commands
|
|
---|---|
show install all
To display information related to the operation of the install all command, use the show install all command.
show install all { failure-reason | impact [ kickstart | system ] | status }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the installation failure reason:
This example shows how to display the impact of installing new images:
This example shows how to display the status of the software installation process:
Related Commands
|
|
---|---|
show inventory
To display the physical inventory information for the switch hardware, use the show inventory command.
show inventory [ fex chassis_ID ]
Syntax Description
(Optional) Specifies the Fabric Extender chassis ID. The chassis ID is from 100 to 199. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the switch hardware inventory information:
This example shows how to display the hardware inventory information for an attached Fabric Extender:
Related Commands
|
|
---|---|
show license
To display license information, use the show license command.
show license [ brief | default | file filename ]
Syntax Description
(Optional) Displays a list of license files installed on a device. |
|
(Optional) Displays the services that use the default license. |
|
(Optional) Displays information for a specific license file. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display a specific license installed on the switch:
This example shows how to display a list of license files installed on a device:
This example shows how to display the services that use the default license:
This example shows how to display all licenses installed on a device:
Related Commands
|
|
---|---|
Displays the serial number of the chassis to use for licensing. |
|
show license host-id
To display the serial number (host ID) of the switch chassis to use for licensing, use the show license host-id command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The serial number is the entire string that appears after the colon (:) as shown in the example.
Examples
This example shows how to display the host ID that is required to request node-locked licenses:
Related Commands
|
|
---|---|
show license usage
To display license usage information, use the show license usage command.
show license usage [ PACKAGE ]
Syntax Description
(Optional) List of licensed features in use for the specified license package. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display information about the current license usage:
Table 1 describes the columns used in the show license usage command output.
This example shows how to display a list of features in use for a specific license:
Related Commands
|
|
---|---|
Displays the serial number of the chassis to use for licensing. |
show line
To display terminal port configuration information, use the show line command.
show line [ console [ user-input-string ]]
Syntax Description
(Optional) Displays only information about the console port configuration. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display information about the terminal port configuration information:
This example shows how to display only the information about the console port configuration:
This example shows how to display the user-input initialization string for a modem:
Related Commands
|
|
---|---|
show module
To display module information, use the show module command.
show module [ module-number | fex [ chassis_ID | all ]]
Syntax Description
Command Default
Displays module information for all modules in the switch chassis.
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display information for all modules in the chassis:
This example shows how to display information for a specific module:
This example shows how to display information about an attached Fabric Extender:
This example shows how to display information about all attached Fabric Extender units:
Related Commands
|
|
---|---|
show processes
To display the process information for the switch, use the show processes command.
Syntax Description
Command Default
Displays information for all processes running on the switch.
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the process information for a device:
Related Commands
|
|
---|---|
show processes cpu
To display the CPU utilization information for processes on the device, use the show processes cpu command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the CPU utilization information for the processes:
Related Commands
|
|
---|---|
show processes log
To display the contents of the process log, use the show processes log command.
show processes log [ details | pid process-id ]
Syntax Description
(Optional) Displays detailed information from the process log. |
|
(Optional) Displays detailed information from the process log for a specific process. The process ID range is from 1 to 2147483647. |
Command Default
Displays summary information for all processes on the device.
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display summary information from the process log:
This example shows how to display detailed information from the process log:
This example shows how to display detailed information from the process log for a specific process:
Related Commands
|
|
---|---|
show processes memory
To display the memory allocation information for processes, use the show processes memory command.
show processes memory [ shared [ detail ]]
Syntax Description
(Optional) Displays the shared memory in bytes instead of the default kilobytes. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display information about the memory allocation for processes:
This example shows how to display information about the shared memory allocation for processes:
Related Commands
|
|
---|---|
show running-config
To display the running configuration, use the show running-config command.
Syntax Description
(Optional) Displays all the default and configured information. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the changes that you have made to the running configuration:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration. |
|
Displays the differences between the running configuration and the startup configuration. |
|
show running-config diff
To display the differences between the running configuration and the startup configuration, use the show running-config diff command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Table 2 describes the notations used in the command output.
Examples
This example shows how to display the difference between the running configuration and the startup configuration:
Related Commands
|
|
---|---|
Copies the running configuration to the startup configuration. |
|
Displays the differences between the running configuration and the startup configuration. |
|
show sprom
To display the contents of the serial PROM (SPROM) on the switch, use the show sprom command.
show sprom { all | backplane | fex { chassis_ID { all | backplane | powersupply ps-num } | all } | module module-number | powersupply ps-num | sup }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The SPROM on the switch contains detailed information about the hardware, including serial, part, and revision numbers. If you need to report a problem with a system component, you can extract serial number information using the show sprom command.
Examples
This example shows how to display SPROM information for all components on the physical device:
This example shows how to display SPROM information for the backplane:
Related Commands
|
|
---|---|
show startup-config
To display the startup configuration, use the show startup-config command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the startup configuration:
Related Commands!Command: show startup-config
Related Commands!Time: Tue Jan 8 19:51:49 2013
Related Commands!Startup config saved at: Fri Jan 4 16:37:26 2013
Related Commands
Related Commandsversion 6.0(2)N1(1)
Related Commandsinterface breakout slot 1 port 1-12 map 10g-4x
Related Commands
Related Commandsinstall feature-set fabricpath
Related Commandshostname agg-sw0
Related Commands
Related Commandsfeature telnet
Related Commandsfeature tacacs+
Related Commandscfs eth distribute
Related Commandsfeature ospf
Related Commandsfeature ospfv3
Related Commandsfeature pim
Related Commandsfeature private-vlan
Related Commandsfeature port-security
Related Commandsfeature udld
Related Commandsfeature interface-vlan
Related Commandsfeature dot1x
Related Commandsfeature hsrp
Related Commandsfeature lacp
Related Commandsfeature cts
Related Commandscts role-based access-list c1_deny_all
Related Commands deny tcp
Related Commands deny udp
Related Commands deny all
Related Commandsfeature vpc
Related Commandsfeature lldp
Related Commands
Related Commandslogging level dot1x 3
Related Commandsusername admin password 5 $1$jqhHivzm$jZ9Ezv2pYOTgUzMylRvPC. role network-admin
Related Commandsusername u1 password 5 ! role network-operator
Related Commandsno password strength-check
Related Commands
Related Commandsbanner motd #Nexus 5000 Switch
Related Commands#
Related Commands
Related Commandsip domain-lookup
Related Commandsaaa group server radius aaa-private-sg
Related Commandslogging event link-status default
Related Commandserrdisable recovery interval 30
Related Commandserrdisable recovery cause udld
Related Commandsip access-list copp-system-acl-bgp
Related Commands 10 permit tcp any gt 1024 any eq bgp
Related Commands 20 permit tcp any eq bgp any gt 1024
Related Commandsipv6 access-list copp-system-acl-bgp6
Related Commands 10 permit tcp any gt 1024 any eq bgp
Related Commands 20 permit tcp any eq bgp any gt 1024
Related Commandsip access-list copp-system-acl-cts
Related Commands-
|
|
---|---|
Copies the running configuration to the startup configuration. |
|
Displays the differences between the running configuration and the startup configuration. |
show switchname
To display the hostname for the device, use the show switchname command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The show hostname command also displays the switch hostname.
Examples
This example shows how to display the hostname for the switch:
Related Commands
|
|
---|---|
show system cores
To display the core filename, use the show system cores command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the system cores command to configure the system core filename.
Examples
This example shows how to display destination information for the system core files:
Related Commands
|
|
---|---|
show system reset-reason
To display the reset history for the switch, use the show system reset-reason command.
show system reset-reason [ fex chassis_ID ]
Syntax Description
(Optional) Specifies the Fabric Extender chassis ID. The chassis ID is from 100 to 199. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the reset-reason history for the switch:
This example shows how to display the reset-reason history for an attached Fabric Extender:
show system resources
To display the system resources, use the show system resources command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the system resources:
Related Commands
|
|
---|---|
Displays the CPU utilization information for processes on the device. |
show system uptime
To display the amount of time since the last system restart, use the show system uptime command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the amount of time since the last system restart:
show tech-support
To display information for Cisco technical support, use the show tech-support command.
show tech-support [ brief | commands | feature ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The output from the show tech-support command is very long. To better manage this output, you can redirect the output to a file (for example, show tech-support > filename) in the local writable storage file system or the remote file system.
Examples
This example shows how to display technical support information:
This example shows how to redirect the technical support information to a file:
This example shows how to display the technical support information for a specific feature:
This example shows how to display the commands used to generate the technical support information:
show terminal
To display information about the terminal configuration for a session, use the show terminal command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display information about the terminal configuration for a session:
Related Commands
|
|
---|---|
Configures the terminal inactive session timeout for a session. |
|
show version
To display information about the software version, use the show version command.
show version [ fex chassis_ID | image filename ]
Syntax Description
(Optional) Specifies the Fabric Extender chassis ID. The chassis ID is from 100 to 199. |
|
(Optional) Displays the version information for a system or kickstart image file. |
Command Default
Displays software version information for the running kickstart and system images.
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the version information for the kickstart and system image running on the device: