Routing
Routing

COS through L2 switch

03.16.17   |  
‎03-16-2017 10:01 AM

Hi all!

 

I am fairly new cos so what I am trying to do might not make sense, here it goes.

 

I have the following lab topology

                                                  fe-0/0/1                                                  fe-0/0/2

PC---SRX1(layer3 mode)--------------------SRX2(layer2 mode)-------------------SRX3(layer3 mode)-----PC

 

So srx1 has subinterface taged with vlan 99, SRX2 is vlan tagging 99 on fe-0/0/1 & fe0/0/2 and srx3 has subinterface vlan 99. SRX1 can ping SRX2 and establish bgp peers

 

I am rewriting traffic on SRX1 going towards SRX2 with DSCP EF and 802.1p EF (010). I am able to see traffic going into the correct queue on SRX3 however on SRX2 everything is coming though as NC. 

 

I configured SRX2 to have 802.1p classiers on the fe-0/0/1 & fe-0/0/2 interfaces, however this did not help. My goal is have the traffic coming from SRX1 marked with 802.1p ef (010) to be put into the ef queues on SRX2.

 

Much appreciated! 

 

4 REPLIES
Routing

Re: COS through L2 switch

03.16.17   |  
‎03-16-2017 10:17 PM

Hello,

 

This article might help you with the same:

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB27218

 

Marking the traffic through 802.1p allows it to be treated as a background priority in the peer device.

 

Regards,

 

Rushi

Routing

Re: COS through L2 switch

03.16.17   |  
‎03-16-2017 10:37 PM

Hi Folks,

Please find few pointers on Junos OS Class of Service Configuration,

https://www.juniper.net/documentation/en_US/junos12.3/information-products/pathway-pages/cos/index.h...

 

 

Hi Folks,

Please find few pointers on Junos OS Class of Service Configuration,

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB27307

https://kb.juniper.net/InfoCenter/index?page=content&id=KB26735

https://kb.juniper.net/InfoCenter/index?page=content&id=KB23234

https://www.juniper.net/documentation/en_US/junos12.3/information-products/pathway-pages/cos/index.h...

 

 

-Python JNCIP [SP|ENT|DC|SEC] CCIP JNCDA ITIL
#Please mark my solution as accepted if it helped, Kudos are appreciated as well.
Highlighted
Routing

Re: COS through L2 switch

03.17.17   |  
‎03-17-2017 05:00 PM

Hi, 

 

I would suggest looking at the classifiers applied on fe-0/0/1 on SRX and correlate that the traffic is entering the correct forwarding class on SRX2:

show class-of-service interface fe-0/0/1

Also, you could possibly apply an L2 filter on fe-0/0/1 SRX2 and match for learn-vlan-1p-priority=010 to verify that frames are indeed coming with 802.1p 010.

If you could share the CoS config, might be helpful to understand better.

 

Cheers,

Ashvin

Routing

Re: COS through L2 switch

03.24.17   |  
‎03-24-2017 12:27 PM

Thanks for the reply everyone!

 

I did a little more digging, AshvinO, I agree with you. The issue is that I am using an SRX100, which by default does not use the 802.1p-default classifier on vlan tagged interfaces. I tied to set it in class-of-service settings, however the classifier never gets applied to the interface. I think my scenario will work if I replace the SRX2 with and EX series switch, which by default uses and 802.1p-default classifier on vlan tagged interfaces. I should have my hands on a an EX series switch soon, and will test and update this thread. Thanks everyone for your replies.