Overview
To use the Virtual Router Redundancy Protocol (VRRP) with Policy-Based Routing (PBR) and IP Service Level Agreement (SLA) tracking, you should specify how the router should handle the traffic coming from the out-of-path Exinda appliance, the WAN, and the LAN.
This article provides step-by-step instructions on how to configure a router for the VRRP with PBR and IP SLA tracking.
CAUTION! Configure your router using the IP addresses that correspond to your network. The IP addresses and netmasks used in this article are for demonstration purposes only.
Process
- Launch the router's CLI.
- To enter the privileged EXEC (enable) mode, run the following command:
hostname > enable
- The hostname # prompt appears.
- To enter the configuration (config) mode, run the following command:
hostname # configure terminal
- The hostname (config)# prompt appears.
- Specify the interface to configure:
hostname (config)# interface GigabitEthernet0/0
- Set the IP address of the out-of-path Exinda appliance:
hostname (config-if)# ip address 10.10.10.1 255.0.0.0
- Set the duplex and speed parameters for the interface:
hostname (config-if)# duplex auto
hostname (config-if)# speed auto
- Specify the interface to configure:
hostname (config)# interface GigabitEthernet0/1
- Set the IP address and netmask of the WAN interface:
hostname (config-if)# ip address 64.65.66.1 255.255.255.0
- Set the route map for policy routing to asymmetrical:
hostname (config-if)# ip policy route-map Asym
- Set the duplex and speed parameters for the interface:
hostname (config-if)# duplex auto
hostname (config-if)# speed auto
- Specify the interface to configure:
hostname (config)# interface FastEthernet0/1
- Set the IP address and netmask of the LAN interface:
hostname (config-if)# ip address 172.16.12.1 255.255.0.0
- Set the route map for policy routing with the name
Asym
:
hostname (config-if)# ip policy route-map Asym
- Set the duplex and speed parameters for the interface:
hostname (config-if)# duplex auto
hostname (config-if)# speed auto
120
that allows the devices in the specified IP address range to access the network.hostname (config)# access-list 120 permit ip
172.16.0.0 0.0.255.255 64.65.66.0 0.0.0.255
hostname (config)# access-list 120 permit ip
64.65.66.0 0.0.0.255 172.16.0.0 0.0.255.255
120
), and route the traffic to the router.route-map Asym permit 10 match ip address 120 set ip next-hop verify-availability 10.10.10.100 1 track 1
hostname (config)# ip sla 5 hostname (config-ip-sla)#icmp-echo 10.10.10.100 hostname (config)#ip sla schedule 5 life forever
start-time now
track 1 ip sla 5 delay down 2 up 2
Related Articles
- Configuring an Exinda Appliance for VRRP With PBR and IP SLA Tracking Using Exinda Web UI
- Configuring an Exinda Appliance for VRRP With PBR and IP SLA Tracking Using CLI