C-4
Catalyst 4500 E-Series Switches Installation Guide
OL-13972-02
Appendix C Initial Configuration for the Switch
Entering the Initial Configuration Information
Step 4
Enter the
configure terminal
command to enter global configuration mode.
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch (config)#
Step 5
Configure the system prompt and hostname for the switch, and press
Return
. To remove the new prompt
and return the prompt to its default, use the
no hostname
command.
Switch (config)#
hostname Switch1
Step 6
Use the
banner motd
global configuration command to set location information in the login banner. You
can also set a system contact using this command.
Switch1(config)#
banner motd c
170 West Tasman Drive, San Jose, CA
c
or
Switch1 (config)#
banner motd c
170 West Tasman Drive, San Jose, CA; Tech Support 408 123
4567
c
Step 7
Configure an enable secret password, and press
Return
.
The password can be from 1 to 25 alphanumeric characters, can start with a number, is case sensitive,
allows spaces, but ignores leading spaces. The secret password is encrypted and the enable password is
in plain text.
Switch1 (config)#
enable secret
SecretPassword
Step 8
Configure an enable password, and press
Return
.
Switch1 (config)#
enable password
EnablePassword
Step 9
Configure a virtual terminal (Telnet) password, and press
Return
.
The password can be from 1 to 25 alphanumeric characters, is case sensitive, allows spaces, but ignores
leading spaces.
Switch1 (config)#
password
terminal-password
Switch1 (config)#
line vty
0 15
Step 10
Configure the interface that connects to the management network. (The IP address and subnet mask
shown are for example only. Use an address appropriate for your network.)
Switch1 (config)#
ip routing
Switch1 (config)#
interface
gigabitethernet
3/24
Switch1 (config-if)#
no switchport
Switch1 (config-if)#
no shutdown
Switch1 (config-if)#
ip address
10.4.120.106 255.0.0.0
Switch1 (config-if)#
exit
Step 11
Exit from global configuration mode:
Switch (config)#
exit
Switch #