
To specify an SNMP trap receiver and change the UDP port that will be used to receive traps, enter a
command such as the following.
device(config)# snmp-server host 10.2.2.2 0 mypublic port 200
device(config)# write memory
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 Brocade device. The
string can be a read-only string or a read-write string. The string is not used to authenticate access to
the trap host but is instead a useful method for filtering traps on the host. For example, if you configure
each of your Brocade devices that use the trap host to send a different community string, you can easily
distinguish among the traps from different Brocade devices based on the community strings.
The command in the example above adds trap receiver 10.2.2.2 and configures the software to encrypt
display of the community string. When you save the new community string to the startup-config file
(using the
write memory
command), the software adds the following command to the file.
snmp-server host 10.2.2.2 1
encrypted-string
To add a trap receiver and configure the software to encrypt display of the community string in the CLI
and Web Management Interface, enter commands such as the following.
device(config)# snmp-server host 10.2.2.2 0 FastIron-12
device(config)# write memory
The
port value
parameter allows you to specify which UDP port will be used by the trap receiver. This
parameter allows you to configure several trap receivers in a system. With this parameter, a network
management application can coexist in the same system. Brocade devices can be configured to send
copies of traps to more than one network management application.
Specifying a single trap source
You can specify a single trap source to ensure that all SNMP traps sent by the Layer 3 switch use the
same source IP address. For configuration details, refer to "Specifying a single source interface for
specified packet types" section in the
FastIron Ethernet Switch Layer 3 Routing Configuration Guide.
Setting the SNMP trap holddown time
When a Brocade 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, a Brocade 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.
device(config)# snmp-server enable traps holddown-time 30
Specifying a single trap source
FastIron Ethernet Switch Administration Guide
31
53-1003625-01
Содержание FastIron
Страница 28: ...Displaying management VRF information 28 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 146: ...Displaying interface level IPv6 settings 146 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 162: ...Example 2 162 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 172: ...Clearing CDP information 172 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 216: ...Clearing cached LLDP neighbor information 216 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 228: ...FastIron Fiber optic Transceivers 228 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 284: ...show sysmon system sfm 284 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 296: ...Syslog messages for hardware errors 296 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 384: ...Displaying information for breakout ports 384 FastIron Ethernet Switch Administration Guide 53 1003625 01...