Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

VRRP config

SOLVED
Go to solution
Yan Henrichon
Frequent Advisor

VRRP config

HI all.

I just read the VRRP chapter but one question reminds.

Take a look at the Visio file. Once the Virtual address has been assigned to the switches, do I need to create a new VR ID for each VLAN to ensure the gateway redundancy of each device in those VLAN'S?

Thank You
3 REPLIES
cenk sasmaztin
Honored Contributor
Solution

Re: VRRP config

hi Yan
example vrrp config for you


Core1 is MSTP ROOT for instance 1 that has Vlan1-2 and backup for Instance2 that has Vlan 3-4

Core1 is VRRP owner for Vlan1-2 and Backup for Vlan 3-4
-------------------------------------------

Core1:
-----
hostname "Core1"
time timezone 240
console inactivity-timer 15
ip routing

vlan 1
name "MAN"
ip address 10.1.1.1 255.255.255.0
exit
vlan 2
name "ADMIN"
ip address 10.1.2.1 255.255.255.0
exit
vlan 3
name "Guest"
ip address 10.1.3.1 255.255.255.0
exit
vlan 4
name "WLAN"
ip address 10.1.4.1 255.255.255.0
exit

ip dns server-address a.b.c.d
ip route 0.0.0.0 0.0.0.0 a.b.c.d

spanning-tree
spanning-tree config-name "IBT"
spanning-tree config-revision 8
spanning-tree instance 1 vlan 1-2
spanning-tree instance 1 priority 0
spanning-tree instance 2 vlan 3-4
spanning-tree instance 2 priority 1
spanning-tree priority 0

router vrrp
vlan 1
vrrp vrid 1
owner
virtual-ip-address 10.1.1.2 255.255.255.0
priority 255
enable
exit
exit
vlan 2
vrrp vrid 1
owner
virtual-ip-address 10.1.2.2 255.255.255.0
priority 255
enable
exit
exit
vlan 3
vrrp vrid 1
backup
virtual-ip-address 10.1.3.2 255.255.255.0
enable
exit
exit
vlan 4
vrrp vrid 1
backup
virtual-ip-address 10.1.4.2 255.255.255.0
enable
exit
exit




Core2:
-----
hostname "Core2"
time timezone 240
console inactivity-timer 15
ip routing

vlan 1
name "MAN"
ip address 10.1.1.2 255.255.255.0
exit
vlan 2
name "ADMIN"
ip address 10.1.2.2 255.255.255.0
exit
vlan 3
name "Guest"
ip address 10.1.3.2 255.255.255.0
exit
vlan 4
name "WLAN"
ip address 10.1.4.2 255.255.255.0
exit

ip dns server-address a.b.c.d
ip route 0.0.0.0 0.0.0.0 a.b.c.d

spanning-tree
spanning-tree config-name "IBT"
spanning-tree config-revision 8
spanning-tree instance 1 vlan 1-2
spanning-tree instance 1 priority 1
spanning-tree instance 2 vlan 3-4
spanning-tree instance 2 priority 0
spanning-tree priority 1

router vrrp
vlan 1
vrrp vrid 1
backup
virtual-ip-address 10.1.1.1 255.255.255.0
enable
exit
exit
vlan 2
vrrp vrid 1
backup
virtual-ip-address 10.1.2.1 255.255.255.0
enable
exit
exit
vlan 3
vrrp vrid 1
owner
virtual-ip-address 10.1.3.1 255.255.255.0
priority 255
enable
exit
exit
vlan 4
vrrp vrid 1
owner
virtual-ip-address 10.1.4.1 255.255.255.0
priority 255
enable
exit
exit
cenk

Yan Henrichon
Frequent Advisor

Re: VRRP config

Thank you Cenk.
cenk sasmaztin
Honored Contributor

Re: VRRP config