Листовка для Cisco Cisco Packet Data Gateway (PDG)
Global Configuration Mode Commands (L-S)
▀ snmp community
▄ Cisco ASR 5x00 Command Line Interface Reference
5244
context
context_name
Default: community string applies to all contexts.
Specifies a the context to which the community string shall be applied.
Specifies a the context to which the community string shall be applied.
context_name
must be an
alphanumeric string of 1 through 31 characters.
read-only
|
read-write
Default: read-only
Specifies if access rights for the community string.
Specifies if access rights for the community string.
read-only
: the configuration may only be viewed.
read-write
: the configuration may be viewed and edited.
view
view_name
Default: community string applies to all views.
Specifies the view to which the community string shall be applied.
Specifies the view to which the community string shall be applied.
view_name
must be an alphanumeric
string of 1 through 31 characters.
Usage
The community strings define the privileges of SNMP users. It may be desirable to give read-only access to
front line operators.
front line operators.
Example
snmp community name plain_text_string
snmp community encrypted name encrypted_string
snmp community name plain_text_string context sampleContext
snmp community name plain_text_string context sampleContext view
sampleView
sampleView
snmp community name plain_text_string read-write view sampleView
no snmp community plain_text_string