[j-nsp] DSCP classifier on CCC interface

Leigh Porter leigh.porter at ukbroadband.com
Tue Mar 20 08:59:21 EDT 2012


Did you try setting the 802.1p field and classifying based on that?

I'm about to do this also, but since this is a layer 2 service then you are right, I don't think the IP header will be looked at. But I expect that it will look at 802.1p and use that for QoS classification.


--
Leigh


> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-
> bounces at puck.nether.net] On Behalf Of Serge Vautour
> Sent: 19 March 2012 18:32
> To: juniper-nsp at puck.nether.net
> Subject: [j-nsp] DSCP classifier on CCC interface
> 
> Hello,
> 
> Would anyone know if it's possible to apply a DSCP classifier on a CCC
> interface? Here's what I have:
> 
> 
> Interface:
> 
> ge-1/2/1 {
>     encapsulation ethernet-ccc;
>     unit 0;
> }
> 
> Routing-Instance:
> 
> instance-type l2vpn;
> interface ge-1/2/1.0;
> vrf-target target:123:41;
> protocols {
>     l2vpn {
>         encapsulation-type ethernet;
>         no-control-word;
>         site Site1 {
>             site-identifier 1;
>             interface ge-1/2/1.0;
>         }
>     }
> }
> 
> Class-of-Service interface:
> 
> ge-1/2/1 {
>     unit 0 {
>         classifiers {
>             dscp dscp-classifier;
>         }
>     } }
> 
> 
> Class-of-service classifier:
> 
> dscp dscp-classifier {
>     import default;
>     forwarding-class expedited-forwarding {
>         loss-priority low code-points [ 101000 101001 101010 101011
> 101100 101101 101110 101111 ];
>     }
> }
> 
> 
> Note that the L2VPN is port based. Any valid ethernet frame will go
> through.
> 
> 
> To test this I generate a ping and set the ToS field to 101. The
> classifier above should drive this to the EF class but it isn't.
> 
> 
> I'm wondering if maybe you can't use a DSCP classifier on a non-IP
> interface? Anybody tried this before? I thought I'd try this mailing
> list before opening a case.
> 
> Thanks,
> Serge
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud
> service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________



More information about the juniper-nsp mailing list