Policy Applications

Configuring QoS

page 24-52

OmniSwitch 6600 Family Network Configuration Guide

April 2006

-> policy condition my_condition source ip 10.10.3.0 mask 255.255.255.0

-> policy action my_action 802.1p 5

-> policy rule marking condition my_condition action my_action

In the next example, the 

policy map group

 command specifies a group of values that should be mapped; 

the 

policy action map

 command specifies what should be mapped (802.1p to 802.1p, ToS/DSCP to 

802.1p) and the mapping group that should be used. For more details about creating map groups, see 

“Creating Map Groups” on page 24-44

.

Here, traffic from two different subnets must be mapped to 802.1p values in a network called Network C. 

A map group (

tosGroup

) is created with mapping values. 

-> policy map group tos_group 1-4:4 5-7:7

-> policy condition SubnetA source ip 10.10.5.0 mask 255.255.255.0

-> policy condition SubnetB source ip 12.12.2.0 mask 255.255.255.0

-> policy action map_action map tos to 802.1p using tos_group

The 

map_action

 specifies that ToS values will be mapped to 802.1p with the values specified in 

tos_group

. With these conditions and action set up, two policy rules can be configured for mapping 

Subnet A and Subnet B to the ToS network:

-> policy rule RuleA condition SubnetA action map_action

-> policy rule RuleB condition SubnetB action map_action

Network C

OmniSwitch

Mapping Application

Subnet A

10.10.5.0

Subnet B

12.12.2.0

OmniSwitch 6648

OmniSwitch 6648

OmniSwitch 6648

OmniSwitch 6648

Mapping

policy

Page 532
Image 532
Open full-size image