Navigation Back up to About Overview

Example: Configuring VRRP

Configure one master (Router A) and one backup (Router B) routing platform. The address configured in the virtual-address statements differs from the addresses configured in the address statements. When you configure multiple VRRP groups on an interface, you configure one to be the master virtual router for that group.

On Router A

[edit interfaces]
ge-0/0/0 {unit 0 {family inet {address {vrrp-group 27 {virtual-address;priority 254;authentication-type simple;authentication-key booJUM;}}}}}

On Router B

[edit interfaces]
ge-4/2/0 {unit 0 {family inet {address {vrrp-group 27 {virtual-address;priority 200;authentication-type simple;authentication-key booJUM;}}}}}

Configuring One Router to Be the Master Virtual Router for the Group

[edit interfaces]
ge-0/0/0 {unit 0 {family inet {address {vrrp-group 2 {virtual-address;priority 255;advertise-interval 3;preempt;}vrrp-group 10 {virtual-address;priority 201;advertise-interval 3;}vrrp-group 1 {virtual-address;priority 22;advertise-interval 4;}}}}}

Configuring VRRP and MAC Source Address Filtering

The VRRP group number is the decimal equivalent of the last byte of the virtual MAC address.

[edit interfaces]
ge-5/2/0 {gigether-options {source-filtering;source-address-filter {00:00:5e:00:01:0a; # Virtual MAC address}}unit 0 {family inet {address {vrrp-group 10; # VRRP group numbervirtual-address;priority 255;preempt;}}}}

Published: 2013-08-28