Map access-list ip, Table 4-5, Mapping cos values to acl rules – Alcatel Carrier Internetworking Solutions OmniStack 6300-24 User Manual

Page 419

Advertising
background image

Priority Commands

4-207

4

Example

The following example shows how to map IP DSCP value 1 to CoS value 0:

map access-list ip

This command sets the output queue for packets matching an ACL rule. The
specified CoS value is only used to map the matching packet to an output queue; it
is not written to the packet itself. Use the no form to remove the CoS mapping.

Syntax

[no] map access-list ip acl_name cos cos-value

- acl_name – Name of the ACL. (Maximum length: 16 characters)
- cos-value – CoS value. (Range: 0-7)

Default Setting

None

Command Mode

Interface Configuration (Ethernet)

Command Usage

Command Usage

• You must configure an ACL mask before you can map CoS values to the rule.
• A packet matching a rule within the specified ACL is mapped to one of the

output queues as shown in the following table. For information on mapping the
CoS values to output queues, see queue cos-map on page 4-200.

Example

Related Commands

queue cos-map (4-200)
show map ip port (4-208)

Console(config)#interface ethernet 1/5
Console(config-if)#map ip dscp 1 cos 0
Console(config-if)#

Table 4-5. Mapping CoS Values to ACL Rules

Queue

0

1

2

3

Priority

1,2

0,3

4,5

6,7

Console(config)#interface ethernet 1/2
Console(config-if)#map access-list ip bill cos 0
Console(config-if)#

Advertising