Configuring The Community String And General Switch Information - Cisco MGX 8850 (PXM1E/PXM45) Configuration Manual

Multiservice switch
Table of Contents

Advertisement

Configuring for Network Management

Configuring the Community String and General Switch Information

To configure information about a switch in the local SNMP agent, use the following procedure.
Establish a configuration session using a user name with SUPER_GP privileges or higher.
Step 1
Step 2
To define the SNMP passwords for network management, enter the following command:
mgx8850a.7.PXM.a> cnfsnmp community password ro|rw
The network management passwords are called community strings, and there is a read-only (ro)
community string and a read-write (rw) community string. Network management programs that use the
ro community string can read switch data (using SNMP GET or GET-NEXT requests), but they cannot
change the switch configuration. Network management programs that use the rw community string can
read switch data and change the switch configuration (using SNMP SET requests). The default ro
community string is public and the default rw community string is private.
The following example shows how to change the ro community string:
mgx8850a.7.PXM.a> cnfsnmp community cisco ro
To define a text string that identifies the location of the switch to the management station, enter the
Step 3
following command:
mgx8850a.7.PXM.a> cnfsnmp location [location]
Replace location with 0 to 255 characters of text. The text can include space characters. The location
value is sent to SNMP managers when information is requested about the sysLocation MIB object.
The following example shows how to change the SNMP location string:
M8850_LA.8.PXM.a > cnfsnmp location Doc Lab
To define a text string that identifies a person to contact regarding issues with this switch, enter the
Step 4
following command:
mgx8850a.7.PXM.a> cnfsnmp contact [contact]
Replace contact with 0 to 255 characters of text. The text can include space characters. The contact value
is sent to SNMP managers when information is requested about the sysContact MIB object.
The following example shows how to change the SNMP contact string:
M8850_LA.8.PXM.a > cnfsnmp contact Lab Manager
Step 5
To display the SNMP agent configuration, enter the dspsnmp command. The command display appears
similar to the following example:
M8850_LA.8.PXM.a > dspsnmp
M8850_LA
MGX8850
Community (rw):
Community (ro):
System Location:
System Contact:
Cisco MGX 8850 (PXM1E/PXM45), Cisco MGX 8950, Cisco MGX 8830, and Cisco MGX 8880 Configuration Guide
2-44
System Rev: 05.00
private
cisco
Doc Lab
Lab Manager
Chapter 2
Configuring General Switch Features
Apr. 13, 2004 20:38:41 GMT
Node Alarm: MAJOR
Release 5.0.10, OL-3845-01 Rev. B0, August 16, 2004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mgx 8950Mgx 8830Mgx 8880

Table of Contents