set system hostname

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

Parameters

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

Example

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.
admin@123#

Copyright © 2024 Pica8 Inc. All Rights Reserved.