Cisco Cisco ASR 5000

Page of 9109
Global Configuration Mode Commands (L-S)   
▀  snmp community 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
5540 
   
snmp community 
Configures the SNMP v1 and v2 community strings. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration 
configure
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config)# 
Syntax
 
In StarOS 12.3 and later releases: 
snmp community [ encrypted ] name string [ context context_name | read-only | read-write 
| view 
view_name ] 
no snmp community [ encrypted ] namestring 
In StarOS 12.2: 
snmp community [ encrypted ] name string [ read-only | read-write ] 
no snmp community [ encrypted ] name string 
In StarOS 12.1 and earlier releases: 
snmp community string  [ read-only | read-write ] 
no snmp community string 
no
 
The specified community string is removed from the configuration. 
encrypted
 
Specifies the use of an encrypted string when entering the community name. Without the encrypted option, 
the plain-text community name must be provided.  
name
 
string
 
Specifies a community string whose options are to be modified. An unencrytpted string must be an 
alphanumeric string of 1 through 31 characters. An encrypted string is an alphanumeric string of 1 through 80 
characters.