Huawei Quidway S7700 Configuration Manual - Ethernet page 199

Smart routing switch
Hide thumbs Also See for Quidway S7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet
[SwitchC] interface gigabitethernet 1/0/1
[SwitchC-GigabitEthernet1/0/1] port link-type trunk
[SwitchC-GigabitEthernet1/0/1] port trunk allow-pass vlan 300
# Add GE 1/0/2 on SwitchD to VLAN 300.
[SwitchD] interface gigabitethernet 1/0/2
[SwitchD-GigabitEthernet1/0/2] port link-type trunk
[SwitchD-GigabitEthernet1/0/2] port trunk allow-pass vlan 300
Step 3 Configure VLAN mapping of double tags on the Switches.
# Configure VLAN mapping of double tags on GE 1/0/1 of SwitchA.
<SwitchA> system-view
[SwitchA] interface GigabitEthernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] port vlan-mapping vlan 300 inner-vlan 30 map-vlan
100 map-inner-vlan 10
# Configure VLAN mapping of double tags on GE 1/0/2 of SwitchB.
<SwitchB> system-view
[SwitchB] interface GigabitEthernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] port vlan-mapping vlan 300 inner-vlan 30 map-vlan
200 map-inner-vlan 20
Step 4 Verify the configuration.
The hosts in Enterprise A and the hosts in Enterprise B can communicate with each other.
----End
Configuration Files
l
#
sysname SwitchA
#
vlan batch 100
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 100
port vlan-mapping vlan 300 inner-vlan 30 map-vlan 100 map-inner-vlan 10
#
return
l
#
sysname SwitchB
#
vlan batch 200
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk allow-pass vlan 200
port vlan-mapping vlan 300 inner-vlan 30 map-vlan 200 map-inner-vlan 20
#
return
l
#
sysname SwitchC
#
vlan batch 300
#
interface GigabitEthernet1/0/1
port link-type trunk
Issue 01 (2011-07-15)
Configuration file of SwitchA
Configuration file of SwitchB
Configuration file of SwitchC
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 VLAN Mapping Configuration
182

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway s9300

Table of Contents