Huawei Quidway S9300 Configuration Manual page 122

Terabit routing switch
Table of Contents

Advertisement

4 VLAN Mapping Configuration
[S9300-B-Gigabitethernet3/0/1] port trunk allow-pass vlan 5
[S9300-B-Gigabitethernet3/0/1] quit
[S9300-B] interface gigabitethernet 3/0/2
[S9300-B-Gigabitethernet3/0/2] port link-type trunk
[S9300-B-Gigabitethernet3/0/2] port trunk allow-pass vlan 5
[S9300-B-Gigabitethernet3/0/2] quit
# Add GE 2/0/2 of S9300-B to VLAN 5.
[S9300-B] interface gigabitethernet 2/0/2
[S9300-B-GigabitEthernet2/0/2] port link-type trunk
[S9300-B-GigabitEthernet2/0/2] port trunk allow-pass vlan 5
[S9300-B-GigabitEthernet2/0/2] quit
# Add GE 1/0/1 of S9300-C to VLAN 10.
[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 10
[S9300-C-Gigabitethernet1/0/1] quit
# Add GE 1/0/1 of S9300-D to VLAN 10.
[S9300-D] interface gigabitethernet 1/0/1
[S9300-D-Gigabitethernet1/0/1] port link-type trunk
[S9300-D-Gigabitethernet1/0/1] port trunk allow-pass vlan 10
[S9300-D-Gigabitethernet1/0/1] quit
Step 3 Configure VLAN mapping of single tag on the S9300s.
# Configure VLAN mapping of single tag on GE 1/0/1 of S9300-A.
[S9300-A-GigabitEthernet1/0/1] port vlan-mapping outside-vlan 10 map-vlan 6
# Configure VLAN mapping of single tag on GE 2/0/2 of S9300-B.
[S9300-B-GigabitEthernet2/0/2] port vlan-mapping outside-vlan 10 map-vlan 5
Step 4 Verify the configuration.
Run the display vlan 6 command on S9300-A, and you can obtain the following information:
[S9300-A] display vlan 6
VLAN ID Type
--------------------------------------------------------------------------------
6
----------------
Tagged
----------------
QinQ-map
----------------
Interface
GigabitEthernet1/0/1
GigabitEthernet3/0/1
GigabitEthernet3/0/2
The hosts in VLAN 6 and the hosts in VLAN 5 can ping each other.
----End
Configuration Files
l
#
sysname S9300-A
4-18
Status
common
enable
Port: GigabitEthernet1/0/1
GigabitEthernet3/0/2
Port: GigabitEthernet1/0/1
Configuration file of S9300-A
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
MAC Learning Broadcast/Multicast/Unicast Property
enable
forward
GigabitEthernet3/0/1
Physical
UP
UP
UP
Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
forward
forward default
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents