Ethernet Switching
Highlighted
Ethernet Switching

Per vlan egress shaping

‎01-26-2011 07:51 AM

Hello,

 

we have different VLANs which are running over a VLAN trunk and want to perform egress traffic shaping on these different vlans.

 

For example, VLAN A should not exceed 5 mbit outbound, VLAN B should not exceed 15 mbit outbound and VLAN C should not exceed 25 mbit outbound. For all of these VLANs, there exist RVIs too.

 

On physical interfaces, I would do this with class of service:

 

set class-of-service interfaces ge-0/0/7 shaping-rate 25m

 

But this command isn't valid for vlan interfaces.

 

Is there any trick to do this?

 

Plattform is a EX4200 with JunOS 10.2.

 

Thanks

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
3 REPLIES 3
Highlighted
Ethernet Switching

Re: Per vlan egress shaping

‎01-26-2011 07:57 AM

Hi F1ght3r,

 

Egress policing is not available on the ex series switches afaik.

 

Nick

--
Network Architect
Juniper Ambassador
JNCIE-ENT #232
Twitter: @NetDonkey
http://taildrop.net
Highlighted
Ethernet Switching

Re: Per vlan egress shaping

‎01-26-2011 10:56 AM

I believe you could do it provided that you map each VLAN into a separate Queue, and then you can configure a shaping-rate for the queue to transmit at specific data-rates.

 

I believe something like this would work --

 

class-of-service {
    schedulers {
        data-sched {
            shaping-rate 7500000;
            buffer-size remainder;
            priority low;
        }
    }
}

 

 

don't forget you need to apply a scheduler-map to the interface, etc etc, but that should apply the shaping you desire.

 

Will

Highlighted
Ethernet Switching

Re: Per vlan egress shaping

‎01-26-2011 12:02 PM

Surely if you had more than one interface on the same scheduler you would share the bandwidth configured?

Feedback