SPBM with tandem replication configuration example
Network requirements
As shown in Figure 12, deploy an SPBM network to meet the following requirements:
Use I-SID 3001 to extend VLAN 100 across customer sites 1, 2, and 3.
Use tandem replication for multicast in the SPBM network.
Assign B-VLAN 3001 to I-SID 3001.
Figure 12: Network diagram
Configuration procedure
Configure BEB 1:
# Create VLAN 100 and B-VLAN 3001.
<BEB1> system-view [BEB1] vlan 100 [BEB1-vlan100] quit [BEB1] vlan 3001 [BEB1-vlan3001] quit
# Configure MST region parameters on BEB 1. Make sure B-VLAN 3001 is mapped to MSTI 4092.
[BEB1] stp region-configuration [BEB1-mst-region] region-name spb [BEB1-mst-region] instance 4092 vlan 3001 [BEB1-mst-region] active region-configuration [BEB1-mst-region] quit
# Enable SPBM both globally and on the provider network port on BEB 1. Assign the provider network port to B-VLAN 3001.
[BEB1] spbm [BEB1-spbm] quit [BEB1] interface ten-gigabitethernet 1/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 for the SPB VSI.
[BEB1-vsi-test-3001] multicast replicate-mode tandem [BEB1-vsi-test-3001] quit [BEB1-vsi-test] quit
# Assign customer network port Ten-GigabitEthernet 1/0/1 to VLAN 100.
[BEB1] interface ten-gigabitethernet 1/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 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
Repeat the previous steps to configure the MST parameters and SPBM feature on BEB 2 and BEB 3. (Details not shown.)
Configure the BCB:
# Create B-VLAN 3001.
<BCB> 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 [BCB-spbm] quit [BCB] interface ten-gigabitethernet 1/0/1 [BCB-Ten-GigabitEthernet1/0/1] port link-type trunk [BCB-Ten-GigabitEthernet1/0/1] port trunk permit vlan 3001 [BCB-Ten-GigabitEthernet1/0/1] spbm enable [BCB-Ten-GigabitEthernet1/0/1] quit [BCB] interface ten-gigabitethernet 1/0/2 [BCB-Ten-GigabitEthernet1/0/2] port link-type trunk [BCB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 3001 [BCB-Ten-GigabitEthernet1/0/2] spbm enable [BCB-Ten-GigabitEthernet1/0/2] quit
Verifying the configuration
Verify the configuration on BEBs (for example, BEB 1).
Verify that the BEB has ISIS-SPB adjacency with its neighbor.
[BEB1] display spbm peer Peer information for SPBM ------------------------- System ID Port Circuit ID State Holdtime 0000.eeee.0101 XGE1/0/2 2 Up 29s
Verify that the BEB has established tunnels to other BEBs.
[BEB1] display l2vpn vsi name test verbose VSI Name: test VSI Index : 1 VSI State : Up MTU : 1500 Bandwidth : Unlimited Broadcast Restrain : Unlimited Multicast Restrain : Unlimited Unknown Unicast Restrain: Unlimited MAC Learning : Enabled MAC Table Limit : - MAC Learning rate : - Drop Unknown : - SPB I-SID : 3001 Flooding : Enabled Statistics : Disabled VXLAN ID : - SPB Connections: BMAC BVLAN Link ID Type 0000-eeee-0141 3001 64 Unicast 0000-9999-0141 3001 65 Unicast 0300-6000-0bb9 3001 - Multicast ACs: AC Link ID State Type XGE1/0/1 srv1 0 Up Manual
The output shows that a multicast tunnel has been established for tandem multicast replication.