Riverstone Networks WICT1-12 User Manual

Page 204

Advertising
background image

12-8 Riverstone Networks RS Switch Router User Guide Release 8.0

Configuring VRRP

VRRP Configuration Guide

Note

Since 100 is the default priority, line 9, which sets the priority to 100, is actually
unnecessary. It is included for illustration purposes only.

Configuration of Router R3

The following is the configuration file for Router R3 in

Figure 12-3

.

Lines 8 and 9 set the backup priority for Router R3 at 100 for virtual routers

VRID=1

and

VRID=2

. Since Router R1

has a priority of 200 for backing up virtual router

VRID=2

, and Router R2 has a priority of 200 for backing up virtual

router

VRID=1

, Router R3 is the secondary Backup for both virtual routers

VRID=1

and

VRID=2

.

The following table shows the priorities for each virtual router configured on Router R3.

Note

Since 100 is the default priority, lines 8 and 9, which set the priority to 100, are
actually unnecessary. They are included for illustration purposes only.

1: interface create ip test address-netmask 10.0.0.3/16 port et.1.1

!

2: ip-redundancy create vrrp 1 interface test

3: ip-redundancy create vrrp 2 interface test

4: ip-redundancy create vrrp 3 interface test

!

5: ip-redundancy associate vrrp 1 interface test address 10.0.0.1/16

6: ip-redundancy associate vrrp 2 interface test address 10.0.0.2/16

7: ip-redundancy associate vrrp 3 interface test address 10.0.0.3/16

!

8: ip-redundancy set vrrp 1 interface test priority 100

9: ip-redundancy set vrrp 2 interface test priority 100

!

10: ip-redundancy start vrrp 1 interface test

11: ip-redundancy start vrrp 2 interface test

12: ip-redundancy start vrrp 3 interface test

Virtual Router

Default Priority

Configured Priority

VRID=1

– IP address=10.0.0.1/16

100

100 (see line 8)

VRID=2

– IP address=10.0.0.2/16

100

100 (see line 9)

VRID=3

– IP address=10.0.0.3/16

255 (address owner)

255 (address owner)

Advertising