Disabling udld, Retrieving udld statistics – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 407

Advertising
background image

Network OS NETCONF Operations Guide

375

53-1003231-02

Configuring UDLD

25

Disabling UDLD

To disable UDLD, perform the following steps.

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

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

2. Under the <protocol> node, include the shutdown for the <udld> node element from the

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

3. Under the <udld> node element, include the <disable> leaf element. The following example

disables UDLD.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

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

<shutdown/>

</udld>

</protocol>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Retrieving UDLD statistics

Use the <get-config> RPC to retrieve the current configuration data and operational state data.
Refer to

“Retrieving configuration data”

on page 11 and

“Retrieving operational data”

on page 15

for detailed instructions.

Advertising