#
sysname PE2
#
vlan batch 100 200
#
l2protocol-tunnel stp group-mac 0100-5e00-0011
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 100
port hybrid untagged vlan 100
l2protocol-tunnel stp enable
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 200
port hybrid untagged vlan 200
l2protocol-tunnel stp enable
#
interface GigabitEthernet1/0/2
port hybrid tagged vlan 100 200
#
return
11.7.2 Example for Configuring VLAN-based Layer 2 Protocol
Transparent Transmission
Networking Requirements
As shown in Figure 11-7, CEs on user networks communicate with each other through PEs and
STP runs on user networks; therefore, STP packets sent from CEs must be transmitted through
the backbone network between PEs. Each PE interface is an aggregation interface. PEs identify
STP packets from different user networks according to VLAN tags of STP packets. In this
scenario, configure VLAN-based Layer 2 protocol transparent transmission to ensure that:
l All the devices in VLAN 100 participate in calculation of a spanning tree.
l All the devices in VLAN 200 participate in calculation of a spanning tree.
In this example, PEs transparently transmit STP packets sent from user networks by replacing
the original multicast destination MAC address of STP packets with a specified multicast MAC
address. By default, the destination MAC address of STP packets is 0180-C200-0000.
Figure 11-7 Networking of VLAN-based Layer 2 protocol transparent transmission
VLAN 100
VLAN 200
GE1/0/0
CE1
CE2
GE1/0/0
VLAN 100 VLAN 200
CE3
CE4
PE1
PE2
GE1/0/0
GE1/0/0
GE1/0/0
GE1/0/0
P
GE1/0/0
GE1/0/1
GE1/0/1
GE1/0/1
GE1/0/2
GE1/0/2
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 11 Layer 2 Protocol Transparent Transmission Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
596