To specify or modify the hostname for the switch, use the set system hostname command in L2/L3 configuration mode. To reset the hostname to default, use the delete form of this command.

Command Syntax

set system hostname hostname
delete system hostname


hostnameNew hostname for the switch. The maximum length is 63.


This example demonstrates how to configure the system's network name to 123.

admin@Switch# set system hostname 123
admin@Switch# commit
Commit OK.
Save done.