No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Ethernet Switching

S7700 and S9700 V200R012C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, HVRP, and Layer 2 protocol transparent transmission.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Interface-based VLAN Assignment (LNP Dynamically Negotiates the Link Type)

Configuring Interface-based VLAN Assignment (LNP Dynamically Negotiates the Link Type)

Context

The switch supports the following link types on an Ethernet interface: access, hybrid, trunk, and QinQ. The four link types are applicable to different network positions and are manually specified. When the network topology changes, link types of Ethernet interfaces also need to be reconfigured. If this is done manually, configuration is time-consuming and complex. To simplify the configuration, LNP supports auto-negotiation of the link types on Ethernet interfaces and allows Ethernet interfaces to join VLANs after the auto-negotiation. This eliminates the need to manually configure link types of Ethernet interfaces, reducing the workload.

Typically, when LNP is deployed, the VLAN Central Management Protocol (VCMP) also needs to be deployed so that VLANs can be centrally created and deleted and user configurations are simplified. For details about VCMP, see VCMP Configuration.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run undo lnp disable

    Global LNP is enabled.

    By default, LNP is enabled on all interfaces.

  3. Run interface interface-type interface-number

    The view of the Ethernet interface that needs to be enabled with LNP is displayed.

  4. Run undo port negotiation disable

    LNP is enabled on the Layer 2 Ethernet interface.

    By default, LNP is enabled on all interfaces of the device.

    NOTE:

    When performing this step, ensure that the interface is a Layer 2 interface. If the interface is not a Layer 2 interface, run the portswitch command to configure the interface as a Layer 2 interface.

    When an LNP-capable device is used with an LNP-incapable device, the LNP-capable device continuously sends LNP packets, which wastes bandwidth. You can run the port negotiation disable command in the Layer 2 Ethernet interface view to disable LNP.

    To ensure successful negotiation, ensure that LNP is enabled both globally and in the interface view.

  5. Run port link-type { negotiation-desirable | negotiation-auto }

    An LNP mode is configured.

    By default, the LNP negotiation mode of a Layer 2 Ethernet interface is negotiation-desirable.

    There are limitations on an interface where the LNP mode is set to negotiation-desirable or negotiation-auto:
    • The sub-interface cannot be created.
    • The MUX VLAN cannot be enabled.
    • The interface cannot be used as the source or destination interface in VLAN Switch.
    • The voice VLAN in auto mode cannot be configured on the interface.

  6. Configure the VLAN allowed by an interface.

    • When a trunk interface is negotiated, perform the following operations.

      1. Run port trunk allow-pass only-vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | none }

        The VLAN allowed by the trunk interface is configured.

        By default, a trunk interface allows all VLANs.

      2. (Optional) Run port trunk pvid vlan vlan-id

        The default VLAN of the interface is configured.

        When the interface connected to an AP or voice terminal receives untagged and tagged frames, configure the default VLAN for the interface so that interface adds the VLAN tag to untagged frames.

        By default, the default VLAN of a trunk interface is VLAN 1.

    • When an access interface is negotiated, perform the following operation.

      Run port default vlan vlan-id

      The default VLAN is configured for the access interface and the access interface is added to the specified VLAN.

      By default, the default VLAN of an access interface and the VLAN that an access interface joins is VLAN 1.

Verifying the Configuration

  • Run the display lnp { interface interface-type interface-number | summary } command in any view to check LNP negotiation information on a Layer 2 Ethernet interface.
Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038843

Views: 108155

Downloads: 71

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next