beautypg.com

Configuring simple network management (snmp) traps, Specifying an snmp trap receiver – Brocade Multi-Service IronWare Administration Guide (Supporting R05.6.00) User Manual

Page 41

background image

Multi-Service IronWare Administration Guide

23

53-1003028-02

Configuring Simple Network Management (SNMP) traps

2

Brocade(config)# hostname home

home(config)# snmp-server contact Suzy Sanchez

home(config)# snmp-server location Centerville

home(config)# end

home# write memory

The system name you configure home replaces the system name Brocade.

Syntax: [no] hostname string

Syntax: [no] snmp-server contact string

Syntax: [no] snmp-server location string

The name, contact, and location each can be up to 255 alphanumeric characters. The text strings
can contain blanks. The SNMP text strings do not require quotation marks when they contain
blanks but the host name does.

Configuring Simple Network Management
(SNMP) 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 Brocade 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 or TACACS+ server.

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 Brocade device based on IP address or community string. The
number of SNMP Trap receivers that can be configured is limited to 32.

If the string is in the clear format, the system will internally encrypt it. When you display or save the
configuration, the encrypted string is used.

To specify an SNMP trap receiver, enter a command such as the following.

Brocade(config)# snmp-server host 10.2.2.2 version v2c mypublic port 200

The command adds trap receiver 10.2.2.2 and designates the UDP port that will be used to receive
traps.

Syntax: [no] snmp-server host ip-addr version [v1|v2c|v3] string [port value]

The ip-addr parameter specifies the IP address of the trap receiver.