SMC Networks SMC7824M/FSW Switch User Manual


 
Q
UALITY
OF
S
ERVICE
14-6
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 14-3.
- 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 14-10). You
can configure up to 63 policers (i.e., class maps) for Fast Ethernet and
Gigabit 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 32-3
Console(config-cmap)#match ip dscp 3 32-4
Console(config-cmap)#exit
Console(config)#access-list ip mask-precedence in 4-105
Console(config-ip-mask-acl)#mask any any dscp 4-109
Console(config-ip-mask-acl)#