Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
1-104
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 1 Basic System Commands
show switchname
show switchname
To display the hostname for the device, use the show switchname command.
show switchname
Syntax Description This command has no arguments or keywords.
Command Default None
Command Modes EXEC mode
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:
switch# show switchname
Related Commands
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
hostname Configures the hostname for the switch.
show hostname Displays the hostname.
switchname Configures the hostname for the switch.