Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 568

Advertising
background image

536

Network OS NETCONF Operations Guide

53-1003231-02

VRRP basic configuration example

35

</address>

</ip-config>

</ip>

7. Assign Router 1 to a group. and assign the group a virtual router IP address.

These assignments are done in the <vrrp> node in the urn:brocade.com:mgmt:brocade-vrrp
namespace. The group is identified by group number in the <vrid> element and has a range of
1 through 255. The virtual router IP address is identified in the <virtual-ip>/<virtual-ipaddr>
element.

For VRRP, the physical router whose IP address is the same as the virtual router group IP
address becomes the owner and master.

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

<tengigabitethernet>

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

<vrid>1</vrid>

<virtual-ip>

<virtual-ipaddr>192.53.5.1</virtual-ipaddr>

</virtual-ip>

</vrrp>

The following example configures the basic master router shown in

Figure 8

on page 534.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<vcs-mode>true</vcs-mode>

<vcs-cluster-mode>false</vcs-cluster-mode>

</vcsmode>

<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>

</protocol>

</rbridge-id>

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

<tengigabitethernet>

<name>101/1/6</name>

<ip>

<ip-config

xmlns="urn:brocade.com:mgmt:brocade-ip-config">

<address>

<address>192.53.5.1</address>

</address>

</ip-config>

</ip>

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

<vrid>1</vrid>

<virtual-ip>

<virtual-ipaddr>192.53.5.1</virtual-ipaddr>

</virtual-ip>

Advertising