beautypg.com

H3C Technologies H3C S12500 Series Switches User Manual

Page 51

background image

43

[BEB1-mst-region]region-name spb

[BEB1-mst-region]instance 4092 vlan 3001 3003

[BEB1-mst-region]active region-configuration

[BEB1-mst-region]quit

# Enable SPBM globally.

[BEB1]spbm

# Map B-VLAN 3003 to ECT algorithm 9.

[BEB1-spbm]ect 9 b-vlan 3003

[BEB1-spbm]quit

# Enable SPBM on the provider network ports on BEB 1. Assign the provider network ports to
B-VLAN 3001 and B-VLAN 3003.

[BEB1] interface Ten-GigabitEthernet3/0/2

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

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

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

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

[BEB1] interface Ten-GigabitEthernet3/0/3

[BEB1-Ten-GigabitEthernet3/0/3]port link-type trunk

[BEB1-Ten-GigabitEthernet3/0/3]port trunk permit vlan 3001 3003

[BEB1-Ten-GigabitEthernet3/0/3]spbm enable

[BEB1-Ten-GigabitEthernet3/0/3]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

[BEB1-vsi-test-3001]quit

[BEB1-vsi-test]quit

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

[BEB1]interface Ten-GigabitEthernet3/0/1

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

[BEB1-Ten-GigabitEthernet3/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-GigabitEthernet3/0/1]service-instance 1

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

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

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

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

2.

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

3.

Configure BCB 1:
# Create B-VLAN 3001 and B-VLAN 3003.

system-view

This manual is related to the following products: