Snmp-Server Mib Community-Map - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

Chapter
System Management Commands
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

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.
Syntax Description
community-string
context
context-name
Command Default
None
Command Modes
Global configuration mode
Command History
Release
5.0(3)U1(1)
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
Command
snmp-server
community
OL-29557-04
snmp-server mib community-map community-string context context-name
no snmp-server mib community-map community-string context context-name
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.
Specifies the SNMP context to be mapped to the logical network entity.
SNMP context. The name can be any alphanumeric string up to 32
characters.
Modification
This command was introduced.
Description
Configures an SNMP community.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
snmp-server mib community-map
-SM-313

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents