Multiple choice technology web technology

What is the command to configure hostname for switch?

  1. switch_name name

  2. hostname name

  3. name name

  4. snmp-server name name

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Cisco IOS, the global configuration command used to change or set the hostname of a router or switch is 'hostname' followed by the desired name. Other options are syntactically incorrect for this purpose.