802.1p cos priority tagging not working



  • Hi all

    I'm trying to tag some traffic on the VLAN igb2_vlan10 with 802.1p cos priority on my SG-4860, without luck so far. For example, I have the following rule I would expect to tag all ICMP traffic outgoing on VLAN10 with a cos priority != 0, but tcpdump only shows 'p 0'.

    pass out log quick on igb2_vlan10 inet proto icmp all keep state label "USER_RULE: test" ieee8021q-setpcp vo
    
    $> tcpdump -e -n -i igb2 vlan 10 and icmp
    [..] ethertype 802.1Q (0x8100), length 102: vlan 10, p 0, [..]
    

    I found in the forum hints on the following tunables, but they made no difference.

    net.link.vlan.mtag_pcp = 1
    net.link.vlan.soft_pad = 1
    

    Any idea what is wrong in my setup?



  • Just upgraded from 2.2.6 to 2.3 and it seems to be fixed. It's working now without any changes to the config.