L2Pt Configuration Examples; Configuring L2Pt For Stp - H3C S7500X Series Configuration Manual

Comware 7 layer 2 - lan switching
Hide thumbs Also See for S7500X Series:
Table of Contents

Advertisement

Task
Clear L2PT statistics.

L2PT configuration examples

Configuring L2PT for STP

Network requirements
As shown in
00e0-fc02-5802, respectively. MSTP is enabled in Customer A's network, and default MSTP
settings are used.
Perform the following tasks on the PEs:
Configure the ports that connect to CEs as access ports, and configure the ports in the service
provider network as trunk ports. Configure ports in the service provider network to allow
packets from any VLAN to pass.
Enable L2PT for STP to enable Customer A's network to implement independent spanning
tree calculation across the service provider network.
Set the destination multicast MAC address to 0100-0ccd-cdd0 for tunneled packets.
Figure 4 Network diagram
Configuration procedures
1.
Configure PE 1:
# Set the destination multicast address to 0100-0ccd-cdd0 for tunneled packets.
<PE1> system-view
[PE1] l2protocol tunnel-dmac 0100-0ccd-cdd0
# Create VLAN 2.
[PE1] vlan 2
[PE1-vlan2] quit
# Configure GigabitEthernet 1/0/1 as an access port and assign the port to VLAN 2.
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port access vlan 2
# Disable STP and enable L2PT for STP on GigabitEthernet 1/0/1.
[PE1-GigabitEthernet1/0/1] undo stp enable
[PE1-GigabitEthernet1/0/1] l2protocol stp tunnel dot1q
Figure
4, the MAC addresses of CE 1 and CE 2 are 00e0-fc02-5800 and
Command
reset l2protocol statistics [ interface interface-type
interface-number ]
5

Advertisement

Table of Contents
loading

Table of Contents