Running Scripts of Administration Console Tasks

2-15

#This script performs some start-up configurations.

#Set the Console serial port baud rate.

#

 

system consoleSpeed

 

300

# Console port baud rate

#

 

#Set the system name

system name

Engineering Switch2200_4

#Assign an IP address to the Switch 2200.

ip interface define

158.101.112.99

# IP address for the system

255.255.0.0

# subnet mask

158.101.255.255

# broadcast address

1

# cost

all

# ports

#

 

ip interface display

 

#

 

#Validate access to management workstation

ip ping

158.101.112.26

# management workstation address

#

 

#Enable the Spanning Tree Protocol

bridge stpState enabled

#Configure my node as an SNMP trap destination

snmp trap add

158.101.112.26

# management workstation address

all

# turn on all traps

q

# no more trap destinations

#

 

snmp trap display

 

#

 

Page 37
Image 37
3Com 2200 manual Running Scripts of Administration Console Tasks