3com 8807 Reference Guide

Page of 1099
912
C
HAPTER
 53: SNMP C
ONFIGURATION
 C
OMMANDS
Example
# Enable sending Trap message to 10.1.1.1 with community name public.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] snmp-agent trap enable
 
[SW8800] snmp-agent target-host trap address udp-domain 10.1.1.1 par
ams securityname public 
snmp-agent trap enable
Syntax
snmp-agent trap enable [ bgp [ backwardtransition | established ]* | 
configuration | flash | ospf [ process-id ] [ ospf-trap-list ] | ldp | lsp | 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 ] | ldp | lsp | standard [ 
authentication | coldstart | linkdown | linkup | warmstart ]* | system | vrrp [ 
authfailure | newmaster ] ]
View
System view
Parameter
standard [ authentication ] [ coldstart ] [ linkdown ] [ linkup ]: Enables the 
sending of standard Trap messages.
authentication: Enables the sending of SNMP authentication Trap messages.
coldstart: Enables the sending of SNMP cold start Trap messages.
linkdown: Enables the sending of SNMP link down Trap messages.
linkup: Enables the sending of SNMP link up Trap messages.
warmstart: Enables the sending of SNMP hot start Trap messages.
bgp [ backwardtransition ] [ established ] : Enables the sending of BGP Trap 
messages.
configuration: Enables the sending of configuration management Trap 
messages.
flash: Enables the sending of FLASH Trap messages.
System: Enables the sending of system management MIB Trap messages.
vrrp [ authfailure | newmaster ]: Enables the sending of VRRP Trap messages.
ldp: Enables the sending of LDP Trap messages.
lsp: Enables the sending of LSP Trap messages.