82-4
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 82 Configuring MIB Support
Enabling SNMP Support
Compiling MIBs
If you plan to integrate the Cisco 4500 series switch with an SNMP-based management application, then
you must also compile the MIBs for that platform. For example, if you are running HP OpenView on a
UNIX operating system, you must compile Cisco 4500 series switch MIBs with the HP OpenView
Network Management System (NMS). For instructions, see the NMS documentation.
Enabling SNMP Support
The following procedure summarizes how to configure the Cisco 4500 series switch for SNMP support.
For detailed information about SNMP commands, see the following Cisco documents:
•
Cisco IOS Release 15.0 Configuration Guides
, available at the following URL:
http://www.cisco.com/en/US/products/ps10591/products_installation_and_configuration_guides_l
ist.html
•
Cisco IOS Release 12.3 Configuration Fundamentals and Network Management Command
Reference
, Part 3: System Management Commands, “Router and Network Configuration
Commands” section, available at the following URL:
http://www.cisco.com/en/US/docs/ios/12_3/configfun/command/reference/fun_r.html
To configure the Cisco 4500 series switch for SNMP support, follow these steps:
Step 1
Establish your basic SNMP configuration using the command line interface (CLI) on the router. Note
that these basic configuration commands are issued for SNMP version 2c. For SNMP version 3, you must
also set up SNMP users and groups. Refer to the preceding list of documents for command and set up
information.
a.
Define SNMP read-only and read-write communities:
Router (config)#
snmp-server community
Read_Only_Community_Name
ro
Router (config)#
snmp-server community
Read_Write_Community_Name
rw
b.
Configure SNMP views (to limit the range of objects accessible to different SNMP user groups):
Router (config)#
snmp-server view
view_name
oid-tree
{
included
|
excluded
}
Step 2
Identify (by IP address) the host to receive SNMP notifications from the router:
Router (config)#
snmp-server host
host
Step 3
Configure the router to generate notifications. You can use keywords to limit the number and types of
messages generated.
Router (config)#
snmp-server enable traps
[
notification-type
] [
notification-option
]
Step 4
(Optional) Configure the router to generate SNMP notifications released to field replaceable units
(FRUs):
Router (config)#
snmp-server enable traps fru-ctrl
Step 5
(Optional) Configure the router to generate SNMP notifications related to environmental monitoring:
Router (config)#
snmp-server enable traps
envmon
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...