|
This online reference provides instructions for accessing and downloading the Cisco Management Information Base (MIB) files.
This section contains the following information:
You can access the Cisco MIB files in any of the following ways:
Use these steps to access the Cisco public MIBs using FTP:
Step 2 Log in with the username anonymous.
Step 3 Enter your e-mail name when prompted for the password.
Step 4 At the ftp> prompt, change your directory to reflect the following path:
where switch is the name of the switch you want, such as wsc5000 for the Catalyst 5000.
Step 5 Enter the get supportlist.txt command to obtain the supportlist.txt file containing a list of MIBs the switch supports.
Step 6 Enter the get command to retrieve the desired MIB files from the v1/ or v2/ directories.
Note For general information on downloading MIB files, download the README file by entering the get README command at the ftp> prompt.
CCO serves a wide variety of users through two interfaces that are updated and enhanced simultaneouslya character-based version and a multimedia version, which both reside on the WWW. The character-based CCO (called "CCO Classic") supports Zmodem, Kermit, Xmodem, FTP, Internet e-mail, and fax download options, and allows quick access to information over lower bandwidths. The WWW version of CCO provides richly formatted documents with photographs, figures, graphics, and video, as well as hyperlinks to related information.
You can access CCO in the following ways:
Table 2-1 Modem Settings for Accessing CCO
Modem Setting | Value |
---|---|
Use these steps to access MIB files using the WWW:
Step 2 Enter the following URL:
http://www.cisco.com/public/mibs/
Step 3 Access the list of supported MIBs from the "Index of /public/mibs" list by performing the following steps:
(a). Select supportlists/ from the "Index of /public/mibs" list.
(b). Select the switch (for example, wsc5000 for the Catalyst 5000) as appropriate.
(c). Select the file supportlist.txt to read the supported list of MIBs for the selected switch.
Step 4 Read a brief description of the various MIB files from the "Index of /public/mibs" list by performing the following steps:
Note SNMP version 1 files are in the subdirectory v1/ and SNMP version 2 files are in the subdirectory v2/. Subdirectory v2-to-v1 contains old MIB files supported by IOS version 10.0. These files have a prefix of "OLD-" in anticipation of future releases where these MIBs will be removed and replaced with a new set of MIBs, written in the SNMPv2 format.
(b). Select readme from the "Index of /public/mibs/v1" or "Index of /public/mibs/v2" list that appears for a brief description of the various MIB files.
Step 5 Obtain trap definitions from the "Index of /public/mibs" list by performing the following steps:
For example, Catalyst 5000 series switches support all standard traps defined in the standard MIBs listed in the "Product Overview" section of the Catalyst 5000 Series Software Configuration Guide. Cisco proprietary traps used by Catalyst 5000 series switches are documented in the various MIB files.
Use these steps to access MIB files using a Telnet session:
Step 2 Select Service & Support from the "Cisco Systems Connection ONLINE" main menu.
Step 3 Select Software Center from the "Service & Support" list.
Step 4 Select Network Management Products from the "Software Center" list.
Step 5 Select MIB Files from the "Software Network Management Products" list.
Step 6 Access a list of supported MIB by performing the following steps:
(a). Select supportlists/ from the "Index of /public/mibs" list.
(b). Select the switch (for example, wsc5000 for the Catalyst 5000) as appropriate.
(c). Select the file supportlist.txt to read the supported list of MIBs for the selected switch.
Step 7 Read a brief description of the various MIB files by performing the following steps:
(a). Select v1/ or v2 from the "Index of /public/mibs" list, depending on which version of SNMP you use.
Note SNMP version 1 files are in the subdirectory v1/ and SNMP version 2 files are in the subdirectory v2/. Subdirectory v2-to-v1 contains old MIB files supported by IOS version 10.0. These have a prefix of "OLD-" in anticipation of future releases where these MIBs will be removed and replaced with a new set of MIBs, written in the SNMPv2 format.
(b). Select readme from the "Index of /public/mibs/v1" or "Index of /public/mibs/v2" list that appears for a brief description of the various MIB files.
Step 8 Obtain trap definitions by performing the following steps:
For example, Catalyst 5000 series switches support all standard traps defined in the standard MIBs listed in the "Product Overview" section of the Catalyst 5000 Series Software Configuration Guide. Cisco proprietary traps used by Catalyst 5000 series switches are documented in the various MIB files.
You can download a copy of MIB files in two ways:
Download the MIB file using FTP from a UNIX server by performing these steps:
The system displays a login prompt.
Step 2 Log in with the username anonymous, as follows:
Name (ftp.cisco.com:user): anonymous
The system displays a password prompt.
Step 3 Enter your full e-mail address in the following format:
The system displays an ftp> prompt.
Step 4 Change directories to pub/mibs, as follows:
Note For general information on downloading MIB files, download the README file by entering the get README command at the ftp> prompt. This file lists available MIB files and provides instructions for retrieving them.
Step 5 Change to the directory containing the desired MIB file, as follows:
ftp> cd v1 (for SNMP version 1)
ftp> cd v2 (for SNMP version 2)
Step 6 Enter the get command to download a copy of the MIB file, as follows:
The get command downloads the MIB file to your directory.
Step 7 Exit FTP by entering quit at the ftp> prompt, as follows:
You can use CCO to download the MIB file with either a character-based interface or a multimedia WWW browser interface.
Access CCO using a multimedia WWW browser by performing these steps:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
Step 2 Select the switch (for example, wsc5000 for the Catalyst 5000) as appropriate.
Note Do not log in as a registered user at the CCO main menu.
Step 3 Save the MIB file as text using the Save as... command from your browser's File pulldown menu. You can also send the file to yourself using the Mail Document... command from the browser's File menu.
To access CCO using a character-based interface, perform these steps:
The system displays a login prompt.
Step 2 Log in as cco, as follows:
The system displays messages similar to the following and prompts you to specify a terminal type:
Last login: Tue Dec 17 17:14:51 from dynaserv-noc-use
Welcome to CCO Classic....
Enter terminal type (<cr>=vt100, ? for help):
Step 3 Press Return to select VT100 terminal emulation.
The system displays messages similar to the following:
Cisco Systems, Incorporated - Cisco Connection Online (CCO)
[Enhanced for Lynx!]
_________________________________________________________________
* Enter CCO as a Registered User
* Enter CCO as a Guest User (public information)
* Perform an Online Registration (Maintenance Contract required)
* Help
________________________________________________________________
Step 4 Select Enter CCO as a Guest User (public information), and press Return.
The system displays the Welcome to Cisco Connection Online screen.
Step 5 Select Software Image Library and press Return.
The system displays the Software Image Library (p1 of 4) screen.
Step 6 Select v1 (for SNMP version 1) or v2 (for SNMP version 2) and press Return.
The system displays the first page of the MIB file.
Step 7 Press P.
The system displays the Printing Options (CCOLynx Version 2.5) screen.
Step 8 Select the Mail the file option and press Return.
The system prompts you for a valid Internet mail address.
Step 9 Enter your e-mail address at the prompt, as follows:
Please enter a valid internet mail address: user@domain_name
The CCO Classic interface sends the MIB file to the specified e-mail address.
To access the information that certain MIB variables support, you must enter either an Interface Index (IF-INDEX) or Bridge Identifier (BridgeID) value as an instance identifier. Use the following links for descriptions on how to access these types of values for use with MIBs mentioned previously:
To find the module number and port number to which an IF-INDEX is mapped, read the IfName in the MIB object of the Interface Extension MIB (RFC 1573). Use this method to find the IF-INDEX when you are accessing any of the variables in the Cisco Discovery Protocol (CDP) MIB that require an IF-INDEX for a variable instance identifier (such as "CDP neighbors").
For example, the Catalyst 5000 series switch Group Switching Ethernet module has 12 ports in each of its four switched, repeated segments. To gather statistical information about one of these segments using the Interface Extension MIB (RFC 1573) or CDP MIB, use the IF-INDEX of the first port of the segment (port 1, 13, 25, or 37) as the variable instance identifier.
Standard remote monitoring (RMON, RFC 1757) supports nine types of monitoring groups. Catalyst 6000/5000/4000 series switches support four of these groups: statistics, history, alarms, and events. Other devices may support some or all of the groups. Any RMON-compliant manager can obtain and display information from these groups. For example, the Cisco TrafficDirector application provides a simple, point-and-click method of obtaining the information. Refer to the TrafficDirector Windows User Guide or TrafficDirector UNIX User Guide for details about TrafficDirector.
Collecting RMON information requires you to create TrafficDirector software agents. These agents consist of an IP address and an interface index (IF-INDEX) for the port about which information is to be collected. For instructions about how to display the IF-INDEX and the port number to which it is mapped, refer to "Using SunNet Manager to Display IF-INDEX" and "Using HP Openview to Display IF-INDEX." To gather statistical information using the Interface Extension MIB (RFC 1573) or CDP MIB, use the IF-INDEX of the first port of the segment (port 1, 13, 25, or 37) as the variable instance identifier.
For the Catalyst 6000/5000/4000, the Bridge MIB (RFC 1493) contains a bridge port number for each Group Switching Ethernet module segment. Query the portCrossIndex.mod_num.port_num MIB object in the CISCO-STACK-MIB to find the BridgeID. The mod_num is the module number in Catalyst 6000/5000/4000 series switches, and the port_num is the first port in each Group Switching Ethernet module segment (that is, port 1, 13, 25, or 37).
To display Bridge MIB information for different VLANs, change the SNMP community string to append @vlan_num to the configured SNMP community string. The vlan_num is the VLAN number.
To access the different segments of a Group Switching Ethernet module using the SNMP-REPEATER-MIB (RFC 1516), change the SNMP community string of your SNMP application that references your switches to the following syntax:
The community_string represents the name of the SNMP community (the defaults are Public for read-only permission, private for read-write permission, and secret for read-write-all permission). The mod_num is the module number in the switch and the port_num is the first port of each segment. For segment one, use port 1; for segment two, use port 13; for segment three, use port 25; and for segment four, use port 37.
This section contains instructions on how to display the IF-INDIEX using the following methods:
Display the IF-INDEX and port number of a switch using SunNet Manager by performing the following steps:
/pub/mibs/schema/IF-MIB.schema
Step 2 Copy these files to your SNMP agents directory, which is typically located in $SNMHOME/agents.
Step 3 Reinitialize SunNet Manager using the following command:
Step 4 If a switch icon you are interested in monitoring is present in your network application topology map, highlight it and select IF-MIB from the properties sheet list. If a switch icon is not present, create a new object to represent the switch in your network before highlighting its icon and selecting IF-MIB from the properties sheet list.
Step 5 Select the following on the device-specific menu:
Quick Dump, IF-MIB, and ifXTable.
Output similar to the following will be displayed. The IF-INDEX is listed under the column heading "KEY" in the first column of the output.
Apr 12 13:48:39 1996 [ 172.20.24.188 ] : Quick Dump: IF-MIB.ifXTable
KEY ifName ifInMulticastPkts ifInBroadcastPkts...
Step 6 Choose the key that corresponds to the module or port to monitor.
Display the IF-INDEX and port number of a switch using HP Openview by performing the following steps:
Step 2 Copy this MIB file to your OpenView MIBs directory, which is typically located in the directory path:
Step 3 Rename the file rfc1573.mib to rfc1573-INTERFACES.
Step 4 Select the following from the HP Openview main menu:
Options, Load/Unload MIBs:SNMP.
Step 5 Click Load. Choose the filename rfc1573-INTERFACES, and click OK.
Step 6 Select the following from the HP Openview main menu:
Monitor, MIB Values, Browse MIB:SNMP
Step 7 Type a device name or IP address into the form and then click MIB Object ID.
Posted: Sat Jan 18 13:36:46 PST 2003
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.