[j-nsp] Setting CoS bits on ingress frames

Daniel Dobrijałowski daniel.dobrijalowski at pwr.wroc.pl
Wed Jun 17 03:22:18 EDT 2015

On Wed, Jun 17, 2015 at 12:41:32PM +0600, Victor Sudakov wrote:
> Oh, but I was talking about 802.1p CoS, not about IP and dscp. And
> the interfaces I need to classify incoming frames on are configured as
> "family ethernet-switching port-mode access", not as "family inet".
> The good thing is that when an EX4200 receives a frame with a
> non-default CoS via a trunk port, it does not stip or alter it, but
> just passes it on via the egress trunk port. Now I need to classify
> frames coming via access ports.

There is probably no other way than to classify and map to forwarding class
on ingress and then map forwarding classes to 802.1 code-points  on egress using 
rewrite-maps. That means you need schedulers and scheduler-maps too.

Daniel Dobrijalowski

More information about the juniper-nsp mailing list