beautypg.com

Assigning an snmp community string, Designating a contact, Enabling or disabling traps – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual

Page 43

background image

Brocade Virtual ADX Administration Guide

31

53-1003249-01

Configuring SNMP

1

Assigning an SNMP community string

You can assign an SNMP community string for the system. It will register to the configuration file, a
user-specified network community string and an access type of either:

read-only (public)

read-write (private)

The default read-only community string is “public”. There is no default read-write community string.

The global command snmp-server is enabled by default and this command must not be removed if
the dynamic weighted predictor is configured. If this command is removed, then the Brocade
Virtual ADX will stop listening on the UDP port 161 and drop SNMP responses from the real servers
that are used for this predictor.

To assign an SNMP community string, enter a command such as the following.

Virtual ADX(config)#snmp-server community planet1 ro

Syntax: [no] snmp-server community string ro | rw

The string variable can be up to 32 alphanumeric characters for the community string.

Designating a contact

You can designate a contact name for the Brocade Virtual ADX and save it in the configuration file
for later reference. You can later access contact information using the show snmp server
command.

To identify a system contact, enter a command such as the following.

Virtual ADX(config)#snmp-server contact Noi Lampa

Syntax: [no] snmp-server contact text

The text variable can be up to 64 alphanumeric characters for the system contact text string.

Enabling or disabling traps

By default, all of the following SNMP traps are enabled and will be generated by default for a
system: authentication key, cold-start, link-up, link-down, and locked-address-violation.

You can use the snmp-server enable traps name command to enable other trap types, such as
l4-port-down (Layer 4) and l4-port-up.

When you use the no form of this command, it stops certain traps from being generated by a
system.

To stop reporting incidences of links that are down, enter the following command.

Virtual ADX(config)#no snmp-server enable traps link-down

Syntax: [no] snmp-server enable traps name