Below topology was used for this post, and all the configuration happened on two Cisco CSR1000v
BGP Nonstop Forwarding
- During normal NSF operation, CEF on the active RP synchronizes its current FIB and adjacency databases with the FIB and adjacency databases on the standby RP
- While switching over, the traffic is depended on CEF, once the routing protocol is converged, FIB will be updated
- RIB repopulating happens prefix-by-prefix, thus the same for FIB and adjacency table
- For BGP NSF, graceful-restart needs to be configured on both ends of a BGP session. Although one end could be only NSF-aware (not SSO capable)
- BFD can’t be enabled simultaneously with NSF for BGP
- SSO is not integrated into EIGRP, hence only NSF awareness is supported
Continue reading “Advanced Cisco BGP features: NSF”
Process switching is the slowest of all switching methods. When switching a packet through the router, a Cisco IOS process copies the packet to the CPU memory and looks up the destination IP address in the IP routing table. Based on the outcome of this lookup, the process switches out the packet on a particular interface after it does some housekeeping on the IP header.
The first packet for a destination that arrives is process switched. The switching of the first packet by the central CPU gives the CPU the opportunity to build a cache. This cache is called the IP fast switching route cache and is used by the interrupt code to switch subsequent packets for the same destination.
If a prefix changes in the routing table, the entry in the fast switching cache is invalidated, and the first packet for a destination has to be process-switched again to build the new entry in the route cache.
Each IP prefix entry in the route cache has an outgoing interface, next hop, and Layer 2 rewrite field. This Layer 2 rewrite (or MAC rewrite) is the information that the router needs to change in the Layer 2 frame header when the frame is rebuilt so that it can be sent on the outgoing interface. Continue reading “MPLS Fundamentals: 4 – CEF”