4-4
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 4 Managing and Monitoring Network Management Features
How to Configure Network Management Features on ASR 901
Step 3
Router(config)# snmp-server
community
string
[view
view-name
]
[ro | rw] [
number
]
Example:
Router(config)# snmp-server
community xxxxx RO
Sets up the community access string to permit access to SNMP. The no
form of this command removes the specified community string.
• string—Community string is the password to access the SNMP
protocol.
• view view-name—(Optional) Previously defined view. The view
defines the objects available to the community.
• ro—(Optional) Specifies read-only access. Authorized management
stations are able only to retrieve MIB objects.
• rw—(Optional) Specifies read-write access. Authorized management
stations are able to both retrieve and modify MIB objects.
• number—(Optional) Specifies an access list of IP addresses allowed
to use the community string to gain access to the SNMP agent. Values
range from 1 to 99.
Step 4
Router(config)# snmp-server
queue-length
length
Example:
Router(config)# snmp-server
queue-length 100
Establishes the message queue length for each trap host.
• length—Specifies the number of trap events that can be held before
the queue must be emptied.
Command Purpose