The Multicast in a VPN Isection on contains the VPN configuration required for the provider multicast domain using PIM Any Source Multicast (ASM) with auto-discovery based on PIM or BGP auto-discovery (A/D), PIM used for the customer multicast signaling and PIM Source Specific Multicast (SSM) used for the S-PMSI creation. The customer domain configuration covers the following cases:
The network topology is displayed in Figure 95. The setup consists of four 7750 SRs acting as Provider Edge (PE) routers within a single Autonomous System (AS).
PE-2>configure router
interface "int-PE-2-PE-1"
address 192.168.12.2/30
port 1/1/2:1
exit
interface "int-PE-2-PE-4"
address 192.168.24.1/30
port 1/1/3:1
exit
interface "system"
address 192.0.2.2/32
exit
autonomous-system 64496
isis
area-id 49.0001
traffic-engineering
interface "system"
passive
exit
interface "int-PE-2-PE-1"
interface-type point-to-point
exit
interface "int-PE-2-PE-4"
interface-type point-to-point
exit
no shutdown
exit
ldp
interface-parameters
interface "int-PE-2-PE-1"
exit
interface "int-PE-2-PE-4"
exit
exit
targeted-session
exit
*A:PE-1# show router isis adjacency
===============================================================================
ISIS Adjacency
===============================================================================
System ID Usage State Hold Interface MT Enab
-------------------------------------------------------------------------------
PE-2 L1L2 Up 30 int-PE-1-PE-2 No
PE-3 L1L2 Up 24 int-PE-1-PE-3 No
-------------------------------------------------------------------------------
Adjacencies : 2
===============================================================================
*A:PE-1# show router ldp session
==============================================================================
LDP Sessions
==============================================================================
Peer LDP Id Adj Type State Msg Sent Msg Recv Up Time
------------------------------------------------------------------------------
192.0.2.2:0 Both Established 235 237 0d 00:08:57
192.0.2.3:0 Both Established 237 245 0d 00:08:58
------------------------------------------------------------------------------
No. of Sessions: 2
*A:PE-1>config>router>bgp# info
----------------------------------------------
min-route-advertisement 1
rapid-withdrawal
rapid-update mvpn-ipv4 mdt-safi
group "internal"
family vpn-ipv4 mvpn-ipv4 mdt-safi
type internal
neighbor 192.0.2.2
exit
neighbor 192.0.2.3
exit
neighbor 192.0.2.4
exit
exit
no shutdown
----------------------------------------------
Note that the families configured under the group internal are vpn-ipv4, mvpn-ipv4 and mdt-safi, since the three families are referenced in this chapter.
*A:PE-1# show router bgp summary
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
BGP Admin State : Up BGP Oper State : Up
Total Peer Groups : 1 Total Peers : 3
* Truncated info
===============================================================================
BGP Summary
===============================================================================
Neighbor
AS PktRcvd InQ Up/Down State|Rcv/Act/Sent (Addr Family)
PktSent OutQ
-------------------------------------------------------------------------------
192.0.2.2
64496 28 0 00h12m04s 4/4/3 (VpnIPv4)
29 0 1/1/1 (MvpnIpv4)
0/0/0 (MdtSafi)
192.0.2.3
64496 27 0 00h12m11s 2/2/3 (VpnIPv4)
30 0 1/1/1 (MvpnIpv4)
0/0/0 (MdtSafi)
192.0.2.4
64496 30 0 00h12m04s 2/2/3 (VpnIPv4)
29 0 2/2/1 (MvpnIpv4)
0/0/0 (MdtSafi)
-------------------------------------------------------------------------------
Figure 96 shows the details of the topology for VPRN 1.
*A:PE-1>config>service# info
----------------------------------------------
customer 1 create
description "Default customer"
exit
sdp 12 mpls create
far-end 192.0.2.2
ldp
keep-alive
shutdown
exit
no shutdown
exit
sdp 13 mpls create
far-end 192.0.2.3
ldp
keep-alive
shutdown
exit
no shutdown
exit
sdp 14 mpls create
far-end 192.0.2.4
ldp
keep-alive
shutdown
exit
no shutdown
exit
vprn 1 customer 1 create
description "mLDP"
autonomous-system 64496
route-distinguisher 64496:101
vrf-target target:64496:100
spoke-sdp 12 create
no shutdown
exit
spoke-sdp 13 create
no shutdown
exit
spoke-sdp 14 create
no shutdown
exit
PE-1>configure service vprn 1
interface "loopback" create
address 172.16.1.1/32
loopback
exit
interface "int-PE-1-CE-1" create
address 172.16.11.1/30
sap 1/1/1:1 create
exit
exit
PE-1>configure service vprn 1
bgp
group "external"
type external
peer-as 64499
neighbor 172.16.11.2
exit
exit
no shutdown
exit
A:CE-1>config>service>vprn# info
----------------------------------------------
autonomous-system 64499
route-distinguisher 64499:1
interface "int-CE-1-PE-1" create
*Truncated info
interface "source" create
*Truncated info
exit
bgp
export "source"
group "external"
type external
peer-as 64496
neighbor 172.16.11.1
exit
exit
no shutdown
exit
no shutdown
----------------------------------------------
A:CE-1>config>router# info
* Truncated info
policy-options
begin
prefix-list "source"
prefix 192.168.1.1/32 exact
exit
policy-statement "source"
entry 10
from
prefix-list "source"
exit
to
protocol bgp
exit
action accept
exit
exit
exit
commit
exit
--------------------------------------------
*A:PE-1>config>service# show router 1 route-table
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
* Truncated info
192.168.1.1/32 Remote BGP 00h04m15s 170
172.16.11.2 0
-------------------------------------------------------------------------------
No. of Routes: 10
Flags: L = LFA nexthop available B = BGP backup route available
n = Number of times nexthop is repeated
===============================================================================
*A:PE-4>config>service>vprn# show router 1 route-table
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
* Truncated info
192.168.1.1/32 Remote BGP VPN 00h00m05s 170
192.0.2.1 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 10
Flags: L = LFA nexthop available B = BGP backup route available
n = Number of times nexthop is repeated
===============================================================================
A:CE-2# configure service vprn 1
...
static-route 192.168.1.1/32 next-hop 172.16.22.1
After Steps 1 to
6, all required unicast routing is provisioned. The following sections show the configuration of the multicast in the VPRN.
A:PE-4# configure service vprn 1
...�
pim
interface "loopback"
exit
interface "int-PE-4-CE-4"
exit
rp
static
exit
bsr-candidate
shutdown
exit
rp-candidate
shutdown
exit
exit
no shutdown
exit
mvpn
auto-discovery default
c-mcast-signaling bgp
exit
provider-tunnel
inclusive
mldp
no shutdown
exit
exit
exit
vrf-target unicast
exit
exit
*A:PE-1# show router 1 mvpn
===============================================================================
MVPN 1 configuration data
===============================================================================
signaling : Bgp auto-discovery : Default
UMH Selection : Highest-Ip intersite-shared : Enabled
vrf-import : N/A
vrf-export : N/A
vrf-target : unicast
C-Mcast Import RT : target:192.0.2.1:2
ipmsi : ldp
i-pmsi P2MP AdmSt : Up
s-pmsi : none
data-delay-interval: 3 seconds
enable-asm-mdt : N/A
===============================================================================
A 4 2011/10/06 01:25:42.81 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.2
"Peer 1: 192.0.2.2: UPDATE
Peer 1: 192.0.2.2 - Received BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 91
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x80 Type: 4 Len: 4 MED: 0
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 8 Len: 4 Community:
no-export
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:64496:100
Flag: 0xc0 Type: 22 Len: 22 PMSI:
Tunnel-type LDP P2MP LSP (2)
Flags [Leaf not required]
MPLS Label 0
Root-Node 192.0.2.2, LSP-ID 0x2001
Flag: 0x90 Type: 14 Len: 23 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.2
Type: Intra-AD Len: 12 RD: 64496:102 Orig: 192.0.2.2
"
*A:PE-1# show router bgp routes mvpn-ipv4 type intra-ad
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Flag RouteType OriginatorIP LocalPref MED
RD SourceAS VPNLabel
Nexthop SourceIP
As-Path GroupIP
-------------------------------------------------------------------------------
u*>i Intra-Ad 192.0.2.2 100 0
64496:102 - -
192.0.2.2 -
No As-Path -
u*>i Intra-Ad 192.0.2.3 100 0
64496:103 - -
192.0.2.3 -
No As-Path -
u*>i Intra-Ad 192.0.2.4 100 0
64496:104 - -
192.0.2.4 -
No As-Path -
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
*A:PE-1# show router bgp routes mvpn-ipv4 type intra-ad detail
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Route Type : Intra-Ad
Route Dist. : 64496:102
Originator IP : 192.0.2.2
Nexthop : 192.0.2.2
From : 192.0.2.2
Res. Nexthop : 0.0.0.0
Local Pref. : 100 Interface Name : NotAvailable
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : 0
Community : no-export target:64496:100
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.2
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
VPRN Imported : 1
-------------------------------------------------------------------------------
PMSI Tunnel Attribute :
Tunnel-type : LDP P2MP LSP Flags : Leaf not required
MPLS Label : 0
Root-Node : 192.0.2.2 LSP-ID : 8193
-------------------------------------------------------------------------------
Flag: 0xc0 Type: 22 Len: 22 PMSI:
Tunnel-type LDP P2MP LSP (2)
Flags [Leaf not required]
MPLS Label 0
Root-Node 192.0.2.2, LSP-ID 0x2001
*A:PE-1# show router 1 pim neighbor
===============================================================================
PIM Neighbor ipv4
===============================================================================
Interface Nbr DR Prty Up Time Expiry Time Hold Time
Nbr Address
-------------------------------------------------------------------------------
int-PE-1-CE-1 1 0d 01:21:30 0d 00:01:16 105
172.16.11.2
mpls-if-73729 1 0d 01:21:03 never 65535
192.0.2.2
mpls-if-73730 1 0d 01:20:47 never 65535
192.0.2.3
mpls-if-73731 1 0d 01:20:32 never 65535
192.0.2.4
-------------------------------------------------------------------------------
Neighbors : 4
===============================================================================
*A:PE-1# show router 1 pim tunnel-interface
===============================================================================
PIM Interfaces ipv4
===============================================================================
Interface Adm Opr DR Prty Hello Intvl Mcast Send
DR
-------------------------------------------------------------------------------
mpls-if-73728 Up Up N/A N/A N/A
192.0.2.1
mpls-if-73729 Up Up N/A N/A N/A
192.0.2.2
mpls-if-73730 Up Up N/A N/A N/A
192.0.2.3
mpls-if-73731 Up Up N/A N/A N/A
192.0.2.4
-------------------------------------------------------------------------------
Interfaces : 4
===============================================================================
*A:PE-1# show router ldp bindings fec-type p2mp active p2mp-id 8193 root 192.0.2.1
===============================================================================
LDP P2MP Bindings (Active)
===============================================================================
P2MP-Id RootAddr
Interface Op IngLbl EgrLbl EgrIntf/ EgrNextHop
LspId
-------------------------------------------------------------------------------
8193 192.0.2.1
73728 Push -- 262137 1/1/2:1 192.168.12.2
8193 192.0.2.1
73728 Push -- 262137 1/1/3:1 192.168.13.2
8193 192.0.2.2
73729 Pop 262137 -- -- --
8193 192.0.2.2
73729 Swap 262137 262136 1/1/3:1 192.168.13.2
8193 192.0.2.3
73730 Swap 262142 262136 1/1/2:1 192.168.12.2
8193 192.0.2.3
73730 Pop 262142 -- -- --
8193 192.0.2.4
73731 Pop 262136 -- -- --
-------------------------------------------------------------------------------
No. of P2MP Active Bindings: 7
===============================================================================
*A:PE-2# show router ldp bindings fec-type p2mp p2mp-id 8193 root 192.0.2.1 active
===============================================================================
LDP P2MP Bindings (Active)
===============================================================================
P2MP-Id RootAddr
Interface Op IngLbl EgrLbl EgrIntf/ EgrNextHop
LspId
-------------------------------------------------------------------------------
8193 192.0.2.1
73729 Pop 262137 -- -- --
8193 192.0.2.1
73729 Swap 262137 262135 1/1/3:1 192.168.24.2
* Truncated info
-------------------------------------------------------------------------------
No. of P2MP Active Bindings: 7
===============================================================================
*A:PE-4# show router ldp bindings active fec-type p2mp p2mp-id 8193 root 192.0.2.1
===============================================================================
LDP P2MP Bindings (Active)
===============================================================================
P2MP-Id RootAddr
Interface Op IngLbl EgrLbl EgrIntf/ EgrNextHop
LspId
-------------------------------------------------------------------------------
8193 192.0.2.1
73731 Pop 262135 -- -- --
* Truncated info
-------------------------------------------------------------------------------
No. of P2MP Active Bindings: 5
===============================================================================
*A:PE-3# show router ldp bindings active fec-type p2mp p2mp-id 8193 root 192.0.2.1
===============================================================================
LDP P2MP Bindings (Active)
===============================================================================
P2MP-Id RootAddr
Interface Op IngLbl EgrLbl EgrIntf/ EgrNextHop
LspId
-------------------------------------------------------------------------------
8193 192.0.2.1
73729 Pop 262137 -- -- --
* Truncated info
-------------------------------------------------------------------------------
No. of P2MP Active Bindings: 5
===============================================================================
*A:PE-1# oam p2mp-lsp-ping ldp 8193 sender-addr 192.0.2.1 detail
P2MP identifier 8193: 88 bytes MPLS payload
===============================================================================
Leaf Information
===============================================================================
From RTT Return Code
-------------------------------------------------------------------------------
192.0.2.2 =3.03ms EgressRtr(3)
192.0.2.4 =5.17ms EgressRtr(3)
192.0.2.3 =33.1ms EgressRtr(3)
===============================================================================
Total Leafs responded = 3
round-trip min/avg/max = 3.03 / 13.8 / 33.1 ms
Responses based on return code:
EgressRtr(3)=3
*A:PE-1# oam ldp-treetrace prefix 192.0.2.4/32
ldp-treetrace for Prefix 192.0.2.4/32:
192.168.24.2, ttl = 2 dst = 127.1.0.255 rc = EgressRtr status = Done
Hops: 192.168.12.2
ldp-treetrace discovery state: Done
ldp-treetrace discovery status: ' OK '
Total number of discovered paths: 1
Total number of failed traces: 0
11 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPProcessSG
pimJPProcessSG: (S,G)-> (192.168.1.1,232.1.1.1) type <S,G>, i/f int-PE-4-CE-4, u
pNbr 172.16.44.1 isJoin 1 isRpt 0 holdTime 210"
12 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPPrintFsmEvent
PIM JP Downstream: State NoInfo Event RxJoin, (S,G) (192.168.1.1,232.1.1.1) grou
pType <S,G>"
13 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPPrintFsmEvent
PIM JP Upstream: State NotJoined Event JoinDesiredTrue, (S,G) (192.168.1.1,232.1
.1.1) groupType <S,G>"
14 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGUpJoinDesiredTrue
No upstream interface. pSG (192.168.1.1,232.1.1.1) rpfType 3"
15 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGUpJoinDesiredTrue
pim 2 sg_type 2 refetch route type SPMSI pendingFetchMask 0x8"
16 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGUpJoinDesiredTrue
No upstream interface. pSG 0x5578f87c, (192.168.1.1,232.1.1.1) rpfType 3"
17 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPPrintFsmEvent
PIM JP Upstream: State Joined Event MribChange, (S,G) (192.168.1.1,232.1.1.1) gr
oupType <S,G>"
18 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGUpStateJMribChange
pSG 0x5578f87c, (192.168.1.1,232.1.1.1), type <S,G> oldMribNhopIp 0.0.0.0 oldRpf
NbrIp 0.0.0.0, oldRpfType NONE oldRpfIf 0 rptMribNhopIp 0.0.0.0, rptRpfNbrIp 0.0
.0.0 rtmReason 32"
19 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGUpStateJMribChange
pSG 0x5578f87c, (192.168.1.1,232.1.1.1), type <S,G> newMribNhopIp 192.0.2.1 newR
pfNbrIp 192.0.2.1 newRpfType REMOTE newRpfIf 73731"
20 2011/10/13 15:41:30.83 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.1
"Peer 1: 192.0.2.1: UPDATE
Peer 1: 192.0.2.1 - Send BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 69
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x80 Type: 4 Len: 4 MED: 0
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:192.0.2.1:2
Flag: 0x90 Type: 14 Len: 33 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.4
Type: Source-Join Len:22 RD: 64496:101 SrcAS: 64496 Src: 192.168.1.1 Grp
: 232.1.1.1
"
57 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.4
"Peer 1: 192.0.2.4: UPDATE
Peer 1: 192.0.2.4 - Received BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 69
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x80 Type: 4 Len: 4 MED: 0
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:192.0.2.1:2
Flag: 0x90 Type: 14 Len: 33 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.4
Type: Source-Join Len:22 RD: 64496:101 SrcAS: 64496 Src: 192.168.1.1 Grp
: 232.1.1.1
"
58 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPProcessSG
pimJPProcessSG: (S,G)-> (192.168.1.1,232.1.1.1) type <S,G>, i/f mpls-if-73728, u
pNbr 192.0.2.1 isJoin 1 isRpt 0 holdTime 65535"
59 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPPrintFsmEvent
PIM JP Downstream: State NoInfo Event RxJoin, (S,G) (192.168.1.1,232.1.1.1) grou
pType <S,G>"
60 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPPrintFsmEvent
PIM JP Upstream: State NotJoined Event JoinDesiredTrue, (S,G) (192.168.1.1,232.1
.1.1) groupType <S,G>"
61 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGUpJoinDesiredTrue
pim 2 sg_type 2 refetch route type SPMSI pendingFetchMask 0x8"
62 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSendJoinPrunePdu
pimSendJoinPrunePdu: if 3, adj 172.16.11.2"
63 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGEncodeGroupSet
pimEncodeGroupSet: encoding groupset for group 232.1.1.1, numJoinedSrcs 1, numPr
unedSrcs 0"
64 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGEncodeGroupSet
pimEncodeGroupSet: Encoding Join for source 192.168.1.1"
65 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSGEncodeGroupSet
pimEncodeGroupSet: num joined srcs 1, num pruned srcs 0"
66 2011/10/14 02:06:58.22 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimSendJoinPrunePdu
pimSendJoinPrunePdu2: sending JP PDU with 1 groups."
*A:PE-1# show router bgp routes mvpn-ipv4 type source-join
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Flag RouteType OriginatorIP LocalPref MED
RD SourceAS VPNLabel
Nexthop SourceIP
As-Path GroupIP
-------------------------------------------------------------------------------
u*>i Source-Join - 100 0
64496:101 64496 -
192.0.2.4 192.168.1.1
No As-Path 232.1.1.1
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:PE-1# show router 1 pim group detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 232.1.1.1
Source Address : 192.168.1.1
RP Address : 0
Flags : Type : (S,G)
MRIB Next Hop : 172.16.11.2
MRIB Src Flags : remote Keepalive Timer : Not Running
Up Time : 0d 00:12:04 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:56
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 : 172.16.11.2
Incoming Intf : int-PE-1-CE-1
Outgoing Intf List : mpls-if-73728
Curr Fwding Rate : 0.0 kbps
Forwarded Packets : 0 Discarded Packets : 0
Forwarded Octets : 0 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-4# show router 1 pim group detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 232.1.1.1
Source Address : 192.168.1.1
RP Address : 0
Flags : Type : (S,G)
MRIB Next Hop : 192.0.2.1
MRIB Src Flags : remote Keepalive Timer : Not Running
Up Time : 0d 00:15:44 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:16
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 : 192.0.2.1
Incoming Intf : mpls-if-73731
Outgoing Intf List : int-PE-4-CE-4
Curr Fwding Rate : 0.0 kbps
Forwarded Packets : 0 Discarded Packets : 0
Forwarded Octets : 0 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
33 2011/10/13 16:20:17.74 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPProcessSG
pimJPProcessSG: (S,G)-> (192.168.1.1,232.1.1.1) type <S,G>, i/f int-PE-4-CE-4, u
pNbr 172.16.44.1 isJoin 0 isRpt 0 holdTime 210"
34 2011/10/13 16:20:17.74 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPPrintFsmEvent
PIM JP Downstream: State Joined Event RxPrune, (S,G) (192.168.1.1,232.1.1.1) gro
upType <S,G>"
35 2011/10/13 16:20:17.74 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPPrintFsmEvent
PIM JP Downstream: State PrunePending Event PrunePendTimerExp, (S,G) (192.168.1.
1,232.1.1.1) groupType <S,G>"
36 2011/10/13 16:20:17.74 UTC MINOR: DEBUG #2001 vprn1 PIM[Instance 2 vprn1]
"PIM[Instance 2 vprn1]: pimJPPrintFsmEvent
PIM JP Upstream: State Joined Event JoinDesiredFalse, (S,G) (192.168.1.1,232.1.1
.1) groupType <S,G>"
37 2011/10/13 16:20:17.74 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.2
"Peer 1: 192.0.2.2: UPDATE
Peer 1: 192.0.2.2 - Send BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 31
Flag: 0x90 Type: 15 Len: 27 Multiprotocol Unreachable NLRI:
Address Family MVPN_IPV4
Type: Source-Join Len:22 RD: 64496:101 SrcAS: 64496 Src: 192.168.1.1 Grp
: 232.1.1.1
"
Figure 97 shows the details of the topology for VPRN 2.
For the sake of simplicity, check Steps 1 to
6 in
PMSI using mLDP for VPRN 2 creation information. The same steps are repeated for RSVP using for provisioning the details that appear in
Figure 97. The result is the configuration in all the PEs, taking as an example PE-1:
*A:PE-1>config>service>vprn# info
----------------------------------------------
description "P2MP RSVP"
autonomous-system 64496
route-distinguisher 64496:201
vrf-target target:64496:200
interface "loopback" create
address 172.16.2.1/32
loopback
exit
interface "int-PE-1-CE-1" create
address 172.16.12.1/30
sap 1/1/1:2 create
exit
exit
bgp
group "external"
type external
peer-as 64499
neighbor 172.16.12.2
exit
exit
no shutdown
exit
spoke-sdp 12 create
no shutdown
exit
spoke-sdp 13 create
no shutdown
exit
spoke-sdp 14 create
no shutdown
exit
no shutdown
----------------------------------------------
In addition to the unicast, because RSVP is the signalling protocol to establish the P2MP LSPs, RSVP is configured on the interfaces. In addition, to use P2MP RSVP an LSP template is needed. The template defines the characteristics of the LSP to be created, for example, make-before-break, bandwidth, administrative groups, cspf, specific paths, etc. A basic template is used here. TE parameters specified in the template are commonly used in each RSVP PATH message for each of the branches of the P2MP RSVP LSP. The template is used in the mvpn context within the VPRN configuration (see Auto-Discovery and RSVP PMSI Establishment ). The resignal timer for P2MP is configured to the minimum value of sixty minutes (60 — 10080 minutes):
*A:PE-1>config>router>mpls# info
----------------------------------------------
p2mp-resignal-timer 60
interface "system"
exit
interface "int-PE-1-PE-2"
exit
interface "int-PE-1-PE-3"
exit
path "empty"
no shutdown
exit
lsp-template "vrf2" p2mp
default-path "empty"
cspf
fast-reroute facility
exit
no shutdown
exit
no shutdown
----------------------------------------------
*A:PE-1>config>service>vprn# info
----------------------------------------------
pim
interface "loopback"
exit
interface "int-PE-1-CE-1"
exit
rp
static
exit
bsr-candidate
shutdown
exit
rp-candidate
shutdown
exit
exit
no shutdown
exit
mvpn
auto-discovery default
c-mcast-signaling bgp
provider-tunnel
inclusive
rsvp
lsp-template vrf2
no shutdown
exit
exit
exit
vrf-target unicast
exit
exit
*A:PE-1>config>service>vprn# show router 2 mvpn
===============================================================================
MVPN 2 configuration data
===============================================================================
signaling : Bgp auto-discovery : Default
UMH Selection : Highest-Ip intersite-shared : Enabled
vrf-import : N/A
vrf-export : N/A
vrf-target : unicast
C-Mcast Import RT : target:192.0.2.1:3
ipmsi : rsvp vrf2
i-pmsi P2MP AdmSt : Up
s-pmsi : none
data-delay-interval: 3 seconds
enable-asm-mdt : N/A
===============================================================================
41 2011/10/07 00:49:09.46 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.4
"Peer 1: 192.0.2.4: UPDATE
Peer 1: 192.0.2.4 - Received BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 86
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x80 Type: 4 Len: 4 MED: 0
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 8 Len: 4 Community:
no-export
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:64496:200
Flag: 0xc0 Type: 22 Len: 17 PMSI:
Tunnel-type RSVP-TE P2MP LSP (1)
Flags [Leaf not required]
MPLS Label 0
P2MP-ID 0x2, Tunnel-ID: 61441, Extended-Tunnel-ID 192.0.2.4
Flag: 0x90 Type: 14 Len: 23 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.4
Type: Intra-AD Len: 12 RD: 64496:204 Orig: 192.0.2.4
"
*A:PE-1# show router bgp routes mvpn-ipv4 type intra-ad
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Flag RouteType OriginatorIP LocalPref MED
RD SourceAS VPNLabel
Nexthop SourceIP
As-Path GroupIP
-------------------------------------------------------------------------------
u*>i Intra-Ad 192.0.2.2 100 0
64496:202 - -
192.0.2.2 -
No As-Path -
u*>i Intra-Ad 192.0.2.3 100 0
64496:203 - -
192.0.2.3 -
No As-Path -
u*>i Intra-Ad 192.0.2.4 100 0
64496:204 - -
192.0.2.4 -
No As-Path -
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
*A:PE-1# show router bgp routes mvpn-ipv4 type intra-ad originator-ip 192.0.2.4 detail
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Route Type : Intra-Ad
Route Dist. : 64496:204
Originator IP : 192.0.2.4
Nexthop : 192.0.2.4
From : 192.0.2.4
Res. Nexthop : 0.0.0.0
Local Pref. : 100 Interface Name : NotAvailable
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : 0
Community : no-export target:64496:200
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.4
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
VPRN Imported : 2
-------------------------------------------------------------------------------
PMSI Tunnel Attribute :
Tunnel-type : RSVP-TE P2MP LSP Flags : Leaf not required
MPLS Label : 0
P2MP-ID : 2 Tunnel-ID : 61441
Extended-Tunne*: 192.0.2.4
-------------------------------------------------------------------------------
*A:PE-1# show router 2 pim neighbor
===============================================================================
PIM Neighbor ipv4
===============================================================================
Interface Nbr DR Prty Up Time Expiry Time Hold Time
Nbr Address
-------------------------------------------------------------------------------
int-PE-1-CE-1 1 0d 00:42:20 0d 00:01:34 105
172.16.12.2
mpls-if-73741 1 0d 00:42:20 never 65535
192.0.2.2
mpls-if-73742 1 0d 00:42:20 never 65535
192.0.2.3
mpls-if-73743 1 0d 00:42:20 never 65535
192.0.2.4
-------------------------------------------------------------------------------
Neighbors : 4
===============================================================================
*A:PE-1# show router 2 pim tunnel-interface
===============================================================================
PIM Interfaces ipv4
===============================================================================
Interface Adm Opr DR Prty Hello Intvl Mcast Send
DR
-------------------------------------------------------------------------------
mpls-if-73740 Up Up N/A N/A N/A
192.0.2.1
mpls-if-73741 Up Up N/A N/A N/A
192.0.2.2
mpls-if-73742 Up Up N/A N/A N/A
192.0.2.3
mpls-if-73743 Up Up N/A N/A N/A
192.0.2.4
-------------------------------------------------------------------------------
Interfaces : 4
*A:PE-3# tools dump router 2 mvpn provider-tunnels
===============================================================================
MVPN 2 Inclusive Provider Tunnels Originating
===============================================================================
ipmsi (RSVP) P2MP-ID Tunl-ID Ext-Tunl-ID
-------------------------------------------------------------------------------
vrf2-2-73732 2 61440 192.0.2.3
===============================================================================
MVPN 2 Selective Provider Tunnels Originating
===============================================================================
spmsi (RSVP) P2MP-ID Tunl-ID Ext-Tunl-ID
-------------------------------------------------------------------------------
No Tunnels Found
-------------------------------------------------------------------------------
===============================================================================
MVPN 2 Inclusive Provider Tunnels Terminating
===============================================================================
ipmsi (RSVP) P2MP-ID Tunl-ID Ext-Tunl-ID
-------------------------------------------------------------------------------
mpls-if-73737 2 61452 192.0.2.1
mpls-if-73734 2 61440 192.0.2.2
mpls-if-73735 2 61441 192.0.2.4
===============================================================================
MVPN 2 Selective Provider Tunnels Terminating
===============================================================================
spmsi (RSVP) P2MP-ID Tunl-ID Ext-Tunl-ID
-------------------------------------------------------------------------------
No Tunnels Found
-------------------------------------------------------------------------------
*A:PE-1# show router mpls p2mp-lsp detail
===============================================================================
MPLS P2MP LSPs (Originating) (Detail)
===============================================================================
-------------------------------------------------------------------------------
Type : Originating
-------------------------------------------------------------------------------
LSP Name : vrf2-2-73740
LSP Type : P2mpAutoLsp LSP Tunnel ID : 61452
From : 192.0.2.1
Adm State : Up Oper State : Up
LSP Up Time : 0d 00:48:03 LSP Down Time : 0d 00:00:00
Transitions : 1 Path Changes : 2
Retry Limit : 0 Retry Timer : 30 sec
Signaling : RSVP Resv. Style : SE
Hop Limit : 255 Negotiated MTU : n/a
Adaptive : Enabled ClassType : 0
FastReroute : Enabled Oper FR : Enabled
FR Method : Facility FR Hop Limit : 16
FR Bandwidth: 0 Mbps FR Node Protect: Disabled
FR Object : Enabled
CSPF : Enabled ADSPEC : Disabled
Metric : Disabled Use TE metric : Disabled
Include Grps: Exclude Grps :
None None
Least Fill : Disabled
Auto BW : Disabled
LdpOverRsvp : Disabled VprnAutoBind : Disabled
IGP Shortcut: Disabled BGP Shortcut : Disabled
BGPTransTun : Disabled
Oper Metric : Disabled
Prop Adm Grp: Disabled CSPFFirstLoose : Disabled
P2MPInstance: 2 P2MP-Inst-type : Primary
S2l-Name : empty To : 192.0.2.2
S2l-Name : empty To : 192.0.2.3
S2l-Name : empty To : 192.0.2.4
===============================================================================
*A:PE-1# show router mpls p2mp-info type originate
===============================================================================
MPLS P2MP LSPs (Originate)
===============================================================================
-------------------------------------------------------------------------------
S2L vrf2-2-73740::empty
-------------------------------------------------------------------------------
Source IP Address : 192.0.2.1 Tunnel ID : 61452
P2MP ID : 2 Lsp ID : 38402
S2L Name : vrf2-2-73740::empty To : 192.0.2.2
Out Interface : 1/1/2:1 Out Label : 262138
Num. of S2ls : 2
-------------------------------------------------------------------------------
S2L vrf2-2-73740::empty
-------------------------------------------------------------------------------
Source IP Address : 192.0.2.1 Tunnel ID : 61452
P2MP ID : 2 Lsp ID : 38402
S2L Name : vrf2-2-73740::empty To : 192.0.2.3
Out Interface : 1/1/3:1 Out Label : 262128
Num. of S2ls : 1
-------------------------------------------------------------------------------
S2L vrf2-2-73740::empty
-------------------------------------------------------------------------------
Source IP Address : 192.0.2.1 Tunnel ID : 61452
P2MP ID : 2 Lsp ID : 38402
S2L Name : vrf2-2-73740::empty To : 192.0.2.4
Out Interface : 1/1/2:1 Out Label : 262138
Num. of S2ls : 2
-------------------------------------------------------------------------------
P2MP Cross-connect instances : 3
===============================================================================
*A:PE-2# show router mpls p2mp-info type transit
===============================================================================
MPLS P2MP LSPs (Transit)
===============================================================================
-------------------------------------------------------------------------------
S2L vrf2-2-73740::empty
-------------------------------------------------------------------------------
Source IP Address : 192.0.2.1 Tunnel ID : 61452
P2MP ID : 2 Lsp ID : 38402
S2L Name : vrf2-2-73740::empty To : 192.0.2.4
Out Interface : 1/1/3:1 Out Label : 262136
Num. of S2ls : 1
-------------------------------------------------------------------------------
S2L vrf2-2-73732::empty
-------------------------------------------------------------------------------
Source IP Address : 192.0.2.4 Tunnel ID : 61441
P2MP ID : 2 Lsp ID : 17924
S2L Name : vrf2-2-73732::empty To : 192.0.2.1
Out Interface : 1/1/2:1 Out Label : 262133
Num. of S2ls : 1
-------------------------------------------------------------------------------
P2MP Cross-connect instances : 2
===============================================================================
*A:PE-4# show router mpls p2mp-info type terminate
===============================================================================
MPLS P2MP LSPs (Terminate)
===============================================================================
-------------------------------------------------------------------------------
S2L vrf2-2-73740::empty
-------------------------------------------------------------------------------
Source IP Address : 192.0.2.1 Tunnel ID : 61452
P2MP ID : 2 Lsp ID : 38402
S2L Name : vrf2-2-73740::empty To : 192.0.2.4
In Interface : 1/1/3:1 In Label : 262136
Num. of S2ls : 1
-------------------------------------------------------------------------------
S2L vrf2-2-73732::empty
-------------------------------------------------------------------------------
Source IP Address : 192.0.2.2 Tunnel ID : 61440
P2MP ID : 2 Lsp ID : 8196
S2L Name : vrf2-2-73732::empty To : 192.0.2.4
In Interface : 1/1/3:1 In Label : 262132
Num. of S2ls : 1
-------------------------------------------------------------------------------
S2L vrf2-2-73732::empty
-------------------------------------------------------------------------------
Source IP Address : 192.0.2.3 Tunnel ID : 61440
P2MP ID : 2 Lsp ID : 59396
S2L Name : vrf2-2-73732::empty To : 192.0.2.4
In Interface : 1/1/2:1 In Label : 262142
Num. of S2ls : 2
-------------------------------------------------------------------------------
P2MP Cross-connect instances : 3
===============================================================================
*A:PE-1# show router mpls p2mp-lsp "vrf2-2-73740" p2mp-instance "2" s2l "empty" detail
===============================================================================
MPLS LSP vrf2-2-73740 S2L empty (Detail)
===============================================================================
Legend :
@ - Detour Available # - Detour In Use
b - Bandwidth Protected n - Node Protected
S - Strict L - Loose
s - Soft Preemption
===============================================================================
-------------------------------------------------------------------------------
LSP vrf2-2-73740 S2L empty
-------------------------------------------------------------------------------
LSP Name : vrf2-2-73740 S2l LSP ID : 38402
P2MP ID : 2 S2l Grp Id : 1
Adm State : Up Oper State : Up
S2l State: : Active :
S2L Name : empty To : 192.0.2.2
S2l Admin : Up S2l Oper : Up
OutInterface: 1/1/2:1 Out Label : 262138
S2L Up Time : 0d 01:22:50 S2L Dn Time : 0d 00:00:00
RetryAttempt: 0 NextRetryIn : 0 sec
S2L Trans : 2 CSPF Queries: 2
Failure Code: noError Failure Node: n/a
ExplicitHops:
No Hops Specified
Actual Hops :
192.168.12.1(192.0.2.1) @ Record Label : N/A
-> 192.168.12.2(192.0.2.2) Record Label : 262138
ComputedHops:
192.168.12.1(S) -> 192.168.12.2(S)
LastResignal: n/a
-------------------------------------------------------------------------------
LSP vrf2-2-73740 S2L empty
-------------------------------------------------------------------------------
LSP Name : vrf2-2-73740 S2l LSP ID : 38402
P2MP ID : 2 S2l Grp Id : 2
Adm State : Up Oper State : Up
S2l State: : Active :
S2L Name : empty To : 192.0.2.3
S2l Admin : Up S2l Oper : Up
OutInterface: 1/1/3:1 Out Label : 262128
S2L Up Time : 0d 01:22:50 S2L Dn Time : 0d 00:00:00
RetryAttempt: 0 NextRetryIn : 0 sec
S2L Trans : 2 CSPF Queries: 2
Failure Code: noError Failure Node: n/a
ExplicitHops:
No Hops Specified
Actual Hops :
192.168.13.1(192.0.2.1) @ Record Label : N/A
-> 192.168.13.2(192.0.2.3) Record Label : 262128
ComputedHops:
192.168.13.1(S) -> 192.168.13.2(S)
LastResignal: n/a
-------------------------------------------------------------------------------
LSP vrf2-2-73740 S2L empty
-------------------------------------------------------------------------------
LSP Name : vrf2-2-73740 S2l LSP ID : 38402
P2MP ID : 2 S2l Grp Id : 3
Adm State : Up Oper State : Up
S2l State: : Active :
S2L Name : empty To : 192.0.2.4
S2l Admin : Up S2l Oper : Up
OutInterface: 1/1/2:1 Out Label : 262138
S2L Up Time : 0d 01:22:54 S2L Dn Time : 0d 00:00:00
RetryAttempt: 0 NextRetryIn : 0 sec
S2L Trans : 3 CSPF Queries: 3
Failure Code: noError Failure Node: n/a
ExplicitHops:
No Hops Specified
Actual Hops :
192.168.12.1(192.0.2.1) @ Record Label : N/A
-> 192.168.12.2(192.0.2.2) @ Record Label : 262138
-> 192.168.24.2(192.0.2.4) Record Label : 262136
ComputedHops:
192.168.12.1(S) -> 192.168.12.2(S) -> 192.168.24.2(S)
LastResignal: n/a
===============================================================================
*A:PE-1# show router mpls bypass-tunnel protected-lsp p2mp detail
===============================================================================
MPLS Bypass Tunnels (Detail)
===============================================================================
-------------------------------------------------------------------------------
bypass-link192.168.12.2
-------------------------------------------------------------------------------
To : 192.168.24.1 State : Up
Out I/F : 1/1/3:1 Out Label : 262132
Up Time : 0d 00:08:19 Active Time : n/a
Reserved BW : 0 Kbps Protected LSP Count : 3
Type : P2mp
Setup Priority : 7 Hold Priority : 0
Class Type : 0
Actual Hops :
192.168.13.1(S) -> 192.168.13.2(S) -> 192.168.34.2(S)
-> 192.168.24.1(S)
Protected LSPs -
LSP Name : vrf2-2-73740::empty
From : 192.0.2.1 To : 192.0.2.2
Avoid Node/Hop : 192.168.12.2 Downstream Label : 262138
Bandwidth : 0 Kbps
LSP Name : vrf2-2-73740::empty
From : 192.0.2.1 To : 192.0.2.4
Avoid Node/Hop : 192.168.12.2 Downstream Label : 262138
Bandwidth : 0 Kbps
LSP Name : vrf2-2-73732::empty
From : 192.0.2.3 To : 192.0.2.2
Avoid Node/Hop : 192.168.12.2 Downstream Label : 262137
Bandwidth : 0 Kbps
-------------------------------------------------------------------------------
bypass-link192.168.13.2
-------------------------------------------------------------------------------
To : 192.168.34.1 State : Up
Out I/F : 1/1/2:1 Out Label : 262131
Up Time : 0d 00:08:10 Active Time : n/a
Reserved BW : 0 Kbps Protected LSP Count : 2
Type : P2mp
Setup Priority : 7 Hold Priority : 0
Class Type : 0
Actual Hops :
192.168.12.1(S) -> 192.168.12.2(S) -> 192.168.24.2(S)
-> 192.168.34.1(S)
Protected LSPs -
LSP Name : vrf2-2-73740::empty
From : 192.0.2.1 To : 192.0.2.3
Avoid Node/Hop : 192.168.13.2 Downstream Label : 262128
Bandwidth : 0 Kbps
LSP Name : vrf2-2-73732::empty
From : 192.0.2.2 To : 192.0.2.3
Avoid Node/Hop : 192.168.13.2 Downstream Label : 262127
Bandwidth : 0 Kbps
===============================================================================
40 2011/10/13 19:02:20.42 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPProcessSG
pimJPProcessSG: (S,G)-> (192.168.2.1,232.2.2.2) type <S,G>, i/f int-PE-4-CE-4, u
pNbr 172.16.42.1 isJoin 1 isRpt 0 holdTime 210"
41 2011/10/13 19:02:20.42 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Downstream: State NoInfo Event RxJoin, (S,G) (192.168.2.1,232.2.2.2) grou
pType <S,G>"
42 2011/10/13 19:02:20.42 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Upstream: State NotJoined Event JoinDesiredTrue, (S,G) (192.168.2.1,232.2
.2.2) groupType <S,G>"
43 2011/10/13 19:02:20.42 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGUpJoinDesiredTrue
No upstream interface. pSG (192.168.2.1,232.2.2.2) rpfType 3"
44 2011/10/13 19:02:20.42 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGUpJoinDesiredTrue
pim 3 sg_type 2 refetch route type SPMSI pendingFetchMask 0x8"
45 2011/10/13 19:02:20.42 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGUpJoinDesiredTrue
No upstream interface. pSG 0x5578f87c, (192.168.2.1,232.2.2.2) rpfType 3"
46 2011/10/13 19:02:20.42 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Upstream: State Joined Event MribChange, (S,G) (192.168.2.1,232.2.2.2) gr
oupType <S,G>"
47 2011/10/13 19:02:20.42 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGUpStateJMribChange
pSG 0x5578f87c, (192.168.2.1,232.2.2.2), type <S,G> oldMribNhopIp 0.0.0.0 oldRpf
NbrIp 0.0.0.0, oldRpfType NONE oldRpfIf 0 rptMribNhopIp 0.0.0.0, rptRpfNbrIp 0.0
.0.0 rtmReason 32"
48 2011/10/13 19:02:20.41 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGUpStateJMribChange
pSG 0x5578f87c, (192.168.2.1,232.2.2.2), type <S,G> newMribNhopIp 192.0.2.1 newR
pfNbrIp 192.0.2.1 newRpfType REMOTE newRpfIf 73737"
49 2011/10/13 19:02:20.41 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.1
"Peer 1: 192.0.2.1: UPDATE
Peer 1: 192.0.2.1 - Send BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 69
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x80 Type: 4 Len: 4 MED: 0
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:192.0.2.1:3
Flag: 0x90 Type: 14 Len: 33 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.4
Type: Source-Join Len:22 RD: 64496:201 SrcAS: 64496 Src: 192.168.2.1 Grp
: 232.2.2.2
"
67 2011/10/14 05:11:35.06 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.4
"Peer 1: 192.0.2.4: UPDATE
Peer 1: 192.0.2.4 - Received BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 69
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x80 Type: 4 Len: 4 MED: 0
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:192.0.2.1:3
Flag: 0x90 Type: 14 Len: 33 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.4
Type: Source-Join Len:22 RD: 64496:201 SrcAS: 64496 Src: 192.168.2.1 Grp
: 232.2.2.2
"
68 2011/10/14 05:11:35.05 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPProcessSG
pimJPProcessSG: (S,G)-> (192.168.2.1,232.2.2.2) type <S,G>, i/f mpls-if-73740, u
pNbr 192.0.2.1 isJoin 1 isRpt 0 holdTime 65535"
69 2011/10/14 05:11:35.06 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Downstream: State NoInfo Event RxJoin, (S,G) (192.168.2.1,232.2.2.2) grou
pType <S,G>"
70 2011/10/14 05:11:35.06 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Upstream: State NotJoined Event JoinDesiredTrue, (S,G) (192.168.2.1,232.2
.2.2) groupType <S,G>"
71 2011/10/14 05:11:35.06 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGUpJoinDesiredTrue
pim 3 sg_type 2 refetch route type SPMSI pendingFetchMask 0x8"
72 2011/10/14 05:11:35.06 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSendJoinPrunePdu
pimSendJoinPrunePdu: if 3, adj 172.16.12.2"
73 2011/10/14 05:11:35.06 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGEncodeGroupSet
pimEncodeGroupSet: encoding groupset for group 232.2.2.2, numJoinedSrcs 1, numPr
unedSrcs 0"
74 2011/10/14 05:11:35.05 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGEncodeGroupSet
pimEncodeGroupSet: Encoding Join for source 192.168.2.1"
75 2011/10/14 05:11:35.05 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGEncodeGroupSet
pimEncodeGroupSet: num joined srcs 1, num pruned srcs 0"
76 2011/10/14 05:11:35.05 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSendJoinPrunePdu
pimSendJoinPrunePdu2: sending JP PDU with 1 groups."
77 2011/10/14 05:12:34.76 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Upstream: State Joined Event JTTimerExp, (S,G) (192.168.2.1,232.2.2.2) gr
oupType <S,G>"
78 2011/10/14 05:12:34.76 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSendJoinPrunePdu
pimSendJoinPrunePdu: if 3, adj 172.16.12.2"
79 2011/10/14 05:12:34.76 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGEncodeGroupSet
pimEncodeGroupSet: encoding groupset for group 232.2.2.2, numJoinedSrcs 1, numPr
unedSrcs 0"
80 2011/10/14 05:12:34.76 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGEncodeGroupSet
pimEncodeGroupSet: Encoding Join for source 192.168.2.1"
81 2011/10/14 05:12:34.77 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGEncodeGroupSet
pimEncodeGroupSet: num joined srcs 1, num pruned srcs 0"
82 2011/10/14 05:12:34.77 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSendJoinPrunePdu
pimSendJoinPrunePdu2: sending JP PDU with 1 groups."
*A:PE-1# show router bgp routes mvpn-ipv4 type source-join
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Flag RouteType OriginatorIP LocalPref MED
RD SourceAS VPNLabel
Nexthop SourceIP
As-Path GroupIP
-------------------------------------------------------------------------------
u*>i Source-Join - 100 0
64496:201 64496 -
192.0.2.4 192.168.2.1
No As-Path 232.2.2.2
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:PE-1# show router 2 pim group detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 232.2.2.2
Source Address : 192.168.2.1
RP Address : 0
Flags : Type : (S,G)
MRIB Next Hop : 172.16.12.2
MRIB Src Flags : remote Keepalive Timer : Not Running
Up Time : 0d 00:10:48 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:12
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 : 172.16.12.2
Incoming Intf : int-PE-1-CE-1
Outgoing Intf List : mpls-if-73740
Curr Fwding Rate : 0.0 kbps
Forwarded Packets : 0 Discarded Packets : 0
Forwarded Octets : 0 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-4# show router 2 pim group detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 232.2.2.2
Source Address : 192.168.2.1
RP Address : 0
Flags : Type : (S,G)
MRIB Next Hop : 192.0.2.1
MRIB Src Flags : remote Keepalive Timer : Not Running
Up Time : 0d 00:12:40 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:19
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 : 192.0.2.1
Incoming Intf : mpls-if-73737
Outgoing Intf List : int-PE-4-CE-4
Curr Fwding Rate : 0.0 kbps
Forwarded Packets : 0 Discarded Packets : 0
Forwarded Octets : 0 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
92 2011/10/13 19:16:36.67 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPProcessSG
pimJPProcessSG: (S,G)-> (192.168.2.1,232.2.2.2) type <S,G>, i/f int-PE-4-CE-4, u
pNbr 172.16.42.1 isJoin 0 isRpt 0 holdTime 210"
93 2011/10/13 19:16:36.67 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Downstream: State Joined Event RxPrune, (S,G) (192.168.2.1,232.2.2.2) gro
upType <S,G>"
94 2011/10/13 19:16:36.67 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Downstream: State PrunePending Event PrunePendTimerExp, (S,G) (192.168.2.
1,232.2.2.2) groupType <S,G>"
95 2011/10/13 19:16:36.67 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimJPPrintFsmEvent
PIM JP Upstream: State Joined Event JoinDesiredFalse, (S,G) (192.168.2.1,232.2.2
.2) groupType <S,G>"
96 2011/10/13 19:16:36.67 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.1
"Peer 1: 192.0.2.1: UPDATE
Peer 1: 192.0.2.1 - Send BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 31
Flag: 0x90 Type: 15 Len: 27 Multiprotocol Unreachable NLRI:
Address Family MVPN_IPV4
Type: Source-Join Len:22 RD: 64496:201 SrcAS: 64496 Src: 192.168.2.1 Grp
: 232.2.2.2
"
*A:PE-2>config>service>vprn# info
----------------------------------------------
description "P2MP RSVP"
ecmp 2
autonomous-system 64496
route-distinguisher 64496:202
vrf-target target:64496:200
interface "loopback" create
address 172.16.2.2/32
loopback
exit
interface "int-PE-2-CE-2" create
address 172.16.23.1/30
sap 1/1/1:2 create
exit
exit
interface "int-PE-2-CE-1" create
address 172.16.16.1/30
sap 1/1/4:2 create
exit
exit
bgp
group "external"
type external
peer-as 64499
neighbor 172.16.16.2
exit
exit
no shutdown
exit
pim
interface "loopback"
exit
interface "int-PE-2-CE-2"
exit
interface "int-PE-2-CE-1"
exit
rp
static
exit
bsr-candidate
shutdown
exit
rp-candidate
shutdown
exit
exit
no shutdown
exit
mvpn
auto-discovery default
c-mcast-signaling bgp
provider-tunnel
inclusive
rsvp
lsp-template vrf2
no shutdown
exit
exit
exit
vrf-target unicast
exit
exit
spoke-sdp 12 create
no shutdown
exit
spoke-sdp 23 create
no shutdown
exit
spoke-sdp 24 create
no shutdown
exit
no shutdown
----------------------------------------------
*A:PE-4# show router 2 route-table
===============================================================================
Route Table (Service: 2)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
* Truncated info
192.168.2.1/32 Remote BGP VPN 00h19m55s 170
192.0.2.1 (tunneled) 0
192.168.2.1/32 Remote BGP VPN 00h19m55s 170
192.0.2.2 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 11
Flags: L = LFA nexthop available B = BGP backup route available
n = Number of times nexthop is repeated
===============================================================================
When PE-4 receives a c-join/prune, PE-4 needs to find the upstream multicast hop for the (S,G). This is the Upstream Multihop Selection (UMH) and is configurable. The values are highest-ip, hash-based and tunnel-status.
*A:PE-4>config>service>vprn>mvpn# umh-selection
- no umh-selection
- umh-selection {highest-ip|hash-based|tunnel-status}
* Truncated info
12 2011/10/14 08:42:53.87 UTC MINOR: DEBUG #2001 vprn2 PIM[Instance 3 vprn2]
"PIM[Instance 3 vprn2]: pimSGUpStateJMribChange
pSG 0x5578f87c, (192.168.2.1,232.2.2.2), type <S,G> newMribNhopIp 192.0.2.2 newR
pfNbrIp 192.0.2.2 newRpfType REMOTE newRpfIf 73741"
13 2011/10/14 08:42:53.87 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.2
"Peer 1: 192.0.2.2: UPDATE
Peer 1: 192.0.2.2 - Send BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 69
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x80 Type: 4 Len: 4 MED: 0
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:192.0.2.2:3
Flag: 0x90 Type: 14 Len: 33 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.4
Type: Source-Join Len:22 RD: 64496:202 SrcAS: 64496 Src: 192.168.2.1 Grp
: 232.2.2.2
"
PE-2>configure service vprn 2
mvpn
auto-discovery default
c-mcast-signaling bgp
umh-selection tunnel-status
provider-tunnel
inclusive
rsvp
lsp-template vrf2
enable-bfd-root 100
no shutdown
exit
exit
exit
vrf-target unicast
exit
exit
PE-4>configure service vprn 2
mvpn
auto-discovery default
c-mcast-signaling bgp
umh-selection tunnel-status
umh-pe-backup
umh-pe 192.0.2.1 standby 192.0.2.2
exit
provider-tunnel
inclusive
rsvp
lsp-template vrf2
enable-bfd-leaf
no shutdown
exit
exit
exit
vrf-target unicast
exit
exit
*A:PE-1>config>service>vprn# show router 2 bfd session
===============================================================================
BFD Session
===============================================================================
Interface State Tx Intvl Rx Intvl Multipl
Remote Address Protocols Tx Pkts Rx Pkts Type
-------------------------------------------------------------------------------
mpls-if-73747 Up (3) 100 0 3
127.0.0.0 pim 9955 0 central
-------------------------------------------------------------------------------
No. of BFD sessions: 1
*A:PE-4>config>service>vprn# show router 2 bfd session
===============================================================================
BFD Session
===============================================================================
Interface State Tx Intvl Rx Intvl Multipl
Remote Address Protocols Tx Pkts Rx Pkts Type
-------------------------------------------------------------------------------
mpls-if-73747 Up (3) 0 100 3
192.0.2.1 pim 0 681 central
mpls-if-73748 Up (3) 0 100 3
192.0.2.2 pim 0 470 central
-------------------------------------------------------------------------------
No. of BFD sessions: 2
===============================================================================
Figure 99 shows the topology of VPRN 3.
*A:PE-4>config router
pim
interface "system"
exit
interface "int-PE-4-PE-2"
exit
interface "int-PE-4-PE-3"
exit
rp
static
exit
bsr-candidate
shutdown
exit
rp-candidate
shutdown
exit
exit
no shutdown
exit
*A:PE-4>config service vprn 3
description "PIM SSM"
autonomous-system 64496
route-distinguisher 64496:304
vrf-target target:64496:300
interface "loopback" create
address 172.16.3.4/32
loopback
exit
interface "int-PE-4-CE-4" create
address 172.16.43.1/30
sap 1/1/1:3 create
exit
exit
pim
interface "loopback"
exit
interface "int-PE-4-CE-4"
exit
rp
static
exit
bsr-candidate
shutdown
exit
rp-candidate
shutdown
exit
exit
no shutdown
exit
mvpn
auto-discovery mdt-safi
provider-tunnel
inclusive
pim ssm 239.1.1.1
exit
exit
exit
vrf-target unicast
exit
exit
spoke-sdp 14 create
no shutdown
exit
spoke-sdp 24 create
no shutdown
exit
spoke-sdp 34 create
no shutdown
exit
no shutdown
2 2011/10/14 16:48:14.58 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.1
"Peer 1: 192.0.2.1: UPDATE
Peer 1: 192.0.2.1 - Send BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 62
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x80 Type: 4 Len: 4 MED: 0
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:64496:300
Flag: 0x90 Type: 14 Len: 26 Multiprotocol Reachable NLRI:
Address Family MDT-SAFI
NextHop len 4 NextHop 192.0.2.4
[MDT-SAFI] Addr 192.0.2.4, Group 239.1.1.1, RD 64496:304