ECT migration by changing ECT algorithm example

Network requirements

As shown in Figure 14, move I-SID 1000 from the original ECT algorithm to ECT algorithm 2. Change the B-VLAN for I-SID 1000 from VLAN 10 to VLAN 20.

Figure 14: Network diagram

Configuration procedure

This example uses BEB 1 to show the configuration procedure. You can configure other SPBM devices in the same way you configure BEB 1.

  1. Configure the new B-VLAN (VLAN 20 in this example):

    Perform this task on all BEBs and BCBs in the SPBM network.

    # Create VLAN 20.

    <BEB1> system-view
    [BEB1] vlan 20
    [BEB1-vlan20] quit
    

    # Map B-VLAN 20 to MSTI 4092, and activate the change.

    [BEB1] stp region-configuration
    [BEB1-mst-region] instance 4092 vlan 20
    [BEB1-mst-region] active region-configuration
    [BEB1-mst-region] quit
    

    # Assign the provider network ports to VLAN 20.

    [BEB1] interface ten-gigabitethernet 1/0/1
    [BEB1-Ten-GigabitEthernet1/0/1] port trunk permit vlan 20
    [BEB1-Ten-GigabitEthernet1/0/1] quit
    [BEB1] interface ten-gigabitethernet 1/0/3
    [BEB1-Ten-GigabitEthernet1/0/3] port trunk permit vlan 20
    [BEB1-Ten-GigabitEthernet1/0/3] quit
    
  2. Map B-VLAN 20 to ECT algorithm 2.

    Perform this task on all BEBs and BCBs in the SPBM network.

    [BEB1] spbm
    [BEB1-spbm] ect 2 b-vlan 20
    [BEB1-spbm] quit
    
  3. Assign B-VLAN 20 to I-SID 1000.

    Perform this task on all BEBs in the SPBM network.

    [BEB1] vsi test
    [BEB1-vsi-test] spb i-sid 1000
    [BEB1-vsi-test-1000] b-vlan 20
    [BEB1-vsi-test-1000] quit
    [BEB1-vsi-test] quit
    [BEB1] quit
    

Verifying the configuration

  1. Verify the configuration and forwarding states during ECT migration:

    • On BEBs (BEB 1 in this example):

      # Verify the ECT migration configuration for I-SID 1000.

      <BEB1> display spbm ect-migration i-sid 1000 
      ECT            B-VLAN    T    R
      00-80-c2-02    20        1    1
      00-80-c2-03    10        1    1
      

      The output shows that I-SID 1000 is migrating from ECT algorithm 3 to ECT algorithm 2. During this period, both B-VLAN 10 and B-VLAN 20 can transmit traffic.

      # Verify that the BEB has set up unicast PWs for I-SID 1000 on both B-VLANs 10 and 20.

      <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
                                                       20       XGE1/0/3
      0011.2200.1301       1000       0011-2200-1301   10       XGE1/0/1
                                                       20       XGE1/0/3
      

      # Verify that the BEB still uses the original multicast PW established 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 in both B-VLAN 10 and B-VLAN 20 for I-SID 1000.

      <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.1201       0011-2200-1201   20       T      XGE1/0/3
      0011.2200.1301       0011-2200-1301   10       T      XGE1/0/1
      0011.2200.1301       0011-2200-1301   20       T      XGE1/0/3
      0011.2200.1401       0011-2200-1401   10       T      XGE1/0/1
      0011.2200.1401       0011-2200-1401   20       T      XGE1/0/1
      0011.2200.1501       0011-2200-1501   10       T      XGE1/0/3
      0011.2200.1501       0011-2200-1501   20       T      XGE1/0/3
      

      # Verify that the BEB has created multicast FDB entries in both B-VLAN 10 and B-VLAN 20 for I-SID 1000.

      <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.1101       0306-4000-03e8   20       T      XGE1/0/3
      0011.2200.1201       0306-4001-03e8   10       E      N/A
      0011.2200.1201       0306-4001-03e8   20       E      N/A
      0011.2200.1301       0306-4002-03e8   10       E      N/A
      0011.2200.1301       0306-4002-03e8   20       E      N/A
      
    • On BCBs (BCB 1 in this example):

      # Verify that the BCB has created unicast FDB entries in both B-VLANs 10 and 20 for I-SID 1000.

      <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.1101       0011-2200-1101   20       T      XGE1/0/1
      0011.2200.1201       0011-2200-1201   10       T      XGE1/0/2
      0011.2200.1201       0011-2200-1201   20       T      XGE1/0/2
      0011.2200.1301       0011-2200-1301   10       T      XGE1/0/3
      0011.2200.1301       0011-2200-1301   20       T      XGE1/0/3
      0011.2200.1501       0011-2200-1501   10       T      XGE1/0/1
      0011.2200.1501       0011-2200-1501   20       T      XGE1/0/3
      

      # Verify that the BCB has created multicast FDB entries in both B-VLANs 10 and 20 for I-SID 1000.

      <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.1101       0306-4000-03e8   20       T      XGE1/0/2
                                                            XGE1/0/3
      0011.2200.1201       0306-4001-03e8   10       T      XGE1/0/1
                                                            XGE1/0/3
      0011.2200.1201       0306-4001-03e8   20       T      XGE1/0/1
                                                            XGE1/0/3
      0011.2200.1301       0306-4002-03e8   10       T      XGE1/0/1
                                                            XGE1/0/2
      0011.2200.1301       0306-4002-03e8   20       T      XGE1/0/1
                                                            XGE1/0/2
      
  2. Verify the configuration and forwarding states after ECT migration is complete:

    • On BEBs (BEB 1 in this example):

      # Verify that I-SID 1000 has migrated from ECT algorithm 3 to ECT algorithm 2. SPBM has removed the mapping between I-SID 1000 and B-VLAN 10.

      <BEB1> display spbm ect-migration i-sid 1000 
      ECT            B-VLAN    T    R
      00-80-c2-02    20        1    1
      

      # Verify that the BEB has unicast PWs only on B-VLAN 20 for I-SID 1000. The BEB has removed the PWs set up on B-VLAN 10 for I-SID 1000.

      <BEB1> display spbm unicast-pw
      System ID            I-SID      B-MAC            B-VLAN   Port
      0011.2200.1201       1000       0011-2200-1201   20       XGE1/0/3
      0011.2200.1301       1000       0011-2200-1301   20       XGE1/0/3
      

      # Verify that the BEB has set up a multicast PW on B-VLAN 20 for I-SID 1000. The original multicast PW has been removed.

      <BEB1> display spbm multicast-pw
      System ID            I-SID      MAC address      B-VLAN   Port
      0011.2200.1101       1000       0306-4000-03e8   20       XGE1/0/3
      

      # Verify that the BEB has unicast FDB entries for both B-VLANs 10 and 20. The BEB still has unicast FDB entries for B-VLAN 10 because B-VLAN 10 is still on MSTI 4092.

      <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.1201       0011-2200-1201   20       T      XGE1/0/3
      0011.2200.1301       0011-2200-1301   10       T      XGE1/0/1
      0011.2200.1301       0011-2200-1301   20       T      XGE1/0/3
      0011.2200.1401       0011-2200-1401   10       T      XGE1/0/1
      0011.2200.1401       0011-2200-1401   20       T      XGE1/0/1
      0011.2200.1501       0011-2200-1501   10       T      XGE1/0/3
      0011.2200.1501       0011-2200-1501   20       T      XGE1/0/3
      

      # Verify that the BEB has multicast FDB entries only in B-VLAN 20.

      <BEB1> display spbm multicast-fdb
      Flags: E-Egress T-Transit 
      
      System ID            MAC address      B-VLAN   Flags  Port
      0011.2200.1101       0306-4000-03e8   20       T      XGE1/0/3
      0011.2200.1201       0306-4001-03e8   20       E      N/A
      0011.2200.1301       0306-4002-03e8   20       E      N/A
      
    • On BCBs (BCB 1 in this example):

      # Verify that the BCB has unicast FDB entries in both B-VLANs 10 and 20 for I-SID 1000.

      <BCB> 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.1101       0011-2200-1101   20       T      XGE1/0/1
      0011.2200.1201       0011-2200-1201   10       T      XGE1/0/2
      0011.2200.1201       0011-2200-1201   20       T      XGE1/0/2
      0011.2200.1301       0011-2200-1301   10       T      XGE1/0/3
      0011.2200.1301       0011-2200-1301   20       T      XGE1/0/3
      0011.2200.1501       0011-2200-1501   10       T      XGE1/0/1
      0011.2200.1501       0011-2200-1501   20       T      XGE1/0/3
      

      # Verify that the BCB has multicast FDB entries only in B-VLAN 20 for I-SID 1000.

      <BCB> display spbm multicast-fdb
      Flags: E-Egress T-Transit
      
      System ID            MAC address      B-VLAN   Flags  Port
      0011.2200.1101       0306-4000-03e8   20       T      XGE1/0/2
                                                            XGE1/0/3
      0011.2200.1201       0306-4001-03e8   20       T      XGE1/0/1
                                                            XGE1/0/3
      0011.2200.1301       0306-4002-03e8   20       T      XGE1/0/1
                                                            XGE1/0/2