Chapter 4 Command Reference

host-config

host-config

To display or modify the current host name, use the host-configcommand.

host-config [hostname]

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 > host-config ADM-EAST

ADM-EAST >

 

Cisco ONS 15501 User Guide

4-18

78-14134-02, Release 2.0

Page 58
Image 58
Cisco Systems 15501 manual Host-config, Hostname Specifies the host name