Specifications

2-5
Cisco MGX 8260 Command Line Interface Guide
Release 1.2, Part Number 78-10987-01 Rev. B0, January, 2002
Chapter 2 System Management
Configuration Tasks for System Initialization
Viewing Community Strings
To view a particular community string, enter the lscms command, specifying the community string
index.
The system displays the community string information:
=======================================================================
Community String Entry (lscms)
=======================================================================
Community String Index :1
Commumity String :Public
Manager IP Address :0.0.0.0
Privilege :read-write
To view all community strings, enter the lscmss command.
A list of all SNMP community strings is displayed, along with the corresponding index values, manager
IP addresses, and privileges.
=============================================================
Community String Entries (lscmss)
=============================================================
Index Manager IP Address Privilege Community String
===== ==================== =========== ===================
1 10.1.1.2 read-only public
2 10.1.1.3 read-write private
For a description of the output, refer to the description of the lscms command in the previous section.
Adding Community Strings
To add a community string, enter the addcms command, specifying the community, such as “public”,
the IP address of the SNMP manager, and the privilege (read-only = 1 or read-write = 2). An IP address
of 0.0.0.0 specifies all SNMP managers. Community strings contain up to 20 characters.
The following command adds a public community string with read-write privilege for all SNMP
managers:
addcms Public 10.0.0.0 2
Deleting Community Strings
To delete a community string, enter the delcms command, specifying the community string and IP
address.
For example, the following command deletes the Public community string:
delcms Public 0.0.0.0
Displayed Information Description
Community String Index The commStrTable index number, from 1 to 15. If you don’t know the
index, list all community strings first and identify the string of interest. The
following procedure shows how to list all community strings.
Community String The name of the community string.
Manager IP Address The IP address of the manager associated with this string.
Privilege The managers privilege, either read-write or read-only.