Junos OS

last person joined: 16 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  QoS mapping with filter-based and classifier

    Posted 11-08-2016 00:23

    Hi community,

     

    I'd want to ask you about QoS configuration to classify ingress traffic, where we have a filter applied to interface:

     

    set interfaces aeX unit 0 family inet filter input control-icmp-in


    set firewall family inet filter control-icmp-in term icmp from protocol icmp
    set firewall family inet filter control-icmp-in term icmp then loss-priority low
    set firewall family inet filter control-icmp-in term icmp then forwarding-class EF
    set firewall family inet filter control-icmp-in term icmp then accept

     

    Moreover, this interface is also included in class-of-service configuration:


    set class-of-service interfaces aeX unit 0 classifiers dscp DSCP-class

     

    What would be the behavior? The DSCP classifier will change the mapping performed by the filter?

     

    Thank you in advance

     

    BR / Iván

     



  • 2.  RE: QoS mapping with filter-based and classifier
    Best Answer

     
    Posted 11-08-2016 03:15

    Hi,

     

    The two are called Behavior Aggregate [BA] and Multifield [MF] classifer in Junos:

     

    set class-of-service interfaces aeX unit 0 classifiers dscp DSCP-class BA Classifier
    set interfaces aeX unit 0 family inet filter input control-icmp-in  MF Classifier

    The order in which they are processed is BA first and MF input classifier:

    Junos_CoS.PNG

     

    Both BA and MF classifier settings will be applied. BA relies on the dscp markings to classify the packet which will be overwritten by input MF in this case.

     

    Day One Book - Deploying Basic QoS is a good resource.

     

    Cheers,

    Ashvin

     



  • 3.  RE: QoS mapping with filter-based and classifier

    Posted 11-10-2016 02:25

    Hi Ashvin,

     

    thank you so much for your support!!!  Now the behavior is clear for me.

     

    BR / Iván