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


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


Configuration Guide - Interface Management

S1720, S2700, S5700, and S6720 V200R010C00

This document describes the principles and configurations of interfaces and provides configuration examples.

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 a VLANIF Interface

Configuring a VLANIF Interface


A VLANIF interface is a Layer 3 logical interface. After an IP address is assigned, the VLANIF interface enables VLANs to communicate and can have Layer 3 services deployed.
A VLANIF interface goes Up only after the following conditions are met:
  • The corresponding VLAN must have been created.
  • A physical interface or Eth-Trunk in Up state has been added to the corresponding VLAN.


  1. Run:


    The system view is displayed.

  2. Run:

    interface vlanif vlan-id

    A VLANIF interface is created and the VLANIF interface view is displayed.

  3. Run:

    ip address ip-address { mask | mask-length } [ sub ]

    An IP address is assigned to the VLANIF interface.

  4. (Optional) Run:

    damping time delay-time

    The delay after which the VLANIF interface goes Down is set.

    By default, the delay is 0 seconds, that is, a VLANIF interface goes Down immediately after the corresponding VLAN goes Down.

    Setting a delay after which a VLANIF interface goes Down prevents network flapping caused by status change of the VLANIF interface. This function is also called VLAN damping.

    Enable the VLAN damping function on the VLANIF interface. After the last member interface in Up state in the corresponding VLAN goes Down, the VLAN damping-enabled device reports the VLAN Down event to the VLANIF interface after the configured delay. If a member interface in the VLAN goes Up during the delay, the VLANIF interface remains in Up state.

  5. (Optional) Run:

    mtu mtu

    The MTU of the VLANIF interface is set.

    By default, the MTU of a VLANIF interface is 1500 bytes.

Checking the Configuration

  • Run the display interface vlanif vlan-id command to view the status of a VLANIF interface.
Updated: 2019-12-28

Document ID: EDOC1000141936

Views: 50204

Downloads: 783

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next