This section describes how to transparently transmit link-layer-protocol packets, such as LACP, LLDP, BPDU, CDP, and UDLD packets, on VPWS/EVPL networks.
The system view is displayed.
The sub-interface view is displayed.
The sub-interface is associated with a VLAN, and a VLAN encapsulation mode is configured for the sub-interface.
For LLDPDUs, perform one of following operations depending on whether LLDP is enabled:
If LLDP is disabled, tagged LLDPDUs can be transparently transmitted regardless of whether this command is run.
If LLDP is enabled, untagged LLDPDUs cannot be transparently transmitted regardless of whether this command is run.
For LACPDUs, run the mode lacp-static command to configure the involved Eth-Trunk interface to work in static LACP mode. Then, depending on whether the LACPDUs carry VLAN tags, run one of the following commands to configure the Eth-Trunk sub-interface to transparently transmit LACPDUs:
Only Eth-Trunk sub-interfaces can transparently transmit LACPDUs.
For BPDUs, perform the following operations:
BPDU tunneling is enabled on the main interface.
STP/RSTP/MSTP is disabled in the system view or interface view.
The sub-interface is enabled to transparently transmit untagged BPDUs.
Only untagged BPDUs can be transparently transmitted.
If UDLD PDUs do not carry VLAN tags, run the link-protocol transport udld [ untag ] command.
If CDPDUs do not carry VLAN tags, run the link-protocol transport cdp [ untag ] command.
The configuration is committed.