Port-based traffic shaping x430 and x440

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
Hi, I`m looking for an easy way (and best practice) to do port-based traffice shaping ingress/egress on both x430 and x440.

-Is the way we shape x440 today best practice?
-As far as I know, the x430 does not have the meter feature, how should we do shaping on x430?


On x440 to day we use:

Egress:
configure ports XX
rate-limit egress 11 Mbps max-burst-size 400 Kb


Ingress:

Meter:
create meter
US10Mbit


configure meter
US10Mbit committed-rate 11000 Kbps max-burst-size 400 Kb out-action drop



Then we add a script:


edit policy
US10Mbit.pol




#Acl entry US10Mbit



entry US10Mbit



{



if match all {



     
}



then


 {



count limit_counter;


permit;



meter US10Mbit;


 

}

}



And at the end, add the port we want to shape:
configure
access-list US10Mbit port 22 ingress
Photo of Nobel

Nobel

  • 282 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello Truls

Yes that is the best way to use meters and QoS queues.  Depending on where in the network you are using them you may be able to use some in one part over the other, for example edge versus core.

Metering should be there in the 430 it is part of the L2 Edge license which comes with the 430.

Hope that helps

P
Photo of Nobel

Nobel

  • 282 Points 250 badge 2x thumb
Wow, thanks, I have no idea how I missed that.

One thing when using meters and acl`s like this:
as far as I see, the acl is added to the port (and not the other way), so if I use this method to shape more than one port, each port will get a maximum committed-rate of 10 mbit and not share 10 mbit all together?
Photo of Nobel

Nobel

  • 282 Points 250 badge 2x thumb
We are shaping on edge switches (US/DS towards customers), what max-burst-size would you recommend?