
If the nexthop policy is not configured and neither the IPv6 neighbor interface nor the IPv6 update source
interface is configured, the next hop is the IPv4 mapped IPv6 address.
Scoped IPv4 Table Walk
To determine which address family to process, a next-hop notification is received by first de-referencing the
gateway context associated with the next hop, then looking into the gateway context to determine which
address families are using the gateway context. The IPv4 unicast address families share the same gateway
context, because they are registered with the IPv4 unicast table in the RIB. As a result, the global IPv4 unicast
table processed when an IPv4 unicast next-hop notification is received from the RIB. A mask is maintained
in the next hop, indicating the next hop belongs to IPv4 unicast. This scoped table walk localizes the processing
in the appropriate address family table.
Reordered Address Family Processing
The Cisco IOS XR software walks address family tables based on the numeric value of the address family.
When a next-hop notification batch is received, the order of address family processing is reordered to the
following order:
• IPv4 labeled unicast
• IPv4 unicast
• IPv6 unicast
•
New Thread for Next-Hop Processing
The critical-event thread in the spkr process handles only next-hop, Bidirectional Forwarding Detection (BFD),
and fast-external-failover (FEF) notifications. This critical-event thread ensures that BGP convergence is not
adversely impacted by other events that may take a significant amount of time.
show, clear, and debug Commands
The
show bgp nexthops
command provides statistical information about next-hop notifications, the amount
of time spent in processing those notifications, and details about each next hop registered with the RIB. The
clear bgp nexthop performance-statistics
command ensures that the cumulative statistics associated with
the processing part of the next-hop
show
command can be cleared to help in monitoring. The
clear bgp
nexthop registration
command performs an asynchronous registration of the next hop with the RIB. See the
BGP Commands on Cisco IOS XR Software
module of
Routing Command Reference for Cisco NCS 6000
Series Routers
for information on the next-hop
show
and
clear
commands.
The
debug bgp nexthop
command displays information on next-hop processing. The
out
keyword provides
debug information only about BGP registration of next hops with RIB. The
in
keyword displays debug
information about next-hop notifications received from RIB. The
out
keyword displays debug information
about next-hop notifications sent to the RIB. See the
BGP Debug Commands on Cisco IOS XR Software
module of .
Autonomous System Number Formats in BGP
Autonomous system numbers (ASNs) are globally unique identifiers used to identify autonomous systems
(ASs) and enable ASs to exchange exterior routing information between neighboring ASs. A unique ASN is
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
7
Implementing BGP
Scoped IPv4 Table Walk