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).
Example for Configuring VLANIF Interfaces

Example for Configuring VLANIF Interfaces

Networking Requirements

As shown in Figure 2-284, User1 and User2 access the same service but belong to different VLANs and are located on different network segments. You can configure VLANIF interfaces to implement communication between User1 and User2.

Figure 2-284  Configuring a VLANIF interface

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create VLANs and VLANIF interfaces.
  2. Add interfaces to VLANs so that VLANIF interfaces become Up.

Procedure

  1. Create VLAN 10 and VLAN 20 on the switch.
    1. Choose Service Management > VLAN > VLAN in the navigation tree to open the VLAN page, as shown in Figure 2-285.

      Figure 2-285  VLAN page

    2. Click Create. The Create VLAN page is displayed.
    3. Enter 10,20 in VLAN ID, as shown in Figure 2-286.

      Figure 2-286  Create VLAN page

    4. Click OK.
    5. Click in the navigation tree, and in the dialog box that is displayed, click OK.
  2. Create VLANIF 10 and VLANIF 20 on the switch.
    1. Choose Service Management > VLAN > VLANIF Interface in the navigation tree to open the VLANIF Interface page.
    2. Click Create. The Create VLANIF page is displayed, as shown in Figure 2-287.

      NOTE:

      The values in the Portal Server drop-down list box depend on switches are different.

      Figure 2-287  Create VLANIF page

    3. Enter 10 in VLAN ID.
    4. Enter 10.10.10.2 in IPv4 Address, as shown in Figure 2-288.

      Figure 2-288  Creating VLANIF 10

    5. Click OK.
    6. Click Create again. The Create VLANIF page is displayed.
    7. Enter 20 in VLAN ID.
    8. Enter 10.10.20.2 in IPv4 Address, as shown in Figure 2-289.

      Figure 2-289  Creating VLANIF 20

    9. Click OK.
    10. Click in the navigation tree, and in the dialog box that is displayed, click OK.
  3. Set the link type of GE0/0/1 and GE0/0/2 to access. GE0/0/1 is used as an example. The configuration of GE0/0/2 is similar to that of GE0/0/1, and is not mentioned here.

    # Check the link type of GE0/0/1.

    1. Choose Interface Management > Ethernet > Basic Attributes to open the Basic Attributes page.
    2. Select GigabitEthernet from the Interface Name drop-down list box.
    3. Enter the number of the interface that you want to query, for example, 0/0/1.
    4. Click Query.
    5. Select GigabitEthernet0/0/1 in the query area, as shown in Figure 2-290.
      Figure 2-290  Selecting an interface
    6. Click Configure to open the Configure Basic Attributes page, as shown in Figure 2-291.
      Figure 2-291  Querying the link type of the interface
    7. Check the value of Link type and click Cancel.

    # Set the link type of GE0/0/1 to access.

    NOTE:

    If the link type of the interface is Access, you do not need to perform the following steps.

    If the link type of the interface is trunk or hybrid, change the link type according to Trunk Interface or Hybrid Interface. The following describes how to change the link type from trunk to access.

    1. Choose Service Management > VLAN > Trunk Interface in the navigation tree to open the Trunk Interface page.
    2. Select GigabitEthernet0/0/1 and click Change Link Type, as shown in Figure 2-292.
      Figure 2-292  Selecting an interface
    3. In the dialog box that is displayed, click OK.

      The Change Link Type dialog box is displayed, as shown in Figure 2-293.

      Figure 2-293  Changing the link type to Access

    4. Select Access.
    5. Click OK.
    6. Click in the navigation tree, and in the dialog box that is displayed, click OK.

  4. Add GE0/0/1 on the switch to VLAN 10 as an access interface.
    1. Choose Service Management > VLAN > Access Interface in the navigation tree to open the Access Interface page.
    2. Select GigabitEthernet0/0/1.
    3. Enter 10 in Add to VLAN, as shown in Figure 2-294.

      Figure 2-294  Adding an access interface to VLAN 10

    4. Click Add.
    5. Click in the navigation tree, and in the dialog box that is displayed, click OK.
  5. Add GE0/0/2 on the switch to VLAN 20 as an access interface.
    1. Select GigabitEthernet0/0/2.
    2. Enter 20 in Add to VLAN, as shown in Figure 2-295.

      Figure 2-295  Adding an access interface to VLAN 20

    3. Click Add.
    4. Click in the navigation tree, and in the dialog box that is displayed, click OK.

Result

On the switch, perform the following configurations.

Choose Service Management > VLAN > VLANIF Interface in the navigation tree to open the VLANIF Interface page, as shown in Figure 2-296. The status of VLANIF 10 and VLANIF 20 is Up.

Figure 2-296  Checking the VLANIF interface status
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000114003

Views: 51439

Downloads: 1063

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