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

S1720GFR, S2700, S5700, and S6720 V200R010C00 Web-based Configuration Guide

This document describes the configuration and maintenance of device through the web network management system. The web network management system provides the functions of viewing device information and managing the entire system, interfaces, services, ACL, QoS, routes, security, and tools.
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).
VLAN

VLAN

The following sections describe how to configure and query VLANs, hybrid interfaces, access interfaces, trunk interfaces, and VLANIF interfaces.

A local area network (LAN) can be divided into several logical LANs. Each logical LAN is a broadcast domain, which is called a virtual LAN (VLAN). To put it simply, devices on a LAN are logically grouped into different LAN segments, regardless of their physical locations. VLANs isolate broadcast domains on a LAN.

VLAN

You can create, query, modify, and delete VLANs. In addition, you can create VLANs in a batch.

Context

  • The switch supports 4094 VLANs from VLAN 1 to VLAN 4094.
  • VLANs can isolate the hosts that require no communication with each other, which improves network security, reduces broadcast traffic, and suppresses broadcast storms.

Procedure

  • Query VLAN information.
    1. Choose Service Management > VLAN > VLAN in the navigation tree to open the VLAN page.
    2. Enter a VLAN ID. If you do not enter any VLAN ID, all VLANs are displayed.
    3. Click Query to display all matching records.
  • Create a VLAN.
    1. Choose Service Management > VLAN > VLAN in the navigation tree to open the VLAN page.
    2. Click Create to open the Create VLAN page, as shown in Figure 2-107.

      Figure 2-107  Create VLAN

      Table 2-56 describes the parameters on the page.

      Table 2-56  Create VLAN

      Parameter

      Description

      VLAN ID

      Indicates the IDs of VLANs. The value ranges from 1 to 4094. This parameter is mandatory. You can enter multiple VLAN IDs, for example, 1-3,5,7,9. VLAN 1 is the default VLAN, and the system will not re-create it.

      Description

      Indicates the description of a VLAN. This parameter is optional. When you create VLANs in a batch, keep the description empty.

    3. Set parameters.
    4. Click OK.
  • Modify VLAN
    1. Choose Service Management > VLAN > VLAN in the navigation tree to open the VLAN page.
    2. Click the icon to open the Modify VLAN page, as shown in Figure 2-108.

      Figure 2-108  Modify VLAN

      NOTE:
      • Table 2-56 describes the parameters on the page.
      • The VLAN ID cannot be changed.

    3. Set parameters.
    4. Click OK.
  • Delete a VLAN.
    1. Choose Service Management > VLAN > VLAN in the navigation tree to open the VLAN page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.

      NOTE:
      • VLAN 1 is the default VLAN and cannot be deleted.

    3. Click OK.

Hybrid Interface

You can query, modify, or delete the configuration of a hybrid interface.

Context

A hybrid interface can connect to either a user host or a switch, and it can connect to an access link or a trunk link. A hybrid interface permits frames from multiple VLANs to pass and can remove VLAN tags of outgoing frames.

Procedure

  • Query a hybrid interface.
    1. Choose Service Management > VLAN > Hybrid Interface in the navigation tree to open the Hybrid Interface page.
    2. Select an interface type from the drop-down list box.
    3. Enter the interface number, for example, 0/0/1 (slot ID/subcard ID/interface number).
    4. Click Query to display all matching records.
  • Modify the link type.
    1. Choose Service Management > VLAN > Hybrid Interface in the navigation tree to open the Hybrid Interface page.
    2. Select the interface whose link type you want to change.
    3. Click Change Link Type. A dialog box is displayed asking "Modifying the link type will clear VLANs on the selected interface. Continue?"
    4. Click OK. The Change Link Type window is displayed, as shown in Figure 2-109.

      Figure 2-109  Select a link type

    5. Select the link type, Access or Trunk.
    6. Click OK.
  • Clear the VLAN configuration.
    1. Choose Service Management > VLAN > Hybrid Interface in the navigation tree to open the Hybrid Interface page.
    2. Select the interface configured by the VLAN that you want to clear.
    3. Click Clear VLANs. A dialog box is displayed asking "Are you sure you want to clear all VLANs and restore the default VLAN?"
    4. Click OK.
  • Modify the hybrid interface configuration.
    1. Choose Service Management > VLAN > Hybrid Interface in the navigation tree to open the Hybrid Interface page.
    2. Click the icon to open the Modify VLAN configuration on interface page, as shown in Figure 2-110.

      Figure 2-110  Modify VLAN configuration on interface

      Table 2-57 describes the parameters on the page.

      Table 2-57  Modify VLAN configuration

      Parameter

      Description

      Interface name

      Indicates the name of the interface where you want to modify the configuration. This parameter cannot be modified.

      PVID

      The value ranges from 1 to 4094. This parameter is mandatory.

      Tagged VLAN

      Indicates the IDs of VLANs. The value ranges from 1 to 4094. This parameter is optional. You can enter multiple VLAN IDs, for example, 1-3,5,7,9.

      Untagged VLAN

      Indicates the IDs of VLANs. The value ranges from 1 to 4094. This parameter is optional. You can enter multiple VLAN IDs, for example, 1-3,5,7,9.

      NOTE:

      A VLAN supports either tagged mode or untagged mode.

    3. Set parameters.
    4. Click OK.

Access Interface

You can query, modify, or delete the configuration of an access interface.

Context

An access interface is connected to user hosts. It is mainly used to connect to access links, and the Ethernet frames transmitted on the access link do not contain VLAN tags. If an access interface is configured with a default VLAN, the access interface adds a VLAN tag to packets and sets the VID field in the VLAN tag to the default VLAN ID. The access link transmits only the Ethernet frames with the default VLAN ID.

Procedure

  • Query an access interface.
    1. Choose Service Management > VLAN > Access Interface in the navigation tree to open the Access Interface page.
    2. Select an interface type from the drop-down list box.
    3. Enter the interface number, for example, 0/0/1 (slot ID/subcard ID/interface number).
    4. Click Query to display all matching records.
  • Modify the link type.
    1. Choose Service Management > VLAN > Access Interface in the navigation tree to open the Access Interface page.
    2. Select the interface whose link type you want to change.
    3. Click Change Link Type. A dialog box is displayed asking "Modifying the link type will clear VLANs on the selected interface. Continue?"
    4. Click OK. The Change Link Type window is displayed, as shown in Figure 2-111.

      Figure 2-111  Select a link type

    5. The link type includes Trunk and Hybrid.
    6. Click OK.
  • Clear the VLAN configuration.
    1. Choose Service Management > VLAN > Access Interface in the navigation tree to open the Access Interface page.
    2. Select the interface configured by the VLAN that you want to clear.
    3. Click Clear VLANs. A dialog box is displayed asking "Are you sure you want to clear all VLANs and restore the default VLAN?"
    4. Click OK.
  • Add to a VLAN.
    1. Choose Service Management > VLAN > Access Interface in the navigation tree to open the Access Interface page.
    2. Select an interface to be added to the VLAN.
    3. Enter the ID of the VLAN to which you want to add the interface.
    4. Click Add.

Trunk Interface

You can query, modify, or delete the configuration of a trunk interface.

Context

A trunk interface connects to a packet switching device and serves a trunk link. A trunk interface allows frames from multiple VLANs to pass.

Procedure

  • Query a trunk interface.
    1. Choose Service Management > VLAN > Trunk Interface in the navigation tree to open the Trunk Interface page.
    2. Select an interface type from the drop-down list box.
    3. Enter the interface number, for example, 0/0/1 (slot ID/subcard ID/interface number).
    4. Click Query to display all matching records.
  • Modify the link type.
    1. Choose Service Management > VLAN > Trunk Interface in the navigation tree to open the Trunk Interface page.
    2. Select the interface whose link type you want to change.
    3. Click Change Link Type. A dialog box is displayed asking "Modifying the link type will clear VLANs on the selected interface. Continue?"
    4. Click OK. The Change Link Type window is displayed, as shown in Figure 2-112.

      Figure 2-112  Select a link type

    5. The link type includes Access and Hybrid.
    6. Click OK.
  • Clear the VLAN configuration.
    1. Choose Service Management > VLAN > Trunk Interface in the navigation tree to open the Trunk Interface page.
    2. Select the interface configured by the VLAN that you want to clear.
    3. Click Clear VLANs. A dialog box is displayed asking "Are you sure you want to clear all VLANs and restore the default VLAN?"
    4. Click OK.
  • Modify a Trunk interface.
    1. Choose Service Management > VLAN > Trunk Interface in the navigation tree to open the Trunk Interface page.
    2. Click the icon to open the Modify VLAN configuration on interface page, as shown in Figure 2-113.

      Figure 2-113  Modify VLAN configuration on interface

      Table 2-58 describes the parameters on the page.

      Table 2-58  Modify VLAN configuration

      Parameter

      Description

      Interface name

      Indicates the name of the interface where you want to modify the configuration. This parameter cannot be modified.

      PVID

      The value ranges from 1 to 4094. This parameter is mandatory.

      Allowed VLAN

      Indicates the IDs of VLANs. The value ranges from 1 to 4094. This parameter is optional. You can enter multiple VLAN IDs, for example, 1-3,5,7,9.

    3. Set parameters.
    4. Click OK.

VLANIF Interface

When a switch needs to communicate with the devices at the network layer, you can create a logical interface based on a VLAN on the switch, namely, a VLANIF interface. The VLANIF interface is a configured interface and does not exist physically.

Context

A VLANIF interface is an interface at the network layer and can be configured with an IP address. Before configuring a VLANIF interface, you must create the corresponding VLAN. The switch then uses the VLANIF interface to communicate with the devices at the network layer.
  • You can also access this page by choosing Interface Management > VLANIF page. The navigation path provided here enables you to configure VLANIF interfaces directly after configuring VLANs.

Procedure

  • Query VLANIF interface information.
    1. Choose Service Management > VLAN > VLANIF Interface in the navigation tree to open the VLANIF Interface page.
    2. Enter the number of the interface that you want to query, for example, 10. If you do not enter any interface number, all VLANIF interfaces are displayed.
    3. Click Query to display all matching records.
    4. Select a record and click Details to view details about the record.

      NOTE:

      To view real-time interface information, click on the VLANIF Interface tag page to refresh the page.

  • Create a VLANIF interface.
    1. Choose Service Management > VLAN > VLANIF Interface in the navigation tree to open the VLANIF Interface page.
    2. Click Create to open the Create VLANIF page, as shown in Figure 2-114.

      Figure 2-114  Create VLANIF

      Table 2-59 describes the parameters on the page.

      Table 2-59  Create VLANIF

      Parameter

      Description

      VLAN ID

      Indicates the VLAN ID of the new VLANIF interface. This parameter is mandatory.

      Status

      Indicates the status of the VLANIF interface, which can be enabled or disabled. This parameter is mandatory. By default, the status of a VLANIF interface is Up.

      MTU

      Indicates the Maximum Transmission Unit (MTU) of the VLANIF interface.

      Description

      Indicates the description of the new VLANIF interface.

      IPv4 Address

      IPv4 address

      Indicates the IPv4 address of the VLANIF interface, for example, 10.10.10.1.

      Mask

      Indicates the mask of the IP address. Select a subnet mask from the drop-down list box.

      Sub IP address

      Indicates the secondary IP address of the VLANIF interface.

      Mask

      Indicates the mask of the secondary IP address. Select a subnet mask from the drop-down list box.
      NOTE:

      The Add and Delete buttons are used to add and delete secondary IP addresses. You can delete a secondary IP address as well as add another secondary IP address.

      IPv6 Address

      Indicates an IP address. Click Add to enter an IPv6 address (for example, FC00:0:130F:0:0:9C0:876A:130B) and prefix length (ranging from 1 to 128).

      NOTE:

      IPv6 addresses can be added and deleted as required.

    3. Set parameters.
    4. Click OK.
  • Modify the VLANIF interface configuration.
    1. Choose Service Management > VLAN > VLANIF Interface in the navigation tree to open the VLANIF Interface page.
    2. Select a record that you want to modify and click to open the Modify VLANIF page, as shown in Figure 2-115.

      Figure 2-115  Modify VLANIF

      NOTE:
      • Table 2-59 describes the parameters on the page.
      • The VLANIF interface name cannot be changed.

    3. Set parameters.
    4. Click OK.
  • Delete a VLANIF interface.
    1. Choose Service Management > VLAN > VLANIF Interface in the navigation tree to open the VLANIF Interface page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
    3. Click OK.
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000114003

Views: 50271

Downloads: 1057

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