Traffic Shaping
此内容尚不支持你的语言。
port-shaper enable
Section titled “port-shaper enable”[Command] port-shaper enablepir pbs
[Purpose] Configure interface traffic shaping
[Parameter]
| Parameter | Description |
|---|---|
| pir | Specifies the peak information rate of the queue, the unit is byte/s |
| pbs | 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 1sonic(config-if-1)# port-shaper enable 5000000 2000000