Using Trusted Ports With Policies - OmniSwitch os6900 Network Configuration Manual

Table of Contents

Advertisement

Configuring QoS
The port trust setting can be configured globally or on a per-port basis to override the global setting.
To configure the global setting on the switch, use the
-> 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. See
"Applying the Configuration" on page 25-71
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. See
page 25-71
for more information.
For actions that set 802.1p bits, note that a limited set of policy conditions are supported. See
and Action Combinations" on page 25-33
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
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
for more information.
qos trust-ports
command. For example:
qos port trusted
command with the desired slot/port
for more information.
Bandwidth
Physical Ingress Egress
0K
-
1.00G
-
0K
-
0K
-
0K
-
0K
-
0K
-
0K
-
0K
-
0K
50K
0K
-
0K
-
"Applying the Configuration" on
June 2013
Classification
show qos port
DEI
Map/Mark
Type
-
No / No
ethernet
-
No / No
ethernet-1G
-
No / No
ethernet
-
No / No
ethernet
-
No / No
ethernet
-
No / No
ethernet
-
No / No
ethernet
-
No / No
ethernet
-
No / No
ethernet
-
No / No
ethernet
-
No / No
ethernet
-
No / No
ethernet
policy
"Condition
page 25-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents