Cisco IOS XR Routing Command Reference, Release 3.5
RIB Commands on Cisco IOS XR Software

Table Of Contents

RIB Commands on Cisco IOS XR Software

address-family next-hop dampening disable

clear route

maximum prefix (RIB)

rcc

recursion-depth-max

router rib

show rcc

show rib attributes

show rib client-id

show rib clients

show rib extcomms

show rib firsthop

show rib history

show rib next-hop

show rib opaques

show rib protocols

show rib recursion-depth-max

show rib statistics

show rib tables

show rib trace

show rib vpn-attributes

show route

show route backup

show route best-local

show route connected

show route local

show route longer-prefixes

show route next-hop

show route quarantined

show route resolving-next-hop

show route static

show route summary


RIB Commands on Cisco IOS XR Software


This chapter describes the commands used to display and clear information in the Routing Information Base (RIB).

For detailed information about RIB concepts, configuration tasks, and examples, see Implementing RIB on Cisco IOS XR Software in Cisco IOS XR Routing Configuration Guide.

address-family next-hop dampening disable

To disable Routing Information Base (RIB) next-hop dampening, use the address-family next-hop dampening disable command in router configuration mode. To enable RIB next-hop dampening, use the no form of this command.

address-family {ipv4 | ipv6} next-hop dampening disable

no address-family {ipv4 | ipv6} next-hop dampening disable

Syntax Description

ipv4

Specifies IP Version 4 (IPv4) address prefixes.

ipv6

Specifies IP Version 6 (IPv6) address prefixes.


Defaults

RIB next-hop dampening is enabled.

Command Modes

Router configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the address-family next-hop dampening disable command to disable RIB next-hop dampening.

Task ID

Task ID
Operations

rib

read, write


Examples

The following example shows how to disable RIB next-hop dampening for IPv6 address families:

RP/0/RP0/CPU0:router# configure 
RP/0/RP0/CPU0:router(config)# router rib 
RP/0/RP0/CPU0:router(config-rib)# address-family ipv6 next-hop dampening disable 

clear route

To clear routes from the IP routing table, use the clear route command in EXEC mode.

clear route [vrf {vrf-name | all}] {ipv4 | ipv6 | afi-all} {unicast | multicast | safi-all} [ip-address mask]

Syntax Description

vrf {vrf-name | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.

ipv4

Specifies IP Version 4 address prefixes.

ipv6

Specifies IP Version 6 address prefixes.

afi-all

Specifies IP Version 4 and IP Version 6 address prefixes.

unicast

Specifies unicast address prefixes.

multicast

Specifies multicast address prefixes.

safi-all

Specifies unicast and multicast address prefixes.

ip-address

Network IP address about which routing information should be displayed.

mask

Network mask specified in either of two ways:

Network mask can be a four-part, dotted-decimal address. For example, 255.0.0.0 indicates that each bit equal to 1 means the corresponding address bit is a network address.

Network mask can be indicated as a slash (/) and number. For example, /8 indicates that the first 8 bits of the mask are 1s, and the corresponding bits of the address are the network address.


Defaults

If a vrf vrf-name is not specified, routes are cleared from the default IPv4 unicast VRF.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router. The afi-all and safi-all keywords were added.

Release 3.3.0

The vrf vrf-name keyword and argument were added.

Release 3.4.0

The all keyword was added.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the clear route command to clear routes from an IP routing table to a specific network, a matching subnet address, or all routes.

Task ID

Task ID
Operations

rib

read, write


Examples

The following example shows how to remove all routes matching the subnet address 192.168.2.0 and mask 255.255.255.0 from the IPv4 unicast routing table:

RP/0/RP0/CPU0:router# clear route ipv4 unicast 192.168.2.0 255.255.255.0

The following example shows how to remove all routes from the IPv4 unicast routing table:

RP/0/RP0/CPU0:router# clear route ipv4 unicast

Related Commands

Command
Description

show route

Displays the current state of the routing table.


maximum prefix (RIB)

To set the prefix limit for the VPN routing and forwarding (VRF) instance, use the maximum prefix command in global VRF address family configuration mode. To set the prefix limits to the default values, use the no form of this command.

maximum prefix maximum [mid-threshold]

no maximum prefix

Syntax Description

maximum

Maximum number of prefixes allowed in the VRF instance. Range is 32 to 2000000.

mid-threshold

(Optional) Integer specifying at what percentage of the maximum argument value the software starts to generate a Simple Network Management Protocol (SNMP) trap. Range is 1 to 100.


Defaults

No default behavior or values

Command Modes

Global VRF address family configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the maximum prefix command to configure a maximum number of prefixes that a VRF instance is allowed to receive.

Task ID

Task ID
Operations

rib

read, write


Examples

The following example shows how to set the maximum number of prefixes allowed to 1000:

RP/0/RP0/CPU0:router(config)# vrf vrf-A
RP/0/RP0/CPU0:router(config-vrf)# address-family ipv4 unicast
RP/0/RP0/CPU0:router(config-vrf-af)#  maximum prefix 1000

Related Commands

Command
Description

show rib tables

Displays all tables known to the RIB.


rcc

To configure the route consistency checker (RCC), use the rcc command in global configuration mode. To remove this function, use the no form of this command.

rcc {ipv4 | ipv6} {unicast | multicast} [period {seconds} | count {entries}]

no rcc {ipv4 | ipv6} {unicast | multicast} [period | count]

Syntax Description

ipv4

Specifies IP Version 4 address prefixes.

ipv6

Specifies IP Version 6 address prefixes.

unicast

Specifies unicast address prefixes.

multicast

Specifies multicast address prefixes.

period {seconds}

(Optional) Specifies the period of checks in seconds. Range is 3 to 3600.

count {entries}

(Optional) Specifies the maximum number of entries to check for each scan. Range is 1 to 100000.


Defaults

No default behavior or values

Command Modes

Global configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

ipv4

read, write


Examples

The following example shows how to configure RCC:

RP/0/RP0/CPU0:router# configure 
RP/0/RP0/CPU0:router(config)# rcc ipv4 unicast period 1200

recursion-depth-max

To set the maximum depth for route recursion checks, use the recursion-depth-max command in router configuration mode. To set the prefix limits to the default values, use the no form of this command.

recursion-depth-max maximum

no recursion-depth-max maximum

Syntax Description

maximum

Maximum depth for recursion checks. Range is 5 to 16.


Defaults

No default behavior or values

Command Modes

Router configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the recursion-depth-max command to configure a maximum number of prefixes that a VRF instance is allowed to receive.

Task ID

Task ID
Operations

rib

read, write


Examples

The following example shows how to set the maximum depth for route recursion checks to 12:

RP/0/RP0/CPU0:router# configure 
RP/0/RP0/CPU0:router(config)# router rib 
RP/0/RP0/CPU0:router(config-rib)# recursion-depth-max 12 

router rib

To enter Routing Information Base (RIB) configuration mode, use the router rib command in global configuration mode. To remove all RIB configurations and terminate the RIB routing process, use the no form of this command.

router rib

no router rib

Syntax Description

This command has no arguments or keywords.

Defaults

Router configuration mode is not enabled.

Command Modes

Global configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the router rib command to enter RIB configuration mode.

Task ID

Task ID
Operations

bgp

read, write

ospf

read, write

hsrp

read, write

isis

read, write


Examples

The following example shows how to enter RIB configuration mode:

RP/0/RP0/CPU0:router(config)# router rib

show rcc

To display route consistency checker (RCC) information, use the show rcc command in EXEC mode.

show rcc {ipv4 | ipv6} unicast [log]

Syntax Description

ipv4

Specifies IP Version 4 address prefixes.

ipv6

Specifies IP Version 6 address prefixes.

unicast

Specifies unicast address prefixes.

log

(Optional) Specifies the RCC log.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

ipv4

read


Examples

The following is sample output from the show rcc command:

RP/0/RP0/CPU0:router# show rcc ipv4 unicast log 

ipv4-unicast: disabled, count = 1000, period = 60, table wraps = 0
---------------------------------------------------------------------------
node                    checks performed                        errors

0/6/CPU0                               0                             0
0/4/CPU1                               30                            0
0/4/CPU0                               0                             0
0/1/CPU0                               0                             0
0/RP1/CPU0                             120                           0
0/RP0/CPU0                             0                             0

show rib attributes

To display Border Gateway Protocol (BGP) attributes installed in the Routing Information Base (RIB), use the show rib attributes command in EXEC mode.

show rib attributes [summary] [standby]

Syntax Description

summary

(Optional) Displays a summary of BGP attribute data installed in the RIB.

standby

(Optional) Displays standby information.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the show rib attributes command to display the BGP attributes installed in the RIB.

Task ID

Task ID
Operations

rib

read


Examples

The following is sample output from the show rib attributes command:

RP/0/RP0/CPU0:router# show rib attributes 

BGP attribute data in IPv4 RIB: 

Attribute ID (0x2):size (68) 
Attribute ID (0x3):size (52) 
Attribute ID (0x4):size (68) 
Attribute ID (0x5):size (52) 

4 Attributes, for a total of 240 bytes.

Attribute ID : ID assigned for the attribute by BGP
size : size of the attribute data.

show rib client-id

To display Routing Information Base (RIB) redistribution histories, use the show rib client-id command in EXEC mode.

show rib client-id id redistribution history [standby]

Syntax Description

id

ID of the client. Range is 0 to 4294967295.

redistribution history

Displays longer history of redistributed routes sent to RIB clients.

standby

(Optional) Displays standby information.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

The standby keyword was added.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the show rib client-id command to display a history of the route additions, deletions, and updates sent from RIB to the client across all VRFs.

Task ID

Task ID
Operations

rib

read


Examples

The following is sample output from the show rib client-id command:

RP/0/RP0/CPU0:router# show rib client-id 13 redistribution history 

PID     JID   Client             Location          
151630  113   bcdl_agent         node0_5_CPU0      
  Table ID: 0xe0000000
     S 80.80.80.0/24[1/0]            update, 5 path(s), 0x0   Jan 31 09:54:57.224
     S 80.80.80.0/24[1/0]            update, 6 path(s), 0x0   Jan 31 09:53:39.736
     S 140.140.140.0/24[1/0]         update, 1 path(s), 0x0   Jan 31 09:53:39.729
     S 80.80.80.0/24[1/0]            update, 5 path(s), 0x0   Jan 30 22:08:38.551
     S 140.140.140.0/24              deleted,                 Jan 30 22:08:38.543
     S 80.80.80.0/24[1/0]            update, 6 path(s), 0x0   Jan 30 22:03:05.889
     S 100.100.100.0/24[1/0]         update, 1 path(s), 0x0   Jan 30 22:03:05.880

Table 130 describes the significant fields shown in the display.

Table 130 show rib client-id Field Descriptions 

Field
Description

PID

Process ID of the client.

JID

Job ID of the client.

Client

Client name.

Location

Location node on which the client is present.


Related Commands

Command
Description

show rib clients

Displays RIB clients.


show rib clients

To display Routing Information Base (RIB) clients, use the show rib clients command in EXEC mode.

show rib [afi-all | ipv4 | ipv6] clients [protocols | redistribution [history]] [standby]

Syntax Description

afi-all

(Optional) Specifies all address families.

ipv4

(Optional) Specifies IP Version 4 address prefixes. This is the default.

ipv6

(Optional) Specifies IP Version 6 address prefixes.

protocols

(Optional) Specifies client protocols.

redistribution

(Optional) Specifies protocols redistributed by clients

history

(Optional) Specifies redistributed routes sent to RIB clients.

standby

(Optional) Displays standby information.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

The ipv4, ipv6, and standby keywords were added.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the show rib clients command to display the list of clients who have registered with RIB, what protocol routes they are redistributing, and a history of the routes sent to the client.

The maximum number of redistribution entries is 5000 for Bulk Content Downloader (BDCL) and 500 for other protocols.

Task ID

Task ID
Operations

rib

read


Examples

The following is sample output from the show rib clients command:

RP/0/RP0/CPU0:router# show rib clients

Process              Location         Client ID  Redist   Proto 
isis                 node0_5_CPU0     0           insync   insync
ospf                 node0_5_CPU0       2         insync   insync

RP/0/RP0/CPU0:router# show rib clients redistribution 

isis node0_5_CPU0 
   ipv4  uni        vrf default   insync         route
      static                      insync
ospf node0_5_CPU0 
   ipv4  uni        vrf default   insync         route
      static                      insync
      local                       insync
bgp node0_5_CPU0 
   ipv4  uni        vrf abc       insync         route
      static                      insync
bcdl_agent node0_5_CPU0 
   ipv4  uni        vrf default   insync         rib_fib
   ipv4  uni        vrf bar       insync         rib_fib
   ipv4  uni        vrf abc       insync         rib_fib
   ipv4  uni        vrf test      insync         rib_fib

Table 131 describes the significant fields shown in the display.

Table 131 show rib clients Field Descriptions 

Field
Description

Process

Client process name.

Location

Location where the client process in running.

Client ID

ID assigned to the client by RIB.

Redist

Whether the client is redistributing any protocols or not and whether it has read all routes from RIB or not.

insync—read

outsync—not read.

Proto

Whether the protocol has sent all its routes to RIB and signaled update complete or not.

insync—read

outsync—not read.


show rib extcomms

To display all extended communities installed in the Routing Information Base (RIB), use the show rib extcomms command in EXEC mode.

show rib [afi-all | ipv4 | ipv6] extcomms [summary] [standby]

Syntax Description

afi-all

(Optional) Specifies all address families.

ipv4

(Optional) Specifies IP Version 4 address prefixes. This is the default.

ipv6

(Optional) Specifies IP Version 6 address prefixes.

summary

(Optional) Specifies a summary of all extended communities in the RIB.

standby

(Optional) Displays standby information.


Command Default

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

The ipv4, ipv6, and standby keywords were added.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the show rib extcomms command to display extended communities installed in the RIB.

Task ID

Task ID
Operations

rib

read


Examples

The following is sample output from the show rib extcomms command:

RP/0/RP0/CPU0:router# show rib extcomms 

Extended community data in RIB:

Extended community                         Ref count
COST:128:128:41984                            1
EIGRP route-info:0x8000:0                     1
EIGRP AD:1:25600                              1
EIGRP RHB:255:0:16384                         1
EIGRP LM:0x0:1:4470                           1

Table 132 describes the significant fields shown in the display.

Table 132 show rib extcomms Field Descriptions 

Field
Description

Extended Community

Type of extended communities. Different protocols can add different extended communities.

Ref Count

Number of routes referring to the Extended community.


show rib firsthop

To display registered first-hop notification addresses, use the show rib firsthop command in EXEC mode.

show rib [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] firsthop [client-name] [interface-type interface-instance | ip-address /prefix-length | ip-address mask | resolved | unresolved | looped | damped] [summary] [standby]

Syntax Description

vrf {vrf-name | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.

afi-all

(Optional) Specifies all address families.

ipv4

(Optional) Specifies IP Version 4 address prefixes. This is the default.

ipv6

(Optional) Specifies IP Version 6 address prefixes.

unicast

(Optional) Specifies unicast address prefixes. This is the default.

multicast

(Optional) Specifies multicast address prefixes.

safi-all

(Optional) Specifies unicast and multicast address prefixes.

client-name

(Optional) Name of the RIB client.

interface-type

(Optional) Interface type. For more information, use the question mark (?) online help function.

interface-number

(Optional) Either a physical interface instance or a virtual interface instance:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.

ip-address

(Optional) Network that BGP advertises.

/prefix-length

(Optional) Length of the IP address prefix. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash (/) must precede the decimal value.

ip-address mask

(Optional) Network mask applied to the ip-address argument.

resolved

(Optional) Specifies resolved next hops.

unresolved

(Optional) Specifies unresolved next hops.

looped

(Optional) Specifies next hops that are looped.

damped

(Optional) Specifies next hops that are damped.

summary

(Optional) Specifies a summary of the next-hop information.

standby

(Optional) Displays standby information.


Command Default

If a vrf vrf-name is not specified, the registered first-hop notifications addresses are displayed for the default IPv4 unicast VRF.

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

The following keywords were added:

all

looped

damped

standby

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the show rib firsthop command to display the list of first hops registered by various clients with RIB and the address and interface through which they are resolved.

Task ID

Task ID
Operations

rib

read


Examples

The following is sample output from the show rib firsthop command:

RP/0/RP0/CPU0:router# show rib firsthop 

Registered firsthop notifications:

0.0.0.0/0 via 1.1.0.1 - MgmtEth0/5/CPU0/0, ospf/node0_5_CPU0
1.1.0.1/32 via 1.1.0.1 - MgmtEth0/5/CPU0/0, ipv4_static/node0_5_CPU0
1.1.1.1/32 via 1.1.1.1 - MgmtEth0/5/CPU0/0, ipv4_static/node0_5_CPU0
10.10.10.1/32 via 10.10.10.1 - Loopback0, ipv4_static/node0_5_CPU0
10.10.10.3/32 via 10.10.10.3 - Loopback0, ipv4_static/node0_5_CPU0
15.15.15.1/32 via 10.10.10.1 - Loopback0, ipv4_static/node0_5_CPU0
20.20.20.1/32 via 1.1.1.1 - MgmtEth0/5/CPU0/0, ipv4_static/node0_5_CPU0
30.30.30.1/32 via 1.1.1.2 - MgmtEth0/5/CPU0/0, ipv4_static/node0_5_CPU0

show rib history

To display history information for Routing Information Base (RIB) clients, use the show rib history command in EXEC mode.

show rib [afi-all | ipv4 | ipv6] history [client-id client-id] [standby]

Syntax Description

afi-all

(Optional) Specifies all address families.

ipv4

(Optional) Specifies IP Version 4 address prefixes. This is the default.

ipv6

(Optional) Specifies IP Version 6 address prefixes.

client-id client-id

(Optional) Specifies the ID of the client. Range for client-id argument is 0 to 4294967295.

standby

(Optional) Displays standby information.


Command Default

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

The standby keyword was added.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the show rib history command to display the list of routes that RIB has sent to various clients.

Task ID

Task ID
Operations

rib

read


Examples

The following is sample output from the show rib history command:

RP/0/RP0/CPU0:router# show rib history 

JID   Client             Location          
229   isis               node0_5_CPU0      
  Table ID: 0xe0000000
     S 80.80.80.0/24[1/0]        update, 6 path(s),     04:32:09
     S 100.100.100.0/24[1/0]     update, 1 path(s),     04:32:09
     S 40.40.40.0/24[1/0]        update, 1 path(s),     04:32:09
     S 15.15.15.0/24[1/0]        update, 1 path(s),     04:32:09
JID   Client             Location          
260   ospf               node0_5_CPU0      
  Table ID: 0xe0000000
     S 80.80.80.0/24[1/0]        update, 6 path(s),     04:32:09
     S 100.100.100.0/24[1/0]     update, 1 path(s),     04:32:09
     S 40.40.40.0/24[1/0]        update, 1 path(s),     04:32:09
     S 15.15.15.0/24[1/0]        update, 1 path(s),     04:32:09

Table 133 describes the significant fields shown in the display.

Table 133 show rib history Field Descriptions 

Field
Description

JID

Job ID of the client process.

Client

Name of the client process.

Location

Information about where the client process is running.


show rib next-hop

To display registered next-hop notification addresses, use the show rib next-hop command in EXEC mode.

show rib [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] next-hop [client-name] [interface-type interface-instance | ip-address /prefix-length | ip-address mask | resolved | unresolved | looped | damped] [summary] [standby]

Syntax Description

vrf {vrf-name | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.

afi-all

(Optional) Specifies all address families.

ipv4

(Optional) Specifies IP Version 4 address prefixes. This is the default.

ipv6

(Optional) Specifies IP Version 6 address prefixes.

unicast

(Optional) Specifies unicast address prefixes. This is the default.

multicast

(Optional) Specifies multicast address prefixes.

safi-all

(Optional) Specifies unicast and multicast address prefixes.

client-name

(Optional) Name of the RIB client.

interface-type

(Optional) Interface type. For more information, use the question mark (?) online help function.

interface-number

(Optional) Either a physical interface instance or a virtual interface instance:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.

ip-address

(Optional) Network IP address about which routing information should be displayed.

mask

(Optional) Network mask specified in either of two ways:

Network mask can be a four-part, dotted-decimal address. For example, 255.0.0.0 indicates that each bit equal to 1 means the corresponding address bit is a network address.

Network mask can be indicated as a slash (/) and number. For example, /8 indicates that the first 8 bits of the mask are 1s, and the corresponding bits of the address are the network address.

/prefix-length

(Optional) Length of the IP address prefix. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash (/) must precede the decimal value.

resolved

(Optional) Specifies resolved next hops.

unresolved

(Optional) Specifies unresolved next hops.

looped

(Optional) Specifies next hops that are looped.

damped

(Optional) Specifies next hops that are damped.

summary

(Optional) Specifies a summary of the next-hop information.

standby

(Optional) Displays standby information.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the show rib next-hop command to display the list of next hops registered by various clients with RIB and the address and interface through which they are resolved.

Task ID

Task ID
Operations

rib

read


Examples

The following is sample output from the show rib next-hop command:

RP/0/RP0/CPU0:router# show rib next-hop 

Registered nexthop notifications:

0.0.0.0/0 via 172.29.52.1 - MgmtEth0/RP1/CPU0/0, ospf/node0_RP0_CPU0
172.29.52.1/32 via 172.29.52.1 - MgmtEth0/RP1/CPU0/0, ipv4_static/node0_RP0_CPU0

show rib opaques

To display opaque data installed in the Routing Information Base (RIB), use the show rib opaques command in EXEC mode.

show rib [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] opaques {attribute | ip-nexthop | ipfrr | safi-tunnel | summary | tunnel-nexthop} [rib-client-name] [standby]

Syntax Description

vrf {vrf-name | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.

afi-all

(Optional) Specifies all address families.

ipv4

(Optional) Specifies IP Version 4 address prefixes. This is the default.

ipv6

(Optional) Specifies IP Version 6 address prefixes.

unicast

(Optional) Specifies unicast address prefixes. This is the default.

multicast

(Optional) Specifies multicast address prefixes.

safi-all

(Optional) Specifies unicast and multicast address prefixes.

attribute

Displays opaque attributes installed in the RIB.