How to configure Hostname in Cisco Switches and Router

If you want to configure on a router or a switch is the hostname. The default name for routers is Router and the default name for switches is Switch.

To configure the hostname for the switch, use the hostname command:-

Router>enable
Router# configure terminal
Router(config)# hostname TEST
TEST(config)# end
TEST(config)# copy running-config startup-config

Leave a Reply

Your email address will not be published.