Cisco Cisco IOS Software Release 12.2(18)S

다운로드
페이지 20
      MPLS Enhancements to Interfaces MIB
snmp-server community
17
Cisco IOS Release 12.2(18)S
snmp-server community
To configure read-only or read/write Simple Network Management Protocol (SNMP) community 
strings, use the snmp-server community command in global configuration mode. To change the 
community string to its default value, use the no form of this command.
snmp-server community string [view view-name] [ro | rw] [number]
no snmp-server community string
Syntax Description
Defaults
The default value of the read/write parameter is read-only (ro). The default value of the read-only 
community string is public, and the default value of the read/write community string is private.
Command Modes
Global configuration
Command History
Usage Guidelines
The no snmp-server command disables both versions of SNMP (SNMPv1 and SNMPv2). 
The first snmp-server command that you enter enables both versions of SNMP. 
string
Community string of 1 to 32 alphanumeric characters. The community 
string acts like a password and permits access to the SNMP protocol. No 
blank character spaces are allowed.
view view-name
(Optional) Name of a previously defined view. The view defines the objects 
available to the community.
ro
(Optional) Configures read-only access. Authorized management stations 
can only retrieve MIB objects. 
rw
(Optional) Configures read/write access. Authorized management stations 
can retrieve and modify MIB objects.
number
(Optional) Integer from 1 to 99 that specifies an access list of IP addresses 
that are allowed to use the community string to gain access to the SNMPv1 
agent.
Release
Modification
10.0
This command was introduced.
12.0(14)ST
This command was integrated into Cisco IOS Release 12.0(14)ST.
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
12.0(23)S
This command was integrated into Cisco IOS Release 12.0(23)S.
12.2(18)S
This command was integrated into Cisco IOS Release 12.2(18)S.