Configuring Hostname

You can set the hostname using the below command:

pbnoscli# configure terminal 
pbnoscli(config)# hostname Switch-1
Switch-1(config)#

save config after changing hostname using 'save' command

Switch-1# show running-config 
configure terminal
hostname Switch-1
!
Switch-1# 

Last updated