Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 578

Advertising
background image

546

Network OS NETCONF Operations Guide

53-1003231-02

Configuring a multigroup virtual router cluster

35

Router 1 is the master for Group 1 (master priority = 110) and Router 2 is the backup for Group 1
(backup priority = 100). Router 1 and Router 2 both track the uplinks to the Internet. If an uplink
failure occurs on Router 1, its backup priority is decremented by 20 (track priority = 90), so that all
traffic destined to the Internet is sent through Router 2 instead.

Similarly, Router 2 is the master for Group 2 (master priority = 110) and Router 1 is the backup for
Group 2 (backup priority = 100). Router 1 and Router 2 are both tracking the uplinks to the
Internet. If an uplink failure occurs on Router 2, its backup priority is decremented by 20 (track
priority = 90), so that all traffic destined to the internet is sent through Router 1 instead.

To implement the configuration shown in

Figure 9

on page 545, configure one VRRP-E router to act

as a master in the first virtual router group and a backup in the second virtual group, and then
configure the second VRRP-E router to act as a backup in the first virtual group and master in the
second virtual group.

NOTE

The procedures assume VRRP-E.

Configuring Router 1 as master for first virtual router group

The following example <edit-config> RPC configures Router 1 as the master router for the first
router group. Make sure VCS Fabric mode is enabled, and then perform the following steps.

1. Establish a NETCONF session with Router 1.

2. Configure VRRP globally on routing bridge 101 (the local routing bridge).

3. To configure the VE interface link for Router 1, enable configuration of VE interface port 10.

4. Configure 192.53.5.2/24 as the IP address of the Ethernet link for Router 1.

5. Assign Router 1 to VRRP group 1.

6. Configure ethernet port 2/4 as the tracking port for VE port 10, with a track priority of 20.

VE port 10 will have its priority reduced to 20 should port 2/4 fail.

7. Configure 192.53.5.254 as the virtual IP address for group 1.

NOTE

For VRRP-E only, the virtual IP address cannot be the same as a real IP address configured on
the interface.

8. To configure Router 1 as the master, set the priority to 110; that is, a number greater than the

default value of 100.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="3505" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<rbridge-id xmlns="urn:brocade.com:mgmt:brocade-rbridge">

<rbridge-id>101</rbridge-id>

<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">

<hide-vrrp-holder xmlns="urn:brocade.com:mgmt:brocade-vrrp">

<vrrp/>

</hide-vrrp-holder>

Advertising