Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 582

Advertising
background image

550

Network OS NETCONF Operations Guide

53-1003231-02

Configuring a multigroup virtual router cluster

35

Configuring Router 2 as master for second virtual router group

The following example <edit-config> RPC configures Router2 as the master for the second router
group. Ensure that VCS Fabric mode is enabled, and then perform the following steps.

1. Establish a NETCONF session with Router 2.

2. To configure the Ethernet interface link for Router 2, enable configuration of VE interface 15.

3. Assign Router 2 to group 2.

4. Configure Ethernet port 3/2 as the tracking port for VE interface 15, with a track priority of 20.

VE interface 15 will have its priority reduced to 20 should port 3/2 fail.

5. Configure 192.53.5.253 as the virtual IP address for group 2.

NOTE

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

6. To establish Router 2 as the master, set the priority to 110; that is, a higher value than the

default value of 100.

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

<rpc message-id="3508" 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>102</rbridge-id>

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

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

<vrrp/>

</hide-vrrp-holder>

</protocol>

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

<ve>

<name>15</name>

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

<vrid>2</vrid>

<virtual-ip>

<virtual-ipaddr>192.53.5.253</virtual-ipaddr>

</virtual-ip>

<track>

<interface>

<interface-type>tengigabitethernet

</interface-type>

<interface-name>3/2</interface-name>

<track-priority>20</track-priority>

</interface>

</track>

<priority>110</priority>

</vrrpe>

</ve>

</interface>

</rbridge-id>

</config>

Advertising