EasyManua.ls Logo

Huawei AR530 Series - Page 150

Huawei AR530 Series
408 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
[CE1-GigabitEthernet0/0/0.1] vlan allow-pass vid 10 to 50
Step 3 Configure an interface on CE connected to a PE to add a VLAN tag to user packets.
# Configure an interface on CE1 connected to a PE to add a VLAN tag to user packets. The
configuration of CE2 is similar to that of CE1.
[CE1-GigabitEthernet0/0/0.1] vlan dot1q-tunnel 20
[CE1-GigabitEthernet0/0/0.1] quit
Step 4 Add interfaces on PEs to VLAN 20 in trunk mode. The configurations of PE2 and P are similar
to the configuration of PE1.
# Add GE0/0/0 and GE0/0/1 on PE1 to VLAN 20 in trunk mode.
<Huawei> system-view
[Huawei] sysname PE1
[PE1] vlan batch 20
[PE1] interface gigabitethernet 0/0/0
[PE1-GigabitEthernet0/0/0] port link-type trunk
[PE1-GigabitEthernet0/0/0] port trunk allow-pass vlan 20
[PE1-GigabitEthernet0/0/0] quit
[PE1] interface gigabitethernet 0/0/1
[PE1-GigabitEthernet0/0/1] port link-type trunk
[PE1-GigabitEthernet0/0/1] port trunk allow-pass vlan 20
[PE1-GigabitEthernet0/0/1] quit
Step 5 Verify the configuration.
# On a PC in a VLAN of a branch in enterprise A, ping a PC in the same VLAN of the other
branch in enterprise A. The ping operation succeeds, indicating that devices transmitting the
same service can communicate with each other.
----End
Configuration Files
Configuration file of CE1
#
sysname CE1
#
bridge 1
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/0.1
bridge 1
bridge vlan-transmit enable
vlan allow-pass vid 10 to 50
vlan dot1q-tunnel 20
#
return
Configuration file of CE2
#
sysname CE2
#
bridge 1
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/0.1
bridge 1
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
4 QinQ Configuration
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
136

Table of Contents

Other manuals for Huawei AR530 Series

Related product manuals