116
BigIron RX Series Configuration Guide
53-1001810-01
Configuring Simple Network Management Protocol(SNMP) traps
5
•
If you specify a loopback interface as the single source for SNMP traps, SNMP trap receivers
can receive traps regardless of the states of individual links. Thus, if a link to the trap receiver
becomes unavailable but the receiver can be reached through another link, the receiver still
receives the trap, and the trap still has the source IP address of the loopback interface.
To configure the device to send all SNMP traps from the first configured IP address on port 4/11,
enter the following commands.
BigIron RX
(config)# snmp-server trap-source ethernet 4/11
BigIron RX
(config)# write memory
Syntax: snmp-server trap-source loopback <num> | ethernet <slot/port> | ve <num>
The <num> parameter is a loopback interface or virtual routing interface number.
To specify a loopback interface as the device’s SNMP trap source, enter commands such as the
following.
BigIron RX
(config)# int loopback 1
BigIron RX
(config-lbif-1)# ip address 10.0.0.1/24
BigIron RX
(config-lbif-1)# exit
BigIron RX
(config)# snmp-server trap-source loopback 1
The commands configure loopback interface 1, gives it IP address 10.00.1/24, then designate it as
the SNMP trap source for the device. Regardless of the port the device uses to send traps to the
receiver, the traps always arrive from the same source IP address.
Setting the SNMP Trap holddown time
When a device starts up, the software waits for Layer 2 convergence (STP) and Layer 3
convergence (OSPF) before beginning to send SNMP traps to external SNMP servers. Until
convergence occurs, the device might not be able to reach the servers, in which case the messages
are lost.
By default, the device uses a one-minute holddown time to wait for the convergence to occur before
starting to send SNMP traps. After the holddown time expires, the device sends the traps, including
traps such as “cold start” or “warm start” that occur before the holddown time expires.
You can change the holddown time to a value from one second to ten minutes.
To change the holddown time for SNMP traps, enter a command such as the following at the global
CONFIG level of the CLI.
BigIron RX
(config)# snmp-server enable traps holddown-time 30
The command changes the holddown time for SNMP traps to 30 seconds. The device waits 30
seconds to allow convergence in STP and OSPF before sending traps to the SNMP trap receiver.
Syntax: [no]snmp-server enable traps holddown-time <secs>
The <secs> parameter specifies the number of seconds (1 – 600). The default is 60.
Disabling SNMP traps
The device comes with SNMP trap generation enabled by default for all traps.
NOTE
By default, all SNMP traps are enabled at system startup.
Summary of Contents for Brocade DCX
Page 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Page 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Page 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Page 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Page 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Page 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Page 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Page 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Page 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Page 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Page 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Page 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Page 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Page 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Page 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Page 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Page 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Page 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Page 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Page 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Page 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Page 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...