hostname
Configures the system hostname.
Syntax | hostname <host_name> |
Command Mode | CONFIG |
Parameters | host_name – String with a maximum length of 64 and minimum length of 1. Does not accept any special characters including the white spaces. |
Usage | Use no hostname to reset the hostname to default. The default hostname is sonic . |
Supported Releases | 1.0.0 or later |
Click Command | config hostname <new_hostname> |
Example
|