Table of Contents
In this VRRP Cisco Configuration Example, we will work on Cisco IOS and configure VRRP (Virtual Router Redundancy Protocol) on Cisco Routers. Configuring VRRP Protocol is like configuring Cisco Proprietary protocol HSRP. There are only small command differences. If you would like to check the comparison of VRRP and HSRP, you can check the related lesson.
For our VRRP Cisco Configuration Example, we will use the below topology:
Now, let’s configure VRRP Protocol on Cisco Routers and learn VRRP better.
The first step of our VRRP Cisco Configuration is the IP address configuration on interfaces.
Switch A (config)# int fa0/1
Switch A (config-if)# no switchport
Switch A (config-if)# ip address 172.16.0.1 255.255.255.0
Switch A (config-if)# no shutdown
Switch B (config)# int fa0/1
Switch B (config-if)# no switchport
Switch B (config-if)# ip address 172.16.0.2 255.255.255.0
Switch B (config-if)# no shutdown
VRRP process is created with the VRRP Group ID and the Virtual IP Address.Here, our VRRP Group ID is 1 and our Virtual IP address is 172.16.0.5.
Switch A (config-if)# vrrp 1 ip 172.16.0.5
Switch B (config-if)# vrrp 1 ip 172.16.0.5
Like all descriptions, in VRRP, we can use description to give our VRRP group a memorable description.
Switch A (config-if)# vrrp 1 description Our-vrrp
Switch B (config-if)# vrrp 1 description Our-vrrp
For Master/Backup selection, VRRP priorities are configured. To manuplate VRRP selection and determine a Master manually, VRRP Priority values are important. The default one is 100 and the highest one is elected as VRRP Master.
Switch A (config-if)# vrrp 1 priority 200
Switch B (config-if)# vrrp 1 priority 100
It is not required to configure VRRP Priority for switch B, because it is the default value. Here, we write this command to show you only.
To configure VRRP authentication, we will use the below command on switches. Our password is CISCO.
Leave a Reply