286 Chapter 8: QoS Support on the Catalyst 6500
Not all marking rules listed in the Table 8-10 apply to WS-X6224/6248 or WS-X6324/6348
linecards. As mentioned earlier, trust-ipprec and trust-dscp are not supported configura-
tions at the port level for these modules. Also due to hardware limitations, the port ASIC
for these linecards cannot preserve the inbound priority without the administrator entering
additional commands. Therefore, if the desired action is to maintain the inbound CoS
setting, a QoS ACL must be configured with the trust-cos keyword. Furthermore, as a
result of the same port ASIC limitation, if the dscp keyword is specified rather than trust-
cos, the arriving frame is marked based on the specified codepoint rather than the trusted
inbound CoS priority.
Example 8-21 demonstrates how to configure a QoS ACL in Hybrid mode. In this example,
a named ACL called VideoConf is created. For this ACL, the intent is to mark all traffic
destined for TCP ports 1720, 1731, and 1503 with DSCP 26 and to maintain the classifi-
cation established by the default port value for all other traffic. The TCP ports identified are
control ports used in some video conferencing applications. Therefore, DSCP 26, equiv-
alent to precedence 3, is applied to the matching traffic. In this instance, port 4/2 is assumed
to be a trunk port.
After the ACL has been created, a message is sent to the console. It reminds the adminis-
trator to commit the changes to the PFC, removing them from the temporary edit buffer.
Looking at the edit buffer, you can confirm the ACL has not yet been committed.
hybrid (enable) ss
ss
hh
hh
oo
oo
ww
ww
qq
qq
oo
oo
ss
ss
aa
aa
cc
cc
ll
ll
ee
ee
dd
dd
ii
ii
tt
tt
bb
bb
uu
uu
ff
ff
ff
ff
ee
ee
rr
rr
ACL Type Status
-------------------------------- ---- ----------
VideoConf IP Not Committed
hybrid (enable) commit qos acl VideoConf
QoS ACL ’VideoConf’ successfully committed.
hybrid (enable) show qos acl editbuffer
ACL Type Status
-------------------------------- ---- ----------
VideoConf IP Committed
After the ACL has been committed to hardware, you can verify the ACL configuration with
the following command:
hybrid (enable) show qos acl info config VideoConf
set qos acl ip VideoConf
----------------------------------------------
Example 8-21 Configuring and Applying an IP QoS ACL in Hybrid Mode
hybrid (enable) set qos acl ip VideoConf dscp 26 tcp any any eq 1720
VideoConf editbuffer modified. Use ’commit’ command to apply changes.
hybrid (enable) set qos acl ip VideoConf dscp 26 tcp any any eq 1731
VideoConf editbuffer modified. Use ’commit’ command to apply changes.
hybrid (enable) set qos acl ip VideoConf dscp 26 tcp any any eq 1503
VideoConf editbuffer modified. Use ’commit’ command to apply changes.
hybrid (enable) set qos acl ip VideoConf trust-cos ip any any
Warning: ACL trust-cos should only be used with ports that are also configured
with port trust=trust-cos.
VideoConf editbuffer modified. Use ’commit’ command to apply changes.