Overview
To use the Virtual Router Redundancy Protocol (VRRP) with Policy-Based Routing (PBR) and VLANs (Virtual Local Area Networks), you should specify the behavior of the switch interfaces connecting to the router and the out-of-path Exinda appliances.
This article provides step-by-step instructions on how to configure a switch for VRRP with PBR and VLANs.
Process
- Launch the CLI for the switch.
- 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.
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
interface GigabitEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk
interface Vlan10 no ip address interface Vlan20 no ip address