cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
527
Views
0
Helpful
1
Replies
antonio.guirado
Participant

Marking CoS in both tags in QinQ

Hi,

We are designed a new service based on a FTTH indirect access. Our provider delivers each connection using QinQ. There are two connections types: best efford and gold. In gold connections we need mark packets with a CoS=3 in both tags. We are using a c7200-NPE-G2 with IOS c7200p-ipbasek9-mz.152-4.S7.bin that supports QinQ termination feature.

Our configuration is:

policy-map GOLD-policy

 class class-default

  set cos 3

!

interface GigabitEthernet0/1.4

encapsulation dot1Q 1020 second-dot1q 5

 pppoe enable group global

 service-policy output GOLD-policy

!

The issue is that only external tag is marked with CoS=3.

We have study Cisco IOS and we have found that IOS c7200p-ipbasek9-mz.152-4.M11.bin have a command: set cos-inner. So we have tried the following policy:

policy-map GOLD-policy

 class class-default

  set cos 3
 set cos-inner 3

!

Tests shown that cos-inned has preference over set cos but always marks the most external tag (no inner). I suppose that plataform c7200p-NPG2 is not able to do this double mark.

We have done more tests. We are using pppoE and there is a way to mark PPPoE and PPP control packets with the command control-packets vlan cos 3:

bba-group pppoe global

 virtual-template 1

 ac name TEST

 control-packets vlan cos 3

!

With this configuration (without set cos-inner and with contro-packet vlan cos+ set cos) control PPP packets are double marked (boths tags).
PPP sessions are established but there is no data traffic.

The issue is that data PPP packets (ICMP, HTTP) are not marked. We have tested a policy map in template interface to mark COS but it doen’t work.

Any ideas?.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
antonio.guirado
Participant

Hello,

 

we have bought a ASR1001X and now everything works fine. C7200 plataform can't make doble CoS mark.

View solution in original post

1 REPLY 1
antonio.guirado
Participant

Hello,

 

we have bought a ASR1001X and now everything works fine. C7200 plataform can't make doble CoS mark.