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.
- To enter the privileged EXEC (enable) mode, run the following command:
- Configure the interface to the router:
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk - Configure the interface to Exinda appliance #1:
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk - Configure the interface to Exinda appliance #2:
interface GigabitEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk - Set the IP addresses for the VLANs:
interface Vlan10 no ip address interface Vlan20 no ip address
Priyanka Bhotika
Comments