Using Trusted Ports With Policies - Alcatel-Lucent OmniSwitch AOS Release 7 Manual

Network configuration guide
Hide thumbs Also See for OmniSwitch AOS Release 7:
Table of Contents

Advertisement

-> qos trust ports
To configure individual ports as trusted, use the
number. For example:
-> qos port 3/2 trusted
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
page
21-66.
To display information about QoS ports, such as whether or not the port is trusted, use the
command. For example:
-> show qos port
Slot/
Port
Active Trust P/DSCP Classification
1/1
No
No
1/2
Yes
No
1/3
No
No
1/4
No
No
1/5
No
No
1/6
No
No
1/7
No
No
1/8
No
No
1/9
No
No
1/10
No
No
1/11
No
*Yes
1/12
No
*Yes

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). The 802.1p bits can be set or mapped to a single value using the
action 802.1p
command.
In the following example, the qos port command specifies that port 2 on slot 3 are 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 are 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
"Applying the Configuration" on page
For actions that set 802.1p bits, note that a limited set of policy conditions are supported. For information
about which conditions can be used with an 802.1p action, see
page
21-29.
Note. 802.1p mapping can also be set for Layer 3 traffic, which typically has the 802.1p bits set to zero.
OmniSwitch AOS Release 7 Network Configuration Guide
qos port trusted
Default
Default
0/ 0
DSCP
0/ 0
DSCP
0/ 0
DSCP
0/ 0
DSCP
0/ 0
DSCP
0/ 0
DSCP
0/ 0
DSCP
0/ 0
DSCP
0/ 0
DSCP
0/ 0
DSCP
0/ 0
*802.1P
0/ 0
*802.1P
command with the desired slot/port
"Applying the Configuration" on
Bandwidth
Physical Ingress Egress
0K
-
1.00G
-
0K
-
0K
-
0K
-
0K
-
0K
-
0K
-
0K
-
0K
50K
0K
-
0K
-
21-66.
"Condition and Action Combinations" on
March 2011
show qos port
Type
-
ethernet
-
ethernet-1G
-
ethernet
-
ethernet
-
ethernet
-
ethernet
-
ethernet
-
ethernet
-
ethernet
-
ethernet
-
ethernet
-
ethernet
policy
page 21-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 7

Table of Contents