[cisco-bba] Dot1q cos marking of pppoe packets

Christoph Loibl cl at sil.at
Fri Dec 1 02:47:03 EST 2006


Hi!

Has anyone of you ever tried dot1q cos marking of cisco 7301 router 
originated pppoe packets?

A PPPOE client is connected somewhere behind gig0/0.10. The connection 
is established (ViXX up). Everything fine - ping ok! Now I send some 
packets (not origined by the PPPOE server Cisco 7301, but routet by the 
Cisco).

[... bba-group, ...]

policy-map OUTPUT
   class-default
    set cos 5

interface GigabitEthernet0/0.10
  encapsulation dot1Q 10
  service-policy output OUTPUT
  pppoe enable group global
end

interface GigabitEthernet0/1
  ip address 10.0.0.1 255.255.255.0

[... virtual-template, ...]

One should think, that _all_ packets sent by int gig0/0.10 get marked 
with COS 5 but:

# sh policy-map interface

GigabitEthernet0/0.10

   Service-policy output: OUTPUT

     Class-map: class-default (match-any)
       5 packets, 630 bytes
       5 minute offered rate 0 bps, drop rate 0 bps
       Match: any
       QoS Set
         cos 5
           Packets marked 0

How can this happen? The packets match (get counted) but not marked with 
COS 5 (this is no false-counter, I checked this with a network sniffer).

When using the interface as simple IP interface, not using pppoe COS 
marking works fine. And both counters correspond.

Is this the default behavior?

Any ideas?

Best regards

Christoph Loibl

-- 
SILVER SERVER \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\ \\ \
Ing Christoph Loibl <cl at sil.at>                Senior Network Engineer
CL8-RIPE  PGP-Key-ID: 0x4B2C0055  http://www.sil.at, http://pix.tix.at


More information about the cisco-bba mailing list