3.
hostname name
4.
end
5.
show running-config
6.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Step 1
Device>
enable
Enters the global configuration mode.
configure terminal
Example:
Step 2
Device#
configure terminal
Configures a system name. When you set the system name,
it is also used as the system prompt.
hostname name
Example:
Step 3
The default setting is Switch.
Device(config)#
hostname
The name must follow the rules for ARPANET hostnames.
They must start with a letter, end with a letter or digit, and
remote-users
have as interior characters only letters, digits, and hyphens.
Names can be up to 63 characters.
Returns to priviliged EXEC mode.
end
Example:
Step 4
remote-users(config)#
end
remote-users#
Verifies your entries.
show running-config
Example:
Step 5
Device#
show running-config
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Step 6
Device#
copy running-config startup-config
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
25
Administering the Device
Configuring a System Name