ELS Monitoring Commands (Talk 5)

Trap

Use the trap command to select the message to be sent to the remote SNMP network management workstation. A remote SNMP network management workstation is an IP host in the network acting as an SNMP manager.

Syntax:

 

trap

event . . .

 

group . . .

 

range . . .

 

subsystem . . .

event subsystem.event#

Causes the speci®ed message subsystem( .event#) to be sent to a network management workstation in an SNMP trap.

group groupname

Allows messages that were previously added to the speci®ed group to be sent to a network management workstation in an SNMP trap.

range subsystemname ®rst_event_number last_event_number

Where ®rst_event_numberis the number of the ®rst event in the speci®ed event range, and last_event_number is the number of the last event of the speci®ed event range.

Causes the messages that are in the speci®ed range for the speci®ed subsystem to be sent to a network management workstation in an SNMP trap.

Example:

trap range gw 19 22

Causes the messages in events gw.19, gw.20, gw.21, and gw.22 to be sent to a network management workstation in an SNMP trap.

subsystem subsystemname

Allows messages associated with the speci®ed subsystem to be sent to a management station in an SNMP trap.

Note: Messages for the IP, ICMP, ARP and UDP subsystems cannot be sent in SNMP traps because these areas are or may be used in the process of sending the SNMP trap. This could lead to an in®nite loop of traffic putting an undue strain on the router.

View

Use the view command to view traced packets.

Syntax:

 

view

current

 

first

 

jump

 

last

204MRS V3.2 Software User's Guide

Page 240
Image 240
IBM SC30-3681-08 manual Syntax View