Command Manual – System Management
Quidway S8500 Series Routing Switches Chapter 5 SNMP Configuration Commands
Huawei Technologies Proprietary
5-18
[Quidway] snmp-agent trap enable standard authentication
[Quidway] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public
5.1.17 snmp-agent trap life
Syntax
snmp-agent trap life seconds
undo snmp-agent trap life
View
System view
Parameter
seconds: Specifies the timeouts, ranging from 1 to 2,592,000 seconds; By default, the
timeout interval is 120 seconds.
Description
Use the snmp-agent trap life command to configure the timeout of Trap packets.
Use the undo snmp-agent trap life command to restore the default value.
The set timeout of Trap packet is represented by seconds. If time exceeds seconds,
this Trap packet will be discarded.
Related command: snmp-agent trap enable, snmp-agent target-host .
Example
# Configure the timeout interval of Trap packet as 60 seconds.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent trap life 60
5.1.18 snmp-agent trap queue-size
Syntax
snmp-agent trap queue-size length
undo snmp-agent trap queue-size
View
System view
Parameter
length: Length of queue, ranging from 1 to 1,000. By default, the length is 100.