OcNOS-SP : System Management Guide : System Management Command Reference : Simple Network Management Protocol : snmp-server community-map
snmp-server community-map
Use this command to map the community name with context and SNMPv2 user.
Use no form of this command to remove the community mapping.
Note: Community can be mapped with one context and user.
Command Syntax
snmp-server community-map WORD context WORD user WORD (vrf management|)
no snmp-server community-map WORD context WORD user WORD (vrf management|)
Parameters
WORD
SNMP community name
context
SNMP context name
WORD
Context string
user
SNMP user name
WORD
User string
management
Virtual Routing and Forwarding name
Command Mode
Configure mode
Applicability
This command is introduced in OcNOS-SP version 5.1 MR.
Examples
OcNOS(config)#snmp-server community-map test context ctx2 user testing vrf management
Last modified date: 10/19/2023