Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 574

Advertising
background image

542

Network OS NETCONF Operations Guide

53-1003231-02

Configuring the track priority

35

The procedure for configuring track priority differs depending on the Ethernet link interface type,
which for VRRP can be a physical Ethernet link (10 Gigabit Ethernet, Gigabit Ethernet, 40 Gigabit
Ethernet), port-channel, or VE. For VRRP-E, the Ethernet link interface type must be VE.

Configuring track priority for physical Ethernet or port-channel

To configure the track priority for a physical Ethernet link or port-channel, perform the following
steps.

1. Issue the <edit-config> RPC to configure the <interface> node in the

urn:brocade.com:mgmt:brocade-interface namespace.

2. Under the <interface> node, specify the <gigabitethernet>, <tengigabitethernet>,

<fortygigabitethernet>, <hundredgigabitethernet>, or <port-channel> node, depending on the
Ethernet link interface type.

3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,

<hundredgigabitethernet>, or <port-channel> node, include the <name> element and specify
the name of the backup router interface.

4. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,

<hundredgigabitethernet>, or <port-channel> node, include the <vrrp> node element located
in the urn:brocade.com:mgmt:brocade-vrrp namespace.

5. Under the <vrrp> node, include the <vrid> element and specify the group ID of the VRRP router

group.

6. Under the <vrrp> node, include the <track> node element.

7. Under the <track> node, include the following leaf elements.

a. In the <interface-type> element, specify the type of interface to be tracked. This type can

be gigabitethernet, tengigabitethernet, fortygigabitethernet, hundredgigabitethernet, or
port-channel.

b. In the <interface-name> element, specify the name of the interface to be tracked in

[rbridge-id/]slot/port format or port-channel number.

c. In the <track-priority> element, specify the reduction in priority that the interface specified

in

step 3

will have if the tracked interface goes down.

The following example reduces the priority of interface 101/1/6 by 60 if interface 2/4 goes down.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<tengigabitethernet>

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

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

<vrid>1</vrid>

<track>

<interface>

<interface-type>tengigabitethernet</interface-type>

<interface-name>2/4</interface-name>

<track-priority>60</track-priority>

Advertising