Verifying vrrp and vrrp-e configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 583

Advertising
background image

Network OS NETCONF Operations Guide

551

53-1003231-02

Verifying VRRP and VRRP-E configuration

35

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Verifying VRRP and VRRP-E configuration

To obtain configuration information about VRRP or VRRP-E for a specific interface, issue the
<get-config> RPC with a subtree filter to limit the output to VRRP information, VRRP-E information,
or information about a specific VRRP or VRRP-E group.

The following example uses a subtree filter to return information about VRRP group 1. To return
information about all VRRP groups configured on this interface, remove the <vrid> element. To
request configuration information about VRRP-E, replace the <vrrp> node with the <vrrpe> node.

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

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

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

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

<tengigabitethernet>

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

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

<vrid>2</vrid>

</vrrp>

</tengigabitethernet>

</interface>

</filter>

</get-config>

</rpc>

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

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

<tengigabitethernet>

<name>102/5/1</name>

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

<priority>110</priority>

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

</vrrp>

</tengigabitethernet>

</interface>

</rpc-reply>

Advertising