Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 283

Network OS NETCONF Operations Guide
251
53-1003231-02
Configuring AMPP port-profiles
19
<activate xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
</port-profile>
</port-profile-global>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1710" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
2. Issue the <edit-config> RPC to configure the <port-profile>/<qos-profile> node in the
urn:brocade.com:mgmt:brocade-port-profile namespace. Under the <qos-profile> node,
configure the following entities.
a. Apply the CEE map.
<cee>default</cee>
b. Set the default CoS value.
<qos>
<cos>7</cos>
</qos>
c. Set the QoS trust attribute for CoS
<qos>
<trust>
<trust-cos/>
</trust>
</qos>
d. Apply a map to the profile. You may either apply the existing CoS-to-CoS mutation map, or
apply the existing CoS-to-Traffic-Class map.
The following code snippet applies the existing CoS-to-CoS mutation map:
<qos>
<cos-mutation>vm1-cos2cos-map</cos-mutation>>
</qos>
The following code snippet applies the existing CoS-to-Traffic-Class map:
<qos>
<cos-traffic-class>vm1-cos2traffic-map</cos-traffic-class>
</qos>
e. Enable pause generation with or without PFC.
The following code snippet enables pause generation without PFC:
<qos>
<flowcontrol>
<flowcontrolglobal>
<tx>on</tx>
<rx>on</rx>
</flowcontrolglobal>
</flowcontrol>
</qos>