System information

Switch Scripts
317
# send the next password
SEND->mynextpassword{Enter}
# wait for the switch to respond, and wait for the
# CiscoSwitch# prompt
WAITFOR->CiscoSwitch#
# send the “config t” command to enter
# configuration mode
SEND->config t{Enter}
# wait for the switch to respond, and wait for the
# CiscoSwitch (config) prompt
WAITFOR->CiscoSwitch(config)#
# send the config “int FA 0/2” command
# sets the configuration interface to port 2
# (where the Probe is)
SEND->int FA 0/2{Enter}
# wait for the switch to respond, and wait for the
# CiscoSwitch (config-if)# prompt
WAITFOR->CiscoSwitch(config-if)#
# Turns all port monitoring off (in case any were
# left on
PORTS_OFF->
# section for turning on port 1 (to send data to
# port 2 as defined above)
[Port1on]
# send port monitor command to turn on port 1
SEND->port monitor FA0/1{Enter}
# wait for the switch to respond, and wait for the
# CiscoSwitch (config-if)# prompt
WAITFOR->CiscoSwitch(config-if)#
# begin section to turn off port 1
[Port1off]