EVPN-MPLS L2CP Tunneling
EVPN-MPLS services shall support transparent L2 control plane protocol tunneling via network tunnels between CE's, via Sub-ifp framework support. The protocols which are tunneled are controlled by configuration at parent Interface (of A/C ports).The below list of L2 control plane BPDU shall be transparently tunneled across EVPN-MPLS networks based on egress tunnels when Tunnel action is configured.
• dot1x
• efm
• elmi
• lldp
• xSTP
• lacp
In case of action "DISCARD" and "PEER" appropriate behavior should see.
• PEER - the corresponding L2 control packet shall be uplifted to the CPU/control plane for processing.
• DISCARD - the corresponding L2 control packets are dropped at node.
Default behavior is PEER.
Topology
Note: L2CP should be enabled in all PEs access interface to have end to end traffic.
L2CP Configurations
(config)#in xe1 | Entering into interface level of access side interface |
(config-if)#l2protocol <protocol> tunnel | Enabling tunnel for the L2CP protocol |
(config-if)#l2protocol <protocol> peer | Enabling peer for the L2CP protocol |
(config-if)#l2protocol <protocol> discard | Enabling discard for the L2CP protocol |
Validation
PE2#show l2protocol processing interface <interface>
Bridge Interface Name Protocol Processing Status Hardware Status
====== ============== ======== ================= ===============
- xe8 stp Tunnel Peer
- xe8 lacp Tunnel Peer
- xe8 dot1x Peer Peer
- xe8 lldp Peer Peer
- xe8 efm Discard Discard
- xe8 elmi Discard Discard
- xe8 synce Discard Discard
PE3#show l2protocol interface po1 counters
Interface po1
Peer : lacp : 94
Peer : stp : 298
Peer : elmi : 172
Peer : dot1x : 172
Discard : stp : 6558
Discard : elmi : 8326
Discard : dot1x : 9839
Note: Tunnel counter won't get incremented as per design.
PE4#show interface counters queue-stats
E - Egress, I - Ingress, Q-Size is in bytes
* indicates monitor is active
+-------------+--------------------+--------+-----------------+-------------------+-----------------+-------------------+
| Interface | Queue/Class-map | Q-Size | Tx pkts | Tx bytes | Dropped pkts | Dropped bytes |
+-------------+--------------------+--------+-----------------+-------------------+-----------------+-------------------+
cpu reserved-mc (E) 2097152 6 522 0 0
cpu bgp (E) 1048576 2 145 0 0
cpu rsvp-ldp (E) 1048576 7 1060 0 0
cpu bpdu (E) 1048576 6481 4830520 5126 3815132
ge6 q0 (E) 1253376 350 258691 0 0
ge6 q6 (E) 1253376 114 10338 0 0
ge7 q0 (E) 1253376 6 2708 0 0
ge7 q6 (E) 1253376 2 186 0 0
ge8 q0 (E) 1253376 5177 3859861 0 0
xe12 q6 (E) 12517376 6 517 0 0
xe15 q0 (E) 12517376 2 1281 0 0
xe16 q0 (E) 12517376 2253 1694682 0 0
Note: CPU drop counters will increment for both peer and discard as per design.
Last modified date: 10/17/2023