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

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, 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).
Example for Configuring the MUX VLAN on the Access Layer Device

Example for Configuring the MUX VLAN on the Access Layer Device

Networking Requirements

In Figure 5-27, office service servers ServerB, ServerC, ServerD, and ServerE are deployed on a data center network. All servers can connect to the campus office network. The data center administrator requires that ServerB should communicate with ServerC and ServerD should be isolated from ServerE.

To solve the problem, deploy the MUX VLAN on the switch connected to servers, and connect the principal port to the office network, separate port to servers that do not need to communicate, and group port to servers that need to communicate. This saves VLAN IDs on the network and facilitates network management.

NOTE:

CE6880EI does not support this configuration.

Figure 5-27 MUX VLAN configuration

Configuration Roadmap

  1. Configure the principal VLAN.

  2. Configure the group VLAN.

  3. Configure the separate VLAN.

  4. Add interfaces to the VLANs and enable the MUX VLAN function.

Procedure

  1. Configure a MUX VLAN.

    # Create VLAN 2, VLAN 3, and VLAN 4.

    <HUAWEI> system-view
    [~HUAWEI] sysname Switch
    [*HUAWEI] commit
    [~Switch] vlan batch 2 3 4
    [*Switch] commit
    

    # Configure the Group VLAN and Separate VLAN in the MUX VLAN.

    [~Switch] vlan 2
    [~Switch-vlan2] mux-vlan
    [*Switch-vlan2] subordinate group 3
    [*Switch-vlan2] subordinate separate 4
    [*Switch-vlan2] quit
    [*Switch] commit
    

    # Add interfaces to the VLANs and enable the MUX VLAN function on the interfaces.

    [~Switch] interface 10ge 1/0/1
    [~Switch-10GE1/0/1] port default vlan 2
    [*Switch-10GE1/0/1] port mux-vlan enable vlan 2
    [*Switch-10GE1/0/1] quit
    [*Switch] interface 10ge 1/0/2
    [*Switch-10GE1/0/2] port default vlan 3
    [*Switch-10GE1/0/2] port mux-vlan enable vlan 3
    [*Switch-10GE1/0/2] quit
    [*Switch] interface 10ge 1/0/3
    [*Switch-10GE1/0/3] port default vlan 3
    [*Switch-10GE1/0/3] port mux-vlan enable vlan 3
    [*Switch-10GE1/0/3] quit
    [*Switch] interface 10ge 1/0/4
    [*Switch-10GE1/0/4] port default vlan 4
    [*Switch-10GE1/0/4] port mux-vlan enable vlan 4
    [*Switch-10GE1/0/4] quit
    [*Switch] interface 10ge 1/0/5
    [*Switch-10GE1/0/5] port default vlan 4
    [*Switch-10GE1/0/5] port mux-vlan enable vlan 4
    [*Switch-10GE1/0/5] quit
    [*Switch] commit

  2. Verify the configuration.

    • Server B, Server C, Server D, and Server E can access external networks.

    • Server B and Server C can ping each other.

    • Server D and Server E cannot ping each other.

    • Server B and Server C cannot ping Server D or host E. Server D and Server E cannot ping Server B or Server C.

Configuration File

Configuration file of the Switch

#
sysname Switch
#
vlan batch 2 to 4
#
vlan 2
 mux-vlan
 subordinate separate 4 
 subordinate group 3
#
interface 10GE1/0/1
 port default vlan 2 
 port mux-vlan enable vlan 2
#
interface 10GE1/0/2
 port default vlan 3
 port mux-vlan enable vlan 3
#
interface 10GE1/0/3
 port default vlan 3
 port mux-vlan enable vlan 3
#
interface 10GE1/0/4
 port default vlan 4
 port mux-vlan enable vlan 4
#
interface 10GE1/0/5
 port default vlan 4
 port mux-vlan enable vlan 4
#
return
Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 128361

Downloads: 296

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