The port shaping bind mtunnel command sets a peak rate at which the MTunnel interface in the distributed multicast VPN can send data.
The undo port shaping bind mtunnel command cancels the peak rate at which the MTunnel interface in the distributed multicast VPN can send data.
By default, the shaping rate of an interface equals the bandwidth of the interface.
Parameter | Description | Value |
---|---|---|
shaping-value |
Specifies the rate for traffic shaping, namely, the peak bandwidth at which the loopback interface in the distributed multicast VPN can send data after traffic shaping is configured. The value is equal to the peak information rate. |
The value is an integer ranging from 1 to 4294967294, in Mbit/s. The value can be a string of 256 KB or 512 KB, in bit/s. |
Usage Scenario
If the incoming traffic from the upstream distributed multicast VPN is too heavy, the downstream device may be congested or a great number of packets are directly discarded. To prevent this situation, you can configure traffic shaping on the MTunnel interface of the distributed multicast VPN on the upstream router to limit the traffic rate and burst size of a connection from the desired network. In this manner, packets can be transmitted at a rather even speed rate.
Configuration Impact
This command is circular in nature. That is, the latest traffic shaping configuration overrides the previous ones.
To configure traffic shaping on the MTunnel interface in a distributed multicast VPN, you need to enable simple traffic classification on the interface, which corresponds to the MTunnel interface, at the side of the public network; otherwise, traffic will be transiently interrupted intermittently.