Cabletron Systems 9032578-02 Router User Manual


 
SmartSwitch Router User Reference Manual 181
Chapter 11: QoS Configuration Guide
Configure Layer-2 QoS
QoS policies applied to layer-2 flows allow you to assign priorities based on source and
destination MAC addresses. A QoS policy set for a layer-2 flow allows you to classify the
priority of traffic from:
A specific source MAC address to a specific destination MAC address (use only when
the port is in flow bridging mode)
Any source MAC address to a specific destination MAC address
Before applying a QoS policy to a layer-2 flow, you must first determine whether a port is
in address-bridging mode or flow-bridging mode. If a port operates in address-bridging
mode (default) then you can specify the priority based on the destination MAC address
and a VLAN ID. You can also specify a list of ports to apply the policy.
If a port operates in flow-bridging mode, the user can be more specific and configure
priorities for frames that match both a source AND a destination MAC address and a
VLAN ID. You can also specify a list of ports to apply the policy.
Note:
In flow mode, you can also ignore the source MAC address and configure the
priority based on the destination MAC address only.
When applying QoS to a layer-2 flow, priority can be assigned as follows:
The frame gets assigned a priority within the switch. Select “low, medium, high or
control”.
The frame gets assigned a priority within the switch, AND if the exit ports are trunk
ports, the frame is assigned an 802.1Q priority. Select a number from 0 to 7. The
mapping of 802.1Q to internal priorities is the following: (0 = low) (1,2,3 =medium)
(4,5,6 = high) (7 = control)
To set a QoS policy on a layer-2 flow, enter the following command in Configure mode:
Configuring Layer-3 & Layer-4 QoS
QoS policies applied at layer-3 and 4 allow you to assign priorities based on specific fields
in the IP and IPX headers. You can set QoS policies for IP flows based on source IP
address, destination IP address, source TCP/UDP port, destination TCP/UDP port, type
of service (TOS) and transport protocol (TCP or UCP). You can set QoS policies for IPX
flows based on source network, source node, destination network, destination node,
source port and destination port. A QoS policy set on an IP or IPX flow allows you to
classify the priority of traffic based on:
Set a Layer-2 QoS
policy.
qos set l2 name
<name>
source-mac
<MACaddr>
dest-mac
<MACaddr>
vlan
<vlanID>
in-port-list
<port-list>
priority
control|high|medium|low|
<trunk-priority>