Example: Configuring Rate Limits on SONET/SDH OC48/STM16 IQE PICs
This example limits the transmit rate of a strict-high
expedited forwarding queue to 1 megabit per second (Mbps). The
scheduler and scheduler map are defined and then applied to the traffic
at the [edit interfaces]
and [edit class-of-service]
hierarchy levels:
[edit class-of-service] schedulers { scheduler-1 { transmit-rate 1m rate-limit; # This establishes the limit priority strict-high; } } scheduler-maps { scheduler-map-1 { forwarding-class expedited-forwarding scheduler scheduler-1; } } [edit interfaces] s0-2/1/0 { per-unit-scheduler; encapsulation frame-relay; unit 0 { dlci 1; } } [edit class-of-service] interfaces { so-2/1/0 { unit 0 { scheduler-map scheduler-map-1; shaping-rate 2m; } } }
You can issue the following operational mode commands to verify your configuration (the first shows the rate limit in effect):
show class-of-service scheduler-map scheduler-map-name
show class-of-service interface interface-name