20/09/2017
Policy Based Routing
- PBR intercepts packets before regular routing
- PBR overwrites the router’s natural destination
- PBR is tied to route-maps
- Define the match criteria
- Define the action for the packets
- Packet forwarding
- Outgoing interface
- IP Next-Hop
Configuration
- Define an ACL
- Configure route-map
- Match the ACL
- Apply set paramets
- Set ip next-hop 10.10.10.10
- set ip default next-hop 10.10.10.10 (default routing first, else if nexthop)
- set interface fa0/0
- set default interface fa0/0 (default routing first, else if nexthop)
- Apply PBR to incoming interface
- ip policy route-map
- ingress feature on interface
- IP precedence
- set ip precedence (value)
- ToS
- set ip tos (value)