22.10.2013 Views

FTOS Configuration Guide for Z9000 System - Force10 Networks

FTOS Configuration Guide for Z9000 System - Force10 Networks

FTOS Configuration Guide for Z9000 System - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

By default, if no match occurs, the packet is queued to the default queue, Queue 0.<br />

In the following configuration, packets are classified to queues using the three class maps:<br />

!<br />

policy-map-input input-policy<br />

service-queue 1 class-map qos-BE1<br />

service-queue 3 class-map qos-AF3<br />

service-queue 4 class-map qos-AF4<br />

!<br />

class-map match-any qos-AF3<br />

match ip dscp 24<br />

match ip access-group qos-AF3-ACL<br />

!<br />

class-map match-any qos-AF4<br />

match ip dscp 32<br />

match ip access-group qos-AF4-ACL<br />

!<br />

class-map match-all qos-BE1<br />

match ip dscp 0<br />

match ip access-group qos-BE1-ACL<br />

The packet classification logic <strong>for</strong> the above configuration is as follows:<br />

1. Match packets against match-any qos-AF4. If a match exists, queue the packet as AF4 in Queue 4, and<br />

if no match exists, go to the next class map.<br />

2. Match packets against match-any qos-AF3. If a match exists, queue the packet as AF3 in Queue 3, and<br />

if no match exists, go to the next class map.<br />

3. Match packets against match-all qos-BE1. If a match exists, queue the packet as BE1, and if no match<br />

exists, queue the packets to the default queue, Queue 0.<br />

You can optionally classify packets using their DSCP marking, instead of placing packets in Queue 0, if no<br />

match occurs. In the above example, if no match occurs against match-all qos-BE1, the classification logic<br />

continues:<br />

4. Queue the packet according to the DSCP marking. The DSCP to Queue mapping will be as per the<br />

Table 32-5.<br />

The behavior is similar <strong>for</strong> trust dot1p fallback in a Layer2 input policy map; the dot1p-to-queue mapping<br />

is according to Table 32-6.<br />

To enable Fall Back to trust diffserve or dot1p:<br />

Task Command Syntax Command Mode<br />

Classify packets according to their DSCP value as a secondary<br />

option in case no match occurs against the configured class<br />

maps.<br />

trust {diffserve | dot1p}<br />

fallback<br />

POLICY-MAP-IN<br />

Quality of Service (QoS) | 635

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!