Verifying qos trust – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 455

Advertising
background image

Network OS NETCONF Operations Guide

423

53-1003231-02

Queueing

29

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

<rpc message-id="2301" 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>

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

<trust>

<trust-cos/>

</trust>

</qos>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Verifying QoS trust

To verify that QoS trust has been applied to the interface, issue the <get-config> RPC with a
subtree filter to query the <qos>/<trust> element of the interface.

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

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

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

<trust/>

</qos>

</tengigabitethernet>

</interface>

</filter>

</get-config>

</rpc>

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

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

<tengigabitethernet>

<name>22/0/2</name>

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

<trust>

<trust-cos/>

</trust>

</qos>

</tengigabitethernet>

Advertising