Figure: Example configuration shows an example GTM configuration.
where:
routers A and F are CE routers
routers B, C, D, and E are MSR routers in the core network
the multicast source is at x4
the multicast receivers are at x1, x2, and x3
Perform the following steps to configure GTM:
The following output displays the PIM configuration.
*B:Dut-D>config>router>pim# info
----------------------------------------------
             interface "intf_to_B"
                 shutdown
             exit
             interface "intf_to_E"
                 shutdown
             exit
             apply-to all
             rp
                 static
                     address 10.100.1.1
                         group-prefix 224.0.0.0/4
                     exit
                 exit
                 bsr-candidate
                     shutdown
                 exit
                 rp-candidate
                     shutdown
                 exit
             exit
             gtm
                 auto-discovery default
             exit
             no mc-ecmp-balance
             no shutdown
----------------------------------------------
*B:Dut-D>config>router>pim# 
                The following output displays the GTM configuration.
*B:Dut-D>config>router>gtm# info
----------------------------------------------
             mvpn
             provider-tunnel
                 inclusive
                     rsvp
                         lsp-template "IpmsiTmpl"
                         no shutdown
                     exit
                 exit
                 selective
                     rsvp
                         lsp-template "SpmsiTmpl"
                         no shutdown
                     exit
                     maximum-p2mp-spmsi 4000
                     data-threshold 224.0.0.0/4 1
                 exit
             exit
----------------------------------------------
*B:Dut-D>config>router>gtm#
                The following output displays the route policy configuration.
*B:Dut-D>config>router>policy-options# info
----------------------------------------------
             prefix-list "sourceList"
                 prefix 10.10.0.0/16 longer
                 prefix 10.100.0.0/16 longer
                 prefix 10.114.0.0/16 longer
                 prefix 2001:db8:10:10:0:0/96 longer
                 prefix 2001:db8:100:0:0/96 longer
                 prefix 2001:db8:114:0:0/96 longer
             exit
             policy-statement "acceptAll"
                 default-action accept
                 exit
             exit
             policy-statement "acceptAllBgp"
                 entry 10
                     from
                         protocol rip
                     exit
                     action accept
                     exit
                 exit
                 entry 11
                     from
                         protocol ripng
                     exit
                     action accept
                     exit
                 exit
                 default-action drop
                 exit
             exit
             policy-statement "acceptAllPref8"
                 default-action accept
                     preference 8
                 exit
             exit
----------------------------------------------
*B:Dut-D>config>router>policy-options#
                The following output displays the BGP configuration on router D.
*B:Dut-D#configure router bgp
*B:Dut-D>config>router>bgp# info
----------------------------------------------
             connect-retry 1
             multipath 16
             export "acceptAllBgp"
             router-id 10.20.1.4
             rapid-withdrawal
             rapid-update mvpn-ipv4 mdt-safi mvpn-ipv6
             mvpn-vrf-import-subtype-new
             best-path-selection
                 ignore-nh-metric
             exit
             group "none"
                 family ipv4 ipv6 mvpn-ipv4 mvpn-ipv6 label-ipv4 label-ipv6
                 next-hop-self
                 local-address 10.20.1.4
                 neighbor 10.20.1.2
                     peer-as 200
                 exit
                 neighbor 10.20.1.3
                     med-out 100
                     peer-as 200
                 exit
                 neighbor 10.20.1.5
                     med-out 100
                     peer-as 200
                 exit
             exit
             no shutdown
----------------------------------------------
                    The following output displays the MVPN context on router D.
*B:Dut-D# show router mvpn
===============================================================================
MVPN Base configuration data
===============================================================================
signaling          : Bgp                  auto-discovery     : Default
UMH Selection      : Highest-Ip           SA withdrawn       : Disabled
intersite-shared   : Enabled              Persist SA         : Disabled
vrf-import         : N/A
vrf-export         : N/A
vrf-target         : unicast
C-Mcast Import RT  : target:10.20.1.4:0
ipmsi              : rsvp IpmsiTmpl
i-pmsi P2MP AdmSt  : Up
i-pmsi Tunnel Name : IpmsiTmpl-gtm-73881
enable-bfd-root    : false                enable-bfd-leaf    : false
Mdt-type           : sender-receiver
BSR signalling     : none
Wildcard s-pmsi    : Disabled
Multistream-SPMSI  : Disabled
spmsi              : rsvp SpmsiTmpl
s-pmsi P2MP AdmSt  : Up
max-p2mp-spmsi     : 4000
data-delay-interval: 3 seconds
enable-asm-mdt     : N/A
data-threshold     : 224.0.0.0/4 --> 1 kbps
===============================================================================
                    The following output displays the PIM source group database information about router D.
*B:Dut-D#show router pim group
===============================================================================
Legend:  A = Active   S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address               Type                Spt Bit  Inc Intf       
No.Oifs
    Source Address              RP                  State    Inc Intf(S)
-------------------------------------------------------------------------------
239.100.0.0                 (S,G)               spt vprn_itf_D_2b* 1
    10.114.1.2                 10.100.1.1
239.100.0.1                 (S,G)               spt vprn_itf_D_2b* 1
    10.114.1.2                 10.100.1.1
239.100.0.2                 (S,G)               spt vprn_itf_D_2b* 1
    10.114.1.2                 10.100.1.1
239.100.0.3                 (S,G)               spt vprn_itf_D_2b* 1
    10.114.1.2                 10.100.1.1
-------------------------------------------------------------------------------
Groups : 4
===============================================================================
* indicates that the corresponding row element may have been truncated.
*B:Dut-D#show router pim group detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address      : 239.100.0.0
Source Address     : 10.114.1.2
RP Address         : 10.100.1.1
Advt Router        :
Flags              : spt                Type               : (S,G)
Mode               : sparse
MRIB Next Hop      : 10.100.1.1
MRIB Src Flags     : remote
Keepalive Timer Exp: 0d 00:02:53
Up Time            : 0d 00:09:50        Resolved By        : rtable-u
Up JP State        : Joined             Up JP Expiry       : 0d 00:00:23
Up JP Rpt          : Not Joined StarG   Up JP Rpt Override : 0d 00:00:00
Register State     : No Info
Reg From Anycast RP: No
Rpf Neighbor       : 10.100.1.1
Incoming Intf      : vprn_itf_D_2base
Outgoing Intf List : mpls-if-73881 (mpls-if-73885)
Curr Fwding Rate   : 1.3 kbps
Forwarded Packets  : 132                Discarded Packets  : 0
Forwarded Octets   : 6072               RPF Mismatches     : 0
Spt threshold      : 0 kbps             ECMP opt threshold : 7
Admin bandwidth    : 1 kbps
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address      : 239.100.0.1
Source Address     : 10.114.1.2
RP Address         : 10.100.1.1
Advt Router        :
Flags              : spt                Type               : (S,G)
Mode               : sparse
MRIB Next Hop      : 10.100.1.1
MRIB Src Flags     : remote
Keepalive Timer Exp: 0d 00:02:53
Up Time            : 0d 00:09:50        Resolved By        : rtable-u
Up JP State        : Joined             Up JP Expiry       : 0d 00:00:23
Up JP Rpt          : Not Joined StarG   Up JP Rpt Override : 0d 00:00:00
Register State     : No Info
Reg From Anycast RP: No
Rpf Neighbor       : 10.100.1.1
Incoming Intf      : vprn_itf_D_2base
Outgoing Intf List : mpls-if-73881 (mpls-if-73886)
Curr Fwding Rate   : 1.3 kbps
Forwarded Packets  : 141                Discarded Packets  : 0
Forwarded Octets   : 6486               RPF Mismatches     : 0
Spt threshold      : 0 kbps             ECMP opt threshold : 7
Admin bandwidth    : 1 kbps
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address      : 239.100.0.2
Source Address     : 10.114.1.2
RP Address         : 10.100.1.1
Advt Router        :
Flags              : spt                Type               : (S,G)
Mode               : sparse
MRIB Next Hop      : 10.100.1.1
MRIB Src Flags     : remote
Keepalive Timer Exp: 0d 00:02:52
Up Time            : 0d 00:09:51        Resolved By        : rtable-u
Up JP State        : Joined             Up JP Expiry       : 0d 00:00:22
Up JP Rpt          : Not Joined StarG   Up JP Rpt Override : 0d 00:00:00
Register State     : No Info
Reg From Anycast RP: No
Rpf Neighbor       : 10.100.1.1
Incoming Intf      : vprn_itf_D_2base
Outgoing Intf List : mpls-if-73881 (mpls-if-73887)
Curr Fwding Rate   : 1.3 kbps
Forwarded Packets  : 140                Discarded Packets  : 0
Forwarded Octets   : 6440               RPF Mismatches     : 0
Spt threshold      : 0 kbps             ECMP opt threshold : 7
Admin bandwidth    : 1 kbps
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address      : 239.100.0.3
Source Address     : 10.114.1.2
RP Address         : 10.100.1.1
Advt Router        :
Flags              : spt                Type               : (S,G)
Mode               : sparse
MRIB Next Hop      : 10.100.1.1
MRIB Src Flags     : remote
Keepalive Timer Exp: 0d 00:02:52
Up Time            : 0d 00:09:51        Resolved By        : rtable-u
Up JP State        : Joined             Up JP Expiry       : 0d 00:00:22
Up JP Rpt          : Not Joined StarG   Up JP Rpt Override : 0d 00:00:00
Register State     : No Info
Reg From Anycast RP: No
Rpf Neighbor       : 10.100.1.1
Incoming Intf      : vprn_itf_D_2base
Outgoing Intf List : mpls-if-73881 (mpls-if-73888)
Curr Fwding Rate   : 1.3 kbps
Forwarded Packets  : 140                Discarded Packets  : 0
Forwarded Octets   : 6440               RPF Mismatches     : 0
Spt threshold      : 0 kbps             ECMP opt threshold : 7
Admin bandwidth    : 1 kbps
-------------------------------------------------------------------------------
Groups : 4
===============================================================================
                    The following output displays the PMSI information about router D.
*B:Dut-D# show router pim s-pmsi
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2mp  Tunnel ID   Ext Tunnel Adrs       SPMSI Index   Num State   Multistre
ID                                                    VPN SGs         am-ID
-------------------------------------------------------------------------------
1     61444       10.20.1.4             73885         1 Up      0
1     61445       10.20.1.4             73886         1 Up      0
1     61446       10.20.1.4             73887         1 Up      0
1     61447       10.20.1.4             73888         1 Up      0
===============================================================================
PIM RSVP Spmsi Interfaces : 4
===============================================================================
*B:Dut-D# show router pim s-pmsi detail
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2MP ID            : 1                  Tunnel ID          : 61444
Ext Tunnnel Addrs  : 10.20.1.4          Spmsi IfIndex      : 73885
Number of VPN SGs  : 1                  Up Time            : 0d 00:00:09
VPN Group Address  : 239.100.0.0
VPN Source Address : 10.114.1.2
Up Time            : 0d 00:00:09        Multistream-Id     : N/A
State              : TX Joined          Mdt Threshold      : 1
Join Timer         : N/A                Holddown Timer     : 0d 00:00:50
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2MP ID            : 1                  Tunnel ID          : 61445
Ext Tunnnel Addrs  : 10.20.1.4          Spmsi IfIndex      : 73886
Number of VPN SGs  : 1                  Up Time            : 0d 00:00:09
VPN Group Address  : 239.100.0.1
VPN Source Address : 100.114.1.2
Up Time            : 0d 00:00:09        Multistream-Id     : N/A
State              : TX Joined          Mdt Threshold      : 1
Join Timer         : N/A                Holddown Timer     : 0d 00:00:50
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2MP ID            : 1                  Tunnel ID          : 61446
Ext Tunnnel Addrs  : 10.20.1.4          Spmsi IfIndex      : 73887
Number of VPN SGs  : 1                  Up Time            : 0d 00:00:09
VPN Group Address  : 239.100.0.2
VPN Source Address : 10.114.1.2
Up Time            : 0d 00:00:09        Multistream-Id     : N/A
State              : TX Joined          Mdt Threshold      : 1
Join Timer         : N/A                Holddown Timer     : 0d 00:00:50
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2MP ID            : 1                  Tunnel ID          : 61447
Ext Tunnnel Addrs  : 10.20.1.4          Spmsi IfIndex      : 73888
Number of VPN SGs  : 1                  Up Time            : 0d 00:00:10
VPN Group Address  : 239.100.0.3
VPN Source Address : 10.114.1.2
Up Time            : 0d 00:00:10        Multistream-Id     : N/A
State              : TX Joined          Mdt Threshold      : 1
Join Timer         : N/A                Holddown Timer     : 0d 00:00:49
===============================================================================
PIM RSVP Spmsi Interfaces : 4
===============================================================================
                    *B:Dut-D#  show router pim tunnel-interface
===============================================================================
PIM Interfaces ipv4
===============================================================================
Interface                        Originator Address   Adm  Opr Transport 
Type
-------------------------------------------------------------------------------
mpls-if-73881                    10.20.1.4            Up   Up Tx-IPMSI
mpls-if-73882                    10.20.1.3            Up   Up Rx-IPMSI
mpls-if-73883                    10.20.1.2            Up   Up Rx-IPMSI
mpls-if-73884                    10.20.1.5            Up   Up Rx-IPMSI
mpls-if-73885                    10.20.1.4            Up   Up Tx-SPMSI
mpls-if-73886                    10.20.1.4            Up   Up Tx-SPMSI
mpls-if-73887                    10.20.1.4            Up   Up Tx-SPMSI
mpls-if-73888                    10.20.1.4            Up   Up Tx-SPMSI
-------------------------------------------------------------------------------
Interfaces : 8
===============================================================================