Slide 23
Slide 23 text
23
• The idea is to precompute and optimize information in RIB:
• Resolve recursive lookup and get rid of useless information
• Add pointer to pre-built L2 header in Adjacency table
• The new table is called Forwarding Information Base (FIB) or CEF table:
• Contains prefix, NH, outgoing interface, pointer to L2 header
• Stored in DRAM [O(1) using 256-way mtrie data structure] and TCAM [if exists,
also O(1), but much faster]
• The lookup is done during the interrupt (process scheduling is not
required)
Cisco Express Forwarding (CEF)