Device Configuration
2 min
\<font color="#1d50a2">device configuration\</font> \<font color="#1d50a2">hostname\</font> \[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
