2-43
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
The following tasks are described in this section:
•
Configuring the SNMP Trap Source IP Address
•
Configuring the SNMP Manager Destination IP Address
•
Configuring the Community String and General Switch Information
Configuring the SNMP Trap Source IP Address
The SNMP trap source IP address is sent to SNMP managers, such as CWM, in the SNMP trap Packet
Data Unit (PDU). This IP address identifies the source of the trap and can be used by the SNMP manager
to access the remote SNMP agent. This address must be configured to enable communications with an
SNMP manager.
Note
If the trap manager IP address is not set, CWM will reject traps from the switch.
The switch can communicate with an SNMP manager over the disk or ATM IP interfaces. In some
installations, the disk IP interface will be used for CLI management and the ATM IP interface will be
used for SNMP management. When you select the SNMP trap manager IP address, you must select the
correct interface address.
To define the SNMP trap manager IP address, enter the cnftrapip command as follows:
mgx8850a.7.PXM.a>
cnftrapip
<
ipaddress
>
The IP address should match the disk IP address or the ATM interface IP address. For information on
setting and viewing the disk IP address, see the “
” section earlier in this
chapter. For information on setting and viewing the ATM interface IP address, see the “
” section in
Appendix C, “Supporting and Using Additional CLI Access Options.”
Configuring the SNMP Manager Destination IP Address
The SNMP Manager destination IP address identifies the IP address of an SNMP manager, such as
CWM, to which the switch sends SNMP traps. If you are using CWM to manage the switch, CWM will
automatically configure the destination IP address on the switch. If you are using another SNMP
manager, you can configure the destination IP address with the addtrapmgr command as follows:
mgx8850a.7.PXM.a>
addtrapmgr
<
ipaddress
> <
port
>
Replace ipaddress with the IP address of the SNMP manager, and replace port with the UDP port number
assigned to that manager. For more information on the SNMP manager IP address, refer to the SNMP
manager documentation.