Applying a cee provisioning map to an interface, Verifying the cee maps – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 490

Advertising
background image

458

Network OS NETCONF Operations Guide

53-1003231-02

Data Center Bridging map configuration

29

Applying a CEE provisioning map to an interface

To apply a CEE provisioning map to an interface, 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, include the <gigabitethernet>, <tengigabitethernet>,

<fortygigabitethernet>, <hundredgigabitethernet>, or <port-channel> node element.

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

<hundredgigabitethernet>, or <port-channel> node, include the following leaf elements.

a. In the <name> element, specify the name of the interface to which you want to apply the

CEE map. Specify the name in the format [rbridge-id/]slot/port or port-channel number.

b. In the <cee> element, specify the name of the CEE map. The only valid CEE map name is

“default.”

4. Issue the <bna-config-cmd> RPC to save the running-config file to the startup-config file.

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

<rpc message-id="2339" 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>22/0/2</name>

<cee>default</cee>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Verifying the CEE maps

To verify the CEE map, issue the <get-config> RPC with a subtree filter to return the CEE default
map information.

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

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

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

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

<name>default</name>

</cee-map>

</filter>

</get-config>

</rpc>

Advertising