Switching

last person joined: 15 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Configuring QoS on a EX-series switch

    Posted 05-04-2009 01:53

    Hi Guys,

     

    We have a 3200 EX switch and we want to configure the QoS on it. How we will configure the switch with 4 VLANS for Data/Voice/Mail/Video. We want our switch to prioritize our Video per VLAN.

     

    Kindly help me to have a brief explanation and sample configuration procedure to make our setup possible.

     

    Thanks,

    Charm



  • 2.  RE: Configuring QoS on a EX-series switch

     
    Posted 05-04-2009 02:08

    Hi Charm

     

    You will find a lot of documents on the Juniper Web site

    Some interesting PDF on QOS on the EX series:

    Theory: 

     http://www.juniper.net/us/en/local/pdf/whitepapers/2000255-en.pdf

    and how to configure:

    http://www.juniper.net/us/en/local/pdf/implementation-guides/8010010-en.pdf

     

    HTH 

     



  • 3.  RE: Configuring QoS on a EX-series switch

    Posted 05-04-2009 11:33

    I think the best way to add qos to your config is with a firewall-rule that you configure on the VLAN.  Then you use rewrite rules to definitly mark the packets.  At the uplink-ports to other switches you can give certain priority based on the rewrite rules. With junos 9.3 or higher the rewrite-rules has to be configured on the interfaces explicetly.



  • 4.  RE: Configuring QoS on a EX-series switch

    Posted 06-24-2009 00:14

    Hi Guys, let me alter my question: Can I configure the QoS per VLAN? For example I have 4 VLANs in my EX-Series VLAN-Voice, VLAN-Video, VLAN-Data, and VLAN-Email what configuration can you recommend if my priority is the Voice?

     

     



  • 5.  RE: Configuring QoS on a EX-series switch

     
    Posted 06-24-2009 07:00

    Hi Charm,

     

    I can work for you by bulding and testing a sample config as I already did , but since you posts your answers after a while and don't see usefull to say when you've been helped, by cliking the Kudos or the solved button, I am not sure I will waste my time helping you !



  • 6.  RE: Configuring QoS on a EX-series switch

    Posted 06-24-2009 17:54

    Hi Loup2,

     

     

    I think should learn a little more using this forum. Apologize if not answering back, kindly give me suggestion using this forum. Like when to use Kudos that you are saying. It may seems that I dont care to all replies to my posting but believe me I really appreciate them.



  • 7.  RE: Configuring QoS on a EX-series switch

     
    Posted 06-25-2009 14:06

     

    Hi,

     

    Let me try to explain a little bit:

     

    You can classify the traffic on the VOICE vlan with this firewall filter:

     

    family ethernet-switching {

        filter Voice {

            term All_voice {

                then {

                    forwarding-class expedited-forwarding;

                    loss-priority low;

                }

            }

        }

    }

     

    You can apply this filter to the Voice VLAN:

     

    VOICE_VLAN {

        vlan-id 2;

        filter {

            input Voice;

        }

    }

     

     

    With this config the traffic will be classified in queue expedited-forwarding instead of 

    best effort

     

     

    Alain@EX3200_Sam> show interfaces queue ge-0/0/3    

    Physical interface: ge-0/0/3, Enabled, Physical link is Up

      Interface index: 132, SNMP ifIndex: 149

    Forwarding classes: 16 supported, 4 in use

    Egress queues: 8 supported, 4 in use

    Queue: 0, Forwarding classes: best-effort 

      Queued:

        Packets              : Not Available  

        Bytes                : Not Available  

        Packets              :                 10026

        Bytes                :               1022614

        Tail-dropped packets :                     0

    Queue: 1, Forwarding classes: assured-forwarding 

      Queued:

        Packets              : Not Available  

        Bytes                : Not Available  

        Packets              :                     0

        Bytes                :                     0

        Tail-dropped packets :                     0

    Queue: 5, Forwarding classes: expedited-forwarding 

      Queued:

        Packets              : Not Available  

        Bytes                : Not Available  

        Packets              :                 10000

        Bytes                :               1020000

        Tail-dropped packets :                     0

    Queue: 7, Forwarding classes: network-control 

      Queued:

        Packets              : Not Available  

        Bytes                : Not Available  

        Packets              :                   994

        Bytes                :                187345

        Tail-dropped packets :                     0

     

     

     

    All the other VLAN will leave traffic with default classification (queue 0)

    This has been tested and works on EX3200 in V9.5R1.8 on a layer 2 VLAN (without routing) 

     

    I hope this little explanation will help you

     



  • 8.  RE: Configuring QoS on a EX-series switch
    Best Answer

    Posted 06-30-2009 15:54
    Thanks guys, Eventhough this is not an easy one  but a least now I got an idea how will implement my CoS.


  • 9.  RE: Configuring QoS on a EX-series switch

    Posted 06-25-2009 09:23

    charm,

     

    No you can not classify based on the VLAN id, you will need to be more specific with your COS config.

     

    Presumably traffic within your Voice VLAN goes to a set/known number of IP addresses? if so then you classify traffic as "voice" based on it having a destination of those IP Addresses. 

     

    An alternative is to use DSCP markings or 802.1p bits when traffic initially enters a VLAN and then classify based on those bits. 

     

    An example of the first method is here:

     

    http://www.juniper.net/techpubs/en_US/junos9.5/topics/example/cos-ex-series-configuring.html