2346 CHAPTER 154: SNMP CONFIGURATION COMMANDS

<Sysname> system-view

[Sysname] snmp-agent trap if-mib link extended

snmp-agent trap life

Syntax snmp-agent trap life seconds

undo snmp-agent trap life

View System view

Parameter seconds: Time-out time, in the range 1 to 2,592,000 seconds.

Description Use the snmp-agent trap life command to configure the life time for Traps, which will be discarded when their life time expires.

Use the undo snmp-agent trap life command to restore the default life time for Trap packets.

By default, the life time for SNMP Traps is 120 seconds.

Related command: snmp-agent trap enable, snmp-agenttarget-host.

Example # Configure the life time for Trap packets as 60 seconds.

<Sysname> system-view

[Sysname] snmp-agent trap life 60

snmp-agent trap queue-size

Syntax snmp-agent trap queue-size size

undo snmp-agent trap queue-size

View System view

Parameter size: The queue size for the Trap messages, in the range 1 to 1,000.

Description Use the snmp-agent trap queue-sizecommand to configure the size of the Trap queue.

Use the undo snmp-agent trap queue-sizecommand to restore the default queue size.

By default, up to 100 Trap messages can be stored in the Trap queue.

Related command: snmp-agent trap enable, snmp-agenttarget-host,snmp-agent trap life.

Page 2346
Image 2346
3Com MSR 30, MSR 50 manual Snmp-agent trap life, Snmp-agent trap queue-size