The Route Consistency Checker (RCC) is a command-line tool that can be used to verify consistency between control plane and
data plane route in IOS XR software.
Routers in production networks may end up in a state where the forwarding information does not match the control plane information.
Possible causes of this include fabric or transport failures between the Route Processor (RP) and the line cards (LCs), or
issues with the Forwarding Information Base (FIB). RCC can be used to identify and provide detailed information about resultant
inconsistencies between the control plane and data plane. This information can be used to further investigate and diagnose
the cause of forwarding problems and traffic loss.
RCC can be run in two modes. It can be triggered from EXEC mode as an on-demand, one-time scan (On-demand Scan) , or be configured
to run at defined intervals in the background during normal router operation (Background Scan). RCC compares the Routing Information
Base (RIB) against the Forwarding Information Base (FIB). When an inconsistency is detected, RCC output will identify the
specific route and identify the type of inconsistency detected as well as provide additional data that will assist with further
troubleshooting.
RCC runs on the Route Processor. FIB checks for errors on the line card and forwards first the 20 error reports to RCC. RCC
receives error reports from all nodes, summarizes them (checks for exact match), and adds it to two queues, soft or hard.
Each queue has a limit of 1000 error reports and there is no prioritization in the queue. RCC logs the same errors (exact
match) from different nodes as one error. RCC compares the errors based on prefix, version number, type of error, etc.
On-demand Scan
In On-demand Scan, user requests scan through the command line interface on a particular prefix in a particular table or
all the prefixes in the table. The scan is run immediately and the results are published right away. RCC performs on-demand
scan per VRF.
Background Scan
In Background Scan, user configures the scan that is then left to run in the background. The configuration consists of the
time period for the periodic scan. This scan can be configured on either a single table or multiple tables. RCC performs background
scan either for default or other VRFs.