Routing
Showing results for 
Search instead for 
Do you mean 
Reply
Visitor
Posts: 2
Registered: ‎03-16-2017
0 Kudos

COS through L2 switch

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! 

 

Trusted Expert
Posts: 493
Registered: ‎08-23-2015
0 Kudos

Re: COS through L2 switch

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

Super Contributor
Posts: 162
Registered: ‎07-18-2012
0 Kudos

Re: COS through L2 switch

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
#Please mark my solution as accepted if it helped, Kudos are appreciated as well.
Highlighted
Distinguished Expert
Posts: 555
Registered: ‎08-15-2012
0 Kudos

Re: COS through L2 switch

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

Visitor
Posts: 2
Registered: ‎03-16-2017
0 Kudos

Re: COS through L2 switch

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.