Junos
Highlighted
Junos

QoS mapping with filter-based and classifier

‎11-08-2016 12:23 AM

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 REPLIES 2
Highlighted
Junos
Solution
Accepted by topic author isevia01
‎11-10-2016 02:25 AM

Re: QoS mapping with filter-based and classifier

‎11-08-2016 03:14 AM

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

 

Highlighted
Junos

Re: QoS mapping with filter-based and classifier

‎11-10-2016 02:24 AM

Hi Ashvin,

 

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

 

BR / Iván

Feedback