Snmp-Agent Trap Life - HP 6125G Command Reference Manual

Network management and monitoring
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

An extended linkUp trap is in the following format:
#Jan 24 11:43:09:896 2011 Sysname IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.4<linkUp>: Interface 983555 is Up, ifAdminStatus is 1,
ifOperStatus is 1, ifDescr is Ethernet1/1, ifType is 6
A standard linkDown trap is in the following format:
#Jan 24 11:47:35:224 2011 Sysname IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.3<linkDown>: Interface 983555 is Down, ifAdminStatus is 2,
ifOperStatus is 2
An extended linkDown trap is in the following format:
#Jan 24 11:42:54:314 2011 AR29.46 IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.3<linkDown>: Interface 983555 is Down, ifAdminStatus is 2,
ifOperStatus is 2, ifDescr is GigabitEthernet1/0/1, ifType is 6
The format of an extended linkup/ linkDown trap is the standard format followed with the ifDescr and
ifType information, facilitating problem location.
When this command is configured, the device sends extended linkUp/linkDown traps. If the extended
messages are not supported on NMS, the device may not be able to resolve the messages.
Examples
# Extend standard linkUp/linkDown traps.
<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
Default level
3: Manage level
Parameters
seconds: Specifies the timeout time, in the range of 1 to 2592000 seconds.
Description
Use snmp-agent trap life to configure the holding time of the traps in the queue. Traps are discarded
when the holding time expires.
Use undo snmp-agent trap life to restore the default holding time of traps in the queue.
By default, the holding time of SNMP traps in the queue is 120 seconds.
The SNMP module sends traps in queues. As soon as the traps are saved in the trap queue, a timer is
started. If traps are not sent out until the timer times out (in other words, the holding time configured by
using this command expires), the system removes the traps from the trap sending queue.
Related commands: snmp-agent trap enable and snmp-agent target-host.
79

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents