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.


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).
Example for Configuring Interface-based VLANs

Example for Configuring Interface-based VLANs

Networking Requirements

As shown in Figure 1-269, the switch of an enterprise connects to many users, and users accessing the same service connect to the enterprise network through different devices. To ensure communication security and prevent broadcast storms, the enterprise allows only the users accessing the same service to communicate with each other. You can assign and configure VLANs on the switch based on interfaces so that the switch adds interfaces connected to users using the same service to the same VLAN. Users in different VLANs cannot communicate at Layer 2. Users in the same VLAN can directly communicate with each other. That is:
  • User 1 and user 2 in VLAN 2 are isolated from user 3 in VLAN 3.
  • User 1 and user 2 in VLAN 2 can communicate with each other.
Figure 1-269  Networking for configuring interface-based VLANs

Configuration Roadmap

The configuration roadmap is as follows:

  1. Select the switching mode.
  2. Configure the port connected to terminals.
  3. Configure the port connected to the upstream gateway.


  1. Choose Configuration > Quick Config. Select Switching for Select a mode to open the quick switching mode configuration page, as shown in Figure 1-270.

    Figure 1-270  Configuring quick switching mode

  2. Click Add below Step 2: Configure the port connected to downlink devices, as shown in Figure 1-271.

    Figure 1-271  Configuring the port connected to downlink devices

    Set all configuration items as follows. Then click to finish the configuration. Figure 1-272 displays the configuration result.

    Configure GE0/0/2 and GE0/0/3:

    • Interface name: GigabitEthernet0/0/2, GigabitEthernet0/0/3
    • Port status: ON
    • Allowed VLAN: 2
    • Device Type: PC

    Configure GE0/0/4:

    • Interface name: GigabitEthernet0/0/4
    • Port status: ON
    • Allowed VLAN: 3
    • Device Type: PC
    Figure 1-272  Configuration result for the port connected to downlink devices

  3. Click GE0/0/5 below Step 3: Configure the port connected to the upstream gateway, and set all configuration items, as shown in Figure 1-273.

    • Port status: ON
    • Link aggregation: OFF
    • Allowed VLAN: 2, 3
    Figure 1-273  Configuring the port connected to the upstream gateway

  4. Click Apply. In the dialog box that is displayed, click OK.


Choose Configuration > Basic Services > VLAN to check the VLAN information, as shown in Figure 1-274.

Figure 1-274  Checking VLAN information

Click View Interface next to VLAN ID 2 and 3 to view the interfaces added to each VLAN and their status, as shown in Figure 1-275 and Figure 1-276.

Figure 1-275  Checking the interfaces in VLAN 2

Figure 1-276  Checking the interfaces in VLAN 3

Updated: 2019-08-21

Document ID: EDOC1000114003

Views: 50057

Downloads: 1057

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