Operation Manual – SNMP
H3C S9500 Series Routing Switches
Enable the sending of trap (system view)
Disable the sending of trap (system
view)
Enable the switch ports to send SNMP
trap messages (Ethernet port view or
VLAN interface view)
Disable the switch port to send SNMP
trap messages (Ethernet port view or
VLAN interface view)
By default, the current port or VLAN interface sends trap messages.
1.2.4 Setting the Destination Address of Trap
You can use the following commands to set or delete the destination address of the
trap.
Perform the following configuration in system view.
Set the destination address of trap
Delete the destination address of trap
To do...
To do...
1-5
Chapter 1 SNMP Configuration
Use the command...
snmp-agent trap enable [ bgp
[ backwardtransition | established ]* |
configuration | flash | ospf
[ process-id ] [ ospf-trap-list ] |
protect-switch | pw | ldp | lsp |
mpls-oam | standard [ authentication |
coldstart | linkdown | linkup |
warmstart ]* | system | vrrp
[ authfailure | newmaster ] ]
undo snmp-agent trap enable [ bgp
[ backwardtransition | established ]* |
configuration | flash | ospf
[ process-id ] [ ospf-trap-list ] |
protect-switch | pw | ldp | lsp |
mpls-oam | standard [ authentication |
coldstart | linkdown | linkup |
warmstart ]* | system | vrrp
[ authfailure | newmaster ] ]
enable snmp trap updown
undo enable snmp trap updown
Use the command...
snmp-agent target-host trap address
udp-domain host-addr [ udp-port
udp-port-number ] params
securityname securityname [ v1 | v2c |
v3 [ authentication | privacy ] ]
undo snmp-agent target-host
host-addr securityname securityname