Table Of Contents
RIB Commands on Cisco IOS XR Software
address-family next-hop dampening disable
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
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
Examples
The following example shows how to disable RIB next-hop dampening for IPv6 address families:
RP/0/RP0/CPU0:router# configureRP/0/RP0/CPU0:router(config)# router ribRP/0/RP0/CPU0:router(config-rib)# address-family ipv6 next-hop dampening disableclear 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 } [topology topo-name] [ip-address mask]
Syntax Description
Defaults
If a vrf vrf-name is not specified, routes are cleared from the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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
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.0The following example shows how to remove all routes from the IPv4 unicast routing table:
RP/0/RP0/CPU0:router# clear route ipv4 unicastRelated Commands
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
Defaults
No default behavior or values
Command Modes
Global VRF address family configuration
Command History
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
Examples
The following example shows how to set the maximum number of prefixes allowed to 1000:
RP/0/RP0/CPU0:router(config)# vrf vrf-ARP/0/RP0/CPU0:router(config-vrf)# address-family ipv4 unicastRP/0/RP0/CPU0:router(config-vrf-af)# maximum prefix 1000Related Commands
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
Defaults
No default behavior or values
Command Modes
Global configuration
Command History
Release ModificationRelease 3.5.0
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
Release 3.6.0
No modification.
Release 3.7.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.
Task ID
Examples
The following example shows how to configure RCC:
RP/0/RP0/CPU0:router# configureRP/0/RP0/CPU0:router(config)# rcc ipv4 unicast period 1200recursion-depth-max
To set the maximum depth for route recursion checks, use the recursion-depth-max command in router configuration mode. To set the recursion checks to the default value, use the no form of this command.
recursion-depth-max maximum
no recursion-depth-max maximum
Syntax Description
Defaults
The default recursion depth is 128.
Command Modes
Router configuration
Command History
Release ModificationRelease 3.5.0
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
Release 3.6.0
No modification.
Release 3.7.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 recursion-depth-max command to configure a specific maximum number of recursion checks in the range of 5 to 16.
Task ID
Examples
The following example shows how to set the maximum depth for route recursion checks to 12:
RP/0/RP0/CPU0:router# configureRP/0/RP0/CPU0:router(config)# router ribRP/0/RP0/CPU0:router(config-rib)# recursion-depth-max 12router 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
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
Examples
The following example shows how to enter RIB configuration mode:
RP/0/RP0/CPU0:router(config)# router ribshow rcc
To display route consistency checker (RCC) information, use the show rcc command in EXEC mode.
show rcc {ipv4 | ipv6} unicast [log | prefix netmask vrf vrf-name]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Command History
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
Examples
The following is sample output from the show rcc command:
RP/0/RP0/CPU0:router# show rcc ipv4 unicast logipv4-unicast: disabled, count = 1000, period = 60, table wraps = 0---------------------------------------------------------------------------node checks performed errors0/6/CPU0 0 00/4/CPU1 30 00/4/CPU0 0 00/1/CPU0 0 00/RP1/CPU0 120 00/RP0/CPU0 0 0show rib
To display Routing Information Base (RIB) data, use the show rib command in EXEC mode.
show rib {ipv4 | ipv6} {unicast | multicast} [firsthop type interface-id] | next-hop [type interface-id] | opaques {attribute | ip-nexthop | ipfrr | safi-tunnel | summary | tunnel-nexthop} | protocols [standby] | statistics [name] [standby] | [topology topo-name | all]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Command History
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
Examples
The following example illustrates the show rib command:
RP/0/RP0/CPU0:router# show rib ipv4 multicast topology BLUERP/0/RP0/CPU0:router# show rib topology BLUE ipv4 multicast protocolsProtocol Handle Instanceisis 0 mtRelated Commands
show rib afi-all
To display Routing Information Base (RIB) data for both IPv4 and IPv6 address families, use the show rib afi-all command in EXEC mode.
show rib afi-all [attributes] [client-id] [clients] [extcomms] [firsthop] [history] [multicast] [next-hop] [opaques] [protocols] [recursion-depth-max] [safi-all] [statistics] [tables] [trace] [unicast] [vpn-attributes]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 3.7.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
Examples
The following example illustrates the show rib afi-all attributes command:
RP/0/RP0/CPU0:router# show rib afi-all attributesBGP attribute data in IPv4 RIB:0 Attributes, for a total of 0 bytes.BGP attribute data in IPv6 RIB:0 Attributes, for a total of 0 bytes.Related Commands
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 ModificationRelease 3.5.0
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
Release 3.6.0
No modification.
Release 3.7.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 attributes command to display the BGP attributes installed in the RIB.
Task ID
Examples
The following is sample output from the show rib attributes command:
RP/0/RP0/CPU0:router# show rib attributesBGP 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 BGPsize : 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
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 VRFs.
Task ID
Examples
The following is sample output from the show rib client-id command:
RP/0/RP0/CPU0:router# show rib client-id 13 redistribution historyPID JID Client Location151630 113 bcdl_agent node0_5_CPU0Table ID: 0xe0000000S 80.80.80.0/24[1/0] update, 5 path(s), 0x0 Jan 31 09:54:57.224S 80.80.80.0/24[1/0] update, 6 path(s), 0x0 Jan 31 09:53:39.736S 140.140.140.0/24[1/0] update, 1 path(s), 0x0 Jan 31 09:53:39.729S 80.80.80.0/24[1/0] update, 5 path(s), 0x0 Jan 30 22:08:38.551S 140.140.140.0/24 deleted, Jan 30 22:08:38.543S 80.80.80.0/24[1/0] update, 6 path(s), 0x0 Jan 30 22:03:05.889S 100.100.100.0/24[1/0] update, 1 path(s), 0x0 Jan 30 22:03:05.880Table 1 describes the significant fields shown in the display.
Table 1 show rib client-id Field Descriptions
Field DescriptionPID
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
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
Defaults
No default behavior or values
Command Modes
EXEC
Command History
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
Examples
The following is sample output from the show rib clients command:
RP/0/RP0/CPU0:router# show rib clientsProcess Location Client ID Redist Protoisis node0_5_CPU0 0 insync insyncospf node0_5_CPU0 2 insync insyncRP/0/RP0/CPU0:router# show rib clients redistributionisis node0_5_CPU0ipv4 uni vrf default insync routestatic insyncospf node0_5_CPU0ipv4 uni vrf default insync routestatic insynclocal insyncbgp node0_5_CPU0ipv4 uni vrf abc insync routestatic insyncbcdl_agent node0_5_CPU0ipv4 uni vrf default insync rib_fibipv4 uni vrf bar insync rib_fibipv4 uni vrf abc insync rib_fibipv4 uni vrf test insync rib_fibTable 2 describes the significant fields shown in the display.
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
Command Default
No default behavior or values
Command Modes
EXEC
Command History
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
Examples
The following is sample output from the show rib extcomms command:
RP/0/RP0/CPU0:router# show rib extcommsExtended community data in RIB:Extended community Ref countCOST:128:128:41984 1EIGRP route-info:0x8000:0 1EIGRP AD:1:25600 1EIGRP RHB:255:0:16384 1EIGRP LM:0x0:1:4470 1Table 3 describes the significant fields shown in the display.
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 | damped] [summary] [standby]
Syntax Description
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
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
Examples
The following is sample output from the show rib firsthop command:
RP/0/RP0/CPU0:router# show rib firsthopRegistered firsthop notifications:0.0.0.0/0 via 1.1.0.1 - MgmtEth0/5/CPU0/0, ospf/node0_5_CPU01.1.0.1/32 via 1.1.0.1 - MgmtEth0/5/CPU0/0, ipv4_static/node0_5_CPU01.1.1.1/32 via 1.1.1.1 - MgmtEth0/5/CPU0/0, ipv4_static/node0_5_CPU010.10.10.1/32 via 10.10.10.1 - Loopback0, ipv4_static/node0_5_CPU010.10.10.3/32 via 10.10.10.3 - Loopback0, ipv4_static/node0_5_CPU015.15.15.1/32 via 10.10.10.1 - Loopback0, ipv4_static/node0_5_CPU020.20.20.1/32 via 1.1.1.1 - MgmtEth0/5/CPU0/0, ipv4_static/node0_5_CPU030.30.30.1/32 via 1.1.1.2 - MgmtEth0/5/CPU0/0, ipv4_static/node0_5_CPU0show 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
Command Default
No default behavior or values
Command Modes
EXEC
Command History
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
Examples
The following is sample output from the show rib history command:
RP/0/RP0/CPU0:router# show rib historyJID Client Location229 isis node0_5_CPU0Table ID: 0xe0000000S 80.80.80.0/24[1/0] update, 6 path(s), 04:32:09S 100.100.100.0/24[1/0] update, 1 path(s), 04:32:09S 40.40.40.0/24[1/0] update, 1 path(s), 04:32:09S 15.15.15.0/24[1/0] update, 1 path(s), 04:32:09JID Client Location260 ospf node0_5_CPU0Table ID: 0xe0000000S 80.80.80.0/24[1/0] update, 6 path(s), 04:32:09S 100.100.100.0/24[1/0] update, 1 path(s), 04:32:09S 40.40.40.0/24[1/0] update, 1 path(s), 04:32:09S 15.15.15.0/24[1/0] update, 1 path(s), 04:32:09Table 4 describes the significant fields shown in the display.
Table 4 show rib history Field Descriptions
Field DescriptionJID
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 | damped] [summary] [standby]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 3.5.0
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
Release 3.6.0
The looped keyword has been removed.
Release 3.7.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 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
Examples
The following is sample output from the show rib next-hop command:
RP/0/RP0/CPU0:router# show rib next-hopRegistered nexthop notifications:0.0.0.0/0 via 172.29.52.1 - MgmtEth0/RP1/CPU0/0, ospf/node0_RP0_CPU0172.29.52.1/32 via 172.29.52.1 - MgmtEth0/RP1/CPU0/0, ipv4_static/node0_RP0_CPU0show 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
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 3.5.0
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
Release 3.6.0
No modification.
Release 3.7.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.
If information is not used by the RIB server process, it is viewed as opaque data. Use the show rib opaques command to display opaque data installed in the RIB.
Task ID
Examples
The following is sample output from the show rib opaques command:
RP/0/RP0/CPU0:router# show rib opaques safi-tunnelSummary of safi tunnel opaque data in IPv4 RIB:Opaque key: 1:10.1.0.2Opaque data:Tunnel Encap - ifhandle=0x1000180, type=L2TPv3, Params=[Session-id=0x1EB1127C, ` Cookielen=8, Cookie=0xA73A3E0AFCD419A6] Opaque key: 65535:10.0.101.1 Opaque data:RP/0/RP0/CPU0:router# show rib ipv6 opaques tunnel-nexthopSummary of 6PE/6VPE IP over tunnel nexthop opaque data in IPv6 RIB:Opaque key: 1:::ffff:10.1.0.2Opaque key: 65535:::ffff:10.0.101.1Opaque key: 65535:::ffff:10.0.101.2Opaque key: 65535:::ffff:10.0.101.3Opaque key: 65535:::ffff:10.0.101.4Opaque key: 65535:::ffff:10.0.101.5Table 5 describes the significant fields shown in the display.
Table 5 show rib opaques Field Descriptions
Field DescriptionOpaque key:
Unique key for the opaque data as populated by the protocol client.
Opaque data:
Data for the given key.
show rib protocols
To display protocols registered for route addition, use the show rib protocols command in EXEC mode.
show rib [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] protocols [standby]
Syntax Description
Command Default
If a vrf vrf-name is not specified, the registered first-hop notification addresses are displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 protocols command to display registered protocols.
Task ID
Examples
The following is sample output from the show rib protocols command:
RP/0/RP0/CPU0:router# show rib protocolsProtocol Handle Instanceisis 0 ribconnected 1static 2local 3bgp 4 102ospf 5 1Table 6 describes the significant fields shown in the display.
Table 6 show rib protocols Field Descriptions
Field DescriptionProtocol
Name of the protocol.
Handle
Handle assigned to the protocol instance.
Instance
Protocol instance.
show rib recursion-depth-max
To display the maximum recursion depth in the Routing Information Base (RIB), use the show rib recursion-depth-max command in EXEC mode.
show rib [afi-all | ipv4 | ipv6] recursion-depth-max [standby]
Syntax Description
Command Default
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 3.5.0
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
Release 3.6.0
No modification.
Release 3.7.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 recursion-depth-max command to display the maximum recursion depth for RIB. Recursion depth is the number of next-hops that can be specified.
Task ID
Examples
The following is sample output from the show rib recursion-depth-max command:
RP/0/RP0/CPU0:router# show rib recursion-depth-maxIPv4:-----Maximum recursion depth in RIB:Configured: 12In Use: 128IPv6:-----Maximum recursion depth in RIB:Configured: 12In Use: 128Table 7 describes the significant fields shown in the display.
show rib statistics
To display Routing Information Base (RIB) statistics, use the show rib statistics command in EXEC mode.
show rib [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] statistics [client-name] [standby]
Syntax Description
Command Default
If vrf vrf-name is not specified, the registered first-hop notification addresses are displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 statistics command to display RIB statistics. The statistics include requests sent from the clients to the RIB and the information redistributed to the client.
RIB maintains counters for all requests sent from a client including:
•
Route operations
•
Table registrations
•
Next-hop registrations
•
Redistribution registrations
•
Attribute registrations
•
Synchronization completion
RIB also maintains the results of the requests.
Task ID
Examples
The following is sample output from the show rib statistics command:
RP/0/RP0/CPU0:router# show rib statisticsRIB Statistics:Received 142 batch messages137 route operations, 0 attribute operations0 opaque operations11 complete operations, 0 convergent operationsResults of the batch message received:142 successes0 forward references, 0 invalid client id, 0 unknown errors0 memory allocation errors, 0 client lookup errors, table lookup errors 00 proto lookup errors, 0 client proto lookup errorsipv4_connected/node0_RP0_CPU0 last performed route operationwith status BATCH_SUCESS at Jun 26 21:43:33.601Received 217422 light weight messages4 route add requests, 2 route delete requests10 protocol registered, 1 protocol unregistered0 protocol modify, 0 protocol purged14 protocol redistributions, 0 unregistered protocol redistributions0 reset protocol redistributions3 first hop registered, 1 first hop unregistered3 advertisements, 0 unregistered advertisement57 bind data, 97 update completes, 217230 other requestsudp/node0_RP0_CPU0 last performed firsthop lookup operationwith status success at Jun 27 10:09:59.990Received 0 nexthop batch messages0 successes0 inits0 registers, 0 unregisters0 register complete, 0 sync unregistered, 0 batch finishedTable 8 describes the significant fields shown in the display.
show rib tables
To display all tables known to the Routing Information Base (RIB), use the show rib tables command in EXEC mode.
show rib [afi-all | ipv4 | ipv6] tables [summary] [standby]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Command History
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 tables command to display all tables known to the RIB, including table attributes. Attributes include VPN routing and forwarding (VRF) instance, address family, and maximum prefix information.
Task ID
Examples
The following is sample output from the show rib tables command when entered without an address:
RP/0/RP0/CPU0:router# show rib tablesCodes: N - Prefix Limit Notified, F - Forward ReferencedD - Table Deleted, C - Table Reached ConvergenceVRF SAFI Table ID PrfxLmt PrfxCnt TblVersion N F D Cdefault uni 0xe0000000 2000000 72 137 N N N Ydefault multi 0xe0100000 2000000 0 0 N N N YTable 9 describes the significant fields shown in the display.
show rib trace
To display all Routing Information Base (RIB) library call tracer (ltrace) entries, use the show rib trace command in EXEC mode.
show rib [afi-all | ipv4 | ipv6] trace [clear | counts | event-manager | startup | sync | timing] [unique | wrapping] [last entries] [hexdump] [reverse] [tailif] [stats] [verbose] [file name original location node-id | location {all | node-id}]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 3.5.0
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
Release 3.6.0
No modification.
Release 3.7.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 tables command to RIB display ltrace entries.
Task ID
Examples
The following is sample output from the show rib trace command
RP/0/RP0/CPU0:router# show rib trace1784 wrapping entries (13312 possible, 0 filtered, 1784 total)Mar 16 14:59:27.947 rib/ipv4_rib/rib-startup 0/RP0/CPU0 t1 Create: Management threadMar 16 14:59:27.959 rib/ipv4_rib/rib-startup 0/RP0/CPU0 t2 Create: Management event managerMar 16 14:59:28.346 rib/ipv4_rib/rib-io 0/RP0/CPU0 t1 Initialise: RIB serverMar 16 14:59:28.346 rib/ipv4_rib/rib-io 0/RP0/CPU0 t1 Initialise: Client collectionMar 16 14:59:28.676 rib/ipv4_rib/rib-io 0/RP0/CPU0 t1 Initialise: DB collectionMar 16 14:59:28.693 rib/ipv4_rib/rib-io 0/RP0/CPU0 t1 Initialise: Timer treeMar 16 14:59:28.694 rib/ipv4_rib/rib-io 0/RP0/CPU0 t1 RUMP: Bind to sysdb /ipc/gl/ipv4-rib/ for protocol notificationMar 16 14:59:29.102 rib/ipv4_rib/rib-startup 0/RP0/CPU0 t2 Initialise: Debugging routineMar 16 14:59:29.128 rib/ipv4_rib/rib-io 0/RP0/CPU0 t1 Register: read, select cb functionsMar 16 14:59:29.137 rib/ipv4_rib/rib-startup 0/RP0/CPU0 t1 Register: cerrno DLL name lib_rib_error.dll...show rib vpn-attributes
To display all VPN attributes installed in the Routing Information Base (RIB), use the show rib vpn-attributes command in EXEC mode.
show rib [afi-all | ipv4 | ipv6] vpn-attributes [summary] [standby]
Syntax Description
Defaults
The default is IPv4 address prefixes.
Command Modes
EXEC
Command History
Release ModificationRelease 3.5.0
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
Release 3.6.0
No modification.
Release 3.7.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 vpn-attributes command to display all VPN attributes installed in the RIB.
Task ID
Examples
The following is sample output from the show rib vpn-attributes command:
RP/0/RP0/CPU0:router# show rib vpn-attributesExtended community data in RIB:Extended community Ref countCOST:128:128:41984 2COST:128:129:42240 2COST:128:129:44544 1COST:128:129:169984 2COST:128:129:307200 1EIGRP route-info:0x0:0 6EIGRP route-info:0x8000:0 2EIGRP AD:444:25600 2EIGRP AD:444:25856 2EIGRP AD:444:28160 1EIGRP AD:444:51200 1EIGRP AD:444:153600 2EIGRP RHB:255:0:16384 2EIGRP RHB:255:1:16384 5EIGRP RHB:255:1:256000 1EIGRP LM:0x0:1:1500 3EIGRP LM:0x0:1:1514 2EIGRP LM:0x0:1:4470 3EIGRP AR:0:192.168.0.13 6EIGRP PM:11:0 6MVPN attribute data in RIB:MVPN Attribute Ref count 0:0:1:f4:0:0:0:1:1:1:1:1 1 0:0:2:bc:0:0:0:1:3:3:3:3 10 0:0:2:bc:0:0:0:1:3:3:3:4 2Table 10 describes the significant fields shown in the display.
show rib vrf
To display all VRF table information in the Routing Information Base (RIB), use the show rib vrf command in EXEC mode.
show rib vrf {vrf-name | all} [ipv4] [ipv6] [afi-all] [firsthop] [next-hop] [opaques] [protocols] [statistics]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 3.7.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
Examples
The following example illustrates the show rib vrf all statistics command:
RP/0/RP0/CPU0:router# show rib vrf all statisticsRP/0/RP0/CPU0:router#Related Commands
show route
To display the current routes in the Routing Information Base (RIB), use the show route command in EXEC mode.
show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast {topology topo-name}| safi-all] [protocol [instance] | ip-address [mask] | ip-address/prefix-length] [standby] [detail]
Syntax Description
Defaults
If a vrf vrf-name is not specified, routes are displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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.
When the afi-all keyword is used, the ip-address and mask arguments are not available.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route command when entered without an address:
RP/0/RP0/CPU0:router# show routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, su - IS-IS summary null, * - candidate defaultU - per-user static route, o - ODR, L - localGateway of last resort is 1.0.0.1 to network 0.0.0.0S* 0.0.0.0/0 [1/0] via 1.0.0.1, 13:14:59C 1.0.0.0/16 is directly connected, 13:14:59, MgmtEth0/5/CPU0/0L 1.0.14.15/32 is directly connected, 13:14:59, MgmtEth0/5/CPU0/0C 3.2.3.0/24 is directly connected, 00:04:39, POS0/3/0/0L 3.2.3.2/32 is directly connected, 00:04:39, POS0/3/0/0O E2 5.2.5.0/24 [110/20] via 3.3.3.1, 00:04:20, POS0/3/0/0O E2 6.2.6.0/24 [110/20] via 3.3.3.1, 00:04:20, POS0/3/0/0C 7.2.7.0/24 is directly connected, 00:04:20, POS0/3/0/7L 7.2.7.2/32 is directly connected, 00:04:20, POS0/3/0/7O E2 8.2.8.0/24 [110/20] via 3.3.3.1, 00:04:20, POS0/3/0/0C 10.3.0.0/16 is directly connected, 13:14:59, GigabitEthernet0/0/0/0L 10.3.0.2/32 is directly connected, 13:14:59, GigabitEthernet0/0/0/0Table 11 describes the significant fields shown in the display.
When you specify that you want information about a specific network, more detailed statistics are displayed. The following is sample output from the show route command when entered with an IP address:
RP/0/RP0/CPU0:router# show route 10.0.0.0Routing entry for 10.0.0.0/16Known via "connected", distance 0, metric 0 (connected)Installed Mar 22 22:10:20.906Routing Descriptor Blocksdirectly connected, via GigabitEthernet0/0/0/0Route metric is 0No advertising protos.Intermediate System-to-Intermediate System (IS-IS) includes an IP address typed length value (TLV) in its link-state packet (LSP) that helps identify the node injecting the route into the network. The IS-IS node uses one of its own interface addresses in this TLV. A loopback address is preferred among interfaces configured under IS-IS. When other networking devices calculate IP routes, they can store the this IP address as the originator address with each route in the routing table.
The following example shows the output from the show route command for a specific IP address on a router configured with IS-IS. Each path that is shown under the Routing Descriptor Blocks report displays two IP addresses. The first address (10.0.0.9) is the next-hop address; the second is the originator IP address from the advertising IS-IS router.
RP/0/RP0/CPU0:router# show route 10.0.0.1Routing entry for 10.0.0.0/8Known via "isis", distance 115, metric 10, type level-2Installed Jan 22 09:26:56.210Routing Descriptor Blocks:* 10.0.0.9, from 10.0.0.9, via GigabitEthernet2/1Route metric is 10No advertising protos.Table 12 describes the significant fields shown when the show route command is used with an IP address (previous displays).
The following example illustrates the show route command with the topology topo-name keyword and argument specified:
RP/0/RP0/CPU0:router# show route ipv4 multicast topology green
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, su - IS-IS summary null, * - candidate defaultU - per-user static route, o - ODR, L - localGateway of last resort is not seti L1 10.1.102.0/24 [115/20] via 10.1.102.41, 1w4d, GigabitEthernet0/1/0/0.1i L1 10.3.3.0/24 [115/20] via 10.1.102.41, 1w4d, GigabitEthernet0/1/0/0.1i L1 192.168.0.40/32 [115/20] via 10.1.102.41, 1w4d, GigabitEthernet0/1/0/0.1Related Commands
Command Descriptionshow interfaces
Lists interface information.
Displays the current contents of the routing table in summary format.
show route backup
To display backup routes from the Routing Information Base (RIB), use the show route backup command in EXEC mode.
show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast {topology topo-name}| safi-all] backup [ip-address [mask] | ip-address/prefix-length] [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the backup routes from the RIB are displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 route backup command to display information about routes that have been installed into the RIB as backup routes. This command also displays information about the currently selected active route for which there is a backup.
When the afi-all keyword is used, the ip-address and mask arguments are not available.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route backup command:
RP/0/RP0/CPU0:router# show route backupCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, su - IS-IS summary null, * - candidate defaultU - per-user static route, o - ODR, L - localS 172.73.51.0/24 is directly connected, 2d20h, POS4/0/0/1Backup O E2 [110/1] via 10.12.12.2, POS3/0/0/1Table 13 describes the significant fields shown in the display.
Related Commands
show route best-local
To display the best local address to use for return packets from the given destination, use the show route best-local command in EXEC mode.
show route [vrf {vrf-name | all}] [ipv4 | ipv6] [unicast | multicast {topology topo-name}| safi-all] best-local ip-address [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the best local address is displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 route best-local command to display information about the best local routes in the routing table.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route best-local command:
RP/0/RP0/CPU0:router# show route best-local 10.12.12.1/32Routing entry for 10.12.12.1/32Known via "local", distance 0, metric 0 (connected)Routing Descriptor Blocks10.12.12.1 directly connected, via POS3/0/0/1Route metric is 0Table 14 describes the significant fields shown in the display.
Related Commands
show route connected
To display the current connected routes of the routing table, use the show route connected command in EXEC mode.
show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast {topology topo-name}| safi-all] connected [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the current connected routes of the routing table are displayed for the default IPv4 unicast VRF.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Command Modes
EXEC
Command History
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 route connected command to display information about connected routes in the routing table.
Task ID
Examples
The following is sample output from the show route connected command:
RP/0/RP0/CPU0:router# show route connectedC 1.68.0.0/16 is directly connected, 13:43:40, MgmtEth0/5/CPU0/0C 3.3.3.0/24 is directly connected, 00:23:23, POS0/3/0/0C 7.7.7.0/24 is directly connected, 00:33:00, POS0/3/0/7C 10.0.0.0/16 is directly connected, 13:43:40, GigabitEthernet0/0/0/0C 10.10.10.0/30 is directly connected, 13:43:40, Loopback0C 11.11.11.0/24 is directly connected, 13:43:40, Loopback11Table 15 describes the significant fields shown in the display.
Related Commands
show route local
To display local routes receiving routing updates from the Routing Information Base (RIB), use the show route local command in EXEC mode.
show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast {topology topo-name}| safi-all] local [interface-type interface-instance] [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the local routes receiving updates from the RIB are displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 route local command to display information about local routes in the routing table.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route local command:
RP/0/RP0/CPU0:router# show route localL 10.10.10.1/32 is directly connected, 00:14:36, Loopback0L 10.91.36.98/32 is directly connected, 00:14:32, POS6/0/0/1L 172.22.12.1/32 is directly connected, 00:13:35, POS3/0/0/1L 192.168.20.2/32 is directly connected, 00:13:27, POS4/0/0/1L 10.254.254.1/32 is directly connected, 00:13:26, POS5/0/0/1Table 16 describes the significant fields shown in the display.
Related Commands
Command DescriptionDisplays information about all clients that have registered with the RIB as protocols.
show route longer-prefixes
To display the current routes in the Routing Information Base (RIB) that share a given number of bits with a given network, use the show route longer-prefixes command in EXEC mode.
show route [vrf {vrf-name | all}] [ipv4 | ipv6] [unicast | multicast {topology topo-name} | safi-all] longer-prefixes {ip-address mask | ip-address/prefix-length} [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the current routes in the RIB sharing a specified number of bits with a network are displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 route longer-prefixes command to troubleshoot forwarding problems whose cause may be a long prefix.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route longer-prefixes command:
RP/0/RP0/CPU0:router# show route longer-prefixes 172.16.0.0/8Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, su - IS-IS summary null, * - candidate defaultU - per-user static route, o - ODR, L - localL 172.29.52.70/32 is directly connected, 4d15h, MgmtEth0/RP0/CPU0/0L 172.29.52.71/32 is directly connected, 4d15h, MgmtEth0/RP1/CPU0/0L 172.29.52.72/32 [0/0] via 172.29.52.72, 4d15h, MgmtEth0/RP0/CPU0/0Table 17 describes the significant fields shown in the display.
Related Commands
Command Descriptionrouter static
Establishes a static route.
show interfaces
Lists interface information.
Displays the current contents of the routing table in summary format.
show route next-hop
To filter routes by the next-hop address or interface, use the show route next-hop command in EXEC mode.
show route [vrf {vrf-name | all}] [ipv4 | ipv6] [unicast | multicast {topology topo-name}| safi-all] next-hop [ip-address] [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the next-hop gateway or host is displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 route next-hop command to find all routes going through a next-hop address or interface.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route next-hop command filtering routes on the next-hop address:
RP/0/RP0/CPU0:router# show route next-hop 1.68.0.1Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, su - IS-IS summary null, * - candidate defaultU - per-user static route, o - ODR, L - localGateway of last resort is 1.68.0.1 to network 0.0.0.0S* 0.0.0.0/0 [1/0] via 1.68.0.1, 15:01:49S 223.255.254.254/32 [1/0] via 1.68.0.1, 15:01:49The following is sample output from the show route next-hop command filtering routes on the next-hop interface:
RP/0/RP0/CPU0:router# show route next-hop GigabitEthernet 0/1/0/2Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, su - IS-IS summary null, * - candidate defaultU - per-user static route, o - ODR, L - localGateway of last resort is 1.68.0.1 to network 0.0.0.0C 11.1.1.0/24 is directly connected, 15:01:46, GigabitEthernet0/1/0/2L 11.1.1.2/32 is directly connected, 15:01:46, GigabitEthernet0/1/0/2Table 18 describes the significant fields shown in the display.
Related Commands
show route quarantined
To display mutually recursive (looping) routes, use the show route quarantined command in EXEC mode.
show route [vrf {vrf-name | all}] [ipv4 | ipv6] [unicast | multicast {topology topo-name} | safi-all] quarantined [ip-address /prefix-length | ip-address mask] [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the next-hop gateway or host is displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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.
RIB quarantining detects mutually recursive routes and quarantines the last route that actually completes the mutual recursion. The quarantined route is periodically evaluated to see if the mutual recursion has gone away. If the recursion still exists, the route remains quarantined. If the recursion has gone away, the route is released from quarantine.
Use the show route quarantined command to display mutually recursive (looping) routes.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route quarantined command:
RP/0/RP0/CPU0:router# show route quarantinedCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, su - IS-IS summary null, * - candidate defaultU - per-user static route, o - ODR, L - localS 10.10.109.1/32 [1/0] via 10.10.34.1, 00:00:01 (quarantined)[1/0] via 10.10.37.1, 00:00:01 (quarantined)[1/0] via 10.10.60.1, 00:00:01 (quarantined)[1/0] via 10.10.68.1, 00:00:01 (quarantined)[1/0] via 10.10.91.1, 00:00:01 (quarantined)[1/0] via 10.10.93.1, 00:00:01 (quarantined)[1/0] via 10.10.97.1, 00:00:01 (quarantined)S 10.0.0.0/8 [1/0] via 11.11.11.11, 00:01:29 (quarantined)S 10.10.0.0/16 [1/0] via 11.11.11.11, 00:01:29 (quarantined)S 10.10.10.0/24 [1/0] via 11.11.11.11, 00:01:29 (quarantined)S 10.10.10.10/32 [1/0] via 11.11.11.11, 00:00:09 (quarantined)Table 19 describes the significant fields shown in the display.
Related Commands
show route resolving-next-hop
To display the next-hop gateway or host to a destination address, use the show route resolving-next-hop command in EXEC mode.
show route [vrf {vrf-name | all}] [ipv4 | ipv6] [unicast | multicast { topology topo-name}| safi-all] resolving-next-hop ip-address [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the next-hop gateway or host is displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 route resolving-next-hop command to perform a recursive route lookup on the supplied destination address and return information on the next immediate router (next-hop) to the destination.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route resolving-next-hop command:
RP/0/RP0/CPU0:router# show route resolving-next-hop 10.1.1.1Nexthop matches 10.1.1.1/32Known via "local", distance 0, metric 0 (connected)Installed Aug 22 01:57:08.514Directly connected nexthops10.1.1.1 directly connected, via Loopback0Route metric is 0Table 20 describes the significant fields shown in the display.
Table 20 show route resolving-next-hop Field Descriptions
Field DescriptionKnown via
Name of the routing protocol that installed the matching route.
Route metric is
Metric of the route.
Related Commands
show route static
To display the current static routes of the Routing Information Base (RIB), use the show route static command in EXEC mode.
show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast {topology topo-name} | safi-all] static [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the current static routes of the RIB are displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 route static command to display information about static routes in the routing table.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route static command:
RP/0/RP0/CPU0:router# show route staticS 10.1.1.0/24 is directly connected, 00:54:05, POS3/0/0/1S 192.168.99.99/32 [1/0] via 10.12.12.2, 00:54:04Table 21 describes the significant fields shown in the display.
Related Commands
show route summary
To display the current contents of the Routing Information Base (RIB), use the show route summary command in EXEC mode.
show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast {topology topo-name} | safi-all] summary [detail] [standby]
Syntax Description
Defaults
If a vrf vrf-name is not specified, the contents of the RIB are displayed for the default IPv4 unicast VRF.
Command Modes
EXEC
Command History
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 route summary command to display information about routes in the routing information base.
When a route summary is needed frequently—for instance, in a polling manner—use the show route summary command without the detail keyword. The detail keyword is used less frequently for verification purposes, because it is much more expensive (in bandwidth), requiring a scan of the entire routing database.
The topology keyword must be accompanied by the ipv4 multicast keywords, except when the afi-all keyword or the safi-all keyword is specified.
Task ID
Examples
The following is sample output from the show route summary command:
RP/0/RP0/CPU0:router# show route summaryRoute Source Routes Backup Deleted Memory (bytes)static 1 0 0 136connected 2 1 0 408local 3 0 0 408ospf 1673 2 0 272isis 2 0 0 272Total 10 1 0 1496The following is sample output from the show route summary command with the detail keyword:
RP/0/RP0/CPU0:router# show route summary detailRoute Source Active Route Active Path Backup Route Backup Pathstatic 1 1 0 0connected 2 2 1 1local 3 3 0 0isis 1 1 1 1Level 1: 0 0 1 1Level 2: 1 1 0 0ospf 1673 6 12 0 0Intra-Area: 3 6 0 0Inter-Area: 3 6 0 0External-1: 0 0 0 0External-2: 0 0 0 0bgp 100 10 20 4 8External: 5 10 4 8Internal: 5 10 0 0local: 0 0 0 0Total 7 7 2 2Table 22 describes the significant fields shown in the display.
Related Commands