Configuring Extended Trap Function - H3C S5600 Series Operation Manual

Hide thumbs Also See for H3C S5600 Series:
Table of Contents

Advertisement

Operation Manual – SNMP-RMON
H3C S5600 Series Ethernet Switches
Follow these steps to configure basic trap function:
Enter system view
Enable the switch to send
traps to NMS
Enable
the port
to send
traps
Set the destination for
traps
Set the source address
for traps
Set the size of the queue
used to hold the traps to
be sent to the destination
host
Set the aging time for
traps

1.3.2 Configuring Extended Trap Function

The extended trap function refers to adding "interface description" and "interface type"
into the linkUp/linkDown trap. When receiving this extended trap, NMS can
immediately determine which interface on the device fails according to the interface
description and type.
To do...
system-view
snmp-agent trap enable [ bgp
[ backwardtransition | established ]
* | configuration | flash | ospf
[ process-id ] [ ospf-trap-list ] |
standard [ authentication |
coldstart | linkdown | linkup |
warmstart ]* | system | vrrp
[ authfailure | newmaster ] ]
Enter port
interface interface-type
view or
interface-number
interface view
Enable the
port or
enable snmp trap updown
interface to
send traps
Quit to system
quit
view
snmp-agent target-host trap
address udp-domain { ip-address }
[ udp-port port-number ] params
securityname security-string [ v1 |
v2c | v3 [ authentication | privacy ] ]
snmp-agent trap source
interface-type interface-number
snmp-agent trap queue-size size
snmp-agent trap life seconds
Use the command...
1-7
Chapter 1 SNMP Configuration
Remarks
Optional
By default, a
port is enabled
to send all
types of traps.
Required
Optional
Optional
The default is
100.
Optional
120 seconds
by default.

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5600-26cS5600-26c-pwrS5600-26fS5600-50cS5600-50c-pwr

Table of Contents