Command Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 5 SNMP Configuration Commands
Huawei Technologies Proprietary
5-17
can receive Trap message. However, to send Trap message, at least one snmp-agent
target-host command should be configured.
Example
# Enable to send the trap packet of SNMP authentication failure to 10.1.1.1. The
community name is hello.
[Quidway] snmp-agent trap enable standard authentication
[Quidway] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname hello
5.1.19 snmp-agent trap life
Syntax
snmp-agent trap life seconds
undo snmp-agent trap life
View
System view
Parameter
seconds: Specify the timeouts, ranging from 1 to 2592000 seconds; By default, the
timeout interval is 120 seconds.
Description
Using snmp-agent trap life command, you can configure the timeout of Trap packets.
Using undo snmp-agent trap life command, you can restore the default value.
The set timeout of Trap packet is represented by seconds. If time exceeds seconds,
this Trap packet will be discarded.
For the related commands, see snmp-agent trap enable, snmp-agent target-host .
Example
# Configure the timeout interval of Trap packet as 60 seconds.
[Quidway] snmp-agent trap life 60
5.1.20 snmp-agent trap queue-size
Syntax
snmp-agent trap queue-size length
undo snmp-agent trap queue-size