Configuration Examples
691
M4300 Series and M4300-96X Fully Managed Switches User Manual
Color aware mode takes into consideration the current packet marking when determining
the policing outcome. An auxiliary traffic class is used in conjunction with the policing
definition to specify a value for one of the 802.1p, secondary 802.1p, IP DSCP, or IP
Precedence fields designating the incoming color value to be used as the conforming
color. The color of exceeding traffic can be optionally specified as well.
• Counting. Updating octet and packet statistics to keep track of data handling along traf
fic
paths within Dif
fServ. In this DiffServ feature, counters are not explicitly configured by the
user, but are designed into the system based on the DiffServ policy being created. See
the Statistics section of this document for more details.
• Assigning QoS Queue. Directs traf
fic stream to the specified QoS queue.
This allows a
traffic classifier to specify which one of the supported hardware queues are used for
handling packets belonging to the class.
• Redirecting. Forces classified traffic stream to a specified egress port (physical or LAG).
This can occur in addition to any marking or policing action. It can also be specified along
with a QoS queue assignment.
DiffServ Example Configuration
To create a DiffServ Class/Policy and attach it to a switch interface, follow these steps:
1. From the QoS Class Configuration page, create a new class with the following settings:
• Class Name: Class1
• Class Type: All
For more information about this page, see Configure a DiffServ Class on page 472.
2. Click the Class1 hyperlink to view the DiffServ Class Configuration page for this class.
3. Configure the following settings for Class1:
• Protocol Type:
UDP
• Source IP Address: 192.12.1.0
• Source Mask: 255.255.255.0
• Source L4 Port: Other
, and enter 4567 as the source port value
• Destination IP Address: 192.12.2.0
• Destination Mask: 255.255.255.0
• Destination L4 Port: Other
, and enter 4568 as the destination port value
For more information about this page, see Configure a DiffServ Class on page 472.
4. Click the Apply
button.
5. From the Policy Configuration page, create a new policy with the following settings:
• Policy Selector: Policy1
• Member Class: Class1
For more information about this page, see Configure DiffServ Policy on page 480.
6. Click the Add button.