Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 433

Advertising
background image

Network OS NETCONF Operations Guide

401

53-1003231-02

Configuring LLDP global options

27

a. In the <PGID> element, specify the priority group ID.

b. In the <weight> element, map a weight to a Deficit Weighted Round Robin (DWRR)

scheduler queue.

c. In the <pfc> element, specify “on” to enable priority-based flow control.

5. Under the <cee-map> node, provide the priority table in the <priority-table> node element.

6. Under the <priority-table> node, include an element entry for each CoS level to define the

mapping to a priority group.

For example, <map-cos4-pgid>2</map-cos4-pgid> maps CoS 4 to priority group 2.

To configure the iSCSI profiles, 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 in the

urn:brocade.com:mgmt:brocade-lldp namespace to enable and configure LLDP.

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

4. Under the <profile> node, include the following leaf elements:

a. In the <profile-name> element, assign a name to the profile.

b. Include the <advertise>/<dcbx-iscsi-app-tlv/> hierarchy of elements to advertise the TLV.

To assign the iSCSI profile to an interface, under the top-level <interface> node in the
urn:brocade.com:mgmt:brocade-interface namespace, include a <gigabitethernet>,
<tengigabitethernet>, <fortygigabitethernet>, or <hundredgigabitethernet> node element.

1. Under the <hundredgigabitethernet>, <gigabitethernet>, <tengigabitethernet>, or

<fortygigabitethernet> node, include a <name> element to identify the interface in
[rbridge-id/]slot/port format.

2. Under the <hundredgigabitethernet>, <gigabitethernet>, <tengigabitethernet>, or

<fortygigabitethernet> node, include an <lldp> node element, which resides in the
urn:brocade.com:mgmt:brocade-lldp namespace.

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

4. Under the <cee> node, include the <lldp-cee-on-off> leaf element and set its value to “on” to

apply the CEE provisioning map to the interface.

5. Under the <lldp> node, include the <profile> element to apply the LLDP profile you created for

iSCSI.

6. Under the <lldp> node, include the <iscsi-priority> element to set the iSCSI priority bits for the

interface.

7. Repeat the <hundredgigabitethernet>, <gigabitethernet>, <tengigabitethernet>, or

<fortygigabitethernet> node element for each additional interface.

The following example configures a CEE map, configures an iSCSI profile using that map, and
applies the profile to an interface.

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

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

<edit-config>

<target>

<running/>

Advertising