OISM to MVPN/PIM interworking (MEG/PEG function) with MLDP I-PMSI
This chapter provides information about Optimized Intersubnet Multicast (OISM) to Multicast VPN/Protocol Independent Multicast (MVPN/PIM) interworking (using the MVPN to EVPN Gateway/PIM to EVPN Gateway (MEG/PEG) functions) with Multicast Label Distribution Protocol (MLDP) Inclusive Provider Multicast Service Interface (I-PMSI).
Topics in this chapter include:
Applicability
The information and configuration in this chapter are based on SR OS Release 24.10.R2. Only on FP-based platforms, SR OS Release 22.2.R2 and later support MLDP I-PMSI.
Overview
- MEG (MVPN to EVPN Gateway): Bridges MVPN and EVPN.
- PEG (PIM to EVPN Gateway): Bridges PIM and EVPN.
- Including the Designated Forwarder (DF) Election extended community in the Inclusive Multicast Ethernet Tag (IMET) routes.
- Following the DR selection procedures defined in RFC 8584.
After being elected, the MEG/PEG routers use Ingress Replication (IR) to handle multicast (MC) traffic efficiently within supplementary broadcast domains (SBDs).
In addition to IR and only on FP-based platforms, SR OSRelease 22.2.R2 and later also support MLDP root-and-leaf (See P2MP mLDP Tunnels for BUM Traffic in EVPN-MPLS Services for more details) on the SBD of the MEG/PEG routers. On a MEG/PEG router, traffic originating from either the MVPN/PIM domain or the EVPN domain can be forwarded or received by the MEG/PEG DR through an MLDP provider tunnel. The PIM Instance can be in MVPN.

PE-2 and PE-3 connect an OISM EVPN network hosting PE-5 and PE-6, and an MVPN/PIM network hosting PE-7 and PE-8. PE-2 and PE-3 act as MEG/PEG DR candidates. PE-2 and PE-3 forward traffic into the EVPN using MLDP I-PMSIs. An MC receiver connected to PE-6 in the EVPN network joins MC group 225.0.0.1 of an MC source connected to PE-8 in the MVPN/PIM network to receive MC traffic from the MC source. An MC receiver connected to PE-7 in the MVPN/PIM network joins MC group 239.0.0.4 of an MC source connected to PE-5 in the EVPN network to receive MC traffic from the MC source. All PEs exchange BGP messages via a BGP route reflector RR-1 that is connected to PE-2.
The EVPN MPLS services use provider-tunnel inclusive. The owner must be configured as bgp-evpn-mpls. Other options are bgp-ad, bgp-vpls, or no owner (default). If bgp-evpn-mpls and bgp-vpls are enabled in the same service, they are mutually exclusive with provider-tunnel. If bgp-evpn-mpls and bgp-ad coexist in the same service, only bgp-evpn-mpls can be the provider-tunnel inclusive owner.
- no ingress-repl-inc-mcast-advertisement: the PE does not send IMET-IR or IMET-P2MP-IR routes
- ingress-repl-inc-mcast-advertisement (default)
- if no root-and-leaf is configured (default): the PE sends an IMET-IR route
- if root-and-leaf is configured: the PE sends an IMET-P2MP-IR composite tunnel route
Configuration
- cards, MDAs, ports
- BGP route reflector (RR)
- router interfaces
- IBGP in the EVPN network for the EVPN address family
- IBGP in the MVPN/PIM network for the VPN IPv4 and MVPN IPv4 address families
- IS-IS on the router interfaces (OSPF or OSPF3 router interfaces are also possible)
- LDP and MPLS in the EVPN and MVPN/PIM networks (not on the RR)
Router configuration
# On PE-2:
configure
router "Base"
interface "int-PE-2-RR-1"
address 192.168.12.2/30
ipv6
address 2001:db8::168:12:2/126
exit
port 1/1/c1/1
exit
interface "int-PE-2-PE-3"
address 192.168.23.1/30
ipv6
address 2001:db8::168:23:1/126
exit
port 1/1/c3/1
exit
interface "int-PE-2-PE-5"
address 192.168.25.1/30
ipv6
address 2001:db8::168:25:1/126
exit
port 1/1/c5/1
exit
interface "int-PE-2-PE-6"
address 192.168.26.1/30
ipv6
address 2001:db8::168:26:1/126
exit
port 1/1/c6/1
exit
interface "int-PE-2-PE-7"
address 192.168.27.1/30
ipv6
address 2001:db8::168:27:1/126
exit
port 1/1/c7/1
exit
interface "int-PE-2-PE-8"
address 192.168.28.1/30
ipv6
address 2001:db8::168:28:1/126
exit
port 1/1/c8/1
exit
interface "system"
address 192.0.2.2/32
ipv6
address 2001:db8::2:2/128
exit
exit
isis 0
level-capability level-2
area-id 49.0001
traffic-engineering
traffic-engineering-options
ipv6
application-link-attributes
exit
exit
advertise-router-capability as
ipv6-routing native
ipv6-multicast-routing native
level 2
wide-metrics-only
exit
interface "system"
no shutdown
exit
interface "int-PE-2-RR-1"
interface-type point-to-point
no shutdown
exit
interface "int-PE-2-PE-3"
interface-type point-to-point
no shutdown
exit
interface "int-PE-2-PE-5"
interface-type point-to-point
no shutdown
exit
interface "int-PE-2-PE-6"
interface-type point-to-point
no shutdown
exit
interface "int-PE-2-PE-7"
interface-type point-to-point
no shutdown
exit
interface "int-PE-2-PE-8"
interface-type point-to-point
no shutdown
exit
no shutdown
exit
ldp
import-pmsi-routes
exit
tcp-session-parameters
exit
interface-parameters
interface "int-PE-2-PE-3" dual-stack
ipv4
no shutdown
exit
ipv6
no shutdown
exit
no shutdown
exit
interface "int-PE-2-PE-5" dual-stack
ipv4
no shutdown
exit
ipv6
no shutdown
exit
no shutdown
exit
interface "int-PE-2-PE-6" dual-stack
ipv4
no shutdown
exit
ipv6
no shutdown
exit
no shutdown
exit
interface "int-PE-2-PE-7" dual-stack
ipv4
no shutdown
exit
ipv6
no shutdown
exit
no shutdown
exit
interface "int-PE-2-PE-8" dual-stack
ipv4
no shutdown
exit
ipv6
no shutdown
exit
no shutdown
exit
exit
targeted-session
exit
no shutdown
exit
mpls
interface "system"
no shutdown
exit
interface "int-PE-2-PE-3"
no shutdown
exit
interface "int-PE-2-PE-5"
no shutdown
exit
interface "int-PE-2-PE-6"
no shutdown
exit
interface "int-PE-2-PE-7"
no shutdown
exit
interface "int-PE-2-PE-8"
no shutdown
exit
no shutdown
exit
The router configuration on PE-3, PE-5, PE-6, PE-7 and PE-8 is similar. PE-3, PE-5, PE-6, PE-7 and PE-8 have no interface to RR-1.
# On RR-1:
configure
router "Base"
interface "int-RR-1-PE-2"
address 192.168.12.1/30
ipv6
address 2001:db8::168:12:1/126
exit
port 1/1/c2/1
exit
interface "system"
address 192.0.2.1/32
ipv6
address 2001:db8::2:1/128
exit
exit
isis 0
level-capability level-2
area-id 49.0001
traffic-engineering
traffic-engineering-options
ipv6
application-link-attributes
exit
exit
advertise-router-capability as
ipv6-routing native
ipv6-multicast-routing native
level 2
wide-metrics-only
exit
interface "system"
no shutdown
exit
interface "int-RR-1-PE-2"
interface-type point-to-point
no shutdown
exit
no shutdown
exit
# On RR-1:
configure
router "Base"
autonomous-system 64500
bgp
rapid-withdrawal
rapid-update vpn-ipv4 mvpn-ipv4 evpn
group "IBGP"
type internal
cluster 1.1.1.1
neighbor 192.0.2.2
family vpn-ipv4 mvpn-ipv4 evpn
exit
neighbor 192.0.2.3
family vpn-ipv4 mvpn-ipv4 evpn
exit
neighbor 192.0.2.5
family evpn
exit
neighbor 192.0.2.6
family evpn
exit
neighbor 192.0.2.7
family vpn-ipv4 mvpn-ipv4
exit
neighbor 192.0.2.8
family vpn-ipv4 mvpn-ipv4
exit
exit
no shutdown
exit
The IBGP configuration on PE-2 is as
follows:# On PE-2:
configure
router "Base"
autonomous-system 64500
bgp
rapid-withdrawal
rapid-update vpn-ipv4 mvpn-ipv4 evpn
group "IBGP"
type internal
neighbor 192.0.2.1
family vpn-ipv4 mvpn-ipv4 evpn
exit
exit
no shutdown
exit
The IBGP configuration on PE-3, PE-5, PE-6, PE-7, and PE-8 is similar. PE-2 and PE-3 operate in both the EVPN and the MVPN/PIM networks. They support the VPN IPv4, MVPN IPv4, and EVPN address families. PE-5 and PE-6 operate in the EVPN network only. They support only the EVPN address family. PE-7 and PE-8 operate in the MVPN/PIM network only. They support only the VPN IPv4 and MVPN IPv4 address families.
Service configuration in the EVPN network
# On PE-2, PE-3, PE-5, PE-6:
configure
service
vpls 8 name "SBD-8" customer 1 create
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
exit
bgp
exit
bgp-evpn
no mac-advertisement
ip-route-advertisement domain-id 64500:8
sel-mcast-advertisement
evi 8
mpls bgp 1
ingress-replication-bum-label
auto-bind-tunnel
resolution any
exit
no shutdown
exit
exit
provider-tunnel
inclusive
owner bgp-evpn-mpls
mldp
no shutdown
exit
exit
stp
shutdown
exit
igmp-snooping
no shutdown
exit
mld-snooping
no shutdown
exit
no shutdown
ip-route-advertisement domain-id 64500:8 is needed for loop prevention between EVPN and MVPN/PIM. See Domain Path Attribute for VPRN BGP Routes for the use of this command.
# On PE-2, PE-3:
configure
service
vpls 8
allow-ip-int-bind
evpn-mcast-gateway create
no shutdown
The provider tunnel on the routed VPLS 8 (SBD-8) service on PE-2 and PE-3 is additionally configured as root-and leaf, as follows:
# On PE-2, PE-3:
configure
service
vpls 8
provider-tunnel
inclusive
owner bgp-evpn-mpls
root-and-leaf
mldp
no shutdown
The initial VPRN-1 is configured on all
PEs, depending on their role in the EVPN or MVPN/PIM networks. PE-2 and PE-3
have identical VPRN-1 configuration (except for their route-distinguisher), as
follows:# On PE-2, PE-3:
configure
service
vprn 1 name "VPRN-1" customer 1 create
interface "int-SBD-8" create
vpls "SBD-8"
evpn-tunnel supplementary-broadcast-domain
exit
exit
bgp-ipvpn
mpls
auto-bind-tunnel
resolution any
exit
domain-id 64500:1
route-distinguisher 192.0.2.2:1 # 192.0.2.3:1 for PE-3
vrf-target target:64500:1
no shutdown
exit
exit
igmp
interface "int-SBD-8" # to reach EVPN MC receiver
no shutdown
exit
no shutdown
exit
pim
interface "int-SBD-8" # to reach EVPN MC source
multicast-senders always
exit
apply-to all
no shutdown
exit
mvpn
auto-discovery default
c-mcast-signaling bgp
provider-tunnel
inclusive
mldp
no shutdown
exit
exit
exit
vrf-target unicast
exit
exit
no shutdown
VPRN-1 on PE-2 and on PE-3 uses SBD-8 toward the EVPN MC source on PE-5 and toward the EVPN MC receiver on PE-6.
# On PE-5, PE-6:
configure
service
vprn 1 name "VPRN-1" customer 1 create
interface "int-SBD-8" create
vpls "SBD-8"
evpn-tunnel supplementary-broadcast-domain
exit
exit
igmp
no shutdown
exit
pim
interface "int-SBD-8"
multicast-senders always
exit
apply-to all
no shutdown
exit
no shutdown
# On PE-7:
configure
service
vprn 1 name "VPRN-1" customer 1 create
interface "to-receiver" create
address 203.0.113.1/24
sap 1/1/c4/1:8 create
exit
exit
bgp-ipvpn
mpls
auto-bind-tunnel
resolution any
exit
route-distinguisher 192.0.2.7:1
vrf-target target:64500:1
no shutdown
exit
exit
igmp
interface "to-receiver"
no shutdown
exit
no shutdown
exit
pim
apply-to all
no shutdown
exit
mvpn
auto-discovery default
c-mcast-signaling bgp
# umh-selection highest-ip # this is the default
provider-tunnel
inclusive
mldp
no shutdown
exit
exit
exit
vrf-target unicast
exit
exit
no shutdown
# On PE-8:
configure
service
vprn 1 name "VPRN-1" customer 1 create
interface "to-source" create
address 198.51.100.1/24
sap 1/1/c4/1:8 create
exit
exit
bgp-ipvpn
mpls
auto-bind-tunnel
resolution any
exit
route-distinguisher 192.0.2.8:1
vrf-target target:64500:1
no shutdown
exit
exit
igmp
no shutdown
exit
pim
interface "to-source"
exit
apply-to all
no shutdown
exit
mvpn
auto-discovery default
c-mcast-signaling bgp
provider-tunnel
inclusive
mldp
no shutdown
exit
exit
exit
vrf-target unicast
exit
exit
no shutdown
Use cases
MC traffic from MC source in MVPN/PIM network to MC receiver in EVPN network

The MC source is connected to PE-8 in the MVPN/PIM network. The MC receiver is connected to PE-6 in the EVPN network. The MC source (198.51.100.21) sends MC traffic to the MC receiver (10.0.4.21) that requested group membership for MC group 225.0.0.1.
MC source configuration
The MC source is directly connected to VPRN-1 on PE-8 and needs no further configuration beyond the initial VPRN-1 configuration.
MC receiver configuration
# On PE-6:
configure
service
vpls 4 name "BD-4" customer 1 create
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
exit
bgp
exit
bgp-evpn
evi 4
mpls bgp 1
ingress-replication-bum-label
auto-bind-tunnel
resolution any
exit
no shutdown
exit
exit
provider-tunnel
inclusive
owner bgp-evpn-mpls
mldp
no shutdown
exit
exit
stp
shutdown
exit
igmp-snooping
no shutdown
exit
mld-snooping
no shutdown
exit
sap 1/1/c4/1:4 create
igmp-snooping
fast-leave
exit
no shutdown
exit
no shutdown
# On PE-6:
configure
service
vprn 1
---snip---
interface "int-BD-4" create
description "to_receiver_OISM"
address 10.0.4.1/24
vpls "BD-4"
exit
exit
igmp
interface "int-BD-4"
no shutdown
exit
no shutdown
exit
---snip---
MEG/PEG DR election
A:PE-2# show service id 8 evpn-mcast-gateway all
===============================================================================
Service Evpn Multicast Gateway
===============================================================================
Type : mvpn-pim
Admin State : Enabled
DR Activation Timer : 3 secs
Mvpn Evpn Gateway DR : Yes
Pim Evpn Gateway DR : Yes
===============================================================================
===============================================================================
Mvpn Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : Yes
DR Last Change : 01/08/2025 14:07:06
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/08/2025 14:07:06
192.0.2.3 01/08/2025 14:07:31
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
===============================================================================
Pim Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : Yes
DR Last Change : 01/08/2025 14:07:06
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/08/2025 14:07:06
192.0.2.3 01/08/2025 14:07:31
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
A:PE-3# show service id 8 evpn-mcast-gateway all
===============================================================================
Service Evpn Multicast Gateway
===============================================================================
Type : mvpn-pim
Admin State : Enabled
DR Activation Timer : 3 secs
Mvpn Evpn Gateway DR : No
Pim Evpn Gateway DR : No
===============================================================================
===============================================================================
Mvpn Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : No
DR Last Change : 01/08/2025 14:07:31
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/08/2025 14:07:31
192.0.2.3 01/08/2025 14:07:31
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
===============================================================================
Pim Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : No
DR Last Change : 01/08/2025 14:07:31
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/08/2025 14:07:31
192.0.2.3 01/08/2025 14:07:31
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
# On PE-3:
31 2025/01/08 14:07:15.571 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.1
"Peer 1: 192.0.2.1: UPDATE
Peer 1: 192.0.2.1 - Received BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 123
Flag: 0x90 Type: 14 Len: 28 Multiprotocol Reachable NLRI:
Address Family EVPN
NextHop len 4 NextHop 192.0.2.2
Type: EVPN-INCL-MCAST Len: 17 RD: 192.0.2.2:8, tag: 0,
orig_addr len: 32, orig_addr: 192.0.2.2
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0x80 Type: 9 Len: 4 Originator ID: 192.0.2.2
Flag: 0x80 Type: 10 Len: 4 Cluster ID:
1.1.1.1
Flag: 0xc0 Type: 16 Len: 32 Extended Community:
target:64500:8
mcast-flags:SBD/MEG/PEG/OISM/NO-MLD-Proxy/NO-IGMP-Proxy
df-election::DF-Type:Auto/DP:0/DF-Preference:0/AC:0
bgp-tunnel-encap:MPLS
Flag: 0xc0 Type: 22 Len: 25 PMSI:
Tunnel-type Composite LDP P2MP IR (130)
Flags: (0x0)[Type: None BM: 0 U: 0 Leaf: not required]
MPLS Label1 Ag 0
MPLS Label2 IR 8388320
Root-Node 192.0.2.2, LSP-ID 0x2002
"
# On PE-3:
configure
service
vpls 8
provider-tunnel inclusive shutdown
allow-ip-int-bind
evpn-mcast-gateway
shutdown
no non-dr-attract-traffic
no shutdown
exit
exit
provider-tunnel inclusive no shutdown
The MEG/PEG
non-DR does not send wildcard EVPN Selective Multicast Ethernet Tag
(EVPN-SMET) BGP updates. The MEG/PEG DR does
send the wildcard EVPN-SMET BGP update and attracts
traffic.MC traffic verification
A:PE-2# show router bgp routes mvpn-ipv4 type source-ad group-ip 225.0.0.1
===============================================================================
BGP Router ID:192.0.2.2 AS:64500 Local AS:64500
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked, x - stale, > - best, b - backup, p - purge
Origin codes : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Flag RouteType OriginatorIP LocalPref MED
RD SourceAS Path-Id IGP Cost
Nexthop SourceIP Label
As-Path GroupIP
-------------------------------------------------------------------------------
u*>i Source-Ad - 100 0
192.0.2.8:1 - None -
192.0.2.8 198.51.100.21
No As-Path 225.0.0.1
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:PE-3# show router bgp routes mvpn-ipv4 type source-ad group-ip 225.0.0.1
===============================================================================
BGP Router ID:192.0.2.3 AS:64500 Local AS:64500
===============================================================================
---snip---
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Flag RouteType OriginatorIP LocalPref MED
RD SourceAS Path-Id IGP Cost
Nexthop SourceIP Label
As-Path GroupIP
-------------------------------------------------------------------------------
u*>i Source-Ad - 100 0
192.0.2.8:1 - None -
192.0.2.8 198.51.100.21
No As-Path 225.0.0.1
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
When
the MC receiver on PE-6 joins the MC group 225.0.0.1, PE-6 sends out an
EVPN-SMET BGP update in the EVPN network. PE-2
and PE-3 install the corresponding SMET
route:# On PE-6:
2 2025/01/08 14:13:52.129 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 = 76
Flag: 0x90 Type: 14 Len: 39 Multiprotocol Reachable NLRI:
Address Family EVPN
NextHop len 4 NextHop 192.0.2.6
Type: EVPN-SMET Len: 28 RD: 192.0.2.6:8, tag: 0,
Mcast-Src-Len: 32, Mcast-Src-Addr: 198.51.100.21,
Mcast-Grp-Len: 32, Mcast-Grp-Addr: 225.0.0.1,
Orig Addr: 192.0.2.6/32, Flags(0x4): IE:0/V3:1/V2:0/V1:0
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 16 Extended Community:
target:64500:8
bgp-tunnel-encap:MPLS
"
A:PE-2# show router bgp routes evpn smet
===============================================================================
BGP Router ID:192.0.2.2 AS:64500 Local AS:64500
===============================================================================
---snip---
===============================================================================
BGP EVPN Smet Routes
===============================================================================
Flag Route Dist. Src Address
Tag Grp Address
Orig Address
NextHop
-------------------------------------------------------------------------------
---snip---
u*>i 192.0.2.6:8 198.51.100.21
0 225.0.0.1
192.0.2.6
192.0.2.6
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
A:PE-3# show router bgp routes evpn smet
===============================================================================
BGP Router ID:192.0.2.3 AS:64500 Local AS:64500
===============================================================================
---snip---
===============================================================================
BGP EVPN Smet Routes
===============================================================================
Flag Route Dist. Src Address
Tag Grp Address
Orig Address
NextHop
-------------------------------------------------------------------------------
---snip---
u*>i 192.0.2.6:8 198.51.100.21
0 225.0.0.1
192.0.2.6
192.0.2.6
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
Only
the MEG/PEG DR updates its MFIB with the entry based on the received
EVPN-SMET BGP
update:A:PE-2# show service id 8 mfib
===============================================================================
Multicast FIB, Service 8
===============================================================================
Source Address Group Address Port Id Svc Id Fwd
Blk
-------------------------------------------------------------------------------
198.51.100.21 225.0.0.1 sbd-mpls:192.0.2.6:524274 Local Fwd
-------------------------------------------------------------------------------
Number of entries: 1
===============================================================================
A:PE-3# show service id 8 mfib
===============================================================================
Multicast FIB, Service 8
===============================================================================
Source Address Group Address Port Id Svc Id Fwd
Blk
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Number of entries: 0
===============================================================================
A:PE-2# show service id 8 evpn-mpls
===============================================================================
BGP EVPN-MPLS Dest (Instance 1)
===============================================================================
TEP Address Transport:Tnl Egr Label Oper Mcast Num
State MACs
-------------------------------------------------------------------------------
192.0.2.5 ldp:65540 524274 Up m 0
192.0.2.6 ldp:65541 524274 Up m 0
192.0.2.6 ldp:65541 524275 Up none 1
-------------------------------------------------------------------------------
Number of entries: 3
-------------------------------------------------------------------------------
===============================================================================
---snip---
Upon receiving the EVPN-SMET BGP update from PE-6, the MEG/PEG DR creates L3
state, generates the MVPN Source-Join BGP update,
and starts attracting
traffic.# On PE-2:
4 2025/01/08 14:13:52.702 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 = 76
Flag: 0x90 Type: 14 Len: 33 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.2
Type: Source-Join Len:22 RD: 192.0.2.8:1 SrcAS: 64500
Src: 198.51.100.21 Grp: 225.0.0.1
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:192.0.2.8:2
"
A:PE-8# show router bgp routes mvpn-ipv4 type source-join group-ip 225.0.0.1
===============================================================================
BGP Router ID:192.0.2.8 AS:64500 Local AS:64500
===============================================================================
---snip---
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Flag RouteType OriginatorIP LocalPref MED
RD SourceAS Path-Id IGP Cost
Nexthop SourceIP Label
As-Path GroupIP
-------------------------------------------------------------------------------
u*>i Source-Join - 100 0
192.0.2.8:1 64500 None -
192.0.2.2 198.51.100.21
No As-Path 225.0.0.1
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:PE-8# show router 1 route-table
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.0.4.0/24 Remote BGP VPN 00h05m56s 170
192.0.2.2 (tunneled) 10
198.51.100.0/24 Local Local 00h07m57s 0
to-source 0
203.0.113.0/24 Remote BGP VPN 00h07m53s 170
192.0.2.7 (tunneled) 10
-------------------------------------------------------------------------------
No. of Routes: 3
---snip---
===============================================================================
A:PE-6# show router 1 route-table
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.0.4.0/24 Local Local 00h05m54s 0
int-BD-4 0
198.51.100.0/24 Remote EVPN-IFF 00h06m01s 169
int-SBD-8 (ET-00:02:fe:ff:ff:45) 0
203.0.113.0/24 Remote EVPN-IFF 00h06m01s 169
int-SBD-8 (ET-00:02:fe:ff:ff:45) 0
-------------------------------------------------------------------------------
No. of Routes: 3
---snip---
===============================================================================
MC traffic from the MC source on PE-8 reaches the MEG/PEG DR and is forwarded from there to the
MC receiver on PE-6. In the MEG/PEG DR, int-SBD-8 is in the Outgoing
Intf List. In the MEG/PEG non-DR, the SBD interface is not in the
Outgoing Intf
List:A:PE-2# show router 1 pim group 225.0.0.1 detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 225.0.0.1
Source Address : 198.51.100.21
RP Address : 0
Advt Router : 192.0.2.8
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 192.0.2.8
MRIB Src Flags : remote
Keepalive Timer Exp: 0d 00:00:10
Up Time : 0d 00:03:20 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:40
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.8
Incoming Intf : mpls-if-73731
Outgoing Intf List : int-SBD-8
Curr Fwding Rate : 481.176 kbps
Forwarded Packets : 12226 Discarded Packets : 0
Forwarded Octets : 11957028 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
A:PE-3# show router 1 pim group 225.0.0.1 detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 225.0.0.1
Source Address : 198.51.100.21
RP Address : 0
Advt Router : 192.0.2.8
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 192.0.2.8
MRIB Src Flags : remote
Keepalive Timer Exp: 0d 00:00:06
Up Time : 0d 00:03:23 Resolved By : rtable-u
Up JP State : Not Joined Up JP Expiry : 0d 00:00:00
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.8
Incoming Intf : mpls-if-73731
Outgoing Intf List :
Curr Fwding Rate : 0.000 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
===============================================================================
The MEG/PEG DR forwards the MC traffic to the MC receiver on PE-6 in the EVPN network. int-SBD-8
is the Incoming Intf, while the local int-BD-4 is in the Outgoing Intf
List:A:PE-6# show router 1 pim group detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 225.0.0.1
Source Address : 198.51.100.21
RP Address : 0
Advt Router :
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 198.51.100.21
MRIB Src Flags : direct
Keepalive Timer : Not Running
Up Time : 0d 00:05:41 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:00
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 : 198.51.100.21
Incoming Intf : int-SBD-8
Outgoing Intf List : int-BD-4
Curr Fwding Rate : 477.264 kbps
Forwarded Packets : 20915 Discarded Packets : 0
Forwarded Octets : 20454870 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
PE-6 creates the MFIB at BD-4 with sbd-mpls:192.0.2.2:524270 toward the MEG/PEG DR for wildcard
joins and (S,G) joins on the MEG/PEG
DR:A:PE-6# show service id 4 mfib
===============================================================================
Multicast FIB, Service 4
===============================================================================
Source Address Group Address Port Id Svc Id Fwd
Blk
-------------------------------------------------------------------------------
* * sbd-mpls:192.0.2.2:524270 Local Fwd
198.51.100.21 225.0.0.1 sap:1/1/c4/1:4 Local Fwd
sbd-mpls:192.0.2.2:524270 Local Fwd
* * (mac) sbd-mpls:192.0.2.2:524270 Local Fwd
-------------------------------------------------------------------------------
Number of entries: 3
===============================================================================
PE-8 receives MC traffic from the locally connected MC source and forwards it in the MVPN/PIM
network. PE-3 (MEG/PEG non-DR) and PE-7 do not forward the MC traffic.
PE-2 forwards the MC traffic into the EVPN network. PE-5 has no MC
receivers and does not forward the MC traffic. PE-6 forwards the MC
traffic to the MC receiver that requested the group
membership:A:PE-8# monitor port all-ethernet-rates interval 3 repeat 5
=====================================================================
Monitor statistics for all Ethernet Port Rates
=====================================================================
Port-Id D Bits Packets Errors Util
---------------------------------------------------------------------
---snip---
-------------------------------------------------------------------------------
At time t = 15 sec (Mode: Rate)
-------------------------------------------------------------------------------
1/1/c1/1 I 0 0 0 0.00
O 0 0 0 0.00
1/1/c2/1 I 1704 2 0 0.00
O 491880 63 0 0.00
1/1/c3/1 I 568 0 0 0.00
O 491632 63 0 0.00
1/1/c4/1 I 490664 61 0 0.00
O 0 0 0 0.00
1/1/c7/1 I 928 1 0 0.00
O 491880 63 0 0.00
=====================================================================
A:PE-3# monitor port all-ethernet-rates interval 3 repeat 5
=====================================================================
Monitor statistics for all Ethernet Port Rates
=====================================================================
Port-Id D Bits Packets Errors Util
---------------------------------------------------------------------
---snip---
-------------------------------------------------------------------------------
At time t = 15 sec (Mode: Rate)
-------------------------------------------------------------------------------
1/1/c1/1 I 0 0 0 0.00
O 264 0 0 0.00
1/1/c2/1 I 1768 2 0 0.00
O 1664 2 0 0.00
1/1/c5/1 I 1184 2 0 0.00
O 1304 2 0 0.00
1/1/c6/1 I 1768 2 0 0.00
O 2504 2 0 0.00
1/1/c7/1 I 1304 2 0 0.00
O 1640 2 0 0.00
1/1/c8/1 I 491688 63 0 0.00
O 1712 1 0 0.00
=====================================================================
A:PE-2# monitor port all-ethernet-rates interval 3 repeat 5
=====================================================================
Monitor statistics for all Ethernet Port Rates
=====================================================================
Port-Id D Bits Packets Errors Util
---------------------------------------------------------------------
---snip---
-------------------------------------------------------------------------------
At time t = 15 sec (Mode: Rate)
-------------------------------------------------------------------------------
1/1/c1/1 I 448 0 0 0.00
O 448 0 0 0.00
1/1/c3/1 I 1640 2 0 0.00
O 1344 2 0 0.00
1/1/c5/1 I 576 0 0 0.00
O 499088 63 0 0.00
1/1/c6/1 I 1976 2 0 0.00
O 498664 62 0 0.00
1/1/c7/1 I 1256 2 0 0.00
O 1288 2 0 0.00
1/1/c8/1 I 492696 63 0 0.00
O 1200 1 0 0.00
=====================================================================
A:PE-5# monitor port all-ethernet-rates interval 3 repeat 5
=====================================================================
Monitor statistics for all Ethernet Port Rates
=====================================================================
Port-Id D Bits Packets Errors Util
---------------------------------------------------------------------
---snip---
-------------------------------------------------------------------------------
At time t = 15 sec (Mode: Rate)
-------------------------------------------------------------------------------
1/1/c1/1 I 0 0 0 0.00
O 264 0 0 0.00
1/1/c2/1 I 498544 62 0 0.00
O 2088 2 0 0.00
1/1/c3/1 I 1472 1 0 0.00
O 1400 1 0 0.00
1/1/c4/1 I 0 0 0 0.00
O 0 0 0 0.00
1/1/c6/1 I 1320 1 0 0.00
O 1400 1 0 0.00
=====================================================================
A:PE-6# monitor port all-ethernet-rates interval 3 repeat 5
=====================================================================
Monitor statistics for all Ethernet Port Rates
=====================================================================
Port-Id D Bits Packets Errors Util
---------------------------------------------------------------------
---snip---
-------------------------------------------------------------------------------
At time t = 15 sec (Mode: Rate)
-------------------------------------------------------------------------------
1/1/c1/1 I 0 0 0 0.00
O 264 0 0 0.00
1/1/c2/1 I 498608 62 0 0.00
O 1080 1 0 0.00
1/1/c3/1 I 784 1 0 0.00
O 1080 1 0 0.00
1/1/c4/1 I 0 0 0 0.00
O 490664 61 0 0.00
1/1/c5/1 I 336 0 0 0.00
O 744 1 0 0.00
=====================================================================
MC traffic from MC source in EVPN network to MC receiver in MVPN/PIM network

The MC source is connected to PE-5 in the EVPN network. The MC receiver is connected to PE-7 in the MVPN/PIM network. The MC source (10.0.3.21) sends MC traffic to the MC receiver (203.0.113.21) that requested the group membership for MC group 239.0.0.4.
MC source configuration
# On PE-5:
configure
service
vpls 3 name "BD-3" customer 1 create
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
exit
bgp
exit
bgp-evpn
evi 3
mpls bgp 1
ingress-replication-bum-label
auto-bind-tunnel
resolution any
exit
no shutdown
exit
exit
provider-tunnel
inclusive
owner bgp-evpn-mpls
root-and-leaf
mldp
no shutdown
exit
exit
stp
shutdown
exit
igmp-snooping
no shutdown
exit
mld-snooping
no shutdown
exit
sap 1/1/c4/1:3 create
exit
no shutdown
# On PE-5:
configure
service
vprn 1
---snip---
interface "int-BD-3" create
description "to_source_OISM"
address 10.0.3.1/24
vpls "BD-3"
exit
exit
igmp
interface "int-SBD-8"
no shutdown
exit
no shutdown
exit
---snip---
MC receiver configuration
The MC receiver is directly connected to VPRN-1 on PE-7 and needs no further configuration beyond the initial VPRN-1 configuration.
MEG/PEG DR election
# On PE-2:
26 2025/01/08 14:07:08.732 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 = 68
Flag: 0x90 Type: 14 Len: 31 Multiprotocol Reachable NLRI:
Address Family EVPN
NextHop len 4 NextHop 192.0.2.2
Type: EVPN-SMET Len: 20 RD: 192.0.2.2:8, tag: 0,
Mcast-Src-Len: 0, Mcast-Src-Addr: 0.0.0.0,
Mcast-Grp-Len: 0, Mcast-Grp-Addr: 0.0.0.0,
Orig Addr: 192.0.2.2/32, Flags(0x0): IE:0/V3:0/V2:0/V1:0
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 16 Extended Community:
target:64500:8
bgp-tunnel-encap:MPLS
"
MEG/PEG non-DR as upstream multicast hop (UMH)
# On PE-7:
configure
router "Base"
isis 0
interface "int-PE-7-PE-2"
interface-type point-to-point
level 1
metric 5 # for proof of umh-selection
exit
level 2
metric 5 # for proof of umh-selection
exit
no shutdown
PE-7 receives two VPN IPv4 routes for the MC source address in the 10.0.3.0/24 address range, one from PE-2 with configured IGP cost 5 and one from PE-3 with default IGP cost 10.
A:PE-7# show router bgp routes vpn-ipv4
===============================================================================
BGP Router ID:192.0.2.7 AS:64500 Local AS:64500
===============================================================================
---snip---
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop (Router) Path-Id IGP Cost
As-Path Label
-------------------------------------------------------------------------------
u*>i 192.0.2.2:1:10.0.3.0/24 100 None
192.0.2.2 None 5
No As-Path 524275
u*>i 192.0.2.3:1:10.0.3.0/24 100 None
192.0.2.3 None 10
No As-Path 524275
---snip---
-------------------------------------------------------------------------------
Routes : 4
===============================================================================
Configure PE-7 with the default mvpn umh-selection highest-ip configuration, so that, to select the upstream multicast hop, PE-7 uses the highest next hop IP address and not the lowest IGP cost.
MC traffic verification
*A:PE-5# tools dump service id 3 provider-tunnels
========================================================================================
VPLS 3 Inclusive Provider Tunnels Originating
========================================================================================
ipmsi (LDP) Root-Addr LSP-ID Oper-State
----------------------------------------------------------------------------------------
8193 192.0.2.5 8193 Up
----------------------------------------------------------------------------------------
========================================================================================
VPLS 3 Inclusive Provider Tunnels Terminating
========================================================================================
ipmsi (LDP) Root-Addr LSP-ID Oper-State
----------------------------------------------------------------------------------------
No Tunnels Found
----------------------------------------------------------------------------------------
---snip---
# On PE-5:
5 2025/01/24 12:07:48.996 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 = 109
Flag: 0x90 Type: 14 Len: 28 Multiprotocol Reachable NLRI:
Address Family EVPN
NextHop len 4 NextHop 192.0.2.5
Type: EVPN-INCL-MCAST Len: 17 RD: 192.0.2.5:3, tag: 0,
orig_addr len: 32, orig_addr: 192.0.2.5
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 32 Extended Community:
target:64500:3
mcast-flags:NO-SBD/NO-MEG/NO-PEG/OISM/NO-MLD-Proxy/NO-IGMP-Proxy
target:64500:8
bgp-tunnel-encap:MPLS
Flag: 0xc0 Type: 22 Len: 25 PMSI:
Tunnel-type Composite LDP P2MP IR (130)
Flags: (0x0)[Type: None BM: 0 U: 0 Leaf: not required]
MPLS Label1 Ag 0
MPLS Label2 IR 8388544
Root-Node 192.0.2.5, LSP-ID 0x2001
"
A:PE-2# tools dump service id 8 provider-tunnels
========================================================================================
VPLS 8 Inclusive Provider Tunnels Originating
========================================================================================
ipmsi (LDP) Root-Addr LSP-ID Oper-State
----------------------------------------------------------------------------------------
8194 192.0.2.2 8194 Up
----------------------------------------------------------------------------------------
========================================================================================
VPLS 8 Inclusive Provider Tunnels Terminating
========================================================================================
ipmsi (LDP) Root-Addr LSP-ID Oper-State
----------------------------------------------------------------------------------------
192.0.2.5 8193 Up
----------------------------------------------------------------------------------------
---snip---
The tunnel that originates on PE-2 (Root-Addr 192.0.2.2) is another P2MP tunnel that is present for the earlier scenario, where a MC receiver is connected to PE-6 in the EVPN network. That tunnel is not relevant for this scenario. Similar on PE-3.
*A:PE-5# tools dump service id 3 evpn-mpls default-multicast-list
-------------------------------------------------------------------------
TEP Address Egr Label
Transport
-------------------------------------------------------------------------
192.0.2.2 524283
ldp
192.0.2.3 524283
ldp
---snip---
-------------------------------------------------------------------------
*A:PE-5# tools dump service id 8 evpn-mpls default-multicast-list
-------------------------------------------------------------------------
TEP Address Egr Label
Transport
-------------------------------------------------------------------------
192.0.2.2 524283
ldp
192.0.2.3 524283
ldp
---snip---
-------------------------------------------------------------------------
*A:PE-5# show router ldp bindings p2mp p2mp-id 8193
===============================================================================
LDP Bindings (IPv4 LSR ID 192.0.2.5)
(IPv6 LSR ID 2001:db8::2:5)
===============================================================================
Label Status:
U - Label In Use, N - Label Not In Use, W - Label Withdrawn
WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
e - Label ELC
FEC Flags:
LF - Lower FEC, UF - Upper FEC, M - Community Mismatch,
BA - ASBR Backup FEC
===============================================================================
LDP Generic IPv4 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr Interface
Peer
IngLbl EgrLbl
EgrNH EgrIf/LspId
-------------------------------------------------------------------------------
---snip---
8193
192.0.2.5 73728
192.0.2.3:0
-- 524269
192.168.35.1 1/1/c3/1
---snip---
-------------------------------------------------------------------------------
No. of Generic IPv4 P2MP Bindings: 3
===============================================================================
---snip---
*A:PE-5# show router ldp bindings active p2mp p2mp-id 8193
===============================================================================
LDP Bindings (IPv4 LSR ID 192.0.2.5)
(IPv6 LSR ID 2001:db8::2:5)
===============================================================================
Label Status:
U - Label In Use, N - Label Not In Use, W - Label Withdrawn
WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
e - Label ELC
FEC Flags:
LF - Lower FEC, UF - Upper FEC, M - Community Mismatch,
BA - ASBR Backup FEC
===============================================================================
LDP Generic IPv4 P2MP Bindings (Active)
===============================================================================
P2MP-Id Interface
RootAddr Op
IngLbl EgrLbl
EgrNH EgrIf/LspId
-------------------------------------------------------------------------------
---snip---
8193 73728
192.0.2.5 Push
-- 524269
192.168.35.1 1/1/c3/1
---snip---
-------------------------------------------------------------------------------
No. of Generic IPv4 P2MP Active Bindings: 3
===============================================================================
---snip---
Similar to PE-2.
PE-3 pops MC traffic from PE-5 in the EVPN network and pushes it to PE-7 in the MVPN/PIM network:
A:PE-3# show router ldp bindings active p2mp p2mp-id 8193
===============================================================================
LDP Bindings (IPv4 LSR ID 192.0.2.3)
(IPv6 LSR ID 2001:db8::2:3)
===============================================================================
---snip---
===============================================================================
LDP Generic IPv4 P2MP Bindings (Active)
===============================================================================
P2MP-Id Interface
RootAddr Op
IngLbl EgrLbl
EgrNH EgrIf/LspId
-------------------------------------------------------------------------------
---snip---
8193 73728
192.0.2.3 Push
-- 524272
192.168.37.2 1/1/c7/1
---snip---
8193 73734
192.0.2.5 Pop
524269 --
-- --
---snip---
-------------------------------------------------------------------------------
No. of Generic IPv4 P2MP Active Bindings: 7
===============================================================================
---snip---
Similar for PE-2.
PE-7 pops MC traffic from PE-3 in the MVPN/PIM network:
A:PE-7# show router ldp bindings active p2mp p2mp-id 8193
===============================================================================
LDP Bindings (IPv4 LSR ID 192.0.2.7)
(IPv6 LSR ID 2001:db8::2:7)
===============================================================================
---snip---
===============================================================================
LDP Generic IPv4 P2MP Bindings (Active)
===============================================================================
P2MP-Id Interface
RootAddr Op
IngLbl EgrLbl
EgrNH EgrIf/LspId
-------------------------------------------------------------------------------
---snip---
8193 73731
192.0.2.3 Pop
524272 --
-- --
---snip---
-------------------------------------------------------------------------------
No. of Generic IPv4 P2MP Active Bindings: 6
===============================================================================
---snip---
Similar from PE-2.
When the MC source on PE-5 starts sending MC traffic for MC group 239.0.0.4, PE-5 creates the MFIB at BD-3 with sbd-mpls:192.0.2.2:524270 toward the MEG/PEG DR for wildcard joins and (S,G) joins on the MEG/PEG DR.
A:PE-3# show router bgp routes mvpn-ipv4 type source-join group-ip 239.0.0.4
===============================================================================
BGP Router ID:192.0.2.3 AS:64500 Local AS:64500
===============================================================================
---snip---
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Flag RouteType OriginatorIP LocalPref MED
RD SourceAS Path-Id IGP Cost
Nexthop SourceIP Label
As-Path GroupIP
-------------------------------------------------------------------------------
u*>i Source-Join - 100 0
192.0.2.3:1 64500 None -
192.0.2.7 10.0.3.21
No As-Path 239.0.0.4
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:PE-5# show service id 3 mfib
===============================================================================
Multicast FIB, Service 3
===============================================================================
Source Address Group Address Port Id Svc Id Fwd
Blk
-------------------------------------------------------------------------------
* * sap:1/1/c4/1:3 Local Fwd
sbd-mpls:192.0.2.2:524270 Local Fwd
10.0.3.21 239.0.0.4 sap:1/1/c4/1:3 Local Fwd
sbd-mpls:192.0.2.2:524270 Local Fwd
sbd-mpls:192.0.2.3:524270 Local Fwd
* * (mac) sbd-mpls:192.0.2.2:524270 Local Fwd
-------------------------------------------------------------------------------
Number of entries: 3
===============================================================================
*A:PE-5# show router 1 route-table
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.0.3.0/24 Local Local 00h02m43s 0
int-BD-3 0
198.51.100.0/24 Remote EVPN-IFF 00h20m19s 169
int-SBD-8 (ET-00:02:fe:ff:ff:45) 0
203.0.113.0/24 Remote EVPN-IFF 00h20m19s 169
int-SBD-8 (ET-00:02:fe:ff:ff:45) 0
-------------------------------------------------------------------------------
No. of Routes: 3
---snip---
===============================================================================
A:PE-7# show router 1 route-table
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.0.3.0/24 Remote BGP VPN 00h02m46s 170
192.0.2.2 (tunneled) 5
198.51.100.0/24 Remote BGP VPN 00h21m29s 170
192.0.2.8 (tunneled) 10
203.0.113.0/24 Local Local 00h21m41s 0
to-receiver 0
-------------------------------------------------------------------------------
No. of Routes: 3
---snip---
===============================================================================
PE-5 sends MC traffic from the MC source with source address 10.0.3.21 for MC group 239.0.0.4 to
PE-3 and all other MC traffic to PE-2, because the MEG/PEG DR sends the
wildcard SMET route.*A:PE-5# show router bgp routes evpn smet
===============================================================================
BGP Router ID:192.0.2.5 AS:64500 Local AS:64500
===============================================================================
---snip---
===============================================================================
BGP EVPN Smet Routes
===============================================================================
Flag Route Dist. Src Address
Tag Grp Address
Orig Address
NextHop
-------------------------------------------------------------------------------
u*>i 192.0.2.2:8 0.0.0.0
0 0.0.0.0
192.0.2.2
192.0.2.2
u*>i 192.0.2.3:8 10.0.3.21
0 239.0.0.4
192.0.2.3
192.0.2.3
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
A:PE-2# show router 1 pim group 239.0.0.4 detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 239.0.0.4
Source Address : 10.0.3.21
RP Address : 0
Advt Router :
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 10.0.3.21
MRIB Src Flags : direct
Keepalive Timer Exp: 0d 00:03:00
Up Time : 0d 00:00:44 Resolved By : rtable-u
Up JP State : Not Joined Up JP Expiry : 0d 00:00:00
Up JP Rpt : Not Joined StarG Up JP Rpt Override : 0d 00:00:00
Register State : Join Register Stop Exp : 0d 00:00:00
Reg From Anycast RP: No
Rpf Neighbor : 10.0.3.21
Incoming Intf : int-SBD-8
Outgoing Intf List :
Curr Fwding Rate : 719.808 kbps
Forwarded Packets : 4109 Discarded Packets : 0
Forwarded Octets : 4018602 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
A:PE-3# show router 1 pim group 239.0.0.4 detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 239.0.0.4
Source Address : 10.0.3.21
RP Address : 0
Advt Router :
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 10.0.3.21
MRIB Src Flags : direct
Keepalive Timer Exp: 0d 00:02:44
Up Time : 0d 00:00:46 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:00
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.0.3.21
Incoming Intf : int-SBD-8
Outgoing Intf List : mpls-if-73728
Curr Fwding Rate : 719.808 kbps
Forwarded Packets : 4203 Discarded Packets : 0
Forwarded Octets : 4110534 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
A:PE-3# show router 1 pim tunnel-interface
===============================================================================
PIM Interfaces ipv4
===============================================================================
Interface Originator Address Adm Opr Transport Type
-------------------------------------------------------------------------------
mpls-if-73728 192.0.2.3 Up Up Tx-IPMSI
mpls-if-73729 192.0.2.2 Up Up Rx-IPMSI
mpls-if-73730 192.0.2.7 Up Up Rx-IPMSI
mpls-if-73731 192.0.2.8 Up Up Rx-IPMSI
-------------------------------------------------------------------------------
Interfaces : 4
===============================================================================
The MEG/PEG non-DR forwards the MC traffic to the MC receiver PE-7 in the MVPN/PIM network. The
MVPN tunnel interface is the Incoming Intf, while the local SAP is in
the Outgoing Intf List:A:PE-7# show router 1 pim group 239.0.0.4 detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 239.0.0.4
Source Address : 10.0.3.21
RP Address : 0
Advt Router : 192.0.2.3
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 192.0.2.3
MRIB Src Flags : remote
Keepalive Timer Exp: 0d 00:02:55
Up Time : 0d 00:00:34 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:25
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.3
Incoming Intf : mpls-if-73729
Outgoing Intf List : to-receiver
Curr Fwding Rate : 719.808 kbps
Forwarded Packets : 3137 Discarded Packets : 0
Forwarded Octets : 3067986 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
A:PE-7# show router 1 pim tunnel-interface
===============================================================================
PIM Interfaces ipv4
===============================================================================
Interface Originator Address Adm Opr Transport Type
-------------------------------------------------------------------------------
mpls-if-73728 192.0.2.7 Up Up Tx-IPMSI
mpls-if-73729 192.0.2.3 Up Up Rx-IPMSI
mpls-if-73730 192.0.2.2 Up Up Rx-IPMSI
mpls-if-73731 192.0.2.8 Up Up Rx-IPMSI
-------------------------------------------------------------------------------
Interfaces : 4
===============================================================================
*A:PE-5# show service id 3 sdp
===============================================================================
Services: Service Destination Points
===============================================================================
SdpId Type Far End addr Adm Opr I.Lbl E.Lbl
-------------------------------------------------------------------------------
32767:4294967294 VplsPmsi not applicable Up Up None 3
-------------------------------------------------------------------------------
Number of SDPs : 1
-------------------------------------------------------------------------------
===============================================================================
*A:PE-5# show service id 3 sdp detail | match "Statis" post-lines 4
Statistics :
I. Fwd. Pkts. : 0 I. Dro. Pkts. : 0
I. Fwd. Octs. : 0 I. Dro. Octs. : 0
E. Fwd. Pkts. : 17938 E. Fwd. Octets : 17773188
PE-5 receives MC traffic from the locally connected MC source and forwards it to PE-2 and PE-3. PE-2 (MEG/PEG DR) forwards the MC traffic only to PE-3 (MEG/PEG non-DR). PE-3 forwards the MC traffic to PE-2, PE-7 and PE-8. PE-8 has no MC receivers. PE-7 forwards the MC traffic to the MC receiver that requested the group membership.
MEG/PEG DR as upstream multicast hop (UMH)
# On PE-7:
configure
service
vprn 1
mvpn
umh-selection unicast-rt-pref
The P2MP tunnels in the EVPN network remain the same. IngLbl, EgrLbl, and ldp binding Interface in the MVPN/PIM network change.

When the MC receiver on PE-7 joins the MC group 239.0.0.4, PE-7 now selects the MEG/PEG DR PE-2 as upstream multicast hop (UMH) for its (S,G) join, because the PE-7 to PE-2 connection has lower IGP cost than the PE-7 to PE-3 connection.
*A:PE-5# show service id 3 mfib
===============================================================================
Multicast FIB, Service 3
===============================================================================
Source Address Group Address Port Id Svc Id Fwd
Blk
-------------------------------------------------------------------------------
* * sap:1/1/c4/1:3 Local Fwd
sbd-mpls:192.0.2.2:524270 Local Fwd
* * (mac) sbd-mpls:192.0.2.2:524270 Local Fwd
-------------------------------------------------------------------------------
Number of entries: 2
===============================================================================
*A:PE-5# show router bgp routes evpn smet
===============================================================================
BGP Router ID:192.0.2.5 AS:64500 Local AS:64500
===============================================================================
---snip---
===============================================================================
BGP EVPN Smet Routes
===============================================================================
Flag Route Dist. Src Address
Tag Grp Address
Orig Address
NextHop
-------------------------------------------------------------------------------
u*>i 192.0.2.2:8 0.0.0.0
0 0.0.0.0
192.0.2.2
192.0.2.2
u*>i 192.0.2.2:8 10.0.3.21
0 239.0.0.4
192.0.2.2
192.0.2.2
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
A:PE-2# show router 1 pim group 239.0.0.4 detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 239.0.0.4
Source Address : 10.0.3.21
RP Address : 0
Advt Router :
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 10.0.3.21
MRIB Src Flags : direct
Keepalive Timer Exp: 0d 00:01:00
Up Time : 0d 00:06:15 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:00
Up JP Rpt : Not Joined StarG Up JP Rpt Override : 0d 00:00:00
Register State : Join Register Stop Exp : 0d 00:00:00
Reg From Anycast RP: No
Rpf Neighbor : 10.0.3.21
Incoming Intf : int-SBD-8
Outgoing Intf List : mpls-if-73728
Curr Fwding Rate : 719.808 kbps
Forwarded Packets : 34440 Discarded Packets : 0
Forwarded Octets : 33682320 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
A:PE-2# show router 1 pim tunnel-interface
===============================================================================
PIM Interfaces ipv4
===============================================================================
Interface Originator Address Adm Opr Transport Type
-------------------------------------------------------------------------------
mpls-if-73728 192.0.2.2 Up Up Tx-IPMSI
mpls-if-73729 192.0.2.3 Up Up Rx-IPMSI
mpls-if-73731 192.0.2.8 Up Up Rx-IPMSI
mpls-if-73735 192.0.2.7 Up Up Rx-IPMSI
-------------------------------------------------------------------------------
Interfaces : 4
===============================================================================
A:PE-3# show router 1 pim group 239.0.0.4 detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 239.0.0.4
Source Address : 10.0.3.21
RP Address : 0
Advt Router :
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 10.0.3.21
MRIB Src Flags : direct
Keepalive Timer Exp: 0d 00:02:19
Up Time : 0d 00:06:19 Resolved By : rtable-u
Up JP State : Not Joined Up JP Expiry : 0d 00:00:00
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.0.3.21
Incoming Intf : int-SBD-8
Outgoing Intf List :
Curr Fwding Rate : 719.808 kbps
Forwarded Packets : 34810 Discarded Packets : 0
Forwarded Octets : 34044180 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-7# show router 1 pim group 239.0.0.4 detail
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address : 239.0.0.4
Source Address : 10.0.3.21
RP Address : 0
Advt Router : 192.0.2.2
Flags : Type : (S,G)
Mode : sparse
MRIB Next Hop : 192.0.2.2
MRIB Src Flags : remote
Keepalive Timer Exp: 0d 00:02:13
Up Time : 0d 00:01:16 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:43
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.2
Incoming Intf : mpls-if-73733
Outgoing Intf List : to-receiver
Curr Fwding Rate : 719.808 kbps
Forwarded Packets : 6972 Discarded Packets : 0
Forwarded Octets : 6818616 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-7# show router 1 pim tunnel-interface
===============================================================================
PIM Interfaces ipv4
===============================================================================
Interface Originator Address Adm Opr Transport Type
-------------------------------------------------------------------------------
mpls-if-73732 192.0.2.7 Up Up Tx-IPMSI
mpls-if-73733 192.0.2.2 Up Up Rx-IPMSI
mpls-if-73734 192.0.2.3 Up Up Rx-IPMSI
mpls-if-73735 192.0.2.8 Up Up Rx-IPMSI
-------------------------------------------------------------------------------
Interfaces : 4
===============================================================================
PE-5 receives MC traffic from the locally connected MC source and forwards it to PE-2 and PE-3. PE-3 (MEG/PEG non-DR) forwards the MC traffic only to PE-2 (MEG/PEG DR). PE-2 forwards the MC traffic to PE-3, PE-7, and PE-8. PE-8 has no MC receivers. PE-7 forwards the MC traffic to the MC receiver that requested the group membership.
Delayed MEG/PEG DR election
Upon booting up an OISM MEG/PEG router, the advertising of its IMET routes for the SBD and the start of the MEG/PEG DR election are delayed until after the boot timer expires.
# On PE-2:
configure redundancy bgp-evpn-multi-homing boot-timer ?
- boot-timer <seconds>
<seconds> : [0..1800]:default 10
As an example, the PE-2 configuration is saved, the boot-timer on PE-2 is set to 180 seconds, and PE-2 is rebooted.
# On PE-2:
configure redundancy bgp-evpn-multi-homing boot-timer 180
A:PE-2# show service id 8 evpn-mcast-gateway all
===============================================================================
Service Evpn Multicast Gateway
===============================================================================
Type : mvpn-pim
Admin State : Enabled
DR Activation Timer : 3 secs
Mvpn Evpn Gateway DR : No
Pim Evpn Gateway DR : No
===============================================================================
===============================================================================
Mvpn Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : No
DR Last Change : 01/08/2025 14:42:20
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.3 01/08/2025 14:42:44
-------------------------------------------------------------------------------
Number of Entries: 1
===============================================================================
===============================================================================
Pim Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : No
DR Last Change : 01/08/2025 14:42:20
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.3 01/08/2025 14:42:44
-------------------------------------------------------------------------------
Number of Entries: 1
===============================================================================
When
the command is launched a little earlier on PE-2, PE-3 is not yet in the
candidate
list.A:PE-3# show service id 8 evpn-mcast-gateway all
===============================================================================
Service Evpn Multicast Gateway
===============================================================================
Type : mvpn-pim
Admin State : Enabled
DR Activation Timer : 3 secs
Mvpn Evpn Gateway DR : Yes
Pim Evpn Gateway DR : Yes
===============================================================================
===============================================================================
Mvpn Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : Yes
DR Last Change : 01/08/2025 14:41:18
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.3 01/08/2025 14:07:31
-------------------------------------------------------------------------------
Number of Entries: 1
===============================================================================
===============================================================================
Pim Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : Yes
DR Last Change : 01/08/2025 14:41:18
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.3 01/08/2025 14:07:31
-------------------------------------------------------------------------------
Number of Entries: 1
===============================================================================
# On PE-2:
3 2025/01/08 14:50:09.187 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 = 109
Flag: 0x90 Type: 14 Len: 28 Multiprotocol Reachable NLRI:
Address Family EVPN
NextHop len 4 NextHop 192.0.2.2
Type: EVPN-INCL-MCAST Len: 17 RD: 192.0.2.2:8, tag: 0,
orig_addr len: 32, orig_addr: 192.0.2.2
Flag: 0x40 Type: 1 Len: 1 Origin: 0
Flag: 0x40 Type: 2 Len: 0 AS Path:
Flag: 0x40 Type: 5 Len: 4 Local Preference: 100
Flag: 0xc0 Type: 16 Len: 32 Extended Community:
target:64500:8
mcast-flags:SBD/MEG/PEG/OISM/NO-MLD-Proxy/NO-IGMP-Proxy
df-election::DF-Type:Auto/DP:0/DF-Preference:0/AC:0
bgp-tunnel-encap:MPLS
Flag: 0xc0 Type: 22 Len: 25 PMSI:
Tunnel-type Composite LDP P2MP IR (130)
Flags: (0x0)[Type: None BM: 0 U: 0 Leaf: not required]
MPLS Label1 Ag 0
MPLS Label2 IR 8388528
Root-Node 192.0.2.2, LSP-ID 0x2002
"
A:PE-2# show service id 8 evpn-mcast-gateway all
===============================================================================
Service Evpn Multicast Gateway
===============================================================================
Type : mvpn-pim
Admin State : Enabled
DR Activation Timer : 3 secs
Mvpn Evpn Gateway DR : Yes
Pim Evpn Gateway DR : Yes
===============================================================================
===============================================================================
Mvpn Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : Yes
DR Last Change : 01/08/2025 14:44:49
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/08/2025 14:44:49
192.0.2.3 01/08/2025 14:42:44
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
===============================================================================
Pim Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : Yes
DR Last Change : 01/08/2025 14:44:49
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/08/2025 14:44:49
192.0.2.3 01/08/2025 14:42:44
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
Conclusion
SR OS supports the interworking of OISM EVPN networks and MVPN/PIM networks in both directions. The choice for the upstream multicast hop selection can be configured. The start of the MEG/PEG DR election can be configured with the boot timer.