Configuring A System Name And Prompt; Default System Name And Prompt Configuration; Configuring A System Name - Cisco 2950 - Catalyst Switch Configuration Manual

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Configuring a System Name and Prompt

Configuring a System Name and Prompt
You configure the system name on the switch to identify it. By default, the system name and prompt are
Switch.
If you have not configured a system prompt, the first 20 characters of the system name are used as the
system prompt. A greater-than symbol [>] is appended. The prompt is updated whenever the system
name changes, unless you manually configure the prompt by using the prompt global configuration
command.
Note
For complete syntax and usage information for the commands used in this section, refer to the Cisco IOS
Configuration Fundamentals Command Reference for Cisco IOS Release 12.1 and the Cisco IOS IP and
IP Routing Command Reference for Cisco IOS Release 12.1.
This section contains this configuration information:

Default System Name and Prompt Configuration

The default switch system name and prompt is Switch.

Configuring a System Name

Beginning in privileged EXEC mode, follow these steps to manually configure a system name:
Command
Step 1
configure terminal
Step 2
hostname name
Step 3
end
Step 4
show running-config
Step 5
copy running-config startup-config
When you set the system name, it is also used as the system prompt. You can override the prompt setting
by using the prompt global configuration command.
To return to the default hostname, use the no hostname global configuration command.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
8-16
Default System Name and Prompt Configuration, page 8-16
Configuring a System Name, page 8-16
Configuring a System Prompt, page 8-17
Understanding DNS, page 8-17
Purpose
Enter global configuration mode.
Manually configure a system name.
The default setting is switch.
The name must follow the rules for ARPANET host names. They must start
with a letter, end with a letter or digit, and have as interior characters only
letters, digits, and hyphens. Names can be up to 63 characters.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 8
Administering the Switch
78-11380-10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents