S Commands
snmp-server mib community-map
388
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
snmp-server mib community-map
To configure the Simple Network Management Protocol (SNMP) version 2c community to context
mapping, use the snmp-server mib community-map command. To remove the community to context
mapping, use the no form of this command.
snmp-server mib community-map community-string context context-name
no snmp-server mib community-map community-string context context-name
Syntax Description
Defaults None
Command Modes Global configuration mode
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines Use the snmp-server mib community-map command to map between SNMPv2c communities and
SNMP contexts. Use the snmp-server context command to map this context to a logical network entity.
For more information on context mapping, see the Cisco Nexus 7000 Series NX-OS Security
Configuration Guide, Release 6.x.
This command does not require a license.
Examples This example shows how to map the public community to the public1 context:
switch# configure terminal
switch(config)# snmp-server mib community-map public context public1
community-string SNMP community string. The string can be any alphanumeric string up to 32
characters.
context
context-name
Specifies the SNMP context. The name can be any alphanumeric string up to 32
characters.
Release Modification
4.0(2) This command was introduced.