![Cisco ASR 14000 Series Скачать руководство пользователя страница 602](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667602.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
SNMP Server Commands on Cisco IOS XR Software
snmp-server community-map
SMR-600
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
snmp-server community-map
To associate a Simple Network Management Protocol (SNMP) community with an SNMP context,
security name, or a target-list use the
snmp-server community-map
command in global configuration
mode. To change an SNMP community mapping to its default mapping, use the
no
form of this
command.
snmp-server community-map
[
clear
|
encrypted
]
community-string
[
context
context-name
]
[
security-name
security-name
] [
target-list
target
]
no snmp-server community-map
[
clear
|
encrypted
]
community-string
Syntax Description
Defaults
The value of the
community-string
argument is also the security name.
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the
snmp-server community-map
command to map an SNMPv1 or SNMPv2c community name
to
one or more of the following:
•
context name
: Maps a community name to a specific SNMP context name. This allows MIB
instances in an SNMP context to be accessed through SNMPv1 or SNMPv2c using this community
name.
•
security name
: By default, the community name is used to authenticate SNMPv1 and SNMPv2c.
Configure a security name for a community name to override the default and authenticate SNMP
with the security name.
•
target
: Target list identifies a list of valid hosts from which SNMP access can be made using a
specific security name. When such mapping is done for a particular community name, SNMP access
is allowed only from hosts included in the target list.
clear
(Optional) Specifies that the
community-string
argument is clear text.
encrypted
(Optional) Specifies that the
community-string
argument is encrypted text.
community-name
Name of the community.
context
context-name
Name of the SNMP context to which this community name is to be mapped.
security-name
security-name
Security name for this community. By default, the
community-name
is the
security name.
target-list
target
Name of the target list for this community.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.