Information About the Unicast RIB and FIB
The unicast RIB (IPv4 RIB) and FIB are part of the Cisco NX-OS forwarding architecture, as shown below.
The unicast RIB maintains the routing table with directly connected routes, static routes, and routes learned from dynamic unicast routing protocols. The unicast RIB also collects adjacency information from sources such as the Address Resolution Protocol (ARP). The unicast RIB determines the best next hop for a given route and populates the unicast forwarding information base (FIBs) by using the services of the unicast FIB distribution module (FDM).
Each dynamic routing protocol must update the unicast RIB for any route that has timed out. The unicast RIB then deletes that route and recalculates the best next hop for that route (if an alternate path is available).
Layer 3 Consistency Checker
In rare instances, an inconsistency can occur between the unicast RIB and the FIB on each module. Cisco NX-OS supports the Layer 3 consistency checker. This feature detects inconsistencies between the unicast IPv4 RIB and the FIB on each interface module. Inconsistencies include the following:
-
Missing prefix
-
Extra prefix
-
Wrong next-hop address
-
Incorrect Layer 2 rewrite string in the ARP or neighbor discovery (ND) cache
The Layer 3 consistency checker compares the FIB entries to the latest adjacency information from the Adjacency Manager (AM) and logs any inconsistencies. The consistency checker then compares the unicast RIB prefixes to the module FIB and logs any inconsistencies. See the Triggering the Layer 3 Consistency Checker section.
You can then manually clear any inconsistencies. See the Clearing Forwarding Information in the FIB section.
When the consistency checker is run before there is no consistency, consistency passes. But when more routes are learned exceeding the hardware limit of 4K and the show consistency-checker forwarding ipv4 command is run, consistency passes. The same is true when it is transitioning from an inconsistent state to a consistent state. It still shows failure routes. Until and unless the test forwarding ipv4 inconsistency route command is run again, it doesn't leave this state. This is an expected behavior.
FIB Tables
The following are the unicast routing table capacities for the Cisco Nexus 3548 switch when the switch is configured in the normal forwarding mode:
-
Unicast Routing Host table = 64,000 hash table entries
-
Unicast Routing LPM table = 16,000 TCAM entries
-
ECMP members Table size: 16,000 entries
The following are the unicast routing table capacities for the Cisco Nexus 3548 switch when the switch is configured inthe warp mode:
-
L3 Unicast Host table = 8000 TCAM entries
-
L3 Unicast LPM table = 4000 TCAM entries
Note |
ECMP is not supported on warp mode. |
Note |
In warp mode, when two equal cost paths are received in RIB, one of the paths is installed in the hardware. It is recommended to configure the maximum-path to one under the routing protocol configuration. |
Virtualization Support
The Unicast RIB and FIB support Virtual Routing and Forwarding instances (VRFs).