Cisco PBR

interface Ethernet0
 ip address 172.16.1.1 255.255.255.0
 no ip directed-broadcast
 ip policy route-map net-10
!
access-list 111 permit ip 10.0.0.0 0.255.255.255 any
!
route-map net-10 permit 10
 match ip address 111
 set interface Ethernet1    !!<<Only works if arp can resolve.>>!!
 !!or!!set ip next-hop 172.2.1.1  !!<<Better forwards to next hop router.>>!!
!
route-map net-10 permit 20
!

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.

...


CategoryCisco

Cisco/PolicyBasedRouting (last edited 2012-09-10 09:14:20 by PieterSmit)