2-44
Cisco MGX 8850 (PXM1E/PXM45), Cisco MGX 8950, Cisco MGX 8830, and Cisco MGX 8880 Configuration Guide
Release 5.0.10, OL-3845-01 Rev. B0, August 16, 2004
Chapter 2 Configuring General Switch Features
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.
Step 1 Establish a configuration session using a user name with SUPER_GP privileges or higher.
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
Step 3 To define a text string that identifies the location of the switch to the management station, enter the
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
Step 4 To define a text string that identifies a person to contact regarding issues with this switch, enter the
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 System Rev: 05.00 Apr. 13, 2004 20:38:41 GMT
MGX8850 Node Alarm: MAJOR
Community (rw): private
Community (ro): cisco
System Location: Doc Lab
System Contact: Lab Manager
Comments to this Manuals