beautypg.com

H3C Technologies H3C S12500 Series Switches User Manual

Page 48

background image

40

[BEB1]spbm

[BEB1-spbm]quit

[BEB1]interface Ten-GigabitEthernet1/0/2

[BEB1-Ten-GigabitEthernet1/0/2]port link-type trunk

[BEB1-Ten-GigabitEthernet1/0/2]port trunk permit vlan 3001

[BEB1-Ten-GigabitEthernet1/0/2]spbm enable

[BEB1-Ten-GigabitEthernet1/0/2]quit

# Enable L2VPN.

[BEB1]l2vpn enable

# Create an SPB VSI (I-SID 3001).

[BEB1]vsi test

[BEB1-vsi-test]spb i-sid 3001

# Assign B-VLAN 3001 to the SPB VSI.

[BEB1-vsi-test-3001]b-vlan 3001

# Enable tandem multicast replication mode for the SPB VSI.

[BEB1-vsi-test-3001]multicast replicate-mode tandem

[BEB1-vsi-test-3001]quit

[BEB1-vsi-test]quit

# Assign the customer network port Ten-GigabitEthernet 1/0/1 to C-VLAN 100.

[BEB1]interface Ten-GigabitEthernet1/0/1

[BEB1-Ten-GigabitEthernet1/0/1]port link-type trunk

[BEB1-Ten-GigabitEthernet1/0/1]port trunk permit vlan 100

# Configure Ethernet service instance 1 to match C-VLAN 100, and map the service instance to the
SPB VSI.

[BEB1-Ten-GigabitEthernet1/0/1]service-instance 1

[BEB1-Ten-GigabitEthernet1/0/1-srv1]encapsulation s-vid 100

[BEB1-Ten-GigabitEthernet1/0/1-srv1]xconnect vsi test

[BEB1-Ten-GigabitEthernet1/0/1-srv1]quit

[BEB1-Ten-GigabitEthernet1/0/1]quit

2.

Repeat the previous steps to configure the MST parameters and SPBM function on BEB 2 and BEB
3. (Details not shown.)

3.

Configure the BCB:
# Create B-VLAN 3001.

system-view

[BCB]vlan 3001

[BCB-vlan3001]quit

# Configure MST region parameters on the BCB. Make sure B-VLAN 3001 is mapped to MSTI
4092

[BCB]stp region-configuration

[BCB-mst-region]region-name spb

[BCB-mst-region]instance 4092 vlan 3001

[BCB-mst-region]active region-configuration

[BCB-mst-region]quit

# Enable SPBM both globally and on the provider network ports on the BCB. Assign the provider
network ports to B-VLAN 3001.

[BCB]spbm

This manual is related to the following products: