S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-313
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
snmp-server mib community-map
snmp-server mib community-map
To configure a Simple Network Management Protocol (SNMP) context to map to a logical network
entity, such as a protocol instance or VRF, use the
snmp-server mib community-map
command. To
remove the 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
Command Default
None
Command Modes
Global configuration mode
Command History
Examples
This example shows how to map an SNMPv2c community named my_acl_for_public to an SNMP
context public1:
switch#
configure terminal
switch(config)#
snmp-server mib community-map my_acl_for_public context public1
switch(config)#
This example shows how to remove the mapping of an SNMPv2c community to an SNMP context:
switch#
configure terminal
switch(config)#
no snmp-server mib community-map my_acl_for_public context public1
switch(config)#
Related Commands
community-string
String sent with the notification operation. The string can be a maximum of
32 alphanumeric characters.
We recommend that you define this string using the
snmp-server
community
command prior to using the
snmp-server mib
community-map
command.
context
Specifies the SNMP context to be mapped to the logical network entity.
context-name
SNMP context. The name can be any alphanumeric string up to 32
characters.
Release
Modification
5.0(3)U1(1)
This command was introduced.
Command
Description
snmp-server
community
Configures an SNMP community.