
118
BigIron RX Series Configuration Guide
53-1002253-01
Configuring Simple Network Management Protocol traps
5
Configuring Simple Network Management Protocol traps
This section explains how to do the following:
•
Specify an SNMP trap receiver.
•
Specify a source address and community string for all traps that the device sends.
•
Change the holddown time for SNMP traps.
•
Disable individual SNMP traps. (All traps are enabled by default.)
•
Disable traps for CLI access that is authenticated by a local user account, a RADIUS server, or
a TACACS and server.
NOTE
To add and modify “get” (read-only) and “set” (read-write) community strings, refer to
Chapter 4,
“Securing Access to Management Functions”
.
Specifying an SNMP trap receiver
You can specify a trap receiver to ensure that all SNMP traps sent by the device go to the same
SNMP trap receiver or set of receivers, typically one or more host devices on the network. When you
specify the host, you also specify a community string. The device sends all the SNMP traps to the
specified hosts and includes the specified community string. Administrators can therefore filter for
traps from a device based on IP address or community string.
When you add a trap receiver, you can specify whether to have the community string encrypted or
to have it shown in the clear. In either case, the software does not encrypt the string in the SNMP
traps sent to the receiver.
To specify an SNMP trap receiver, enter a command such as the following.
BigIron RX(config)# snmp-server host 2.2.2.2 1 mypublic port 200
BigIron RX(config)# write memory
The first commands adds trap receiver 2.2.2.2, configures the software to encrypt display of the
community string, and designates the UDP port that will be used to receive traps. The second
command saves the community string to the startup configuration file, and the software adds the
following command to the file.
snmp-server host 2.2.2.2 1 <encrypted-string>
Syntax: snmp-server host <ip-addr> [0 | 1] <string> [port <value>]
The <ip-addr> parameter specifies the IP address of the trap receiver.
The 0 | 1 parameter specifies whether you want the software to encrypt the string (1) or show the
string in the clear (0). The default is 0.
The <string> parameter specifies an SNMP community string configured on the device. It can be a
read-only string or a read-write string. It is not used to authenticate access to the trap host, but it is
a useful method for filtering traps on the host. For example, if you configure each of your device
that use the trap host to send a different community string, you can easily distinguish among the
traps from the devices based on the community strings.
Summary of Contents for BigIron RX Series
Page 228: ...152 BigIron RX Series Configuration Guide 53 1002253 01 Enabling WAN PHY mode support 6 ...
Page 312: ...236 BigIron RX Series Configuration Guide 53 1002253 01 Displaying IP information 7 ...
Page 356: ...280 BigIron RX Series Configuration Guide 53 1002253 01 Resetting LLDP statistics 9 ...
Page 402: ...326 BigIron RX Series Configuration Guide 53 1002253 01 Transparent firewall mode 11 ...
Page 432: ...356 BigIron RX Series Configuration Guide 53 1002253 01 SuperSpan 12 ...
Page 500: ...424 BigIron RX Series Configuration Guide 53 1002253 01 MRP CLI example 14 ...
Page 591: ...BigIron RX Series Configuration Guide 515 53 1002253 01 Displaying traffic reduction 19 ...
Page 592: ...516 BigIron RX Series Configuration Guide 53 1002253 01 Displaying traffic reduction 19 ...
Page 598: ...522 BigIron RX Series Configuration Guide 53 1002253 01 Viewing Layer 2 ACLs 20 ...
Page 656: ...580 BigIron RX Series Configuration Guide 53 1002253 01 Trunk formation 22 ...
Page 754: ...678 BigIron RX Series Configuration Guide 53 1002253 01 Displaying RIP filters 24 ...
Page 814: ...738 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPF information 25 ...
Page 980: ...904 BigIron RX Series Configuration Guide 53 1002253 01 Clearing IS IS information 28 ...
Page 1000: ...924 BigIron RX Series Configuration Guide 53 1002253 01 Using secure copy 30 ...
Page 1088: ...1012 BigIron RX Series Configuration Guide 53 1002253 01 IP source guard 35 ...
Page 1108: ...1032 BigIron RX Series Configuration Guide 53 1002253 01 Reading CDP packets 37 ...
Page 1126: ...1050 BigIron RX Series Configuration Guide 53 1002253 01 Clearing sFlow statistics 39 ...
Page 1324: ...1248 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPFv3 information 48 ...
Page 1363: ...BigIron RX Series Configuration Guide 1287 53 1002253 01 Continuous System Monitor 51 ...
Page 1364: ...1288 BigIron RX Series Configuration Guide 53 1002253 01 Continuous System Monitor 51 ...
Page 1404: ...1328 BigIron RX Series Configuration Guide 53 1002253 01 Commands That Require a Reload D ...
Page 1458: ...1382 BigIron RX Series Configuration Guide 53 1002253 01 VSRP E ...