Changing Hostname on Cisco Switch and Routers In order to change the hostname of the router or switch following are the commands that we need to run. Switch>ena Switch#cont t Switch(config)# hostname MySwitch Switch(config)# end Changing Hostname on Cisco Changing Hostname on Cisco Switch and Routers Share: FacebookTwitterLinkedInPinterestTumblr Older Post Changing TimeZone on Cisco Devices Newer Post Domain Look Up Disabling and Enabling on Cisco Devices