CCNA Cisco Certified Network Associate (#526)

Section: Version 2.0

Which command can you use to set the hostname on a switch?

switch-mdf-c1(config)#hostname switch-mdf1
switch-mdf-c1>hostname switch-mdf1
switch-mdf-c1#hostname switch-mdf1
switch-mdf-c1(config-if)#hostname switch-mdf1