![]() |
IP Routing: OSPF Configuration Guide, Cisco IOS Release 15S
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OSPF Sham-Link MIB Support
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contents
OSPF Sham-Link MIB SupportLast Updated: November 26, 2012
This feature introduces MIB support for the OSPF Sham-Link feature through the addition of new tables and trap MIB objects to the Cisco OSPF MIB (CISCO-OSPF-MIB) and the Cisco OSPF Trap MIB (CISCO-OSPF-TRAP-MIB). New commands have been added to enable Simple Network Management Protocol (SNMP) notifications for the Open Shortest Path First (OSPF) sham-link trap objects. Notifications are provided for errors, state changes, and retransmissions across a sham-link interface. Finding Feature Information in This ModuleYour Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the Feature Information for OSPF Sham-Link MIB Support. Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software ImagesUse Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn . An account on Cisco.com is not required.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and 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 module. 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 OSPF Sham-Link MIB Support
Restrictions for OSPF Sham-Link MIB SupportAll enhancements that are introduced by this feature are provided only by the Cisco private MIBs CISCO-OSPF-MIB and CISCO-OSPF-TRAP-MIB. Information About OSPF Sham-Link MIB SupportOSPF Sham-Links in PE-PE Router ConnectionsIn a Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) configuration, a virtual connection called a sham-link can be configured to interconnect between two VPN sites that want to be in the same OSPF area. The sham-link is configured on top of the MPLS VPN tunnel that connects two provider edge (PE) routers. The OSPF packets are propagated over the sham-link. For more information on configuring sham-links, refer the OSPF Sham-Link Support for MPLS VPN feature at the following URL: http://www.cisco.com/en/US/docs/ios/iproute_ospf/configuration/guide/iro_sham_link.html Cisco OSPF MIB and Cisco OSPF Trap MIB EnhancementsThe OSPF Sham-Link MIB Support feature introduces MIB support for OSPF sham-links through the addition of new tables and trap MIB objects to the Cisco OSPF MIB (CISCO-OSPF-MIB) and the Cisco OSPF Trap MIB (CISCO-OSPF-TRAP-MIB) for Cisco IOS Releases 12.0(30)S, 12.3(14)T, 12.2(33)SRA, 12.2(31)SB2, and 12.2(33)SXH. New CLI has been added to enable SNMP notifications for the OSPF sham-link trap objects. Notifications are provided for errors, state changes, and retransmissions across a sham-link interface. The following sections describe the enhancements:
OSPF Sham-Link Configuration SupportThe cospfShamLinksTable table object stores information about the sham-links that have been configured for the OSPF area. Beginning with Cisco IOS Releases 12.0(30)S, 12.3(14)T, 12.2(33)SRA, 12.2(31)SB2, and 12.2(33)SXH, the cospfShamLinksTable replaces the cospfShamLinkTable. The cospfShamLinksTable allows access to the following MIB objects:
OSPF Sham-Link Neighbor SupportThe cospfShamLinkNbrTable table object describes all OSPF sham-link neighbor entries. The cospfShamLinkNbrTable allows access to the following MIB objects: OSPF Sham-Link Interface Transition State Change SupportThe cospfShamLinksStateChange trap object is used to notify the network manager of a transition state change for the OSPF sham-link interface. The cospfShamLinksStateChange trap object replaces the original cospfShamLinkStateChange trap object for Cisco IOS Releases 12.0(30)S, 12.3(14)T, 12.2(33)SRA, and 12.2(31)SB2. The cospfShamLinksStateChange trap objects contains the following MIB objects:
OSPF Sham-Link Neighbor Transition State Change SupportThe cospfShamLinkNbrStateChange trap object is used to notify the network manager of a transition state change for the OSPF sham-link neighbors. The cospfShamLinkNbrStateChange trap object contains the following MIB objects:
Sham-Link ErrorsTrap notifications are provided for OSPF sham-link configuration, authentication, and bad packet errors. These errors include the following trap objects:
How to Configure OSPF Sham-Link MIB Support
Configuring the Router to Send SNMP NotificationsPerform this task to enable the router to send SNMP notifications (traps or informs) defined in the OSPF MIBs. SNMP notifications can be configured on the router and GET operations can be performed from an external management station only after MIB support is enabled. OSPF Configuration Error NotificationsTo enable the sending of OSPF configuration errors notifications, enable the following traps:
DETAILED STEPS Enabling OSPF Sham-Link Error TrapsNotifications are sent when OSPF sham-link configuration errors are detected. To enable the sending of sham-link configuration error notifications, enable the following cospfShamLinkConfigError trap. DETAILED STEPS
Enabling OSPF Sham-Link Retransmissions TrapsNotifications are sent when OSPF packets retransmissions across a sham-link are detected. To enable the sending of sham-link packet retransmission notifications, enable the following cospfShamLinkTxRetransmit trap. DETAILED STEPS
Enabling OSPF Sham-Link State Change TrapsNotifications are sent when sham-link interface and neighbor state changes are detected. To enable the sending of sham-link state changes notifications, you can enable the following cospfShamLinksStateChange trap, which replaces the original cospfShamLinkStateChange trap, as well as the cospfShamLinkNbrStateChange trap, which is new for Cisco IOS Releases 12.0(30)S, 12.3(14)T, 12.2(33)SRA, and 12.2(31)SB2:
DETAILED STEPS
Verifying OSPF Sham-Link MIB Traps on the Router
SUMMARY STEPS
DETAILED STEPS
Configuration Examples for OSPF Sham-Link MIB Support
Enabling and Verifying OSPF Sham-Link Error Traps ExampleThe following example enables all Cisco-specific OSPF sham-link error traps. Note that the first attempt to enter the snmp-server enable traps ospf cisco-specific errors shamlink command results in an error message that the snmp-server enable traps ospf cisco-specific errors config-error command must be entered first: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# snmp-server enable traps ospf cisco-specific errors shamlink % Sham-link config error trap not enabled. % Configure "cisco-specific errors config-error" first. % This requirement allows both traps to be sent. Router(config)# snmp-server enable traps ospf cisco-specific errors config-error Router(config)# snmp-server enable traps ospf cisco-specific errors shamlink Router(config)# end The show running-config command is entered to verify that the traps are enabled:
Router# show running-config | include traps
snmp-server enable traps ospf cisco-specific errors config-error
snmp-server enable traps ospf cisco-specific errors shamlink
At the time of disabling the traps, if the no snmp-server enable traps ospf cisco-specific errors config-error command is entered before the snmp-server enable traps ospf cisco-specific errors shamlink command, a message will be displayed to indicate that the sham-link configuration errors traps have also been disabled: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# no snmp-server enable traps ospf cisco-specific errors config-error ! This command also disables the previously-enabled shamlink configuration error traps. Router(config)# end Enabling and Verifying OSPF State Change Traps ExampleThe following example enables all Cisco-specific OSPF state change traps including the cospfShamLinksStateChange and cospfShamLinkNbrStateChange traps that are new for Cisco IOS Releases 12.0(30)S, 12.3(14)T, 12.2(33)SRA, and 12.2(31)SB2: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# snmp-server enable traps ospf cisco-specific state-change shamlink The show running-config command is entered to verify that the traps are enabled:
Router# show running-config | include traps
snmp-server enable traps ospf cisco-specific state-change shamlink interface
snmp-server enable traps ospf cisco-specific state-change shamlink neighbor
Note that the snmp-server enable traps ospf cisco-specific state-change shamlink command enables the sham-link interface state change for the cospfShamLinksStateChange trap that is new for Cisco IOS Releases 12.0(30)S, 12.3(14)T, 12.2(33)SRA, and 12.2(31)SB2. To enable the original cospfShamLinkStateChange trap, you must first disable the cospfShamLinksStateChange trap. An attempt to enter the snmp-server enable traps ospf cisco-specific state-change shamlink interface-old command results in the following error message: Router(config)# snmp-server enable traps ospf cisco-specific state-change shamlink interface-old % Cannot enable both sham-link state-change interface traps. % Deprecated sham link interface trap not enabled. Router(config)# no snmp-server enable traps ospf cisco-specific state-change shamlink interface Router(config)# snmp-server enable traps ospf cisco-specific state-change shamlink interface-old Enabling and Verifying OSPF Sham-Link Retransmissions Traps ExampleThe following example enables all OSPF sham-link retransmissions traps: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# snmp-server enable traps ospf cisco-specific retransmit shamlink Router(config)# end The show running-config command is entered to verify that the traps are enabled:
Router# show running-config | include traps
snmp-server enable traps ospf cisco-specific retransmit shamlink
Where to Go NextFor more information about SNMP and SNMP operations, see the "Configuring SNMP Support" part of the Cisco IOS Network Management Configuration Guide . Additional ReferencesMIBsTechnical Assistance
Command ReferenceThe following commands are introduced or modified in the feature or features documented in this module. For information about these commands, see the Cisco IOS IP Routing: OSPF Command Reference. For information about all Cisco IOS commands, go to the Command Lookup Tool at http://tools.cisco.com/Support/CLILookup or to the Cisco IOS Master Commands List . Feature Information for OSPF Sham-Link MIB SupportThe 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.
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. © 2012 Cisco Systems, Inc. All rights reserved.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|