ROUTE

PBR

 * PBR Overrides the routing table.
 * set ip next-hop - uses PBR next hop and then the routing table
 * set ip default next-hop - uses the routing table and then the PBR rules

PBR Configuration
access-list 101 permit ip 10.0.1.0 0.0.0.255 192.168.1.0 0.0.0.255 route-map PBR-1 permit 10 match ip address 101 set ip next-hop 72.4.27.1 interface fa0/0 ip policy route-map PBR-1 Sometimes the route you want to send the packets to may not be available. You can send the packets ONLY if the reachability is sound by using the verify-availability command in the PBR statements when tracking an object (shown next).
 * 1) Define traffic for PBR
 * 2) Define the PBR policy
 * 3) Add policy to interface or router for self generated packets

ip sla 11 icmp-echo 10.1.3.99 source-ip 10.1.1.9 frequency 10 ip sla schedule 11 start-time now life forever track 2 ip sla 12 state delay up 90 down 90 access-list 101 permit ip 10.0.1.0 0.0.0.255 192.168.1.0 0.0.0.255 route-map PBR-1 permit 10 match ip address 101 set ip next-hop verify-availability 72.4.27.1 interface fa0/0 ip policy route-map PBR-1

PBR Verification
show ip policy show route-map debug ip policy

IP Service-Level Agreement (SLA)
R1(config-ip-sla)#? IP SLAs entry configuration commands: dhcp        DHCP Operation dns         DNS Query Operation ethernet    Ethernet Operations exit        Exit Operation Configuration ftp         FTP Operation http        HTTP Operation icmp-echo   ICMP Echo Operation icmp-jitter ICMP Jitter Operation mpls        MPLS Operation path-echo   Path Discovered ICMP Echo Operation path-jitter Path Discovered ICMP Jitter Operation tcp-connect TCP Connect Operation udp-echo    UDP Echo Operation udp-jitter  UDP Jitter Operation voip        Voice Over IP Operation
 * Used for monitoring multiple protocols for reachability

IP SLA Configuration
ip sla 11 icmp-echo 10.1.3.99 source-ip 10.1.1.9 frequency 10 ip sla schedule 11 start-time now life forever
 * 1) Create SLA Operation
 * 2) Define SLA Type
 * 3) Schedule SLA

To send the IP SLA packets from a specific source, for example, a loopback interface, you'll have to use PBR for local policy routing: ip sla 11 icmp-echo 10.1.3.99 source-ip 10.1.1.9 frequency 10 ip sla schedule 11 start-time now life forever access-list 101 permit ip host 10.1.3.99 host 10.1.1.9 ip local policy route-map PBR-2

Tracking IP SLA

 * Tracks reachability status of an IP SLA operation

Track Configuration
ip sla 11 icmp-echo 10.1.3.99 source-ip 10.1.1.9 frequency 10 ip sla schedule 11 start-time now life forever track 1 ip sla 11 state delay up 90 down 90 ip route 10.1.243.0 255.255.255.0 s/0/0/1 track 2
 * 1) Create an IP SLA Operation
 * 2) Track it
 * 3) Set up PBR or static routing for the track

IP SLA Verification
show ip sla configuration show ip sla statistics show track

Chapter 18 - IPv4 and IPv6 Coexistence
IPv4/IPv6 Dual Stacks - using both protocols on an interface

Tunneling - encapsulating IPv6 packets inside IPv4 packets

'''