System information
322
Switched Observer
Note: Initial connection to the switch is done in the Switch Dashboard. See
“Using the Switch Dashboard” on page 309.
# Note 1: The script that you create MUST correspond to your particular
# switch SNMP command structure.
#
# Note 2: It is sufficient to fill as many [PortXon] and [PortXoff] sections
# as the number of ports on your switch. For example if your switch has 16
# ports you can fill only 16 [on-off] sections.
#
# begin initialization header section
[Initialize]
#
# write a note into the log file to let you know it got this far
WRITE_LOG->SNMP Script for Intel 510T Switches
####Disable Port Monitoring ports
SET->1.3.6.1.4.1.343.6.10.1.7.0={Integer}=2
####Set Monitoring (Destination) Port
SET->1.3.6.1.4.1.343.6.10.2.4.1.21.1.1.{MonitorPort}={Integer}=2
PAUSE->20
WRITE_LOG->INITIALIZATION COMPLETE
[Port1on]
####Set Source Port 1
SET->1.3.6.1.4.1.343.6.10.2.4.1.21.1.1.1={Integer}=1
PAUSE->20
####Enable Monitoring
SET->1.3.6.1.4.1.343.6.10.1.7.0={Integer}=1
PAUSE->20
[Port1off]
####Disable Monitoring
SET->1.3.6.1.4.1.343.6.10.1.7.0={Integer}=2
PAUSE->20