Command Manual – SNMP and RMON
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands
Huawei Technologies Proprietary
1-19
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent trap enable authentication
[Quidway] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public
1.1.20 snmp-agent trap life
Syntax
snmp-agent trap life seconds
undo snmp-agent trap life
View
System view
Parameter
seconds: Aging time, in seconds, ranging from 1 to 2,592,000.
Description
Use the snmp-agent trap life command to set aging time for Trap packets. The Trap
packets exceeding the aging time are discarded.
Use the undo snmp-agent trap life command to restore the default aging time for
Trap packets.
By default, the aging time of SNMP Trap packets is 120 seconds.
Related command: snmp-agent trap enable, snmp-agent target-host.
Example
# Set the aging time for Trap packets as 60 seconds.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent trap life 60
1.1.21 snmp-agent trap queue-size
Syntax
snmp-agent trap queue-size size
undo snmp-agent trap queue-size
View
System view