Setting the snmp server description, Configuring multiple snmp server contexts, Configuring password encryption for snmpv3 users – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 142: Displaying snmp configurations

The example changes the default location string to "Building 3 Room 214." You must enclose the
text in double quotes if the text contains spaces.
Setting the SNMP server description
Use the snmp-server sys-descr command to set the SNMP server description string. The default
SNMP server description string is "Brocade-VDX-VCS
from 4 through 255.
1. Enter the configure terminal command.
2. Enter the snmp-server sys-descr string command.
switch(config)# snmp-server sys-descr "Brocade-VDX Test Bed"
3. Enter the no snmp-server sys-descr command to remove the location.
The example changes the default location string to "Brocade-VDX Test Bed." You must enclose the
text in double quotes if the text contains spaces.
Configuring multiple SNMP server contexts
A single SNMP agent can be supported by the multiple instances of the same MIB module by mapping
the context name with the VRF instance. The context can be mapped to a VRF instance as described
below. The SNMP agent supports 256 contexts to support context-to-VRF mapping. Do the following
to set the SNMP server context, using the snmp-server context command to map a context to the
name of a VPN routing and forwarding (VRF) instance.
1. Enter the configure terminal command.
2. Enter the snmp-server context context_name vrf-name vrf_name command.
switch(config)# snmp-server context mycontext vrf-name myvrf
The example maps the context name "mycontext" to the VRF name "myvrf."
Configuring password encryption for SNMPv3 users
For SNMPv3 user, the passwords for auth-password and priv-password are encrypted. You can
configure either with a plain-text password or an encrypted password. In both cases, the passwords
are shown in the show running-config command as encrypted.
sw0(config# snmp-server user snmpadmin2 groupname snmpadmin auth md5 auth-password
"MVb+360X3kcfBzug5Vo6dQ==\n" priv DES priv-password "ckJFoHbzVvhR0xFRPjsMTA==\n"
encrypted
NOTE
This command may not be successful where encrypted passwords are generated by third-party or
open-source tools.
Displaying SNMP configurations
Use the show running-config snmp-server command to display the current SNMP configurations for
the SNMP host, community string, contact, and location, as well as other SNMP configuration options
such as SNMPv3 host address, context, and VRF mapping. There are no default configurations for
this command. This command can be executed only in privileged EXEC command mode.
Setting the SNMP server description
142
Network OS Administrator’s Guide
53-1003225-04