Huawei Quidway S9300 Configuration Manual page 125

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
# Create VLAN 200 on S9300-B.
<Quidway> system-view
[Quidway] sysname S9300-B
[S9300-B] vlan 200
# Create VLAN 300 on S9300-C.
<Quidway> system-view
[Quidway] sysname S9300-C
[S9300-C] vlan 300
# Create VLAN 300 on S9300-D.
<Quidway> system-view
[Quidway] sysname S9300-D
[S9300-D] vlan 300
Step 2 Add interfaces to VLANs.
# Add GE 1/0/1 of S9300-A to VLAN 100.
[S9300-A] interface gigabitethernet 1/0/1
[S9300-A-GigabitEthernet1/0/1] port link-type trunk
[S9300-A-GigabitEthernet1/0/1] port trunk allow-pass vlan 100
# Add GE 1/0/2 of S9300-B to VLAN 200.
[S9300-B] interface gigabitethernet 1/0/2
[S9300-B-GigabitEthernet1/0/2] port link-type trunk
[S9300-B-GigabitEthernet1/0/2] port trunk allow-pass vlan 200
# Add GE 1/0/1 of S9300-C to VLAN 300.
[S9300-C] interface gigabitethernet 1/0/1
[S9300-C-Gigabitethernet1/0/1] port link-type trunk
[S9300-C-Gigabitethernet1/0/1] port trunk allow-pass vlan 300
# Add GE 1/0/2 on S9300-D to VLAN 300.
[S9300-D] interface gigabitethernet 1/0/2
[S9300-D-Gigabitethernet1/0/2] port link-type trunk
[S9300-D-Gigabitethernet1/0/2] port trunk allow-pass vlan 300
Step 3 Configure VLAN mapping of double tags on the S9300s.
# Configure VLAN mapping of double tags on GE 1/0/1 of S9300-A.
<S9300-A> system-view
[S9300-A] interface GigabitEthernet 1/0/1
[S9300-A-GigabitEthernet1/0/1] port vlan-mapping outside-vlan 300 inside-vlan 30
map-outside-vlan 100 map-inside-vlan 10
# Configure VLAN mapping of double tags on GE 1/0/2 of S9300-B.
<S9300-B> system-view
[S9300-B] interface GigabitEthernet 1/0/2
[S9300-B-GigabitEthernet1/0/2] port vlan-mapping outside-vlan 300 inside-vlan 30
map-outside-vlan 200 map-inside-vlan 20
Step 4 Verify the configuration.
The hosts in Enterprise A and the hosts in Enterprise B can communicate with each other.
----End
Issue 03 (2009-08-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 VLAN Mapping Configuration
4-21

Advertisement

Table of Contents
loading

Table of Contents