Classifying and Conditioning Ingress Traffic
Define an ACL and Access Group
Define Incoming Packet Priorities
Define the Traffic Classes With the class-map Command
Classifying and Scheduling Egress Class Traffic
Define the Egress Scheduler Behavior
You can use the meter command to set the rate (in Mbps) and burst tolerance (in KB) of a traffic stream.
SEFOS# configure terminal SEFOS(config)# meter 4000 SEFOS(config-meter)# meter-type srTCM color-mode blind cir 5000 cbs 50 ebs 50 SEFOS(config-meter)# exit SEFOS(config)# meter 4001 SEFOS(config-meter)# meter-type trTCM color-mode blind cir 5000 cbs 50 eir 7000 ebs 100 SEFOS(config-meter)# exit SEFOS(config)# meter 4002 SEFOS(config-meter)# meter-type trTCM color-mode blind cir 7000 cbs 50 eir 9000 ebs 100 SEFOS(config-meter)# exit SEFOS(config)# exit
SEFOS# show meter QoS Meter Entries ----------------- MeterId : 4000 Type : SRTCM Color Mode : Color Blind Interval : None CIR : 5000 CBS : 50 EIR : None EBS : 50 NextMeter : None Status : Active MeterId : 4001 Type : TRTCM Color Mode : Color Blind Interval : None CIR : 5000 CBS : 50 EIR : 7000 EBS : 100 NextMeter : None Status : Active MeterId : 4002 Type : TRTCM Color Mode : Color Blind Interval : None CIR : 7000 CBS : 50 EIR : 9000 EBS : 100 NextMeter : None Status : Active
The MeterID 4000 value defines a meter with the same CBS and EBS. This meter is effectively a simple token bucket meter.