7-CEF LAB Time
7-CEF LAB Time
R1 Configuration
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.12.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2
R2 Configuration
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 192.168.12.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastEthernet 1/0
R2(config-if)#ip address 192.168.23.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#ip route 3.3.3.0 255.255.255.0 192.168.23.3
R2(config)#ip route 33.33.33.0 255.255.255.0 192.168.23.3
R3 Configuration
R3(config)#interface fastEthernet 1/0
R3(config-if)#ip address 192.168.23.3 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface loopback3
R3(config-if)#ip address 3.3.3.3 255.255.255.0
R3(config-if)#exit
R3(config)#interface loopback33
R3(config-if)#ip address 33.33.33.33 255.255.255.0
R3(config-if)#exit
R3(config)#ip route 0.0.0.0 0.0.0.0 192.168.23.2
Let’s check there is no debug output every packet is going through FIB table hardware.
Only first packet hit RIB (Routing Information Base) CPU, rest of all packets cache.