Description

Some methods to configure shaping-rate and burst thresholds on different platforms are not supported on QFX5100.

 

Symptoms

The three methods seen below are unsupported on QFX5100:

 

1)

{master:0}[edit class-of-service interfaces ge-0/0/10]

root@QFX5100# show

##

## Warning: statement ignored: unsupported platform (qfx5100-24q-2p)

##

shaping-rate 1k;

 

2)

root@QFX5100# set interfaces ge-0/0/10 shaping-rate?

No valid completions

 

3)

{master:0}[edit class-of-service]

root@QFX5100# show

traffic-control-profiles {

   TEST {

       shaping-rate percent 10;

   }

}

interfaces {

   ge-0/0/10 {

       ##

       ## Warning: statement ignored: unsupported platform (qfx5100-24q-2p)

       ##

       output-traffic-control-profile TEST;

   }

}

 

Solution

For QFX5100 specifically the way to go about this is via a Policer and then recalling it on a Firewall Filter.

Below an example with a policer who limits traffic to 100k and a burst limit of 1k:

 

set firewall family ethernet-switching filter FIREWALL term 1 from (any desired matching criteria, can be blank too)

set firewall family ethernet-switching filter FIREWALL term 1 then policer POLICER

set firewall family ethernet-switching filter FIREWALL term 1 then accept

set firewall family ethernet-switching filter FIREWALL term 2 then accept

set firewall policer POLICER if-exceeding bandwidth-limit 100k

set firewall policer POLICER if-exceeding burst-size-limit 1k

set firewall policer POLICER then discard

 

Then the filter can be applied either on ingress or egress, depending on the network requirement:

 

set interfaces ge-0/0/10 unit 0 family ethernet-switching filter input FIREWALL

set interfaces ge-0/0/10 unit 0 family ethernet-switching filter output FIREWALL

 

Modification History

2024-05-21 : Article Created