Alcatel-Lucent 6850-48 ネットワークガイド

ページ / 1162
Configuring QoS
QoS Ports and Queues
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 40-29
The global setting is active immediately; however, the port setting requires qos apply to activate the 
change. For more information about the qos apply command, see 
.
Using Trusted Ports With Policies
Whether or not the port is trusted is important if you want to classify traffic with 802.1p bits. If the policy 
condition specifies 802.1p, the switch must be able to recognize 802.1p bits. (Note that the trusted port 
must also be 802.1Q-tagged as described in 
.) The 802.1p bits may be set or mapped to a single value using th
 command. In this example, the qos port command specifies that port 2 on slot 3 will be able to 
recognize 802.1p bits. A policy condition (Traffic) is then created to classify traffic containing 802.1p bits 
set to 4 and destined for port 2 on slot 3. The policy action (SetBits) specifies that the bits will be reset to 
7 when the traffic egresses the switch. A policy rule called Rule2 puts the condition and the action 
together.
-> qos port 3/2 trusted
-> policy condition Traffic destination port 3/2 802.1p 4
-> policy action SetBits 802.1p 7
-> policy rule Rule2 condition Traffic action SetBits
To activate the configuration, enter the qos apply command. For more information about the qos apply 
command, see 
.
For actions that set 802.1p bits, note that a limited set of policy conditions are supported. For information 
about which conditions may be used with an 802.1p action, see 
 
an
Note. 802.1p mapping may also be set for Layer 3 traffic, which typically has the 802.1p bits set to zero.