Tuesday, December 25, 2018

CCIE SPv4 MPLS Multicast VPN - Profile 12 Default MDT - MLDP - P2MP - BGP-AD - BGP C-mcast Signaling

In this post we'll take a look at the next MPVN profile, Profile 12, where we migrate from PIM as the customer multicast signaling mechanism to BGP. XR1's control plane works and so does SSM traffic, ASM traffic on the other hand does not.

R1, R3 and R7
vrf definition MVPN
 address-family ipv4
  mdt overlay use-bgp


XR1
router pim
 vrf CORE
  address-family ipv4
   mdt c-multicast-routing bgp



With the configuration in place, we can begin verifying the BGP MVPN tables.

R1#show bgp ipv4 mvpn all | b Network
     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:100 (default for vrf MVPN)
 *>  [1][100:100][192.0.2.1]/12
                       0.0.0.0                            32768 ?
 *>i [1][100:100][192.0.2.3]/12
                       192.0.2.3                0    100      0 ?
 *>i [1][100:100][192.0.2.7]/12
                       192.0.2.7                0    100      0 ?
 *>i [1][100:100][192.0.2.21]/12
                       192.0.2.21                    100      0 i
 *>  [3][100:100][192.0.2.15][232.15.15.15][192.0.2.1]/22
                       0.0.0.0                            32768 ?
 *>i [6][100:100][1.50693][192.0.2.15/32][227.1.2.3/32]/22
                       192.0.2.7                0    100      0 ?
 *>i [7][100:100][1.50693][192.0.2.15/32][232.15.15.15/32]/22
                       192.0.2.3                0    100      0 ?


R3#sh bgp ipv4 mvpn all | b Network
     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:100 (default for vrf MVPN)
 *>i [1][100:100][192.0.2.1]/12
                       192.0.2.1                0    100      0 ?
 *>  [1][100:100][192.0.2.3]/12
                       0.0.0.0                            32768 ?
 *>i [1][100:100][192.0.2.7]/12
                       192.0.2.7                0    100      0 ?
 *>i [1][100:100][192.0.2.21]/12
                       192.0.2.21                    100      0 i
 *>i [3][100:100][192.0.2.15][232.15.15.15][192.0.2.1]/22
                       192.0.2.1                0    100      0 ?
 *>  [6][100:100][1.50693][192.0.2.15/32][227.1.2.3/32]/22
                       0.0.0.0                            32768 ?
 *>  [7][100:100][1.50693][192.0.2.15/32][232.15.15.15/32]/22
                       0.0.0.0                            32768 ?


R7#sh bgp ipv4 mvpn all | b Network
     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:100 (default for vrf MVPN)
 *>i [1][100:100][192.0.2.1]/12
                       192.0.2.1                0    100      0 ?
 *>i [1][100:100][192.0.2.3]/12
                       192.0.2.3                0    100      0 ?
 *>  [1][100:100][192.0.2.7]/12
                       0.0.0.0                            32768 ?
 *>i [1][100:100][192.0.2.21]/12
                       192.0.2.21                    100      0 i
 *>i [3][100:100][192.0.2.15][232.15.15.15][192.0.2.1]/22
                       192.0.2.1                0    100      0 ?
 *>  [6][100:100][1.50693][192.0.2.15/32][227.1.2.3/32]/22
                       0.0.0.0                            32768 ?
 *>  [7][100:100][1.50693][192.0.2.16/32][232.16.16.16/32]/22
                       0.0.0.0                            32768 ?


RP/0/0/CPU0:XR1#sh bgp ipv4 mvpn | b Network
Mon Dec 24 03:46:31.219 UTC
   Network            Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:100 (default for vrf CORE)
*>i[1][192.0.2.1]/40  192.0.2.1                0    100      0 ?
*>i[1][192.0.2.3]/40  192.0.2.3                0    100      0 ?
*>i[1][192.0.2.7]/40  192.0.2.7                0    100      0 ?
*> [1][192.0.2.21]/40 0.0.0.0                                0 i
*>i[3][32][192.0.2.15][32][232.15.15.15][192.0.2.1]/120
                      192.0.2.1                0    100      0 ?
*>i[7][100:100][116229][32][192.0.2.16][32][232.16.16.16]/184
                      192.0.2.7                0    100      0 ?

As you can see, all 3 IOS PE routers have Type 6 and 7 routes, Type 6 for ASM and Type 7 for SSM. XR1 just has Type 7 for SSM.

We'll verify the MPLS MLDP databases and the forwarding tables.

R1#sh mpls mldp database | in P2MP|Label|FEC Root
LSM ID : 23   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.21 
      Out Label (U)  : None          Interface    : GigabitEthernet1.14*
      Local Label (D): 1022          Next Hop     : 100.64.14.4
LSM ID : 1F   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.1 (we are the root)
LSM ID : 20   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.3 
      Out Label (U)  : None          Interface    : GigabitEthernet1.12*
      Local Label (D): 1020          Next Hop     : 100.64.12.2
LSM ID : 21   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.7 
      Out Label (U)  : None          Interface    : GigabitEthernet1.14*
      Local Label (D): 1021          Next Hop     : 100.64.14.4
LSM ID : 2C   Type: P2MP   Uptime : 04:23:25
  FEC Root           : 192.0.2.1 (we are the root)


R1#show mpls forwarding-table labels 1020 - 1022
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
1020  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       0             aggregate/MVPN 
1021  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       0             aggregate/MVPN 
1022  [T]  No Label   [gid 1 (0x00000001)][V]   \
                                       3416          aggregate/MVPN 


R3#sh mpls mldp database | in P2MP|Label|FEC Root
LSM ID : 1F   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.21 
      Out Label (U)  : None          Interface    : GigabitEthernet1.36*
      Local Label (D): 3025          Next Hop     : 100.64.36.6
LSM ID : 1C   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.23*
      Local Label (D): 3022          Next Hop     : 100.64.23.2
LSM ID : 1B   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.3 (we are the root)
LSM ID : 1D   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.7 
      Out Label (U)  : None          Interface    : GigabitEthernet1.36*
      Local Label (D): 3021          Next Hop     : 100.64.36.6
LSM ID : 28   Type: P2MP   Uptime : 04:24:24
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.23*
      Local Label (D): 3023          Next Hop     : 100.64.23.2


R3#show mpls forwarding-table labels 3020 - 3025
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
3021  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       0             aggregate/MVPN 
3022  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       2074          aggregate/MVPN 
3023  [T]  No Label   [gid 65537 (0x00010001)][V]   \
                                       2440          aggregate/MVPN 
3025  [T]  No Label   [gid 1 (0x00000001)][V]   \
                                       976           aggregate/MVPN 


R7#sh mpls mldp database | in P2MP|Label|FEC Root
LSM ID : 18   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.21 
      Out Label (U)  : None          Interface    : GigabitEthernet1.127*
      Local Label (D): 7021          Next Hop     : 100.64.127.12
LSM ID : 16   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.67*
      Local Label (D): 7025          Next Hop     : 100.64.67.6
LSM ID : 17   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.3 
      Out Label (U)  : None          Interface    : GigabitEthernet1.67*
      Local Label (D): 7022          Next Hop     : 100.64.67.6
LSM ID : 15   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.7 (we are the root)


R7#sh mpls forwarding-table labels 7020 - 7025
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
7021  [T]  No Label   [gid 1 (0x00000001)][V]   \
                                       1952          aggregate/MVPN 
           6020       [gid 1 (0x00000001)][V]   \
                                       336184        Gi1.67     100.64.67.6 
7022  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       0             aggregate/MVPN 
7025  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       2074          aggregate/MVPN 


RP/0/0/CPU0:XR1#sh mpls mldp database | in "Label|FEC Root|P2MP"
Mon Dec 24 04:05:22.542 UTC
LSM-ID: 0x00009  Type: P2MP  Uptime: 1d12h
  FEC Root           : 192.0.2.21 (we are the root)
      Local Label     : 91010 (internal)
LSM-ID: 0x00006  Type: P2MP  Uptime: 1d12h
  FEC Root           : 192.0.2.1 
      Local Label (D) : 91011             
LSM-ID: 0x00007  Type: P2MP  Uptime: 1d12h
  FEC Root           : 192.0.2.3 
      Local Label (D) : 91013             
LSM-ID: 0x00008  Type: P2MP  Uptime: 1d12h
  FEC Root           : 192.0.2.7 
      Local Label (D) : 91014            


RP/0/0/CPU0:XR1#show mpls forwarding labels 91010 91014
Mon Dec 24 04:06:36.287 UTC
Local  Outgoing    Prefix             Outgoing     Next Hop        Bytes       
Label  Label       or ID              Interface                    Switched    
------ ----------- ------------------ ------------ --------------- ------------
91010  92018       MLDP: 0x00009      Gi0/0/0/0.112 100.64.112.120  0           
       4021        MLDP: 0x00009      Gi0/0/0/0.114 100.64.114.4    0           
91011  Unlabelled  MLDP: 0x00006
91013  Unlabelled  MLDP: 0x00007
91014  Unlabelled  MLDP: 0x00008


We'll test from R15 to the ASM and then the SSM groups, then test on R16 to the SSM group.

R15#ping 227.1.2.3 repeat 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 227.1.2.3, timeout is 2 seconds:

Reply to request 0 from 100.64.211.17, 35 ms
Reply to request 0 from 192.0.2.18, 37 ms
Reply to request 0 from 100.64.214.18, 36 ms
Reply to request 0 from 192.0.2.17, 36 ms
Reply to request 1 from 192.0.2.17, 7 ms
Reply to request 1 from 192.0.2.18, 34 ms
Reply to request 1 from 100.64.214.18, 24 ms
Reply to request 1 from 192.0.2.18, 15 ms
Reply to request 1 from 192.0.2.17, 10 ms
Reply to request 1 from 100.64.211.17, 7 ms
Reply to request 2 from 192.0.2.17, 10 ms
Reply to request 2 from 192.0.2.18, 16 ms
Reply to request 2 from 192.0.2.17, 13 ms
Reply to request 2 from 192.0.2.18, 11 ms


 R3#sh mpls mldp database | in P2MP|Label|FEC Root
LSM ID : 1F   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.21 
      Out Label (U)  : None          Interface    : GigabitEthernet1.36*
      Local Label (D): 3025          Next Hop     : 100.64.36.6
LSM ID : 1C   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.23*
      Local Label (D): 3022          Next Hop     : 100.64.23.2
LSM ID : 1B   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.3 (we are the root)
LSM ID : 1D   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.7 
      Out Label (U)  : None          Interface    : GigabitEthernet1.36*
      Local Label (D): 3021          Next Hop     : 100.64.36.6
LSM ID : 28   Type: P2MP   Uptime : 04:30:54
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.23*
      Local Label (D): 3023          Next Hop     : 100.64.23.2
LSM ID : 2D   Type: P2MP   Uptime : 00:00:15
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.23*
      Local Label (D): 3020          Next Hop     : 100.64.23.2
LSM ID : 2C   Type: P2MP   Uptime : 00:00:15
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.23*
      Local Label (D): 3024          Next Hop     : 100.64.23.2


R3#show mpls forwarding-table labels 3020 - 3025 
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
3020  [T]  No Label   [gid 65538 (0x00010002)][V]   \
                                       0             aggregate/MVPN 
3021  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       0             aggregate/MVPN 
3022  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       2684          aggregate/MVPN 
3023  [T]  No Label   [gid 65537 (0x00010001)][V]   \
                                       2440          aggregate/MVPN 
3024  [T]  No Label   [gid 65539 (0x00010003)][V]   \
                                       0             aggregate/MVPN 
3025  [T]  No Label   [gid 1 (0x00000001)][V]   \
                                       976           aggregate/MVPN 

We can see that label 3022 has incremented from 2074 to 2684.

R7#sh mpls mldp database | in P2MP|Label|FEC Root
LSM ID : 18   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.21 
      Out Label (U)  : None          Interface    : GigabitEthernet1.127*
      Local Label (D): 7021          Next Hop     : 100.64.127.12
LSM ID : 16   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.67*
      Local Label (D): 7025          Next Hop     : 100.64.67.6
LSM ID : 17   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.3 
      Out Label (U)  : None          Interface    : GigabitEthernet1.67*
      Local Label (D): 7022          Next Hop     : 100.64.67.6
LSM ID : 15   Type: P2MP   Uptime : 1d12h
  FEC Root           : 192.0.2.7 (we are the root)
LSM ID : 25   Type: P2MP   Uptime : 00:00:43
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.67*
      Local Label (D): 7023          Next Hop     : 100.64.67.6
LSM ID : 24   Type: P2MP   Uptime : 00:00:43
  FEC Root           : 192.0.2.1 
      Out Label (U)  : None          Interface    : GigabitEthernet1.67*
      Local Label (D): 7020          Next Hop     : 100.64.67.6


R7#sh mpls forwarding-table labels 7020 - 7025   
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
7020  [T]  No Label   [gid 65539 (0x00010003)][V]   \
                                       0             aggregate/MVPN 
7021  [T]  No Label   [gid 1 (0x00000001)][V]   \
                                       1952          aggregate/MVPN 
           6020       [gid 1 (0x00000001)][V]   \
                                       337064        Gi1.67     100.64.67.6 
7022  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       0             aggregate/MVPN 
7023  [T]  No Label   [gid 65538 (0x00010002)][V]   \
                                       0             aggregate/MVPN 
7025  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       2684          aggregate/MVPN 

We can see that label 7021 incremented from 336184 to 337064.

R15#ping 232.15.15.15 source lo0 repeat 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 232.15.15.15, timeout is 2 seconds:
Packet sent with a source address of 192.0.2.15 

Reply to request 0 from 192.0.2.17, 7 ms
Reply to request 0 from 192.0.2.17, 9 ms
Reply to request 1 from 192.0.2.17, 6 ms
Reply to request 1 from 192.0.2.17, 7 ms
Reply to request 2 from 192.0.2.17, 7 ms
Reply to request 2 from 192.0.2.17, 8 ms

Now we ping the SSM group from R15.

R3#show mpls forwarding-table labels 3020 - 3025 
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
3021  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       0             aggregate/MVPN 
3022  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       2684          aggregate/MVPN 
3023  [T]  No Label   [gid 65537 (0x00010001)][V]   \
                                       2928          aggregate/MVPN 
3025  [T]  No Label   [gid 1 (0x00000001)][V]   \
                                       976           aggregate/MVPN 

We see that label 3023 has incremented from 2440 to 2928.

R16#ping 232.16.16.16 source lo0 repeat 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 232.16.16.16, timeout is 2 seconds:
Packet sent with a source address of 192.0.2.16 

Reply to request 0 from 192.0.2.18, 8 ms
Reply to request 0 from 192.0.2.18, 9 ms
Reply to request 1 from 192.0.2.18, 8 ms
Reply to request 1 from 192.0.2.18, 8 ms
Reply to request 2 from 192.0.2.18, 7 ms
Reply to request 2 from 192.0.2.18, 7 ms

We ping the SSM group from R16.

R7#sh mpls forwarding-table labels 7020 - 7025
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
7021  [T]  No Label   [gid 1 (0x00000001)][V]   \
                                       2684          aggregate/MVPN 
           6020       [gid 1 (0x00000001)][V]   \
                                       338356        Gi1.67     100.64.67.6 
7022  [T]  No Label   [gid 65536 (0x00010000)][V]   \
                                       0             aggregate/MVPN 

We see that label 7021 has incremented from 336184 to 338356.

Thanks for stopping by!
Rob Riker, CCIE #50693

No comments:

Post a Comment