Appendix C Initial Configuration for the Switch

Entering the Initial Configuration Information

Step 7 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 8 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 9 Configure an enable password, and press Return.

Switch1 (config)# enable password EnablePassword

Step 10 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 11 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 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

At this point do we also do a barebones SNMP config? Passwords and community strings?

Step 12 Exit from global configuration mode:

Switch (config)# exit

Switch #

Step 13 View the configuration you just created and confirm that it is what you want.

Switch1# show run

!

hostname Switch1

!

banner motd ^C

170 West Tasman Drive, San Jose, CA ^C

!

!--- Output suppressed.

Step 14 Verify the IP information by using the show ip interface brief and show ip route commands.

Switch1# show ip interface brief

 

Interface

IP-Address

OK?

Method

Status

Protocol

 

Vlan1

172.16.1.2

YES

manual

up

up

 

 

 

Cisco ME 4924-10GE Ethernet Switch Hardware Installation Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-10071-01

 

 

 

 

 

 

C-5

 

 

 

 

 

 

 

 

 

Page 69
Image 69
Cisco Systems ME 4924-10GE manual Configure an enable password, and press Return