Description

An ieee-802.1 classifier configured on an IRB tied to an ESI-LAG is not working.  The configuration is applied to an ACX7024 with a pair of nodes.

RI configured for EVPN:

user@acx7024-3# show routing-instances INFRA-0-EVPN 
instance-type mac-vrf;
protocols {
    evpn {
        encapsulation mpls;
        default-gateway do-not-advertise;
    }
}
service-type vlan-based;
interface ae2.3100;
route-distinguisher 9.0.0.3:3100;
vrf-target target:1:3100;
vlans {
    VL3100 {
        vlan-id 3100;
        interface ae2.3100;
        l3-interface irb.3100;
    }
}


AE2.3100:

user@acx7024-3# show interfaces ae2 unit 3100 
description --QOS-INFRA;
encapsulation vlan-bridge;
vlan-id 3100;


IRB unit 3100 is in a VRF:

user@acx7024-3# show routing-instances INFRA-0-VRF 
instance-type vrf;
interface irb.3100;
route-distinguisher 9.0.0.3:3200;
vrf-import POL-IMPORT-INFRA-0;
vrf-export POL-EXPORT-INFRA-0;
vrf-table-label;


Traffic is then sent with all 802.1p bits set (0-7)

This is incoming traffic for ACX7024-3 Access Node at 800pps:

user@acx7024-3# run show interfaces ae2 | match rate 
  Input rate     : 4497192 bps (803 pps)
  Output rate    : 928 bps (0 pps)

user@acx7024-3# run show interfaces et-0/0/10 | match rate 
  Input rate     : 4466456 bps (797 pps)
  Output rate    : 928 bps (0 pps)
    FEC Corrected Errors Rate               0
    FEC Uncorrected Errors Rate             0


CoS is configured to map the 8 values to 4 Forwarding Classes:

user@acx7024-3# show class-of-service 
classifiers {
    ieee-802.1 aggr-cos {
        forwarding-class assured-forwarding {
            loss-priority high code-points 011;
            loss-priority low code-points 010;
        }
        forwarding-class best-effort {
            loss-priority high code-points 001;
            loss-priority low code-points 000;
        }
        forwarding-class expedited-forwarding {
            loss-priority high code-points 100;
            loss-priority low code-points 101;
        }
        forwarding-class network-control {
            loss-priority high code-points 111;
            loss-priority low code-points 110;
        }
    }
}
interfaces {
    ae2 {
        unit 3100 {
            classifiers {
                ieee-802.1 aggr-cos;
            }
        }
    }


user@acx7024-3# run show class-of-service interface ae2.3100 
  Logical interface: ae2.3100, Index: 1070
Object                  Name                   Type                    Index
Classifier              aggr-cos               ieee-802.1                  0


But, when checking the queue statistics, we only see queue 0 populated:

user@acx7024-3# run show interfaces queue egress et-0/0/0  
Physical interface: et-0/0/0, up, Physical link is Up
  Interface index: 1032, SNMP ifIndex: 505
  Description: --Uplink-To-Aggregator
Forwarding classes: 8 supported, 4 in use
Egress queues: 8 supported, 4 in use
Queue: 0, Forwarding classes: best-effort
  Queued:
    Packets              :                 14096                   799 pps
    Bytes                :               9867200               4475688 bps
  Transmitted:
    Packets              :                 14096                   799 pps
    Bytes                :               9867200               4475688 bps
    Tail-dropped packets :                     0                     0 pps
    Tail-dropped bytes   :                     0                     0 bps
    RED-dropped packets  :                     0                     0 pps
    RED-dropped bytes    :                     0                     0 bps
Queue: 1, Forwarding classes: expedited-forwarding
  Queued:
    Packets              :                     0                     0 pps
    Bytes                :                     0                     0 bps
  Transmitted:
    Packets              :                     0                     0 pps
    Bytes                :                     0                     0 bps
    Tail-dropped packets :                     0                     0 pps
    Tail-dropped bytes   :                     0                     0 bps
    RED-dropped packets  :                     0                     0 pps
    RED-dropped bytes    :                     0                     0 bps
Queue: 2, Forwarding classes: assured-forwarding
  Queued:
    Packets              :                     0                     0 pps
    Bytes                :                     0                     0 bps
  Transmitted:
    Packets              :                     0                     0 pps
    Bytes                :                     0                     0 bps
    Tail-dropped packets :                     0                     0 pps
    Tail-dropped bytes   :                     0                     0 bps
    RED-dropped packets  :                     0                     0 pps
    RED-dropped bytes    :                     0                     0 bps
Queue: 3, Forwarding classes: network-control
  Queued:
    Packets              :                     9                     0 pps
    Bytes                :                   894                     0 bps
  Transmitted:
    Packets              :                     9                     0 pps
    Bytes                :                   894                     0 bps
    Tail-dropped packets :                     0                     0 pps
    Tail-dropped bytes   :                     0                     0 bps
    RED-dropped packets  :                     0                     0 pps
    RED-dropped bytes    :                     0                     0 bps

 

Symptoms

ieee-802.1 classifiers are not working on an ACX7024.

 

Solution

The ieee.802.1 classifiers are not relevant in this case as the IRB interface only handles L3 traffic. As such, any layer 2 based classification will not work.  The behavior is expected.

Modification History

2024-06-22 : Article Created