Traffic class mapping, Mapping cos-to-traffic-class – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 469

Network OS NETCONF Operations Guide
437
53-1003231-02
Queueing
29
2. Return a list of interfaces that are bound to a DSCP-to-CoS map using an xpath filter.
You must use an xpath filter and not a subtree filter in this case, because the element to be
used for the selection criteria (<dscp-cos>name</dscp-cos>) resides at a lower level in the
hierarchy than the information to be retrieved (the interface name).
The following example returns the interface names to which the DSCP-to-CoS map named
“test” is bound. In this case, the map named “test” is bound to interfaces 0/59 and 0/60.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2317">
<get-config>
<source>
<running></running>
</source>
<filter type="xpath"
select="/interface/tengigabitethernet/qos[dscp-cos='test']">
</filter>
</get-config>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2317">
<data>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>0/59</name>
<qos xmlns="urn:brocade.com:mgmt:brocade-qos">
<default-cos>0</default-cos>
<dscp-cos>test</dscp-cos>
</qos>
</tengigabitethernet>
<tengigabitethernet>
<name>0/60</name>
<qos xmlns="urn:brocade.com:mgmt:brocade-qos">
<default-cos>0</default-cos>
<dscp-cos>test</dscp-cos>
</qos>
</tengigabitethernet>
</interface>
</data>
</rpc-reply>
Traffic class mapping
The Brocade switch supports eight unicast traffic classes for isolation and to control servicing for
different priorities of application data. Traffic classes are numbered from 0 through 7, with higher
values designating higher priority.
Refer to the Network OS Administrator’s Guide for an explanation of default user-priority to traffic
class mappings for unicast traffic and for multicast traffic.
Mapping CoS-to-Traffic-Class
NOTE
Creating a CoS-to-Traffic-Class map is available only in standalone mode.