Switching

last person joined: 14 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.  CoS Markings on EX2200

    Posted 09-09-2012 18:52

    Hi -

     

    I'm trying to get up to speed on CoS and having some trouble. I've configured some MF Classifiers on an EX2200 and want to set a dscp value to incoming packets.

     

    I've read the EX2200 does not support MF Classifiers on a per interface bassis and now I'm confused as to how I would mark dscp values to incoming packets based on traffic classification i.e. voice/video/be.

     

    My configuration is based on this Juniper example.

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

     

    Appreciate any insight.

     

    Thanks



  • 2.  RE: CoS Markings on EX2200
    Best Answer

    Posted 09-09-2012 20:56

    Hi, I think you need to configure re-write rules for marking DSCP.

     

    The following is an example, but I configured on EX3200 / 4200. This should work in EX2200.

     

    [edit class-of-service]

    rewrite-rules {
        dscp MARK-DSCP {
            forwarding-class assured-forwarding {
                loss-priority low code-point af21;
                loss-priority high code-point af23;
            }
            forwarding-class expedited-forwarding {
                loss-priority high code-point ef;
            }
        }
    }


    interfaces {
        ge-0/0/0 {
            unit 55 {
                rewrite-rules {
                    dscp MARK-DSCP;
                }
            }
        }
    }

     

    Try this way, and let us know.

     

    Regards

    Moses N

     

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

    If this post answers your question, please mark it as "Accepted Solution".
    Kudos are a nice way of expressing your gratitude.



  • 3.  RE: CoS Markings on EX2200

    Posted 10-01-2012 17:55

    Hi Moses - Apologies for such a delayed follow-up. Your absolutely correct about the re-write rules. That's definately the way to mark the packets.

     

    I also finally realized I needed to use the MF Classifer on the VLAN and not the interface. The EX2200 does not support MF Classifiers on a per interface basis but it does for the VLAN which is exactly what I needed. Then to mark the dscp value I need the re-write rules. My config looks like this..

     

    rewrite-rules {
        dscp dscp_46 {
            forwarding-class voice {
                loss-priority low code-point ef;
            }
        }
    }

     

    Thanks again for the help.