![]() |
Asynchronous Transfer Mode Configuration Guide, Cisco IOS Release 12.4T
|
||||||||||||||||||||||||||
SNMP Trap Support for the Virtual Switch Interface Master MIB
![]() |
|||||||||||||||||||||||||||
|
Contents
SNMP Trap Support for the Virtual Switch Interface Master MIBLast Updated: December 5, 2011
This feature module explains how to use the virtual switch interface (VSI) Master MIB to monitor and manage ATM switches that are connected to routers through the virtual switch interface.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for SNMP Trap Support for the VSI Master MIBRestrictions for SNMP Trap Support for the VSI Master MIBThe VSI Master MIB is for ATM-LSRs running Multiprotocol Label Switching (MPLS). Information About SNMP Trap Support for the VSI Master MIBVSI Master and SlaveThe VSI master is a software module that resides on a router. The VSI master enables an application to control an ATM switch that is connected to the router. The VSI protocol runs between the VSI master and a VSI slave. The VSI master can communicate with more than one slave across a control interface that connects the router to the switch. Each master/slave connection is called a VSI session. The figure below illustrates VSI sessions between a VSI master and slaves. VSI Components That You Can Monitor with the VSI Master MIBThe VSI Master MIB allows you to monitor the operation of the switch. It also displays the results of the operations. Specifically, the VSI Master MIB allows you to monitor:
MIB TrapsThe VSI Master MIB allows you to enable traps on the following components:
MIB ObjectsThe following is a partial list of the supported MIB objects. ControllersYou can obtain the following information about the controller:
SessionsYou can obtain the following information about the VSI sessions:
Logical InterfacesLogical interfaces represent external interfaces that are available for connections. When you pair two external interfaces (represented by two logical interfaces), they provide a physical path through the switch. These physical paths support cross-connects. You can gather the following information about each logical interface:
Cross-ConnectsCross-connects are virtual links across two interfaces. The participating interfaces that support these links are listed in the MIB's vsiLogicalIfTable entries. You can gather the following information about the cross-connects:
How to Configure SNMP Trap Support for the VSI Master MIB
Enabling the SNMP AgentThe SNMP agent for the VSI Master MIB is disabled by default. To enable the SNMP agent, perform the steps in this section. DETAILED STEPS Verifying That the SNMP Agent Has Been Enabled
SUMMARY STEPS
DETAILED STEPS Enabling TrapsSNMP notifications can be sent as traps or inform requests. A trap is an unsolicited message sent by an SNMP agent to an SNMP manager, indicating that some event has occurred. You can enable SNMP traps for the VSI Master MIB through the command line interface (CLI) or through an SNMP MIB object. The following sections explain these options.
Enabling the VSI Master MIB Traps by Using CommandsTo enable SNMP traps, use the snmp-server enable traps command. An SNMP agent can be configured to send traps when one of the VSI Master MIB objects changes. The table below lists the CLI commands for enabling traps of specific VSI components.
To enable VSI Master MIB traps to be sent from the agent to the manager, perform the following tasks in global configuration mode: DETAILED STEPS Enabling the VSI Master MIB Traps by Using SNMP MIB ObjectsYou can also use MIB objects to specify which VSI components should send traps. To enable all VSI Master traps, use the vsiVSITrapEnable MIB object. Controller TrapsTo enable traps about the status of the controller, use the vsiControllerTrapEnable MIB object. The table below lists the MIB objects that are specific to the controller. VSI Session TrapsTo enable traps about the status of the VSI sessions, use the vsiSessionTrapEnable MIB object. The table below lists the MIB objects that are specific to the VSI sessions. Logical InterfacesTo enable traps about the status of the logical interfaces, use the vsiLogicalIfTrapEnable MIB object. The table below lists the MIB objects that are specific to the logical interfaces. Setting Thresholds for Cross-ConnectsWhen cross-connects on XtagATM interfaces are created or deleted, a counter keeps a tally of the available logical channel number (LCN) resources. If the LCN resources become too low, the MIB sends messages to alert you of the possibility of resource exhaustion. You must first set the warning and alarm thresholds for the number of LCNs. To set the warning threshold, use the vsiAvailableChnlWarnThreshold MIB object. To set the alarm threshold, use the vsiAvailableChnlAlarmThreshold MIB object. The following list explains the usage guidelines of these MIB objects:
The following list explains the conditions under which warnings, alarms, and other messages are sent. The figure below illustrates the thresholds.
To prevent an overwhelming number of warnings or alarms from being generated during a sampling period, only one warning or alarm is generated when the number of LCNs falls below the threshold. The number of LCNs must return to normal before another warning or alarm is generated. Configuration Examples for SNMP Trap Support for the VSI Master MIB
Enabling the SNMP Agent ExampleIn the following example, the SNMP agent is enabled. snmp-server community Enabling the SNMP Agent with a Community String ExampleIn the following example, SNMPv1 and SNMPv2C are enabled. The configuration permits any SNMP manager to access all objects with read-only permissions using the community string public. snmp-server community public Enabling the SNMP Agent with Read-Only Access to Access List Members ExampleIn the following example, read-only access is granted for all objects to members of access list 4 that specify a community string named comaccess. No other SNMP managers have access to any objects. snmp-server community comaccess ro 4 Enabling Traps and Specifying the Trap Recipient ExampleIn the following example VSI Master MIB traps are sent to the host cisco.com. The community string is restricted. The first line enables the router to send VSI Master MIB traps in addition to any traps previously enabled. The second line specifies the destination of these traps and overwrites any previous snmp-server host commands for the host cisco.com. snmp-server enable traps vsimaster snmp-server host cisco.com restricted vsimaster Additional ReferencesMIBsTechnical Assistance
Feature Information for SNMP Trap Support for the VSI Master MIBThe following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Glossaryagent--A process in the device that handles SNMP requests. alarm--A message that is triggered when defined values cross a given threshold. For instance, you can specify the number of Ethernet collisions, plus a time interval, such as 1 second, and a threshold, such as 60 collisions. Given this scenario, an alarm is generated when the number of Ethernet collisions exceeds 60 in 1 second. event--The action that is triggered as result of an alarm. Alarms and events are logically connected. For example, when the number of collisions on an Ethernet segment exceeds 60 per second, the corresponding event can cause a trap message to be sent to one or more management stations. An event is generated by the RMON agent, which could be triggered by a threshold crossing. An event can be signaled as a trap, a new entry in the MIB log table, both, or neither. inform request--A message sent by an SNMP agent to a network management station, console, or terminal to indicate that a significant event occurred. SNMP inform requests are more reliable than traps because an inform request acknowledges the message with an SNMP response protocol data unit (PDU). If the manager does not receive an inform request, it does not send a response. If the sender never receives a response, the inform request can be sent again. Thus, informs are more likely to reach their intended destination. Management Information Base--See MIB. MIB-Management Information Base. Database of network management information that is used and maintained by a network management protocol such as SNMP. The value of a MIB object can be changed or retrieved by SNMP commands, usually through a network management system. MIB objects are organized in a tree structure that includes public (standard) and private (proprietary) branches. MPLS--Multiprotocol label switching. MPLS is a method for forwarding packets (frames) through a network. It enables routers at the edge of a network to apply labels to packets (frames). ATM switches or existing routers in the network core can switch packets according to the labels. Multiprotocol Label switching--See MPLS. Simple Network Management Protocol--See SNMP. SNMP--Simple Network Management Protocol. Management protocol used almost exclusively in TCP/IP networks. SNMP provides a means to monitor and control network devices, and to manage configurations, statistics collection, performance, and security. threshold--The range in which you expect your network to perform. If a performance exceeds or goes below the expected bounds, you can examine these areas for potential problems. You can create thresholds for a specific device. trap--Message sent by an SNMP agent to a network management station, console, or terminal to indicate that a significant event occurred. Traps are less reliable than inform requests, because the receiver does not send an acknowledgment when it receives a trap. The sender cannot determine if the trap was received. VSI--Virtual Switch Interface. A proposed common control interface to Cisco switches. The VSI can manage connections and discover configuration information about the switch. VSI controller--A controller, such as a PNNI SVC controller, Portable AutoRoute or MPLS controller, that controls a switch using the VSI. VSI master --A process implementing the master side of the VSI protocol in a VSI controller. Sometimes the whole VSI controller might be referred to as a "VSI Master," but this is not strictly correct. Also, the VSI master is a device that controls a VSI switch, for example, a VSI Label Switch Controller. VSI slave --A VSI slave is either of the following:
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2011 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||||||||
|
|