- Cisco BGP Overview
- BGP 4
- Configuring a Basic BGP Network
- BGP Support for 4-byte ASN
- IPv6 Routing: Multiprotocol BGP Extensions for IPv6
- IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
- IPv6 Multicast Address Family Support for Multiprotocol BGP
- Connecting to a Service Provider Using External BGP
- BGP Named Community Lists
- BGP Prefix-Based Outbound Route Filtering
- BGP Route-Map Continue Support for Outbound Policy
- Removing Private AS Numbers from the AS Path in BGP
- Configuring BGP Neighbor Session Options
- BGP Neighbor Policy
- BGP Dynamic Neighbors
- BGP Support for Next-Hop Address Tracking
- BGP Restart Neighbor Session After Max-Prefix Limit Reached
- BGP Support for Dual AS Configuration for Network AS Migrations
- Configuring Internal BGP Features
- BGP VPLS Auto Discovery Support on Route Reflector
- BGP NSF Awareness
- IPv6 NSF and Graceful Restart for MP-BGP IPv6 Address Family
- BGP Support for BFD
- BGP Support for MTR
- BGP Link Bandwidth
- iBGP Multipath Load Sharing
- BGP Multipath Load Sharing for Both eBGP and iBGP in an MPLS-VPN
- Loadsharing IP Packets Over More Than Six Parallel Paths
- BGP Policy Accounting
- BGP Policy Accounting Output Interface Accounting
- BGP Cost Community
- BGP Support for IP Prefix Import from Global Table into a VRF Table
- BGP Support for IP Prefix Export from a VRF Table into the Global Table
- BGP per Neighbor SoO Configuration
- Per-VRF Assignment of BGP Router ID
- BGP Next Hop Unchanged
- BGP Event-Based VPN Import
- BGP Best External
- BGP PIC Edge for IP and MPLS-VPN
- Configuring BGP: RT Constrained Route Distribution
- Configuring BGP Consistency Checker
- BGP MIB Support
- Cisco-BGP-MIBv2
- BGP Additional Paths
- BGP Attribute Filter and Enhanced Attribute Error Handling
- BGP—Support for iBGP Local-AS
- BGP-Multiple Cluster IDs
- BGP-RT and VPN Distinguisher Attribute Rewrite Wildcard
- BGP-VPN Distinguisher Attribute
- BGP-VRF-Aware Conditional Advertisement
- BGP Diverse Path Using a Diverse-Path Route Reflector
- BGP Graceful Shutdown
Cisco-BGP-MIBv2
The Cisco-BGP-MIBv2 feature supports CISCO-BGP-MIB, which allows MIBv2 traps to be generated. CISCO-BGP-MIB supports IPv4, IPv6, VPNv4, and VPNv6 address families. Its MIB objects and SNMP notifications can keep track of prefix counters and capabilities related to BGP sessions.
- Finding Feature Information
- Information About Cisco-BGP-MIBv2
- How to Configure Cisco-BGP-MIBv2
- Configuration Examples for Cisco-BGP-MIBv2
- Additional References
- Feature Information for Cisco-BGP-MIBv2
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.
Information About Cisco-BGP-MIBv2
Benefits of Cisco-BGP-MIBv2
The benefits of CISCO-BGP-MIB are as follows:
Cisco-BGP-MIBv2 Read-Only Objects
Cisco BGP Peer Table—cbgpPeer2Table
This table is an augmentation of the former Cisco BGP Peer Table, with flexible indexing to support both IPv4 and IPv6. This table contains one entry per BGP peer about the connections with BGP peers. MIB objects in this table are:
cbgpPeer2Type
cbgpPeer2RemoteAddr
cbgpPeer2State
cbgpPeer2AdminStatus
cbgpPeer2NegotiatedVersion
cbgpPeer2LocalAddr
cbgpPeer2LocalPort
cbgpPeer2LocalAs
cbgpPeer2LocalIdentifier
cbgpPeer2RemotePort
cbgpPeer2RemoteAS
cbgpPeer2RemoteIdentifier
cbgpPeer2InUpdates
cbgpPeer2OutUpdates
cbgpPeer2InTotalMessages
cbgpPeer2OutTotalMessages
cbgpPeer2LastError
cbgpPeer2FsmEstablishedTransitions
cbgpPeer2FsmEstablishedTime
cbgpPeer2ConnectRetryInterval
cbgpPeer2HoldTime
cbgpPeer2KeepAlive
cbgpPeer2HoldTimeConfigured
cbgpPeer2KeepAliveConfigured
cbgpPeer2MinAsOriginationInterval
cbgpPeer2MinRouteAdvertisementInterval
cbgpPeer2InUpdateElapsedTime
cbgpPeer2LastErrorTxt
cbgpPeer2PrevState
BGP Session Capability Table—cbgpPeer2CapsTable
This table is an augmentation of the former Cisco BGP Session Capability Table, with flexible indexing to support both IPv4 and IPv6. BGP sessions can have multiple capabilities, which are sent to the peer in BGP OPEN messages. BGP_CAP_TYPE_AS4 is the only new capability support added from the previous version of cbgpPeerCapsTable. This table contains an entry corresponding to a capability code and an index. The MIB object in this table is:
Peer Address Family Table—cbgpPeer2AddrFamilyTable
This table is an augmentation of the former Cisco Peer Address Family Table, with flexible indexing to support both IPv4 and IPv6. This table contains supported address families. Only the following address families are supported: IPv4, VPNv4, IPv6, and VPNv6. Output is similar to the original MIB Object Identifier (OID): cbgpPeerAddrFamilyTable. The MIB object in this table is:
Prefix CounterTable—cbgpPeer2AddrFamilyPrefixTable
This table is an augmentation of the former Cisco Prefix Counter Table, with flexible indexing to support both IPv4 and IPv6. This table contains per peer route prefix counters for all of the supported address families. Only the following address families are supported: IPv4, VPNv4, IPv6, and VPNv6. Output is similar to the original MIB OID: cbgpPeerAddrFamilyPrefixTable. The MIB objects in this table are:
cbgpPeer2AcceptedPrefixes
cbgpPeer2DeniedPrefixes
cbgpPeer2PrefixAdminLimit
cbgpPeer2PrefixThreshold
cbgpPeer2PrefixClearThreshold
cbgpPeer2AdvertisedPrefixes
cbgpPeer2SuppressedPrefixes
cbgpPeer2WithdrawnPrefixes
cbgpNotifsEnable
This global object contains information about which traps are enabled. When the snmp-server enable traps bgp cbgp2 command is configured, the following traps are sent:
cbgpPeer2FsmStateChange
This notification is an augmentation of the former FSM State Change Notification, with support for IPv6. This notification contains the following MIB objects:
cbgpPeer2BackwardTransition
This notification is an augmentation of the former Backward Transition Notification, with support for IPv6. This is sent when BGP FSM moves from a higher numbered state to a lower numbered state. This notification contains the following MIB objects:
cbgpPeer2PrefixThresholdExceeded
This notification is an augmentation of the former Prefix Threshold Exceeded Notification, with support for IPv6. This is sent when the prefix count for an address family on a BGP session exceeds the configured threshold value. This notification contains the following MIB objects:
cbgpPeer2PrefixThresholdClear
This notification is an augmentation of the former Prefix Threshold Clear Notification, with support for IPv6. It is sent when the prefix count drops below the clear trap limit for an address family on a BGP session after the generation of cbgpPeer2PrefixThresholdExceeded notification. This notification contains the following MIB objects:
cbgpPeer2BackwardTransNotification
This notification is generated when the BGP FSM moves from a higher numbered state to a lower numbered state. It contains the following MIB objects:
Cisco-BGP-MIBv2 Trap Objects
cbgpPeer2EstablishedNotification
This notification is generated when the BGP FSM enters the established state. The MIB objects are:
cbgpPeer2BackwardTransNotification
This notification is generated when the BGP FSM moves from a higher numbered state to a lower numbered state. The MIB objects are:
cbgpPeer2FsmStateChange
This notification is generated for every BGP FSM state change. The MIB objects are:
cbgpPeer2BackwardTransition
This notification is generated when the BGP FSM moves from a higher numbered state to a lower numbered state. The MIB objects are:
cbgpPeer2PrefixThresholdExceeded
This notification is generated when the prefix count exceeds the configured warning threshold on a session for an address family. The MIB objects are:
cbgpPeer2PrefixThresholdClear
This notification is generated when the prefix count drops below the configured clear threshold on a session for an address family once cbgpPeer2PrefixThresholdExceeded is generated. This notification is not generated if the peer session goes down after the generation of cbgpPrefixThresholdExceeded. The MIB objects are:
How to Configure Cisco-BGP-MIBv2
Enabling Cisco-BGP-MIBv2 Traps
1.
enable
2.
configure
terminal
3.
snmp-server
enable
traps
bgp
cbgp2
[[state-changes [all] [backward-trans] [limited]] | [threshold
prefix]]
4.
exit
DETAILED STEPS
Configuration Examples for Cisco-BGP-MIBv2
Example: Enabling Cisco-BGP-MIBv2
Device(config)# snmp-server enable traps bgp cbgp2
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
BGP commands |
|
CISCO-BGP4-MIB support |
“BGP MIB Support” module in the IP Routing: BGP Configuration Guide |
Information about SNMP and SNMP operations |
MIBs
MIB |
MIBs Link |
---|---|
CISCO-BGP-MIB |
To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL: |
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. |
Feature Information for Cisco-BGP-MIBv2
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 . An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
Cisco-BGP-MIBv2 |
15.1(2)SY |
The Cisco-BGP-MIBv2 feature supports CISCO-BGP-MIB, which allows MIBv2 traps to be generated. CISCO-BGP-MIB supports IPv4, IPv6, VPNv4, and VPNv6 address families. Its MIB objects and SNMP notifications can keep track of prefix counters and capabilities related to BGP sessions. The following command was modified: snmp-server enable traps bgp. |