BPDU tunneling configuration examples
BPDU tunneling for STP configuration example
Network requirements
As shown in
CE 1 and CE 2 are edges devices on the geographically dispersed network of User A. PE 1 and PE
•
2 are edge devices on the service provider network.
•
All ports that connect service provider devices and customer devices are access ports and belong to
VLAN 2. All ports that interconnect service provider devices are trunk ports and allow packets of any
VLAN to pass through.
MSTP is enabled on User A's network.
•
It is required that, after the configuration, CE 1 and CE 2 implement consistent spanning tree calculation
across the service provider network, and that the destination multicast MAC address carried in BPDUs be
0x0100-0CCD-CDD0.
Figure 27 Network diagram for configuring BPDU tunneling for STP
Configuration procedure
Configuration on PE 1
1.
# Configure the destination multicast MAC address for BPDUs as 0x0100-0CCD-CDD0.
<PE1> system-view
[PE1] bpdu-tunnel tunnel-dmac 0100-0ccd-cdd0
# Create VLAN 2 and assign GigabitEthernet 3/0/1 to VLAN 2.
[PE1] vlan 2
[PE1-vlan2] quit
[PE1] interface gigabitethernet 3/0/1
[PE1-GigabitEthernet3/0/1] port access vlan 2
# Disable STP on GigabitEthernet 3/0/1, and then enable BPDU tunneling for STP on it.
[PE1-GigabitEthernet3/0/1] undo stp enable
[PE1-GigabitEthernet3/0/1] bpdu-tunnel dot1q stp
Configuration on PE 2
2.
# Configure the destination multicast MAC address for BPDUs as 0x0100-0CCD-CDD0.
<PE2> system-view
Figure
27:
85