![](/images/new-backgrounds/1329005/329005115x1.webp)
Chapter 4 Command Reference
host-config
To display or modify the current host name, use the
Syntax Description
Defaults
Command Types
Command Modes
hostname | Specifies the host name. |
|
|
Displays the current host name
Changes configuration
Master password protected. User password allows access to the current hostname, but does not allow modifications.
Command History | Release | Modification |
| EDFA 1.0 | This command was introduced. |
|
|
|
Usage Guidelines hostname can have a maximum of 15 characters. Only alphanumeric characters, hyphens, dots, and underscores should be used.
Examples | The following example shows how to modify the current host name. |
edfa >
| Cisco ONS 15501 User Guide |
|