Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 429

Advertising
background image

Network OS NETCONF Operations Guide

397

53-1003231-02

Configuring LLDP global options

27

Configuring the advertisement of LLDP DCBX-related TLVs

For a switch in standalone mode, only the DCBX TLV is advertised by default.

For a switch in Brocade VCS Fabric mode, the following TLVs are advertised by default:

dcbx-tlv

dcbx-fcoe-app-tlv

dcbx-fcoe-logical-link-tlv

To configure the LLDP DCBX-related TLVs to be advertised, perform the following steps.

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 <lldp> node element, which resides in the

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

3. Under the <lldp> node, include the <advertise> node element.

4. Under the <advertise> node, include elements that specify the TLVs you want advertised:

<dcbx-fcoe-app-tlv>

<dcbx-fcoe-logical-link-tlv>

<dcbx-tlv>

<dot1-tlv>

<dot3-tlv>

The following example advertises all the DCBX-related TLVs.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

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

<advertise>

<dcbx-fcoe-app-tlv/>

<dcbx-fcoe-logical-link-tlv/>

<dcbx-tlv/>

<dot1-tlv/>

<dot3-tlv/>

</advertise>

</lldp>

</protocol>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Advertising