S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
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.