Huawei Quidway S7700 Configuration Manual - Ethernet page 194

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet
# Configure VLAN mapping of single tag on GE 1/0/1 of SwitchA.
[SwitchA-GigabitEthernet1/0/1] port vlan-mapping vlan 10 map-vlan 6
# Configure VLAN mapping of single tag on GE 2/0/2 of SwitchB.
[SwitchB-GigabitEthernet2/0/2] port vlan-mapping vlan 10 map-vlan 5
Step 4 Verify the configuration.
Run the display vlan 6 command on SwitchA, and you can obtain the following information:
[SwitchA] display vlan 6
* : management-vlan
---------------------
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 SwitchA
#
vlan batch 6
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 6
port vlan-mapping vlan 10 map-vlan 6
#
interface GigabitEthernet3/0/1
port link-type trunk
port trunk allow-pass vlan 6
#
interface GigabitEthernet3/0/2
port link-type trunk
port trunk allow-pass vlan 6
#
return
l
#
sysname SwitchB
#
vlan batch 5
#
interface GigabitEthernet2/0/2
port link-type trunk
port trunk allow-pass vlan 5
port vlan-mapping vlan 10 map-vlan 5
Issue 01 (2011-07-15)
Status
common
enable
Port: GigabitEthernet1/0/1
GigabitEthernet3/0/2
Port: GigabitEthernet1/0/1
Configuration file of SwitchA
Configuration file of SwitchB
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
MAC Learning Broadcast/Multicast/Unicast Property
enable
forward
GigabitEthernet3/0/1
Physical
UP
UP
UP
4 VLAN Mapping Configuration
forward
forward default
177

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway s9300

Table of Contents