Priority maps – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 501

Advertising
background image

Network OS NETCONF Operations Guide

469

53-1003231-02

Port-based Policier

29

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

<name>pmap1</name>

<match>

<any/>

</match>

</class-map>

</rpc-reply>

Priority maps

The following example displays the running configured police priority map name and mapping of
CoS values for conform and exceed color priorities. It uses the <get-config> RPC with a subtree
filter to limit the output to the contents of the <police-priority-map> node in the
urn:brocade.com:mgmt:brocade-policer namespace.

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

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

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

<police-priority-map xmlns="urn:brocade.com:mgmt:brocade-policer"/>

</filter>

</get-config>

</rpc>

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

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

<name>pmap1</name>

<conform>

<map-pri0-conform>1</map-pri0-conform>

<map-pri1-conform>1</map-pri1-conform>

<map-pri2-conform>2</map-pri2-conform>

<map-pri3-conform>1</map-pri3-conform>

<map-pri4-conform>2</map-pri4-conform>

<map-pri5-conform>2</map-pri5-conform>

<map-pri6-conform>1</map-pri6-conform>

<map-pri7-conform>1</map-pri7-conform>

</conform>

<exceed>

<map-pri0-exceed>1</map-pri0-exceed>

<map-pri1-exceed>1</map-pri1-exceed>

<map-pri2-exceed>1</map-pri2-exceed>

<map-pri3-exceed>1</map-pri3-exceed>

<map-pri4-exceed>1</map-pri4-exceed>

<map-pri5-exceed>1</map-pri5-exceed>

<map-pri6-exceed>1</map-pri6-exceed>

<map-pri7-exceed>1</map-pri7-exceed>

</exceed>

</police-priority-map>

</rpc-reply>

Advertising