Riverstone Networks RS Switch Router User Guide Release 8.0 22-9
Web Hosting Configuration Load Balancing
For VSRP to run properly, configure the same load balancing group on the two RS’s. (Note that the group’s
configuration on both RS’s should be exactly the same.) Then, enter the load-balance create
state-mirror-peer command and the load-balance add group-for-mirroring command on both RS’s.

VSRP Example

The group www.fast.net is configured on two RS’s. The IP address of RS A is 100.1.1.1 and the IP address of RS B is
100.1.1.2. The two RS’s are configured to mirror each other’s session information for the group www.fast.net.
Figure 22-1 VSRP configuration example
To mirror the sessions of RS A, enter the following commands on RS A:
To mirror the sessions of RS B, enter the following commands on RS B:
load-balance create state-mirror-peer 100.1.1.2 src-ip-to-use 100.1.1.1
load-balance add group-for-mirroring www.fast.net ip-of-peer 100.1.1.2
load-balance create state-mirror-peer 100.1.1.1 src-ip-to-use 100.1.1.2
load-balance add group-for-mirroring www.fast.net ip-of-peer 100.1.1.1
www.fast.net
100.1.1.2
RS B
100.1.1.1
RS A