Monday, August 19, 2013

Fast-Switched and CEF-Switched Policy-Based Routing

Previous posting I wrote example for PBR (Policy-Based Routing). The PBR is self is CPU intensive due to need perform each traffic from source. For better performance and optimal way to perform PBR, Cisco has Fast-Switched and CEF-Switched. CEF-switched PBR has better performance than fast-switched PBR. I think the new Cisco IOS version already enabled CEF-switched by default. No special configuration is required to enable CEF-switched PBR. It is on by default as soon as you enable CEF and PBR on the router. For old Cisco IOS you can enable manually for CEF-switched and also Fast-Switched. Recommend to enable CEF-Switched than Fast-Switched but it's depend on your IOS version support.

#### Enable Fast-Switched
ip route-cache policy

#### Verify Fast-Switched
show ip cache policy 

#### Enable CEF-switched
ip cef

#### Verfiy CEF-switched
show ip cef

No comments: