VRRP Identifiers


Hi, Im new to this so right now I am using VRRP in my network, I have already used the limit of 7 VRRP identifiers, one ID for one VLAN. I know that one VRRP ID can proctect up to 254 subnets. In my network I have about 10 VLANs that I want to protect, so my question is, Is this the right way to configure several VLANs in one VRRP ID?

create vrrp vlan Vlan-1 vrid 1
create vrrp vlan Vlan-2 vrid 1
create vrrp vlan Vlan-3 vrid 1
create vrrp vlan Vlan-4 vrid 1
create vrrp vlan Vlan-5 vrid 1

configure vrrp vlan vlan-1 vrid 1 priority 150
configure vrrp vlan vlan-2 vrid 1 priority 150
configure vrrp vlan vlan-3 vrid 1 priority 150
configure vrrp vlan vlan-4 vrid 1 priority 150
configure vrrp vlan vlan-5 vrid 1 priority 150

configure vrrp vlan vlan-1 vrid 1 add 10.10.1.254
configure vrrp vlan vlan-2 vrid 1 add 10.20.2.254
configure vrrp vlan vlan-3 vrid 1 add 10.30.3.254
configure vrrp vlan vlan-4 vrid 1 add 10.40.4.254
configure vrrp vlan vlan-5 vrid 1 add 10.50.5.254

enable vrrp vlan vlan-1 vrid 1
enable vrrp vlan vlan-2 vrid 1
enable vrrp vlan vlan-3 vrid 1
enable vrrp vlan vlan-4 vrid 1
enable vrrp vlan vlan-5 vrid 1

By the way Im using two Black Diamond 8806
And do I have to do this in both switches?
Any Help is Aprecciated Thanks!!!

3 replies

Userlevel 4
Yes, It's correct way to configure vrrp.

You have to configure the same command on both the switch, Backup switch don't require the priority command .
Userlevel 6
Hey Erick

As a side not the VRID is just to distinguish which routers will be paired for the VRRP service. If you only have 2 then use the same VRID. If you have a situation where you have 4 routers and you want 1 &@ to be VRRP pair for certain subnets and 3 &$ to be paired for other subnets then you would use the VRIDs to tell the routers who they are paired with.

Hope that helps
P
Thanks alot guys that makes so much sense now!!!

Reply