Configuring Transparent Transmission of Link-Layer-Protocol Packets on VPWS/EVPL Networks

This section describes how to transparently transmit link-layer-protocol packets, such as LACP, LLDP, BPDU, CDP, and UDLD packets, on VPWS/EVPL networks.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number.sub-number

    The sub-interface view is displayed.

  3. Run vlan-type dot1q vlan-id

    The sub-interface is associated with a VLAN, and a VLAN encapsulation mode is configured for the sub-interface.

  4. Complete the VLL/CCC VPWS or EVPL configuration as needed.

  5. Run the corresponding command according to the type and protocol status of the Layer 2 protocol packets to be transparently transmitted.

    • For LLDPDUs, perform one of following operations depending on whether LLDP is enabled:

      • If LLDP is disabled globally or on the main interface of the sub-interface mentioned in step 2, run the link-protocol transport lldp [ untag ] command to configure the sub-interface to transparently transmit untagged LLDPDUs.

        If LLDP is disabled, tagged LLDPDUs can be transparently transmitted regardless of whether this command is run.

      • If LLDP is enabled globally and also on the main interface of the sub-interface mentioned in step 2, run the link-protocol transport tagged lldp command to configure the sub-interface to transparently transmit tagged LLDPDUs.

        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:

      1. Run bpdu-tunnel enable

        BPDU tunneling is enabled on the main interface.

      2. Run stp disable

        STP/RSTP/MSTP is disabled in the system view or interface view.

      3. Run link-protocol transport bpdu [ untag ]

        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.

  6. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >