CertExams.com Simulator Lab Exercises Answers
Description:This basic exercise illustrates the steps required to set a hostname to a switch.
Instructions:
1. Enter into privileged mode
2. Enter into global Configuration Mode
3. Set hostname as cisco
4. View the running-configuration on the switch using “show running-config”
SW1>enable
SW1#configure terminal
SW1(config)#hostname cisco
Cisco(config)#show running-config
Explanation: Use the hostname command to set the name of the switch in Cisco IOS.
Here host name changed from SW1 to cisco, you can verify this using “show running-config”
command. The below fig shows output of “show running-config” before the hostname is
changed.
Below output is from “show running-config” before the host name is changed.