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