3Com 3031 Command Reference Manual page 130

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

130
C
2: S
M
HAPTER
YSTEM
snmp-agent trap life
& M
AINTENANCE
ANAGEMENT
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.
[3Com] snmp-agent trap enable snmp authentication
[3Com] 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.
[3Com] snmp-agent trap enable bgp
[3Com] snmp-agent target-host trap address udp-domain 10.1.1.1
params securityname super v3 authentication
Syntax
snmp-agent trap life seconds
undo snmp-agent trap life
View
System view
Parameter
seconds: Timeout in seconds, ranging 1 to 2592000 with the default value as 120
seconds.
C
OMMANDS

Advertisement

Table of Contents
loading

Table of Contents