Customizing the chassis name and switch name

About this task

Changing the chassis and switch names is important for uniquely distinguishing and identifying the device and for accurate tracking of logs and errors. The messages that appear in the log are labeled with the switch name or chassis name, which makes tracking the errors much easier. Specify an easily understandable and meaningful name for the chassis and switch.

Perform the following steps to change the chassis name and then the switch name.

Procedure

  1. Log in to the device through SSH using the admin account.
  2. Change the chassis name by using the chassisName command.
    device:admin> chassisname Chassis_001
  3. Change the switch name by using the switchName command.
    device:admin> switchname Switch_001
    Committing configuration...
    Done
    Switch name has been changed. Please re-login to the switch for the change to applied