2-624
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set system name
set system name
To configure a name for the system, use the set system name command.
set system name [name_string]
Syntax Description
Defaults The default is no system name is configured.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you use the set system name command to assign a name to the switch, the switc h name is use d as the
prompt string. However, if you specify a different prompt string using the set prompt command, that
string is used for the prompt.
If you do not specify a system name, the system name is cleared and a DNS lookup is initiated for a
system name. If a name is found, that is the name used; if n o nam e is f oun d, no na m e i s de sign ate d.
The system name can be 255 characters long, and the prompt can be 20 characters long. The system name
is truncated appropriately when used as a prompt; a greater -than symb ol (>) is appende d to the tr uncated
system name. If the system name was found from a DNS lookup , it i s tru nc ated to r em ove the d omai n
name.
If the prompt is obtained using the system name, it is update d whenever the system name changes. You
can overwrite this prompt any time by setting the prompt manually. Any change in the prompt is reflecte d
in all current open sessions.
If you do not specify a name, the system name is cleared.
Examples This example shows how to set the system name to Information Systems:
Console> (enable) set system name Information Systems
System name set.
Console> (enable)
Related Commands set prompt
show system
name_string (Optional) Text string that identifies the system.