Ask the Expert

EX4200 PPPoE CoS classification

  • 1.  EX4200 PPPoE CoS classification

    Posted 03-04-2021 06:47
    Hi. First time here. Have a question about CoS classification of PPPoE traffic on EX4200 switches.

    The PPPoE traffic entering the switch on port ge-0/0/0 and exiting out to test laptop from ge-0/0/2. I try to classify it so the iptv traffic previously marked with dscp cs4 on the upper device falls to expedited-forwarding class, but with no success. I tried to use dscp ba-classifer that matches cs4 marking and mf-classifier (firewall family ethernet-switching filter) to match source ip address but that didn't work ether. Presumably it doesn't work 'cause switch sees 0x8864 in the EtherType and assumes that this is not an IP packet so it doesn't looks any further in the packet and classification don't work. I tried with regular ip-traffic (not PPPoE) and all work as expected.

    So my question is how can I (and can I at all) make the switch look inside the PPPoE packet and make a classification decision based on the dscp field?

    The switch is ex4200-24t with JunOS 15.1R7.9.

    Thank you.

    ------------------------------
    EVGENY ZAVERSHINSKY
    ------------------------------