Command Line Reference
Ethernet Switching
L2PT Configuration
3 min
l2pt configuration l2protocol packet \[command] l2protocol packet {stp|lacp} disable \[purpose] disable punting of stp or lacp packets \[view] interface view \[ use cases ] sonic(config)# interface ethernet 1 sonic(config if 1)# l2protocol packet stp disable l2protocol tunnel \[command] l2protocol tunnelt {stp|lacp|pvstp|cdp} enable \[purpose] enable layer 2 protocol tunneling on the interface \[view] interface view \[usage scenario] l2pt (layer 2 protocol transparent transmission) is a technology used to extend local area network (lan) connections across wide area networks (wan) simply put, it allows layer 2 protocol packets from user networks in different geographical locations (such as corporate headquarters and branch offices) to be transparently transmitted through the carrier network (or large enterprise backbone network) as if passing through a "dedicated tunnel \[ use cases ] sonic(config)# interface ethernet 1 sonic(config if 1)# l2protocol tunnel stp enable
