Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-748
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 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 switch name is used 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 no name is found, no name is designated.
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 symbol (>) is appended to the truncated
system name. If the system name was found from a DNS lookup, it is truncated to remove the domain
name.
If the prompt is obtained using the system name, it is updated whenever the system name changes. You
can overwrite this prompt any time by setting the prompt manually. Any change in the prompt is reflected
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.