
SOPHO
IP 5000/SOPHO IP6000
Command Reference Guide
105
[NEC-PHILIPS]
snmp-agent target-host trap address udp-domain 10.1.1.1
params securityname public
snmp-agent trap enable
Syntax
snmp-agent trap enable [ trap-type [ trap-list ] ]
undo snmp-agent trap enable [ trap-type [ trap-list ] ]
View
System view
Parameter
trap-type
: Enables the trap packet of this type.
trap-list
: The parameter list corresponding to the trap packets of trap-type.
Description
Using the
snmp-agent trap enable
command, you can enable the device to
send Trap packets and set the trap or notification parameters. Using the
undo
snmp-agent trap enable
command, you can remove the current setting.
By default, sending Trap packets is disabled.
The
snmp-agent trap enable
command indicates to allow sending all types of
SNMP Trap packets of all the modules, when there is no parameter.
The
snmp-agent trap enable
command should be used in cooperation with the
snmp-agent target-host
command. The
snmp-agent target-host
command is
used to specify the hosts to which the Trap information will be sent. To send
Trap information, the user should configure at least one snmp-agent target-host
command.
The module trap-type forwarding the Trap packets can be snmp, bgp and vrrp
(VRRP Trap packets).
Types of packets that SNMP modules can send include authentication,
coldstart, linkdown, linkup and warmstart.
For the related command, see
snmp-agent target-host, snmp-agent trap-
source, snmp-agent trap-timeout.
Example
Allow sending the Trap packets, which fail to perform SNMP authentication, to
10.1.1.1. The trap packets are in the form of V2C with the community name of
public.
[NEC-PHILIPS]
snmp-agent trap enable snmp authentication
[NEC-PHILIPS]
snmp-agent target-host trap address udp-domain 10.1.1.1
params securityname public v2c
Enable to send all types of BGP Trap packets to 10.1.1.1. The trap packets are
in the form of V3 with the community name of super. The packets are
authenticated but not encrypted.
[NEC-PHILIPS]
snmp-agent trap enable bgp
[NEC-PHILIPS]
snmp-agent target-host trap address udp-domain 10.1.1.1
params securityname super v3 authentication