1-25
After a trap is generated, it will enter the trap queue to be sent. The length of a trap queue decides the
maximum number of traps in the queue. When a trap queue reaches the configured length, the newly
generated traps will enter the queue, and the traps generated the earliest will be discarded.
Related commands:
snmp-agent trap enable
,
snmp-agent target-host
, and
snmp-agent trap life
.
Examples
# Set the SNMP trap queue length to 200.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent trap queue-size 200
snmp-agent trap source
Syntax
snmp-agent trap source
interface-type interface-number
undo snmp-agent trap source
View
System view
Parameters
interface-type interface-number
: Interface type and interface number. The source IP address of the trap
is the IP address of this interface.
Description
Use the
snmp-agent trap source
command to configure the source address for the SNMP traps sent.
Use the
undo snmp-agent trap source
command to cancel the configuration.
By default, the outbound interface is determined by SNMP and the IP address of this interface is used
as the source IP address of the traps.
After the command is executed, the system uses the primary IP address of the specified interface as the
source IP address of the traps sent. Thus on the NMS you can use the IP address to uniquely identify
the agent.
For example, although the agent uses different outbound interfaces to send traps, the NMS can still use
the IP address to filter all the traps that the agent sends.
You can configure this command to track a specific event by the source addresses of SNMP traps.
Before configuring an interface as the source interface for the SNMP traps sent, make sure the interface
is assigned an IP address.
Related commands:
snmp-agent trap enable
,
snmp-agent target-host
.
Summary of Contents for 5500-EI Series
Page 43: ...2 6 ...
Page 76: ...1 17 ...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46 ...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast ...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Page 519: ...iii ...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain ...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static ...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2 ...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008 ...
Page 1111: ...ii xmodem get 3 18 ...
Page 1314: ...A 44 Z ...