CHAPTER 10. QoS
Policing-based CoS Marking, CoS Re-
marking, and L2-based CoS Re-marking
Policing-based CoS marking allows the assignment of CoS attributes based on
the traffic conformance level(metered against agreed rates). CoS assignment is
done using two global tables namely L3 CoS marking table and L2 CoS
marking table. The L2 CoS marking table is used for non-IP traffic and the
indices into this table are UP and conformance level. The L3 CoS marking
table is used for IP traffic and the indices into the table are DSCP and
conformance level. Policing based CoS marking can be achieved using the
following configuration
To create a policy map, enter:
Router/configure/qos# policy-map <map-name>
To create a policy class enter:
Router/configure/qos/policy-map <map-name># policy-class
<classname>
To create a policy rule, enter:
Router/configure/qos/policy-map <map-name>/policy-class
<classname># match ipv4 src-ip 20.20.20.20
To map this policy to an interface, enter:
Router/configure/interface/ethernet (<name>)/qos# service-
policyinput <map-name>
To configure a policer for the class configured above, enter:
Router/configure/qos/policy-map <map-name>/policy-class
<classname># police
Router/configure/qos/policy-map <map-name>/policy-class
<classname>/ police# srtcm <rate_in_kbps> cbs
<committed_burst_in_bytes> ebs <excess_burst_in_bytes>
218
© SAMSUNG Electronics Co., Ltd.