Installation and User Manual
EtherHaul
1200™
EH-INST-02, Issue 4.0
Page 79
7.1.1
QoS Classification
The EtherHaul 1200 QoS Engine classifies the incoming packets by port, VID, PCP, and/or
DSCP (as defined by the IEEE 802.1 Q/p and RFC-2475 standards), or alternatively MPLS
EXP bit and maps them onto {EVC, CoS} pairs.
The classification fields of VID, PCP and DSCP/MPLS-Exp represent the CoS that
determine the egress queue.
Classification based on EVC forwards the packets through the meter and marker.
7.1.1.1
Classifier-Cos Settings
Use the following command to configure classifier-cos:
set classifier-cos <classifier-id: 1..248> [interface <host|eth0|
eth1|eth2>] [precedence <1..8>] [vid < list 0..4094>] [pcp < list
0..7>] [ip-cos <{{dscp-cos | mpls-exp} <list of 0..7>}|dont-care>]
[cos <0..7>]
The default system configuration is priority based on Vlan pBits (PCP) on all interfaces:
# classifier-cos configuring
set classifier-cos 1 interface host,eth0,eth1,eth2 precedence 1
vid 0-4094 pcp 0 ip-cos dont-care cos 0
set classifier-cos 2 interface host,eth0,eth1,eth2 precedence 1
vid 0-4094 pcp 1 ip-cos dont-care cos 1
set classifier-cos 3 interface host,eth0,eth1,eth2 precedence 1
vid 0-4094 pcp 2 ip-cos dont-care cos 2
set classifier-cos 4 interface host,eth0,eth1,eth2 precedence 1
vid 0-4094 pcp 3 ip-cos dont-care cos 3
set classifier-cos 5 interface host,eth0,eth1,eth2 precedence 1
vid 0-4094 pcp 4 ip-cos dont-care cos 4
set classifier-cos 6 interface host,eth0,eth1,eth2 precedence 1
vid 0-4094 pcp 5 ip-cos dont-care cos 5
set classifier-cos 7 interface host,eth0,eth1,eth2 precedence 1
vid 0-4094 pcp 6 ip-cos dont-care cos 6
set classifier-cos 8 interface host,eth0,eth1,eth2 precedence 1
vid 0-4094 pcp 7 ip-cos dont-care cos 7
Classifier-Cos settings example for management priority (for traffic from ports: Host,
Eth2):
set classifier-cos 1 interface host precedence 1 vid 0-4094 pcp 0-
7 ip-cos dont-care cos 7
set classifier-cos 2 interface eth2 precedence 1 vid 0-4094 pcp 0-
7 ip-cos dont-care cos 7