Configuring simple, Network management (snmp) parameters, Specifying an snmp trap receiver – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual
Page 16
2
Brocade Virtual ADX Switch and Router Guide
53-1003246-01
Configuring basic system parameters
1
The name, contact, and location each can be up to 32 alphanumeric characters.
Here is an example of how to configure a Layer 3 Switch name, system contact, and location.
Virtual ADX(config)# hostname home
home(config)# snmp-server contact Suzy Sanchez
home(config)# snmp-server location Centerville
home(config)# end
home# write memory
Syntax: hostname string
Syntax: snmp-server contact string
Syntax: snmp-server location string
The text strings can contain blanks. The SNMP text strings do not require quotation marks when
they contain blanks but the host name does.
NOTE
The chassis name command does not change the CLI prompt. Instead, the command assigns an
administrative ID to the device.
Configuring Simple Network Management (SNMP) parameters
Use the procedures in this section to perform the following configuration tasks:
•
Specify an SNMP trap receiver.
•
Specify a source address and community string for all traps sent by the device.
•
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/TACACS+ server.
NOTE
To add and modify “get” (read-only) and “set” (read-write) community strings, refer to the Virtual ADX
Security Guide.
Specifying an SNMP trap receiver
You can specify a trap receiver to ensure that all SNMP traps sent by the Brocade 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 Brocade 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, the software automatically encrypts the community string you
associate with the receiver when the string is displayed by the CLI or Web management interface. If
you want the software to show the community string in the clear, you must explicitly specify this
when you add a trap receiver. In either case, the software does not encrypt the string in the SNMP
traps sent to the receiver.
To specify the host to which the device sends all SNMP traps, use the following method.