Community discussions

MUM Europe 2020
 
networkmonkey
just joined
Topic Author
Posts: 17
Joined: Fri Jul 19, 2019 12:53 pm

VPLS traffic shaping

Fri Jan 10, 2020 2:01 pm

Hi MPLS experts,

Is there way to create traffic shaper for the VPLS circuits?

I have an VPLS circuit and no idea how to limit traffic to certain size!!!

I have recently checked that as vpls circuit is transparent to customer, simple queue will not work as needs to hit IP firewall to use simple queue to limit traffic.


Thanks
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1176
Joined: Fri Jul 28, 2017 2:53 pm

Re: VPLS traffic shaping

Fri Jan 10, 2020 3:25 pm

Join to TS. Is there a simple way to create an analog of qos-profile in Huawei VRP?
 
networkmonkey
just joined
Topic Author
Posts: 17
Joined: Fri Jul 19, 2019 12:53 pm

Re: VPLS traffic shaping

Fri Jan 10, 2020 3:43 pm

Sorry I didnt get it. What is TS?
 
mducharme
Trainer
Trainer
Posts: 889
Joined: Tue Jul 19, 2016 6:45 pm

Re: VPLS traffic shaping

Fri Jan 10, 2020 4:11 pm

Create a queue tree with parent set to the VPLS interface with the limit you want, matching packets with "no-mark". You will need to do this on the routers on both ends of the tunnel, because it does this limit only on egress traffic.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1176
Joined: Fri Jul 28, 2017 2:53 pm

Re: VPLS traffic shaping

Fri Jan 10, 2020 4:31 pm

Sorry I didnt get it. What is TS?
Topic starter :)
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1176
Joined: Fri Jul 28, 2017 2:53 pm

Re: VPLS traffic shaping

Fri Jan 10, 2020 4:32 pm

Create a queue tree with parent set to the VPLS interface with the limit you want, matching packets with "no-mark". You will need to do this on the routers on both ends of the tunnel, because it does this limit only on egress traffic.
Will try :) Thanks!
 
mducharme
Trainer
Trainer
Posts: 889
Joined: Tue Jul 19, 2016 6:45 pm

Re: VPLS traffic shaping

Fri Jan 10, 2020 6:16 pm

Will try :) Thanks!
I was actually replying to networkmonkey - I'm afraid I don't know anything about Huawei equipment, never used it, so I have no idea what you want to do.
 
networkmonkey
just joined
Topic Author
Posts: 17
Joined: Fri Jul 19, 2019 12:53 pm

Re: VPLS traffic shaping

Fri Jan 10, 2020 11:24 pm

Hi @mducharme

Many thank for your reply.

Do I need to do anything with bridge filtering?


Thanks
 
networkmonkey
just joined
Topic Author
Posts: 17
Joined: Fri Jul 19, 2019 12:53 pm

Re: VPLS traffic shaping

Fri Jan 10, 2020 11:33 pm

@mducharme

Do I also leave queue type as default-small or only default?

And I can see that bucket size is 0.100 shall I leave leave it like that?


Many thanks
 
mducharme
Trainer
Trainer
Posts: 889
Joined: Tue Jul 19, 2016 6:45 pm

Re: VPLS traffic shaping

Sat Jan 11, 2020 1:04 am

Queue type shouldn't matter very much. RED tends to give best latency, so you might want to use that queue type. You can reconfigure default-small to use red or make a new queue type called "red" that uses red. Default bucket size is fine, but if you need to be more strict with the shaping (i.e. react more quickly when they go over), you can drop bucket size to 0.01. If bucket size goes too small though, they may not be able to reach the maximum limit because the router will overreact when it thinks they are going to go over. For instance, with a really tiny bucket size of 0.001, the customer can only reach about half of their maximum limit.

You don't need to do anything with bridge filtering unless you need to treat some packets going into the VPLS tunnel differently from others (i.e some are higher priority than others). For a simple customer rate limit, no bridge filters are necessary.
 
networkmonkey
just joined
Topic Author
Posts: 17
Joined: Fri Jul 19, 2019 12:53 pm

Re: VPLS traffic shaping

Sat Jan 11, 2020 10:10 am

Many thanks for your detailed answer.
 
networkmonkey
just joined
Topic Author
Posts: 17
Joined: Fri Jul 19, 2019 12:53 pm

Re: VPLS traffic shaping

Sat Jan 11, 2020 3:47 pm

If you dont mind, I have one question.

As I use BGP signaled vpls, when the connection goes down it will get another vpls -id so I will need to reconfigure queue tree each time.

This will happen because I choose vpls interface as a parent.

I am just wondering if there is a solution for that?


Many thanks.
 
networkmonkey
just joined
Topic Author
Posts: 17
Joined: Fri Jul 19, 2019 12:53 pm

Re: VPLS traffic shaping

Sat Jan 11, 2020 3:55 pm

Do you think if I use peering IP addresses (using private loopback addresses) as a parent would be a solution?


Many thanks.
 
networkmonkey
just joined
Topic Author
Posts: 17
Joined: Fri Jul 19, 2019 12:53 pm

Re: VPLS traffic shaping

Tue Jan 14, 2020 3:21 pm

Hi @mducharme

Loopback address would be a bit stupid I think.

My vpls and vlan interface are bridge. So If I use vlan interface, could it be a solution for that?


Many thanks.
 
mducharme
Trainer
Trainer
Posts: 889
Joined: Tue Jul 19, 2016 6:45 pm

Re: VPLS traffic shaping

Tue Jan 14, 2020 11:46 pm

My vpls and vlan interface are bridge. So If I use vlan interface, could it be a solution for that?
Yes - the only confusing thing is it will be the other way around, so you would control the download rate at the near side and the upload rate at the far side (instead of vice versa). The only other thing you could do is script it.

It is also possible to use MPLS-TE to impose limits, but that I believe implements more of a policing than a shaping, and requires a lot of set up.

Who is online

Users browsing this forum: Bing [Bot] and 14 guests