Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Hello,
my device j2350 is peering with two neighbors, in one peer I want to limit my servers, for example one server 5 mbit/s, second server 2 mbit/s and so on.
What is the best way to do it?
Use firewall policer or anything else?
Hi
What do you mean by "peering with two neighbors" ?
In which way do you wan to limit traffic (inbound or outbound) ?
If you want to limit incoming traffic (inbound) you have to use Firewall policer.
If you want to limit outgoing (outbound) traffic you would rather use shaping (under COS)
HTH
Hi,
I have two bgp peer's, and on one bgp peer I have limited bandwidth.
My aim is not to let one server to full link in this limited peer.
Actually I want to limit traffic in both ways inbound and outbound.
If your two peers are on the same interface you will only be able to do some rate-limiting via an input and output firewall filter !
If you have two different sub-interfaces you would be able to do some more intelligent limiting (shaping) in the outbound way, but I assume it's not the case !
Hi,I use different units for every peer.can you give me some information about - intelligent limiting (shaping)?May be it is that what I need, if not I will learn some new thing.
You will have to do a config like that:
class-of-service { interfaces { ge-0/0/0 { unit 0 { shaping-rate 5m; } unit 1 { shaping-rate 2m; } } }}
this config will limit outgoing trafic on interface ge-0/0/0 unit 0 to 5mbps and unit 1 to 2Mbps
Hope this will help you !
thanks, for your help.
I think policer will be better solution in this case.