Class maps – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 500

468
Network OS NETCONF Operations Guide
53-1003231-02
Port-based Policier
29
</service-policy>
</tengigabitethernet>
</interface>
</rpc-reply>
The following example returns the running configured policy map. It uses the <get-config> RPC and
a subtree filter to restrict the output to the contents of the <policy-map> node in the
urn:brocade.com:mgmt:brocade-policer namespace.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2348" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<policy-map xmlns="urn:brocade.com:mgmt:brocade-policer"/>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="2349" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<policy-map xmlns="urn:brocade.com:mgmt:brocade-policer">
<po-name>pmap1</po-name>
<class>
<cl-name>default</cl-name>
<police>
<cir>1000</cir>
<cbs>5000</cbs>
<eir>1000</eir>
<ebs>3000</ebs>
<set-priority>pmap1</set-priority>
<conform-set-dscp>61</conform-set-dscp>
<conform-set-tc>7</exceed-set-tc>
<exceed-set-dscp>63</exceed-set-dscp>
<exceed-set-tc>3</exceed-set-tc>
</police>
</class>
</policy-map>
</rpc-reply>
Class maps
The following example displays the running configured class map name and configured match
attribute. It uses the <get-config> RPC and a subtree filter to restrict the output to the contents of
the <class-map> node in the urn:brocade.com:mgmt:brocade-policer namespace.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2350" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<class-map xmlns="urn:brocade.com:mgmt:brocade-policer"/>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="2350" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">