SMC Networks SMC8724ML3 Switch User Manual


 
Q
UALITY
OF
S
ERVICE
3-221
CLI - This example creates a class map call “rd-class,” and sets it to match
packets marked for DSCP service value 3.
Creating QoS Policies
This function creates a policy map that can be attached to multiple
interfaces.
Command Usage
To configure a Policy Map, follow these steps:
- Create a Class Map as described on page 3-218.
- Open the Policy Map page, and click Add Policy.
- When the Policy Configuration page opens, fill in the “Policy Name”
field, and click Add.
- When the Policy Rule Settings page opens, select a class name from
the scroll-down list (Class Name field). Configure a policy for traffic
that matches criteria defined in this class by setting the quality of
service that an IP packet will receive (in the Action field), defining the
maximum throughput and burst rate (in the Meter field), and the
action that results from a policy violation (in the Exceed field). Then
finally click Add to register the new policy.
A policy map can contain multiple class statements that can be applied
to the same interface with the Service Policy Settings (page 3-225). You
can configure up to 63 policers (i.e., class maps) for Fast Ethernet and
Gigabit Ethernet ingress ports, and up to 225 policers for 10G Ethernet
ingress ports.
Policing is based on a token bucket, where bucket depth (i.e., the
maximum burst before the bucket overflows) is by specified the “Burst”
field, and the average rate tokens are removed from the bucket is by
specified by the “Rate” option.
Console(config)#class-map rd_class match-any 4-286
Console(config-cmap)#match ip dscp 3 4-287
Console(config-cmap)#exit
Console(config)#access-list ip mask-precedence in 4-117
Console(config-ip-mask-acl)#mask any any dscp 4-123
Console(config-ip-mask-acl)#