PfR

  1. Performance routing
    1. Master controller
    2. Border router

Performance routing

  • also known as optimized edge routing (OER): based on channel load
  • enforcement
    • static routes
    • PBR
    • BGP local preference, prepend
    • EIGRP tag
  • components
    • master controller (MC)
    • border router (BR)
      • create tunnels between each other
  • Netflow is enabled automatically on ingress interfaces on BR
  • parent route: route that allows BR to sent traffic in the first place
    • required to enable policy
    • if absent ā€“ blackhole
  • load-balancing:
    • traffic distributed over BR
    • IGP load-balancing as well
    • only for default-class in load differs more than 20%

Master controller

(config)# pfr master
(config-pfr-mc)# border <IP> key-chain <CHAIN>
(config-pfr-mc-br)# interface <INTF> internal|external
(config-pfr-mc-br-if)# link-group <NAME>

; 75% default
(config-pfr-mc-br-if)# max-xmit-utilization absolute|percentage <N>

(config-pfr-mc)# learn
; determine prefixes for PfR using throughput
(config-pfr-mc-learn)# throughput

; for BGP prefixes change local preference (inside) and prepend (outside)
(config-pfr-mc-learn)# inside bgp

; 120 mins default, how often to run learn
(config-pfr-mc-learn)# periodic-interval <mins>

; 5 mins default, how long to learn
(config-pfr-mc-learn)# monitor-period

; default ā€“ observe (statistics only), control enforces policy
(config-pfr-mc)# mode route observe|control

; local preference, set by PfR, 5000 default
(config-pfr-mc)# mode route metric bgp local-pref <N> 

Border router

(config)# pfr border
(config-pfr-br)# logging
(config-pfr-br)# local <INTF>
(config-pfr-br)# master <IP> key-chain <CHAIN>
# show pfr border
# show pfr border routes bgp|static