Basic SPBM configuration example
Network requirements
Deploy an SPBM network as shown in Figure 10.
Use I-SID 1000 to extend VLAN 100 across customer sites 1, 2, and 3. Configure I-SID 1000, as shown in Table 5.
Table 5: SPBM service requirements
Item | Requirements |
---|---|
B-VLAN | VLAN 10 |
ECT algorithm index | 3 |
Multicast replication | Tandem replication |
Figure 10: Network diagram
Configuration procedure
Configure basic SPBM parameters:
# Create VLAN 100 and B-VLAN 10.
<BEB1> system-view [BEB1] vlan 100 [BEB1-vlan100] quit [BEB1] vlan 10 [BEB1-vlan10] quit
# Configure MST region parameters on BEB 1. Make sure B-VLAN 10 is mapped to MSTI 4092.
[BEB1] stp region-configuration [BEB1-mst-region] region-name spbm [BEB1-mst-region] instance 4092 vlan 10 [BEB1-mst-region] active region-configuration [BEB1-mst-region] quit
# Enable SPBM both globally and on the provider network ports on BEB 1, and assign the provider network ports to 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 [BEB1] interface ten-gigabitethernet 1/0/3 [BEB1-Ten-GigabitEthernet1/0/3] spbm enable [BEB1-Ten-GigabitEthernet1/0/3] port link-type trunk [BEB1-Ten-GigabitEthernet1/0/3] port trunk permit vlan 10 [BEB1-Ten-GigabitEthernet1/0/3] quit
# Repeat the previous steps to configure the MST parameters and SPBM feature on all other BEBs and BCBs. (Details not shown.)
NOTE:
On BCBs, you must enable SPBM on all the ports in the SPBM network.
Map B-VLAN 10 to ECT algorithm 3:
# Map B-VLAN 10 to ECT algorithm 3 on BEB 1.
[BEB1] spbm [BEB1-spbm] ect 3 b-vlan 10 [BEB1-spbm] quit
# Repeat the previous step to map B-VLAN 10 to ECT algorithm 3 on all other BEBs and BCBs. (Details not shown.)
Configure the Ethernet service instance for VLAN 100 on the customer edge port on BEB 1:
# Enable L2VPN.
[BEB1] l2vpn enable
# Create an SPB VSI (I-SID 1000) for VLAN 100 traffic.
[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 mode for the SPB VSI.
[BEB1-vsi-test-1000] multicast replicate-mode tandem [BEB1-vsi-test-1000] quit [BEB1-vsi-test] quit
# Create Ethernet service instance 1, assign VLAN 100 to this instance, and map the service instance to the SPB VSI.
[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 [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-Ten-GigabitEthernet1/0/2] quit [BEB1] quit
# Repeat the previous step to configure the Ethernet service instance for VLAN 100 on all other BEBs. (Details not shown.)
Verifying the configuration
Use Table 6 to verify that all the SPBM nodes have correctly established ISIS-SPB adjacencies and collected topology data, and that the BEBs have correctly established PWs.
Table 6: B-MACs of SPBM nodes
BEB | B-MAC | BCB | B-MAC |
---|---|---|---|
BEB 1 | 0011.2200.1101 | BCB 1 | 0011.2200.1401 |
BEB 2 | 0011.2200.1201 | BCB 2 | 0011.2200.1501 |
BEB 3 | 0011.2200.1301 |
Verify the configuration on BEBs (for example, BEB 1):
# Verify that the BEB has ISIS-SPB adjacencies with all its neighbors.
<BEB1> display spbm peer Peer information for SPBM ------------------------- System ID Port Circuit ID State Holdtime 0011.2200.1401 XGE1/0/1 1 Up 28s 0011.2200.1501 XGE1/0/3 1 Up 28s
The output shows that BEB 1 has adjacencies with BCB 1 and BCB 2.
# Verify that ISIS-SPB can collect complete SPBM topology data.
<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.1101.00-01* 0x00000003 0xe7c8 1180 108 0 0011.2200.1201.00-00 0x00000002 0xa9e 1186 93 0 0011.2200.1201.00-01 0x00000003 0x7e23 1186 108 0 0011.2200.1301.00-00 0x00000002 0xc9e 1186 93 0 0011.2200.1301.00-01 0x00000003 0x7a21 1186 108 0 0011.2200.1401.00-00 0x00000002 0xa23b 1190 93 0 0011.2200.1401.00-01 0x00000003 0xdfb6 1190 108 0 0011.2200.1501.00-00 0x00000002 0xa23b 1190 93 0 0011.2200.1501.00-01 0x00000003 0xdfb6 1190 108 0
# Verify that the BEB has unicast PWs to all other 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 0011.2200.1301 1000 0011-2200-1301 10 XGE1/0/1
# Verify that the BEB has a multicast PW on B-VLAN 10 for I-SID 1000.
<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 BEB has created unicast FDB entries for reaching other SPBM neighbors.
<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.1301 0011-2200-1301 10 T XGE1/0/1 0011.2200.1401 0011-2200-1401 10 T XGE1/0/1 0011.2200.1501 0011-2200-1501 10 T XGE1/0/3
# Verify that the BEB has created multicast FDB entries with itself as the multicast source.
<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 0011.2200.1301 0306-4002-03e8 10 E N/A
Verify the configuration on BCBs (for example, BCB 1):
# Verify that the BCB has ISIS-SPB adjacencies with all its neighbors.
<BCB1> display spbm peer Peer information for SPBM ------------------------- System ID Port Circuit ID State Holdtime 0011.2200.1101 XGE1/0/1 1 Up 26s 0011.2200.1201 XGE1/0/2 1 Up 26s 0011.2200.1301 XGE1/0/3 1 Up 22s
# Verify that ISIS-SPB can collect complete SPBM topology data.
<BCB1> 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.1101.00-01 0x00000003 0xe7c8 1180 108 0 0011.2200.1201.00-00 0x00000002 0xa9e 1186 93 0 0011.2200.1201.00-01 0x00000003 0x7e23 1186 108 0 0011.2200.1301.00-00 0x00000002 0xc9e 1186 93 0 0011.2200.1301.00-01 0x00000003 0x7a21 1186 108 0 0011.2200.1401.00-00* 0x00000002 0xa23b 1190 93 0 0011.2200.1401.00-01* 0x00000003 0xdfb6 1190 108 0 0011.2200.1501.00-00 0x00000002 0xa23b 1190 93 0 0011.2200.1501.00-01 0x00000003 0xdfb6 1190 108 0
# Verify that the BCB has created unicast FDB entries for reaching all other SPBM nodes.
<BCB1> display spbm unicast-fdb Flags: E-Egress T-Transit System ID B-MAC B-VLAN Flags Port 0011.2200.1101 0011-2200-1101 10 T XGE1/0/1 0011.2200.1201 0011-2200-1201 10 T XGE1/0/2 0011.2200.1301 0011-2200-1301 10 T XGE1/0/3 0011.2200.1501 0011-2200-1501 10 T XGE1/0/1
# Verify that the BCB has created multicast FDB entries for reaching all other SPBM nodes.
<BCB1> 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/2 XGE1/0/3 0011.2200.1201 0306-4001-03e8 10 T XGE1/0/1 XGE1/0/3 0011.2200.1301 0306-4002-03e8 10 T XGE1/0/1 XGE1/0/2