<< Cisco Switching : Knowledge Base >>
How to Configure hostname in Cisco Nexus Switches 

Synopsis

This article will provide  to configure the hostname on Cisco Nexus Switches. 

Configuration

     To configure the Hostname of Cisco Nexus Switch , Please follow the below steps :-

 1) Login the switch

login: username
password: 

 2) Go to Global Configuration mode 

switch# configure terminal
switch(config)#

 3) Use the  ("hostname host-name") command and Enter it. Then the host name will be gets change.  Using the hostname command:

switch(config)# hostname Cisco-Switch
Cisco-Switch(config)#

4) Exist the glolbal configuration mode.

Cisco-Switch(config)#exit
Cisco-Switch#

4) Save the configuration with command "copy running-config startup-config"

Cisco-Switch#copy running-config startup-config

<< >>