Command Line Reference
QoS Configuration
Traffic Shaping
2 min
traffic shaping traffic shaping port shaper enable port shaper enable pir pbs \[command] port shaper enable pir pbs \[purpose] configure interface traffic shaping \[parameter] parameter description pir \<value> specifies the peak information rate of the queue, the unit is byte/s pbs \<value> specifies the peak burst size of the queue, the unit is byte \[view] interface view \[usage scenario] the traffic shaping of the interface can be directly configured based on the interface, and the effective direction is the output direction of the interface \[use cases] sonic(config)# interface ethernet 1 sonic(config if 1)# port shaper enable 5000000 2000000
