BGP Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

BGP Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Local-RIB View for IP and L3VPN Address Families

Want to summarize with AI?

Log in

Describes the local-RIB view for both IP and L3VPN address families, covering route monitoring messages and configuration steps for local-RIB visibility.


Local-RIB View for IP and L3VPN Address Families is a monitoring feature that

  • provides visibility into the routes selected by the local BGP speaker’s decision process,

  • includes all selected routes from BGP peers plus locally originated routes, and

  • supports multiple address families including IP and L3VPN prefixes with their attributes.

The Adj-RIB-In may hold hundreds of thousands of routes per peer, but only a subset of these routes are selected and installed in the Local-RIB after best-path selection.

Table 1. Feature History Table

Feature Name

Release

Description

Local-RIB view for IP and L3VPN Address Families

Release 7.5.4

After applying policy filters, you can now monitor BGP events and collect BGP best path information and statistics for IP and L3VPN address families for unprocessed routing information.

This is made possible because this feature enables BMP to allow a BGP router to advertise the BGP Local-RIB for IP and L3VPN address families.

Operators may wish to validate the impact of policies applied to the Adj-RIB-In by analysing the final decision made by the router when installing into the Loc-RIB.

This feature introduces these changes:

  • CLI: Modifies the show bgp bmp command.

  • YANG Data Model: New XPaths for

  • For example, the Adj-RIB-In for a given peer post-policy (inbound post-policy) may contain thousands of routes per peer, but only a few routes are selected and installed in the Local-RIB after best-path selection.

  • Monitoring applications that correlate flow records to Local-RIB entries need to collect and monitor the routes that are actually selected and used.

  • Starting from Release 7.5.4, you can monitor the Local-RIB view (best-path only) for these address families:

    • Default VRF: IPv4 unicast, IPv4 labeled unicast, IPv6 unicast, IPv6 labeled unicast, VPNv4 unicast, and VPNv6 unicast.

    • Non-default VRF: IPv4 unicast and IPv6 unicast.

  • This feature complies with RFC 9069.


Route monitoring messages

Route monitoring messages perform two key functions:

  • They synchronize the Local Routing Information Base (Loc-RIB) initially.

  • They convey incremental changes to the Loc-RIB as they occur.


Configure the local-RIB view for IP and L3VPN address families

Enable and verify the local-RIB view for monitoring selected BGP routes.

Before you begin

Follow these steps to configure the local-RIB view:

Procedure

  1. Use the route-monitoring local-rib command to enable the local-RIB view.

    Example:

    Router# config
    Router(config)# bmp server all
    Router(config-bgp-bmp)# route-monitoring local-rib 
    

    The local-RIB view is enabled.

  2. Use the show bgp bmp server <server ID> command to verify whether the Local RIB (Loc-RIB) is configured.

    Example:

    Router# show bgp bmp server 1
    BMP server 1
    Host 12.1.2.1 Port 16001
    Connected for 06:00:39
    Last Disconnect event received : 00:00:00
    Precedence:  internet
    BGP neighbors: 10
    VRF: - (0x60000000)
    Update Source: - (-)
    Update Source Vrf ID: 0x0
    Update Mode                       : In-Post-Policy, Local-RIB
      In-Post-Policy
       Advertisement interval         : 15 secs
       Scanner interval               : 60 secs
      Local-RIB
       Advertisement interval         : 15 secs
       Scanner interval
         Global                       : 60 secs
         IPv4 Unicast                 : 60 secs
         VPNv4 Unicast                : 60 secs
         IPv6 Unicast                 : 60 secs
         VPNv6 Unicast                : 60 secs
    Flapping Delay                    : 300 secs
    Initial Delay                     : 0 secs
    Initial Refresh Delay             : 1 secs
    Initial Refresh Spread            : 1 secs
    Stats Reporting Period            : 0 secs
    Queue Route Mon Msg buffer limit  : 133693 KB (Current Server Up Count: 2)
    Queue Route Mon Msg buffer usage  : 0 B
    Queue write pulse sent            : Nov 29 19:08:32.826, Nov 29 13:11:53.478 (all)
    Queue write pulse received        : Nov 29 19:08:32.826
    Update Generation in Progress     : No
    Reset Walk in Progress            : No
    ----More-----
    

What to do next

Configure the bmp advertisement-interval command to set the minimum interval between the sending of BMP routing updates.