IP Routing: OSPF Configuration Guide, Cisco IOS XE Release 3S
OSPFv3 MIB

OSPFv3 MIB

Last Updated: July 23, 2012

This module describes the Open Shortest Path First version 3 (OSPFv3) MIB feature. OSPFv3 is the IPv6 implementation of OSPF. The OSPFv3 MIB is documented in RFC 5643 and defines a MIB for managing OSPFv3 processes via Simple Network Management Protocol (SNMP). The OSPFv3 MIB feature enables remote monitoring and troubleshooting of OSPFv3 processes using standard SNMP management workstations. Users have an improved ability to constantly monitor the changing state of an OSPF network by use of MIB objects. The MIB objects gather information relating to protocol parameters and trap notification objects that can signal the occurrence of significant network events such as transition state changes. The protocol information collected by the OSPFv3 MIB objects and trap objects can be used to derive statistics that will help monitor and improve overall network performance.

Finding Feature Information

Your 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 OSPFv3 MIB

  • OSPFv3 must be configured on the device.
  • SNMP must be enabled on the device before notifications (traps) can be configured or before SNMP GET operations can be performed.

Restrictions for OSPFv3 MIB Support

In order to monitor multiple OSPFv3 processes, each process needs to be associated with one SNMP context.

In order to monitor multiple VRFs, each VRF has to be associated with one SNMP context.

Information About OSPFv3 MIB

OSPFv3 MIB

The table below shows the new read-only OSPFv3-MIB objects that are provided by RFC 5643 definitions. The objects are listed in the order in which they appear within the OSPFv3-MIB file, per the tables that describe them.

Table 1New OSPFv3-MIB Objects

OSPFv3-MIB Table

New MIB Objects

ospfv3GeneralGroup

  • ospfv3RouterId
  • ospfv3AdminStatus
  • ospfv3VersionNumber
  • ospfv3AreaBdrRtrStatus
  • ospfv3ASBdrRtrStatus
  • ospfv3AsScopeLsaCount
  • ospfv3AsScopeLsaCksumSum
  • ospfv3OriginateNewLsas
  • ospfv3RxNewLsas
  • ospfv3ExtLsaCount
  • ospfv3ExtAreaLsdbLimit
  • ospfv3ExitOverflowInterval
  • ospfv3DemandExtensions
  • ospfv3ReferenceBandwidth
  • ospfv3RestartSupport
  • ospfv3RestartInterval
  • ospfv3RestartStrictLsaChecking
  • ospfv3RestartStatus
  • ospfv3RestartAge
  • ospfv3RestartExitReason
  • ospfv3NotificationEnable
  • ospfv3StubRouterSupport
  • ospfv3StubRouterAdvertisement
  • ospfv3DiscontinuityTime
  • ospfv3RestartTime

ospfv3AreaTable

  • ospfv3AreaId
  • ospfv3AreaImportAsExtern
  • ospfv3AreaSpfRuns
  • ospfv3AreaBdrRtrCount
  • ospfv3AreaAsBdrRtrCount
  • ospfv3AreaScopeLsaCount
  • ospfv3AreaScopeLsaCksumSum
  • ospfv3AreaSummary
  • ospfv3AreaRowStatus
  • ospfv3AreaStubMetric
  • ospfv3AreaNssaTranslatorRole
  • ospfv3AreaNssaTranslatorState
  • ospfv3AreaNssaTranslatorStabInterval
  • ospfv3AreaNssaTranslatorEvents
  • ospfv3AreaStubMetricType
  • ospfv3AreaTEEnabled

ospfv3AsLsdbTable

  • ospfv3AsLsdbType
  • ospfv3AsLsdbRouterId
  • ospfv3AsLsdbLsid
  • ospfv3AsLsdbSequence
  • ospfv3AsLsdbAge
  • ospfv3AsLsdbChecksum
  • ospfv3AsLsdbAdvertisement
  • ospfv3AsLsdbTypeKnown

ospfAreaLsdbTable

  • ospfv3AreaLsdbAreaId
  • ospfv3AreaLsdbType
  • ospfv3AreaLsdbRouterId
  • ospfv3AreaLsdbLsid
  • ospfv3reasLsdbSequence
  • ospfv3AreaLsdbAge
  • ospfv3AreaLsdbChecksum
  • ospfv3AreadLsdbAdvertisement
  • ospfv3AreaLsdbTypeKnown

opfv3LinkLsdbTable

  • ospfv3LinkLsdbIfIndex
  • ospfv3LinkIfInstId
  • ospfv3LinkLsdbType
  • ospfv3LinkLsdbRouterId
  • ospfv3LinkLsdbLsid
  • ospfv3LinkLsdbSequence
  • ospfv3LinkLsdbAge
  • ospfv3LinkLsdbChecksum
  • ospfv3LinkLsdbAdvertisement
  • ospfv3LinkLsdbTypeKnown

ospv3fHostTable

  • ospfv3HostAddressType
  • ospfv3HostAddress
  • ospfv3HostMetric
  • ospfv3HostRowStatus
  • ospfv3HostAreaId

ospfv3IfTable

  • ospfv3IfIndex
  • ospfv3IfInstId
  • ospfv3IfAreaId
  • ospfv3IfType
  • ospfv3IfAdminStatus
  • ospfv3IfRtrPriority
  • ospfv3IfTransitDelay
  • ospfv3IfRetransInterval
  • ospfv3IfHelloInterval
  • ospfv3IfRtrDeadInterval
  • ospfv3IfPollInterval
  • ospfv3IfState
  • ospfv3IfDesignatedRouter
  • ospfv3IfBackupDesignatedRouter
  • ospfv3IfEvents
  • ospfv3IfRowStatus
  • ospfv3IfDemand
  • ospfv3IfMetricValue
  • ospfv3IfLinkScopeLsaCount
  • ospfv3IfLinkLsaCksumSum
  • ospfv3IfDemandNbrProbe
  • ospfv3IfDemanNbrProbeRetransLimit
  • ospfv3IfNbrProbeInterval
  • ospfv3IfTEDisabled
  • ospfv3IfLinkLSASuppression

ospfv3VirtIfTable

  • ospfv3VirtIfAreaId
  • ospfv3VirtIfNeighbor
  • ospfv3VirtIfIndex
  • ospfv3VirtIfInstId
  • ospfv3VirtIfTransitDelay
  • ospfv3VirtIfRetransInterval
  • ospfv3VirtIfHelloInterval
  • ospfv3VirtIfRtrDeadInterval
  • ospfv3VirtIfState
  • ospfv3VirtIfEvents
  • ospfv3VirtIfRowStatus
  • ospfv3VirtIfLinkScopeLsaCount
  • ospfv3VirtIfLinkLsaCksumSum

ospfv3NbrTable

  • ospfv3NbrIfIndex
  • ospfv3NbrIfInstId
  • ospfv3NbrRtrId
  • ospfv3NbrAddressType
  • ospfv3NbrAddress
  • ospfv3NbrOptions
  • ospfv3NbrPriority
  • ospfv3NbrState
  • ospfv3NbrEvents
  • ospfv3NbrLsRetransQLen
  • ospfv3NbrIfId
  • ospfv3NbrRestartHelperStatus
  • ospfv3NbrRestartHelperAge
  • ospfv3NbrRestartHelperExitReason

ospfv3CfgNbrTable

  • ospfv3CfgNbrIfIndex
  • ospfv3CfgNbrIfInstId
  • ospfv3CfgNbrAddressType
  • ospfv3CfgNbrAddress
  • ospfv3CfgNbrPriority
  • ospfv3CfgNbrRowStatus

ospfv3VirtNbrTable

  • ospfv3VirtNbrArea
  • ospfv3VirtNbrRtrId
  • ospfv3VirtNbrIfIndex
  • ospfv3VirtNbrIfInstId
  • ospfv3VirtNbrAddressType
  • ospfv3VirtNbrAddress
  • ospfv3VirtNbrOptions
  • ospfv3VirtNbrState
  • ospfv3VirtNbrEvents
  • ospfv3VirtNbrLsRetransQLen
  • ospfv3VirtNbrHelloSuppressed
  • ospfv3VirtNbrIfId
  • ospfv3VirtNbrRestartHelperStatus
  • ospfv3VirtNbrRestartHelperAge
  • ospfv3VirtNbrRestartHelperExitReason

ospfv3AreaAggregateTable

  • ospfv3AreaAggregateAreaID
  • ospfv3AreaAggregateLsdbType
  • ospfv3AreaAggregatePrefixType
  • ospfv3AreaAggregatePrefix
  • ospfv3AreaAggregatePrefixLength
  • ospfv3AreaAggregateRowStatus
  • ospfv3AreaAggregateEffect
  • ospfv3AreaAggregateRouteTag

ospfv3VirtLinkLsdbTable

  • ospfv3VirtLinkLsdbIfAreaId
  • ospfv3VirtLinkLsdbIfNeighbor
  • ospfv3VirtLinkLsdbType
  • ospfv3VirtLinkLsdbRouterId,
  • ospfv3VirtLinkLsdbLsid
  • ospfv3VirtLinkLsdbAge
  • ospfv3VirtLinkLsdbChecksum
  • ospfv3VirtLinkLsdbAdvertisement
  • ospfv3VirtLinkLsdbTypeKnown

OSPFv3 TRAP MIB

This section describes the new OSPFv3 trap MIB objects that are provided to support RFC 5643.

The ospfv3Notifications MIB object contains the OSPFv3 trap MIB objects that enable and disable OSPF traps in the IOS CLI. These OSPFv3 trap MIB objects are provided by the RFC 5643 standard OSPFv3 MIB. To learn how to enable and disable the OSPF traps, see the "Enabling Specific OSPFv3 Traps" section.

The table below shows the OSPFv3 trap MIB objects.

Table 2New OSPFv3-TRAP-MIB Objects

OSPFv3 Notification Table

Trap MIB Objects

ospfv3NotificationTable

  • ospfv3VirtIfStateChange
  • ospfv3NbrStateChange
  • ospfv3VirtNbrStateChange
  • ospfv3IfConfigError
  • ospfv3VirtIfConfigError
  • ospfv3IfRxBadPacket
  • ospfv3VirtIfRxBadPacket
  • ospfv3LsdbOverflow
  • ospfv3LsdbApproachingOverflow
  • ospfv3IfStateChange
  • ospfv3NssaTranslatorStatusChange
  • ospfv3RestartStatusChange
  • ospfv3NbrRestartHelperStatusChange
  • ospfv3VirtNbrRestartHelperStatusChange

How to Configure OSPFv3 MIB

Enabling Specific OSPFv3 Traps

SUMMARY STEPS

1.    enable

2.    configure terminal

3.    snmp-server host {hostname | ip-address} [vrf vrf-name] [traps | informs] [version {1 | 2c | 3 [auth | noauth | priv]}] community-string [udp-port port] [notification-type]

4.    snmp-server enable traps ospfv3 errors [bad-packet] [config-error] [virt-bad-packet] [virt-config-error]

5.    snmp-server enable traps ospfv3 rate-limit seconds trap-number

6.    snmp-server enable traps ospfv3 state-change [if-state-change] [neighbor-restart-helper-status-change] [neighbor-state-change] [nssa-translator-status-change] [restart-status-change] [virtif-state-change] [virtneighbor-restart-helper-status-change] [virtneighbor-state-change]

7.    end


DETAILED STEPS
 Command or ActionPurpose
Step 1
enable


Example:

Device> enable

 

Enables privileged EXEC mode.

  • Enter your password if prompted.
 
Step 2
configure terminal


Example:

Device# configure terminal

 

Enters global configuration mode.

 
Step 3
snmp-server host {hostname | ip-address} [vrf vrf-name] [traps | informs] [version {1 | 2c | 3 [auth | noauth | priv]}] community-string [udp-port port] [notification-type]


Example:

Device(config)# snmp-server host 172.20.2.162 version 2c public ospfv3

 

Specifies a recipient (target host) for SNMP notification operations.

  • If no notification-type is specified, all enabled notifications (traps or informs) will be sent to the specified host.
  • If you want to send only the OSPFv3 notifications to the specified host, you can use the optional ospfv3 keyword as one of the notification-types (see the example). Entering the ospfv3 keyword enables the ospfv3Notifications MIB object.
 
Step 4
snmp-server enable traps ospfv3 errors [bad-packet] [config-error] [virt-bad-packet] [virt-config-error]


Example:

Device(config)# snmp-server enable traps ospfv3 errors

 

Enables SNMP notifications for OSPFv3 errors.

 
Step 5
snmp-server enable traps ospfv3 rate-limit seconds trap-number


Example:

Device(config)# snmp-server enable traps ospfv3 rate-limit 20 20

 

Sets the rate limit for how many SNMP OSPFv3 notifications are sent in each OSPFv3 SNMP notification rate-limit window.

 
Step 6
snmp-server enable traps ospfv3 state-change [if-state-change] [neighbor-restart-helper-status-change] [neighbor-state-change] [nssa-translator-status-change] [restart-status-change] [virtif-state-change] [virtneighbor-restart-helper-status-change] [virtneighbor-state-change]


Example:

Device(config)# snmp-server enable traps ospfv3 state-change

 

Enables SNMP OSPFv3 notifications for OSPFv3 transition state changes.

 
Step 7
end


Example:

Device(config)# end

 

Ends your configuration session and exits global configuration mode.

 

Verifying OSPFv3 MIB traps on the Device

SUMMARY STEPS

1.    enable

2.    show running-config [options]


DETAILED STEPS
 Command or ActionPurpose
Step 1
enable


Example:

Device> enable

 

Enables privileged EXEC mode.

  • Enter your password if prompted.
 
Step 2
show running-config [options]


Example:

Device# show running-config | include traps

 

Displays the contents of the currently running configuration file and includes information about enabled traps.

  • Verifies which traps are enabled.
 

Configuration Examples for OSPFv3 MIB

Example: Enabling and Verifying OSPFv3 MIB Traps

The following example enables all OSPFv3 error traps.

Device# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Device(config)# snmp-server enable traps ospfv3 errors
Device(config)# end

The show running-config command is entered to verify that the traps are enabled:

Device# show running-config | include traps
snmp-server enable traps ospfv3 errors

Additional References

Related Documents

Related Topic

Document Title

Cisco IOS commands

Cisco IOS Master Commands List, All Releases

OSPF commands

Cisco IOS IP Routing: OSPF Command Reference

OSPF configuration tasks

"Configuring OSPF" module

Standards and RFCs

Standard

Title

RFC 5643

Management Information Base for OSPFv3

MIBs

MIB

MIBs Link

OSPFv3-MIB

OSPFv3-TRAP-MIB

To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs

Technical Assistance

Description

Link

The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.

http://www.cisco.com/cisco/web/support/index.html

Feature Information for OSPFv3 MIB

The 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.

Table 3Feature Information for OSPFv3 MIB
Feature Name Releases Feature Information

OSPFv3 MIB

15.2(4)M

15.2(4)S

Cisco IOS XE Release 3.7S

OSPFv3 is the IPv6 implementation of OSPF. The OSPFv3 MIB is documented in RFC 5643 and defines a MIB for managing OSPFv3 processes via SNMP. The OSPFv3 MIB feature enables remote monitoring and troubleshooting of OSPFv3 processes using standard SNMP management workstations.

The following commands were introduced or modified: snmp-server host, snmp-server enable traps ospfv3 errors, snmp-server enable traps ospfv3 rate-limit, snmp-server enable traps ospfv3 state-change.

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.