SPBM NSR configuration example
Network requirements
As shown in Figure 15, deploy an SPBM network to meet the following requirements:
Use I-SID 1000 to extend VLAN 100 across customer sites 1 and 2.
Use tandem replication for multicast in the SPBM network.
Assign B-VLAN 10 to I-SID 1000. Map B-VLAN 10 to ECT algorithm 3.
Enable NSR for SPBM on the BCB.
Figure 15: Network diagram
Table 7: B-MACs
BEB | B-MAC | BCB | B-MAC |
---|---|---|---|
BEB 1 | 0011.2200.1101 | BCB | 0011.2200.1401 |
BEB 2 | 0011.2200.1201 |
Configuration procedure
Configure the MST parameters and SPBM feature on BEB 1:
# Configure MST region parameters. Make sure B-VLAN 10 is mapped to MSTI 4092.
<BEB1> system-view [BEB1] vlan 10 [BEB1-vlan10] quit [BEB1] stp region-configuration [BEB1-mst-region] instance 4092 vlan 10 [BEB1-mst-region] region-name spbm [BEB1-mst-region] active region-configuration [BEB1-mst-region] quit
# Enable SPBM both globally and on the provider network port Ten-GigabitEthernet 1/0/1. Assign the provider network port to B-VLAN 10.
[BEB1] spbm [BEB1-spbm] quit [BEB1] interface ten-gigabitethernet 1/0/1 [BEB1-Ten-GigabitEthernet1/0/1] spbm enable [BEB1-Ten-GigabitEthernet1/0/1] port link-type trunk [BEB1-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10 [BEB1-Ten-GigabitEthernet1/0/1] quit
# Map B-VLAN 10 to ECT algorithm 3.
[BEB1] spbm [BEB1-spbm] ect 3 b-vlan 10 [BEB1-spbm] quit
Configure the MST parameters and SPBM feature on BEB 2 and the BCB in the same way you configure BEB 1. (Details not shown.)
Configure the customer-side settings on BEB 1:
# Enable L2VPN.
[BEB1] l2vpn enable
# Create an SPB VSI (I-SID 1000).
[BEB1] vsi test [BEB1-vsi-test] spb i-sid 1000
# Assign B-VLAN 10 to the SPB VSI.
[BEB1-vsi-test-1000] b-vlan 10
# Enable tandem multicast replication for the SPB VSI.
[BEB1-vsi-test-1000] multicast replicate-mode tandem [BEB1-vsi-test-1000] quit [BEB1-vsi-test] quit
# Assign customer network port Ten-GigabitEthernet 1/0/2 to VLAN 100.
[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 100
# Configure Ethernet service instance 1 to match VLAN 100, and map the service instance to the SPB VSI.
[BEB1-Ten-GigabitEthernet1/0/2] service-instance 1 [BEB1-Ten-GigabitEthernet1/0/2-srv1] encapsulation s-vid 100 [BEB1-Ten-GigabitEthernet1/0/2-srv1] xconnect vsi test [BEB1-Ten-GigabitEthernet1/0/2-srv1] quit [BEB1] quit
Configure the customer-side settings on BEB 2 in the same way you configure BEB 1. (Details not shown.)
Enable NSR for SPBM on the BCB.
<BCB> system-view [BCB] spbm [BCB-spbm] non-stop-routing [BCB-spbm] quit
Verifying the configuration
Trigger an active/standby switchover on the BCB. (Details not shown.)
Verify that the BEBs are unaware of the ongoing active/standby switchover:
# Verify that the BEB has adjacency with the BCB. This example uses BEB 1.
<BEB1> display spbm peer Peer information for SPBM ------------------------- System ID Port Circuit ID State Holdtime 0011.2200.1401 XGE1/0/1 1 Up 28s
# Verify that the network topology information has not changed on the BEB.
<BEB1> display spbm lsdb Database information for SPBM ----------------------------- LSP ID: * - Local LSP LSP ID Seq Num Checksum Holdtime Length Overload ------------------------------------------------------------------------------- 0011.2200.1101.00-00* 0x00000002 0x7bf8 1180 93 0 0011.2200.1201.00-00 0x00000002 0xa9e 1186 93 0 0011.2200.1401.00-00 0x00000002 0xa23b 1190 93 0
# Verify that the unicast MAC-in-MAC tunnel has not changed between the BEBs.
<BEB1> display spbm unicast-pw System ID I-SID B-MAC B-VLAN Port 0011.2200.1201 1000 0011-2200-1201 10 XGE1/0/1
# Verify that the multicast MAC-in-MAC tunnel has not changed between the BEBs.
<BEB1> display spbm multicast-pw System ID I-SID MAC address B-VLAN Port 0011.2200.1101 1000 0306-4000-03e8 10 XGE1/0/1
# Verify that the unicast routes have not changed on the BEB.
<BEB1> display spbm unicast-fdb Flags: E-Egress T-Transit System ID B-MAC B-VLAN Flags Port 0011.2200.1201 0011-2200-1201 10 T XGE1/0/1 0011.2200.1401 0011-2200-1401 10 T XGE1/0/1
# Verify that the multicast routes have not changed on the BEB.
<BEB1> display spbm multicast-fdb Flags: E-Egress T-Transit System ID MAC address B-VLAN Flags Port 0011.2200.1101 0306-4000-03e8 10 T XGE1/0/1 0011.2200.1201 0306-4001-03e8 10 E N/A