Command Line Reference
Device Management
Device Configuration
2 min
device configuration device configuration hostname hostname \[command] hostname hostname \[purpose] modify the device host name \[parameter] parameter description hostname host name \[view] system view \[notes] the hostname can be named with a maximum of 64 characters and can only contain " " , " ", "a z", "a z" and "0 9" it cannot start and end with " ", " ", and " " cannot appear after modification, you need to save the configuration manually and log out to take effect again \[use cases] sonic# hostname sonic 226
