Cisco ASR 14000 Series Management Command Reference page 601

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

SNMP Server Commands on Cisco IOS XR Software
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
Use the snmp-server community command to configure the community access string to permit access
to SNMP.
To remove the specified community string, use the no form of this command.
Use the clear keyword to specify that the clear text community string you enter is displayed encrypted
in the show running command output. To enter an encrypted string, use the encrypted keyword. To
enter a clear text community string that is not encrypted by the system, use neither of these keywords.
When the command snmp-server community is entered with the SDROwner keyword, SNMP access
is granted only to the MIB object instances in the owner SDR.
When the command snmp-server community is entered with the SystemOwner keyword, SNMP
access is granted to all SDRs in the system.
Note
In a non-owner SDR, a community name provides access only to the object instances that belong to that
SDR, regardless of the access privilege assigned to the community name. Access to the owner SDR and
system-wide access privileges are available only from the owner SDR.
Secure domain routers (SDRs) were previously known as logical routers (LRs). The name was changed
Note
as of Cisco IOS XR Release 3.3.0.
Task ID
Task ID
snmp
Examples
The following example shows how to assign the string comaccess to SNMP, allowing read-only access,
and to specify that IP access list 4 can use the community string:
RP/0/RP0/CPU0:Router(config)# snmp-server community comaccess ro 4
The following example shows how to assign the string mgr to SNMP, allowing read-write access to the
objects in the restricted view:
RP/0/RP0/CPU0:Router(config)# snmp-server community mgr view restricted rw
The following example shows how to remove the community comaccess:
RP/0/RP0/CPU0:Router(config)# no snmp-server community comaccess
Related Commands
Command
snmp-server view
OL-17231-01
Operations
read, write
Description
Creates or updates a view entry.
Cisco ASR 14000 Series Router System Management Command Reference
snmp-server community
SMR-599

Advertisement

Table of Contents
loading

Table of Contents