Configuring a System Name
Follow these steps to manually configure a system name:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
hostname name
4.
end
5.
show running-config
6.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Configures a system name. When you set the system name, it is
also used as the system prompt.
hostname name
Example:
Switch(config)# hostname
Step 3
The default setting is Switch.
The name must follow the rules for ARPANET hostnames. They
must start with a letter, end with a letter or digit, and have as
remote-users
interior characters only letters, digits, and hyphens. Names can
be up to 63 characters.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 5
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1537
How to Administer the Switch