Traffic-shape actions specify the maximum rate of traffic transmitted on an interface. You can create traffic-shape actions in JUNOS shaping policy rules.
The type of action that you can create depends on the type of policy rule. See Policy Information Model.
Use the following configuration statements to configure traffic-shape actions:
- policies group name list name rule name traffic-shape name {
- rate rate ;
- description description ;
- }
To configure a traffic-shape action:
- user@host# edit policies group junos list
trafficShaping rule shaping traffic-shape
tsa
- [edit policies group junos list trafficShaping rule shaping
traffic-shape tsa]
- user@host# set rate rate
- [edit policies group junos list trafficShaping rule shaping
traffic-shape tsa]
- user@host# set description description
[edit policies group junos list trafficShaping rule shaping traffic-shape tsa] user@host# show rate 10200000; description "Traffic-shaping action";