beautypg.com

Dscp matching, Using an acl to change the forwarding queue – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 958

background image

924

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

QoS options for IP ACLs

TurboIron(config)#acc 104 per ip any any 802.1p-and-internal-marking 1

Syntax: access-list <num(100-199)> permit ip any any 802.1p-and-internal-marking <priority

value (0-7)>

For TCP

TurboIron(config)#acc 105 per tcp any any 802.1p-and-internal-marking 1

Syntax: access-list <num(100-199)> permit tcp any any 802.1p-and-internal-marking <priority

value (0-7)>

For UDP

TurboIron(config)#acc 105 per udp any any 802.1p-and-internal-marking 1

Syntax: access-list <num(100-199)> permit udp any any 802.1p-and-internal-marking <priority

value (0-7)>

In each of these examples, the 802.1p value and internal priority value were set to 1.

Using an ACL to change the forwarding queue

The 802.1p-and-internal-marking 0 – 7 parameter does the following:

Re-marks the packets of the 802.1Q traffic that match the ACL with this new priority, or marks
the packets of the non-802.1Q traffic that match the ACL with this priority, later at the outgoing
802.1Q interface.

Assigns traffic that matches the ACL to the specific hardware forwarding queue (qosp0 –
qosp7
).

NOTE

The 802.1p-and-internal-marking option overrides port-based priority settings.

In addition to changing the internal forwarding priority, if the outgoing interface is an 802.1Q
interface, this parameter maps the specified priority to its equivalent 802.1p (CoS) priority and
marks the packet with the new 802.1p priority.

Table 141

lists the default mappings of hardware

forwarding queues to 802.1p priorities.

The complete CLI syntax for 802.1p priority marking and internal priority marking is shown in

“Configuring extended numbered ACLs”

on page 905 and

“Configuring extended named ACLs”

on

page 911. Also refer to

“Combined ACL for 802.1p marking”

on page 923. The following shows the

syntax specific to this feature.

Syntax: ... 802.1p-and-internal-marking <0 – 7>

DSCP matching

The dscp-matching option matches on the packet DSCP value. This option does not change the
packet forwarding priority through the device or mark the packet.

TABLE 141

Default mapping of forwarding queues to 802.1p priorities

Forwarding
Queue

qosp0

qosp1

qosp2

qosp3

qosp4

qosp5

qosp6

qosp7

802.1p

0

1

2

3

4

5

6

7