The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the basic Cisco NX-OS system commands that begin with H.
To configure the hostname for the device, use the hostname command. To revert to the default, use the no form of this command.
Name for the device. The name is alphanumeric, case sensitive, can contain special characters, and can have a maximum of 63 characters. |
|
|
---|---|
This command was modified. The character limit of a hostname is increased from 32 to 63 alphanumeric characters. |
|
The Cisco NX-OS software uses the hostname in command-line interface (CLI) prompts and in default configuration filenames.
The hostname command performs the same function as the switchname command.
This example shows how to configure the device hostname:
This example shows how to revert to the default device hostname:
|
|
---|---|