Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches Chapter 1 SNMP Configuration Commands
1-20
<Sysname> system-view
[Sysname] snmp-agent trap enable standard
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public
# Enable the device to send SNMP Traps to the device which is in VPN 1 and has an IP
address of 10.1.1.1, using the community name of public.
<Sysname> system-view
[Sysname] snmp-agent trap enable standard
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1
vpn-instance vpn1 params securityname public
1.1.20 snmp-agent trap enable
Syntax
snmp-agent trap enable [ bgp | configuration | flash | ospf [ process-id ]
[ ospf-trap-list ] | standard [ authentication | coldstart | linkdown | linkup |
warmstart ]* | system | vrrp [ authfailure | newmaster ] ]
undo snmp-agent trap enable [ bgp | configuration | flash | ospf [ process-id ]
[ ospf-trap-list ] | standard [ authentication | coldstart | linkdown | linkup |
warmstart ]* | system | vrrp [ authfailure | newmaster ] ]
View
System view
Parameters
bgp: Enables the sending of BGP Trap messages.
configuration: Enables the sending of configuration Trap messages.
flash: Enables the sending of FLASH Trap messages.
ospf [ process-id ] [ ospf-trap-list ]: Enables the sending of OSPF Trap messages. The
parameter process-id is the process ID and spf-trap-list is the Trap packet list.
standard: Enables the sending of standard Trap messages.
z authentication: Enables the sending of authentication failure Trap messages in
the event of authentication failure.
z coldstart: Sends coldstart Trap messages when the device restarts.
z linkdown: Sends linkdown Trap messages when the port is in a linkdown status. It
should be configured globally.
z linkup: Sends linkup Trap messages when the port is in a linkup status. It should
be configured globally.
z warmstart: Sends warmstart Trap messages when the SNMP restarts.
system: Sends H3C-SYS-MAN-MIB (a private MIB) Trap messages.