OISM to MVPN/PIM interworking non-DR attract traffic function on MEG/PEG
This chapter provides information about the non-DR attract traffic function on Optimized Intersubnet Multicast (OISM) to Multicast VPN/Protocol Independent Multicast (MVPN/PIM) interworking (MEG/PEG function).
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 MEG/PEG non-DR attract traffic.
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).
- 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.
- non-DR attract traffic

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. A MC receiver connected to PE-6 in the EVPN network joins MC group 225.0.0.1 of a MC source connected to PE-8 in the MVPN/PIM network to receive MC traffic from the MC source. A MC receiver connected to PE-7 in the MVPN/PIM network joins MC group 239.0.0.4 of a MC source connected to PE-5 in the EVPN network to receive MC traffic from the MC source.
The provider-tunnel inclusive, owner, and ingress-repl-inc-mcast-advertisement are configured as in OISM EVPN to MVPN/PIM interworking (MEG/PEG function) with MLDP I-PMSI.
The MEG/PEG DR translates Selective Multicast Ethernet Tag (SMET) routes into PIM routes and the other way around, depending on where the MC source and the MC receiver are located. Even though the MEG/PEG non-DR also receives SMET routes from a MC receiver that is located in the OISM EVPN network, the MEG/PEG non-DR does not execute this action.
# On PE-3#
configure
service
vpls 8
allow-ip-int-bind evpn-mcast-gateway
non-dr-attract-traffic ?
- no non-dr-attract-traffic
- non-dr-attract-traffic [from-evpn] [from-pim-mvpn]
- no non-dr-attract-traffic: the MEG/PEG non-DR does not
generate wildcard SMET routes and does generate a PIM/C-multicast join upon
receiving a SMET route.Note: The non-dr-attract-traffic is changed in SR OSRelease 22.2.R1 in a non-backward compatible manner. When upgrading to SR OS Release 22.2.R1, the user needs to remove the command non-dr-attract-traffic from the configuration, otherwise the upgrade will fail.
- non-dr-attract-traffic from-pim-mvpn (default): backward compatible with the behavior in SR OSRelease 21.10 if no non-dr-attract-traffic was configured before the upgrade. With this option, the MEG/PEG non-DR does not generate wildcard SMET routes but it generates a PIM/C-multicast join upon receiving a SMET route. Local joins on a non-SBD service generate PIM/C-multicast routes or SMET routes irrespective.
- non-dr-attract-traffic from-evpn: the MEG/PEG non-DR generates a wildcard SMET route to attract the multicast traffic from the OISM EVPN domain. No layer-3 IFF or PIM/C-multicast route is triggered from received SMET routes on the MEG/PEG non-DR.
Configuration
The initial configuration is identical to that for OISM EVPN to MVPN/PIM interworking (MEG/PEG function) with MLDP I-PMSI.
- 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)
- VPRN service in the EVPN and MVPN/PIM networks
- routed VPLS services in the EVPN network
Router configuration
The router configuration is identical to that for OISM EVPN to MVPN/PIM interworking (MEG/PEG function) with MLDP I-PMSI.
Service configuration in the EVPN network
The service configuration is identical to that for OISM EVPN to MVPN/PIM interworking (MEG/PEG function) with MLDP I-PMSI.
Use cases
MC traffic from MC source on MVPN/PIM network to MC receiver on EVPN network
MVPN/PIM MC source - EVPN MC receiver example setup illustrates the MEG/PEG non-DR attract traffic function on MEG/PEG for MVPN/PIM to OISM EVPN interworking. This is the same setup as for the OISM EVPN to MVPN/PIM interworking (MEG/PEG function) with MLDP I-PMSI for MVPN/PIM to OISM EVPN interworking.

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/17/2025 11:02:03
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/17/2025 11:02:03
192.0.2.3 01/17/2025 11:02:30
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
===============================================================================
Pim Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : Yes
DR Last Change : 01/17/2025 11:02:03
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/17/2025 11:02:03
192.0.2.3 01/17/2025 11:02:30
-------------------------------------------------------------------------------
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/17/2025 11:02:29
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/17/2025 11:02:29
192.0.2.3 01/17/2025 11:02:29
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
===============================================================================
Pim Evpn Gateway
===============================================================================
DR Activation Timer Remaining: 0 secs
DR : No
DR Last Change : 01/17/2025 11:02:29
===============================================================================
===============================================================================
Candidate list
===============================================================================
Orig-Ip Time Added
-------------------------------------------------------------------------------
192.0.2.2 01/17/2025 11:02:29
192.0.2.3 01/17/2025 11:02:29
-------------------------------------------------------------------------------
Number of Entries: 2
===============================================================================
MEG/PEG non-DR does not attract traffic
# On PE-3:
configure
service
vpls 8
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
evpn-mcast-gateway
no non-dr-attract-traffic
no shutdown
# On PE-6:
2 2025/01/17 11:16:11.115 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
"
# On PE-2:
2 2025/01/17 11:16:12.037 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 = 90
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: 0x80 Type: 9 Len: 4 Originator ID: 192.0.2.6
Flag: 0x80 Type: 10 Len: 4 Cluster ID:
1.1.1.1
Flag: 0xc0 Type: 16 Len: 16 Extended Community:
target:64500:8
bgp-tunnel-encap:MPLS
"
# On PE-3:
2 2025/01/17 11:16:11.268 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 = 90
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: 0x80 Type: 9 Len: 4 Originator ID: 192.0.2.6
Flag: 0x80 Type: 10 Len: 4 Cluster ID:
1.1.1.1
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
===============================================================================
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 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
===============================================================================
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
===============================================================================
# On PE-2:
4 2025/01/17 11:16:12.038 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
"
# On PE-8:
1 2025/01/17 11:16:11.321 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 = 90
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: 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: 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
===============================================================================
# On PE-8:
2 2025/01/17 11:16:11.322 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 = 72
Flag: 0x90 Type: 14 Len: 29 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.8
Type: Source-AD Len: 18 RD: 192.0.2.8:1 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:64500:1
"
# On PE-2:
7 2025/01/17 11:16:12.043 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 = 86
Flag: 0x90 Type: 14 Len: 29 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.8
Type: Source-AD Len: 18 RD: 192.0.2.8:1 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: 0x80 Type: 9 Len: 4 Originator ID: 192.0.2.8
Flag: 0x80 Type: 10 Len: 4 Cluster ID:
1.1.1.1
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:64500:1
"
# On PE-3:
5 2025/01/17 11:16:11.273 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 = 86
Flag: 0x90 Type: 14 Len: 29 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.8
Type: Source-AD Len: 18 RD: 192.0.2.8:1 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: 0x80 Type: 9 Len: 4 Originator ID: 192.0.2.8
Flag: 0x80 Type: 10 Len: 4 Cluster ID:
1.1.1.1
Flag: 0xc0 Type: 16 Len: 8 Extended Community:
target:64500:1
"
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
===============================================================================
---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
===============================================================================
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
===============================================================================
A:PE-2# show router 1 pim group 225.0.0.1
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
225.0.0.1 (S,G) mpls-if-73731 1
198.51.100.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
A:PE-3# show router 1 pim group 225.0.0.1
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
225.0.0.1 (S,G) mpls-if-73731 0
198.51.100.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*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:03:09
Up Time : 0d 00:00:21 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:39
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 : 477.264 kbps
Forwarded Packets : 1272 Discarded Packets : 0
Forwarded Octets : 1244016 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:03:07
Up Time : 0d 00:00:22 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
===============================================================================
PE-6 creates the MFIB at BD-4 with sbd-mpls:192.0.2.2:524270 toward 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
===============================================================================
*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:00:55 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 : 481.176 kbps
Forwarded Packets : 3390 Discarded Packets : 0
Forwarded Octets : 3315420 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
MEG/PEG non-DR attracts traffic
# On PE-3:
configure
service
vpls 8
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
evpn-mcast-gateway
non-dr-attract-traffic from-pim-mvpn # default
no shutdown
# On PE-3:
configure
service
VPRN-1
---snip---
interface "int-BD-9" create
address 10.0.9.1/24
vpls "BD-9"
exit
exit
bgp-ipvpn
mpls
---snip---
exit
exit
igmp
---snip---
interface "int-BD-9"
no shutdown
exit
no shutdown
exit
pim
---snip---
exit
mvpn
---snip---
exit
no shutdown
# On PE-3:
configure
service
vpls 9 name "BD-9" customer 1 create
description "non-SBD_attached-VPRN-1"
allow-ip-int-bind
exit
bgp
exit
bgp-evpn
evi 9
mpls bgp 1
auto-bind-tunnel
resolution any
exit
no shutdown
exit
exit
igmp-snooping
no shutdown
exit
no shutdown
no receiver rejoin
PE-6 does not send a new EVPN-SMET BGP update message. So, the EVPN SMET routes and the MFIB at SBD-8 remain unchanged on the MEG/PEG DR and the MEG/PEG non-DR.
The MEG/PEG non-DR sends an MVPN-IPv4 Source-Join BGP update message too, indicating the MEG/PEG non-DR as next hop. The MVPN-IPv4 Source-Join BGP update message is meant for PE-8.
# On PE-3:
35 2025/01/17 11:20:47.456 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.3
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
"
The RR receives the MVPN-IPv4 Source-Join BGP update message and adds an additional MVPN-IPv4 Source-Join route for MC group 225.0.0.1 toward the MEG/PEG non-DR.
A:RR-1# show router bgp routes mvpn-ipv4 type source-join
===============================================================================
BGP Router ID:192.0.2.1 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
-------------------------------------------------------------------------------
*>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
*>i Source-Join - 100 0
192.0.2.8:1 64500 None -
192.0.2.3 198.51.100.21
No As-Path 225.0.0.1
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
Following section 11.1.3 of RFC 6514, the RD of the advertised MCAST-VPN NLRI is set to the RD of the VPN-IP route that contains the address carried in the Multicast Source field, when the local and the upstream PEs are in the same AS. Because the RDs for the two routes are the same, the RR does not forward the newly received MVPN-IPv4 Source-Join BGP update message, so PE-8 remains unaware of it.
Because PE-8 does not receive the MVPN-IPv4 Source-Join BGP update message from the MEG/PEG non-DR, PE-8 still has only one MVPN-IPv4 Source-Join route for MC group 225.0.0.1: toward the MEG/PEG DR.
Because PE-8 does not receive the MVPN-IPv4 Source-Join BGP update message from the MEG/PEG non-DR, PE-8 does not send a new MVPN-IPv4 Source-AD BGP update message. So, the MVPN-IPv4 Source-AD routes for MC group 225.0.0.1 remain unchanged on the MEG/PEG DR and the MEG/PEG non-DR.
Both the MEG/PEG DR and the MEG/PEG non-DR create PIM state at VPRN-1 with a non-empty OIL and start attracting traffic:
A:PE-2# show router 1 pim group 225.0.0.1
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
225.0.0.1 (S,G) mpls-if-73731 1
198.51.100.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-3# show router 1 pim group 225.0.0.1
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
225.0.0.1 (S,G) mpls-if-73731 1
198.51.100.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
Because MLDP is used for I-PMSI, MC traffic is sent to all PEs in the same service. Nodes that do not have MC state or connected MC receivers drop the MC traffic that they receive. So, MC traffic from the MC source on PE-8 reaches the MEG/PEG DR and the MEG/PEG non-DR. The MEG/PEG DR forwards the MC traffic to PE-6: in the MEG/PEG DR, int-SBD-8 is in the OIL. The MEG/PEG non-DR forwards the MC traffic to PE-3: in the MEG/PEG non-DR, int-BD-9 is in the OIL.
*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:01:57
Up Time : 0d 00:05:03 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:57
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 : 18552 Discarded Packets : 0
Forwarded Octets : 18143856 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:03:01
Up Time : 0d 00:05:04 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:31
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-BD-9
Curr Fwding Rate : 477.264 kbps
Forwarded Packets : 1727 Discarded Packets : 0
Forwarded Octets : 1689006 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*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:34 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 : 20424 Discarded Packets : 0
Forwarded Octets : 19974672 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
enforced receiver rejoin
With non-dr-attract-traffic from-pim-mvpn still applied, the MC receiver on PE-6 leaves the MC group 225.0.0.1.
PE-6 sends an EVPN-SMET unreachable NLRI BGP update message:
# On PE-6:
1 2025/01/17 11:23:00.194 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 = 37
Flag: 0x90 Type: 15 Len: 33 Multiprotocol Unreachable NLRI:
Address Family EVPN
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(0x0): IE:0/V3:0/V2:0/V1:0
"
The MEG/PEG DR and the MEG/PEG non-DR receive the EVPN-SMET unreachable NLRI BGP update message:
# On PE-2:
1 2025/01/17 11:23:01.116 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 = 37
Flag: 0x90 Type: 15 Len: 33 Multiprotocol Unreachable NLRI:
Address Family EVPN
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(0x0): IE:0/V3:0/V2:0/V1:0
"
# On PE-3:
1 2025/01/17 11:23:00.346 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 = 37
Flag: 0x90 Type: 15 Len: 33 Multiprotocol Unreachable NLRI:
Address Family EVPN
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(0x0): IE:0/V3:0/V2:0/V1:0
"
# On PE-2:
4 2025/01/17 11:23:05.436 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: 192.0.2.8:1 SrcAS: 64500
Src: 198.51.100.21 Grp: 225.0.0.1
"
# On PE-3:
3 2025/01/17 11:23:04.136 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: 192.0.2.8:1 SrcAS: 64500
Src: 198.51.100.21 Grp: 225.0.0.1
"
PE-8 receives the MVPN-IPv4 Source-Join unreachable NLRI BGP update message:
# On PE-8:
1 2025/01/17 11:23:04.720 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 = 31
Flag: 0x90 Type: 15 Len: 27 Multiprotocol Unreachable NLRI:
Address Family MVPN_IPV4
Type: Source-Join Len:22 RD: 192.0.2.8:1 SrcAS: 64500
Src: 198.51.100.21 Grp: 225.0.0.1
"
# On PE-8:
2 2025/01/17 11:23:04.720 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 = 27
Flag: 0x90 Type: 15 Len: 23 Multiprotocol Unreachable NLRI:
Address Family MVPN_IPV4
Type: Source-AD Len: 18 RD: 192.0.2.8:1 Src: 198.51.100.21 Grp: 225.0.0.1
"
the MEG/PEG DR and the MEG/PEG non-DR receive the MVPN-IPv4 Source-AD BGP update message at VPRN-1:
# On PE-2:
6 2025/01/17 11:23:05.441 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 = 27
Flag: 0x90 Type: 15 Len: 23 Multiprotocol Unreachable NLRI:
Address Family MVPN_IPV4
Type: Source-AD Len: 18 RD: 192.0.2.8:1 Src: 198.51.100.21 Grp: 225.0.0.1
"
# On PE-3:
5 2025/01/17 11:23:04.671 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 = 27
Flag: 0x90 Type: 15 Len: 23 Multiprotocol Unreachable NLRI:
Address Family MVPN_IPV4
Type: Source-AD Len: 18 RD: 192.0.2.8:1 Src: 198.51.100.21 Grp: 225.0.0.1
"
A:PE-2# show router 1 pim group detail
===============================================================================
PIM Source Group ipv4
===============================================================================
No Matching Entries
===============================================================================
*A:PE-3# show router 1 pim group detail
===============================================================================
PIM Source Group ipv4
===============================================================================
No Matching Entries
===============================================================================
After
that, the MC receiver on PE-6 joins the MC group 225.0.0.1
again.# On PE-6:
4 2025/01/17 11:23:49.437 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
===============================================================================
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
===============================================================================
# On PE-2:
9 2025/01/17 11:23:50.360 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
"
# On PE-3:
7 2025/01/17 11:23:49.590 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.3
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
"
The RR receives the MVPN-IPv4 Source-Join BGP update messages and adds MVPN-IPv4 Source-Join routes for MC group 225.0.0.1 toward the MEG/PEG DR and toward the MEG/PEG non-DR.
A:RR-1# show router bgp routes mvpn-ipv4 type source-join
===============================================================================
BGP Router ID:192.0.2.1 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
-------------------------------------------------------------------------------
*>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
*>i Source-Join - 100 0
192.0.2.8:1 64500 None -
192.0.2.3 198.51.100.21
No As-Path 225.0.0.1
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
Because the RDs for the two routes are the same, the RR does forward only the MVPN-IPv4 Source-Join BGP update message from the MEG/PEG DR.
# On RR-1:
34 2025/01/17 11:23:50.395 UTC MINOR: DEBUG #2001 Base Peer 1: 192.0.2.8
"Peer 1: 192.0.2.8: UPDATE
Peer 1: 192.0.2.8 - Send BGP UPDATE:
Withdrawn Length = 0
Total Path Attr Length = 90
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: 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: 8 Extended Community:
target:192.0.2.8:2
"
Because PE-8 receives only the MVPN-IPv4 Source-Join BGP update message from the MEG/PEG DR, PE-8 has only one MVPN-IPv4 Source-Join route for MC group 225.0.0.1: toward the MEG/PEG DR.
# On PE-8:
4 2025/01/17 11:23:49.643 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 = 90
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: 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: 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
===============================================================================
PE-8 sends an MVPN-IPv4 Source-AD BGP update message that is meant for VPRN-1.
# On PE-8:
5 2025/01/17 11:23:49.643 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 = 72
Flag: 0x90 Type: 14 Len: 29 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.8
Type: Source-AD Len: 18 RD: 192.0.2.8:1 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:64500:1
"
So, the MVPN-IPV4 Source-AD routes for MC group 225.0.0.1 change accordingly on the MEG/PEG DR and on the MEG/PEG non-DR.
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
===============================================================================
---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
===============================================================================
*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
===============================================================================
Both the MEG/PEG DR and the MEG/PEG non-DR create PIM state at VPRN-1 with a non-empty OIL and start attracting traffic:
A:PE-2# show router 1 pim group 225.0.0.1
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
225.0.0.1 (S,G) mpls-if-73731 1
198.51.100.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-3# show router 1 pim group 225.0.0.1
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
225.0.0.1 (S,G) mpls-if-73731 1
198.51.100.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
Because MLDP is used for I-PMSI, MC traffic is sent to all PEs in the same service. Nodes that do not have MC state or connected MC receivers drop the MC traffic that they receive. So, MC traffic from the MC source on PE-8 reaches the MEG/PEG DR and the MEG/PEG non-DR. The MEG/PEG DR forwards the MC traffic to PE-6: in the MEG/PEG DR, int-SBD-8 is in the OIL. The MEG/PEG non-DR forwards the MC traffic to PE-3: in the MEG/PEG non-DR, int-BD-9 is in the OIL.
*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:03:09
Up Time : 0d 00:00:20 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:39
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 : 1253 Discarded Packets : 0
Forwarded Octets : 1225434 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:03:09
Up Time : 0d 00:00:21 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:39
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-BD-9
Curr Fwding Rate : 481.176 kbps
Forwarded Packets : 1290 Discarded Packets : 0
Forwarded Octets : 1261620 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*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:00:53 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 : 3248 Discarded Packets : 0
Forwarded Octets : 3176544 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
MEG/PEG non-DR stops attracting traffic
# On PE-3:
configure
service
vpls 8
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
evpn-mcast-gateway
no non-dr-attract-traffic
no shutdown
no receiver rejoin
PE-6 does not send a new EVPN-SMET BGP update message. So, the EVPN SMET routes and the MFIB at SBD-8 remain unchanged on the MEG/PEG DR and the MEG/PEG non-DR.
Both the MEG/PEG DR and the MEG/PEG non-DR do not receive an EVPN-SMET BGP update message, so they do not send an MVPN-IPv4 Source-Join BGP update message. PE-8 does not receive an MVPN-IPv4 Source-Join BGP update message, so the MVPN-IPv4 Source-Join route for MC group 225.0.0.1 remains unchanged on PE-8.
PE-8 does not send an MVPN-IPv4 Source-AD BGP update message, so the MVPN-IPv4 Source-AD routes for MC group 225.0.0.1 remain unchanged on the MEG/PEG DR and the MEG/PEG non-DR.
Because MLDP is used for I-PMSI, MC traffic is sent to all PEs in the same service. Nodes that do not have MC state or connected MC receivers drop the MC traffic that they receive. So, MC traffic from the MC source on PE-8 reaches the MEG/PEG DR and the MEG/PEG non-DR. The MEG/PEG DR forwards the MC traffic to PE-6: in the MEG/PEG DR, int-SBD-8 is in the OIL. The MEG/PEG non-DR forwards the MC traffic to PE-3: in the MEG/PEG non-DR, int-BD-9 is in the OIL. The system keeps on behaving as before the reconfiguration.
enforced receiver rejoin
With no non-dr-attract-traffic still applied, the MC receiver on PE-6 leaves the MC group 225.0.0.1.
PE-6 sends an EVPN-SMET unreachable NLRI BGP update message.
The MEG/PEG DR and the MEG/PEG non-DR send an MVPN-IPv4 Source-Join unreachable NLRI BGP update message.
PE-8 sends an MVPN-IPv4 Source-AD unreachable NLRI BGP update message.
As a result, neither the MEG/PEG DR, nor the MEG/PEG non-DR have PIM state.
After that, the MC receiver on PE-6 joins the MC group 225.0.0.1 again.
# On PE-6:
4 2025/01/17 11:30:24.706 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
===============================================================================
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
===============================================================================
# On PE-2:
10 2025/01/17 11:30:25.628 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
"
Only PE-8, which has the MC source connected, reacts on the MVPN-IPv4 Source-Join BGP update message.
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
===============================================================================
The additional MVPN-IPv4 Source-Join route for MC group 225.0.0.1 on PE-8 toward the MEG/PEG non-DR is no longer present.
A:RR-1# show router bgp routes mvpn-ipv4 type source-join
===============================================================================
BGP Router ID:192.0.2.1 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
-------------------------------------------------------------------------------
*>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
===============================================================================
PE-8 sends a new MVPN-IPv4 Source-AD BGP update message that is meant for VPRN-1. So, the MVPN-IPv4 Source-AD routes for MC group 225.0.0.1 change accordingly on the MEG/PEG DR and on the MEG/PEG non-DR.
# On PE-8:
6 2025/01/17 11:30:24.913 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 = 72
Flag: 0x90 Type: 14 Len: 29 Multiprotocol Reachable NLRI:
Address Family MVPN_IPV4
NextHop len 4 NextHop 192.0.2.8
Type: Source-AD Len: 18 RD: 192.0.2.8:1 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:64500:1
"
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
===============================================================================
---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
===============================================================================
*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
===============================================================================
A:PE-2# show router 1 pim group 225.0.0.1
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
225.0.0.1 (S,G) mpls-if-73731 1
198.51.100.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-3# show router 1 pim group 225.0.0.1
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
225.0.0.1 (S,G) mpls-if-73731 0
198.51.100.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*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:03:06
Up Time : 0d 00:00:24 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:36
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 : 477.264 kbps
Forwarded Packets : 1481 Discarded Packets : 0
Forwarded Octets : 1448418 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:03:04
Up Time : 0d 00:00:25 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
===============================================================================
*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:00:57 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 : 3477 Discarded Packets : 0
Forwarded Octets : 3400506 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
MC traffic from MC source on EVPN network to MC receiver on MVPN/PIM network
EVPN MC source - MVPN/PIM MC receiver example setup, with non-DR as UMH for PE-7 illustrates the MEG/PEG non-DR attract traffic function on MEG/PEG for OISM EVPN to MVPN/PIM interworking. This is the same setup as for the OISM EVPN to MVPN/PIM interworking (MEG/PEG function) with MLDP I-PMSI for OISM EVPN to MVPN/PIM interworking.
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) in MC group 239.0.0.4.
MEG/PEG non-DR is upstream multicast hop

# On PE-7:
configure
service
VPRN-1
mvpn
umh-selection highest-ip # default
MEG/PEG non-DR does not attract traffic
# On PE-3:
configure
service
vpls 8
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
evpn-mcast-gateway
no non-dr-attract-traffic
no shutdown
The MEG/PEG DR is configured with non-dr-attract-traffic from-pim-mvpn and generates a wildcard EVPN SMET route.
# On PE-7:
1 2025/01/17 11:35:06.266 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.7
Type: Source-Join Len:22 RD: 192.0.2.3:1 SrcAS: 64500
Src: 10.0.3.21 Grp: 239.0.0.4
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.3:2
"
Both the MEG/PEG DR and the MEG/PEG non-DR receive the MVPN-IPv4 C-multicast Source-Join BGP update message.
Only the MEG/PEG non-DR uses the corresponding MVPN-IPv4 Source-Join route to PE-7:
A:PE-2# show router bgp routes mvpn-ipv4 type source-join group-ip 239.0.0.4
===============================================================================
BGP Router ID:192.0.2.2 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
-------------------------------------------------------------------------------
No Matching Entries Found.
===============================================================================
*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
===============================================================================
Only the MEG/PEG non-DR creates PIM state at VPRN-1 with a non-empty OIL and starts attracting traffic:
A:PE-2# show router 1 pim group 239.0.0.4
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
239.0.0.4 (S,G) int-SBD-8 0
10.0.3.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-3# show router 1 pim group 239.0.0.4
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
239.0.0.4 (S,G) int-SBD-8 1
10.0.3.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
Only the MEG/PEG non-DR sends an EVPN-SMET BGP update message that is meant for SBD-8:
# On PE-3:
4 2025/01/17 11:35:06.201 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.3
Type: EVPN-SMET Len: 28 RD: 192.0.2.3:8, tag: 0,
Mcast-Src-Len: 32, Mcast-Src-Addr: 10.0.3.21,
Mcast-Grp-Len: 32, Mcast-Grp-Addr: 239.0.0.4,
Orig Addr: 192.0.2.3/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
"
Upon receiving the EVPN-SMET BGP update message, PE-5 uses the corresponding EVPN SMET route to the MEG/PEG non-DR for the MC group 239.0.0.4:
*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
===============================================================================
and updates the MFIB at BD-3:
*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
===============================================================================
Because MLDP is used for I-PMSI, MC traffic is sent to every far-end that participates in that I-PMSI. Nodes that do not have MC state or connected MC receivers drop the MC traffic that they receive. So, MC traffic from the MC source on PE-5 reaches the MEG/PEG DR and the MEG/PEG non-DR. In the MEG/PEG DR, the MVPN tunnel is not in the OIL and the MEG/PEG DR does not forward the MC traffic. The MEG/PEG non-DR forwards the MC traffic to PE-7: in the MEG/PEG non-DR, the MVPN tunnel is in the OIL:
*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:08
Up Time : 0d 00:00:30 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 : 715.896 kbps
Forwarded Packets : 2795 Discarded Packets : 0
Forwarded Octets : 2733510 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:59
Up Time : 0d 00:00:31 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 : 2851 Discarded Packets : 0
Forwarded Octets : 2788278 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
The PE-7 receives MC traffic via the MEG/PEG non-DR. On PE-7, the MVPN tunnel from the MEG/PEG non-DR is the incoming interface and the local to-receiver interface is in the OIL:
*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:03:02
Up Time : 0d 00:00:27 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:32
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 : 2445 Discarded Packets : 0
Forwarded Octets : 2391210 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
MEG/PEG non-DR attracts traffic
# On PE-3:
configure
service
vpls 8
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
evpn-mcast-gateway
non-dr-attract-traffic from-evpn
no shutdown
This reconfiguration has immediate effect. The non-dr-attract-traffic from-evpn command causes the MEG/PEG non-DR to send a wildcard EVPN-SMET BGP update message that is meant for SBD-8:
# On PE-3:
9 2025/01/17 11:37:00.426 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.3
Type: EVPN-SMET Len: 20 RD: 192.0.2.3: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.3/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
"
PE-5 receives the wildcard EVPN-SMET BGP update message and uses an additional wildcard EVPN SMET route to the MEG/PEG non-DR:
*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 0.0.0.0
0 0.0.0.0
192.0.2.3
192.0.2.3
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 : 3
===============================================================================
PE-5 updates the MFIB at BD-3:
*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
sbd-mpls:192.0.2.3:524270 Local Fwd
* * (mac) sbd-mpls:192.0.2.2:524270 Local Fwd
sbd-mpls:192.0.2.3:524270 Local Fwd
-------------------------------------------------------------------------------
Number of entries: 2
===============================================================================
Because in the example setup the MC traffic for MC group 239.0.0.4 was already forwarded via the MEG/PEG non-DR, this does not introduce any change in the MC traffic flow, neither immediately upon reconfiguration, nor after a rejoin of the MC receiver on PE-7.
MEG/PEG non-DR stops attracting traffic
The MEG/PEG non-DR is reconfigured such that it stops attracting traffic, as follows:
# On PE-3:
configure
service
vpls 8
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
evpn-mcast-gateway
no non-dr-attract-traffic
no shutdown
This reconfiguration has immediate effect. The no non-dr-attract-traffic command causes the MEG/PEG non-DR to send a wildcard EVPN-SMET unreachable NLRI BGP update message:
# On PE-3:
3 2025/01/17 11:44:52.130 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 = 29
Flag: 0x90 Type: 15 Len: 25 Multiprotocol Unreachable NLRI:
Address Family EVPN
Type: EVPN-SMET Len: 20 RD: 192.0.2.3: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.3/32, Flags(0x0): IE:0/V3:0/V2:0/V1:0
"
PE-5 receives the wildcard EVPN-SMET unreachable NLRI BGP update message and removes the wildcard EVPN SMET route to the MEG/PEG non-DR:
*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
===============================================================================
PE-5 updates the MFIB at BD-3:
*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
===============================================================================
Because in the example setup the MC traffic for MC group 239.0.0.4 was already forwarded via the MEG/PEG non-DR, this does not introduce any change in the MC traffic flow, neither immediately upon reconfiguration, nor after a rejoin of the MC receiver on PE-7.
MEG/PEG DR is upstream multicast hop

# On PE-7:
configure
service
VPRN-1
mvpn
umh-selection unicast-rt-pref
PE-7 sends an MVPN-IPv4 C-multicast Source-join unreachable NLRI BGP update message and an MVPN-IPv4 C-multicast Source-join (S,G)=(10.0.3.21,239.0.0.4) BGP update message that is meant for the MEG/PEG DR (UMH):
# On PE-7:
1 2025/01/17 11:47:08.038 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: 192.0.2.3:1 SrcAS: 64500
Src: 10.0.3.21 Grp: 239.0.0.4
"
---snip---
8 2025/01/17 11:52:22.555 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.7
Type: Source-Join Len:22 RD: 192.0.2.2:1 SrcAS: 64500
Src: 10.0.3.21 Grp: 239.0.0.4
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.2:2
"
Both the MEG/PEG DR and the MEG/PEG non-DR receive the MVPN-IPv4 C-multicast Source-Join BGP update message.
Only the MEG/PEG DR uses an MVPN-IPv4 Source-Join route to PE-7:
A:PE-2# show router bgp routes mvpn-ipv4 type source-join group-ip 239.0.0.4
===============================================================================
BGP Router ID:192.0.2.2 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.2:1 64500 None -
192.0.2.7 10.0.3.21
No As-Path 239.0.0.4
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*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
-------------------------------------------------------------------------------
No Matching Entries Found.
===============================================================================
Only the MEG/PEG DR creates PIM state at VPRN-1 with a non-empty OIL and starts attracting traffic:
A:PE-2# show router 1 pim group 239.0.0.4
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
239.0.0.4 (S,G) int-SBD-8 1
10.0.3.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
*A:PE-3# show router 1 pim group 239.0.0.4
===============================================================================
Legend: A = Active S = Standby
===============================================================================
PIM Groups ipv4
===============================================================================
Group Address Type Spt Bit Inc Intf No.Oifs
Source Address RP State Inc Intf(S)
-------------------------------------------------------------------------------
239.0.0.4 (S,G) int-SBD-8 0
10.0.3.21
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
Only the MEG/PEG DR sends an EVPN-SMET BGP update message that is meant for SBD-8:
# On PE-2:
8 2025/01/17 11:52:23.259 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.2
Type: EVPN-SMET Len: 28 RD: 192.0.2.2:8, tag: 0,
Mcast-Src-Len: 32, Mcast-Src-Addr: 10.0.3.21,
Mcast-Grp-Len: 32, Mcast-Grp-Addr: 239.0.0.4,
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
"
Upon receiving the EVPN-SMET BGP update message, PE-5 uses the corresponding EVPN SMET route to the MEG/PEG DR for the MC group 239.0.0.4:
*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
===============================================================================
and updates the MFIB at BD-3. PE-5 ignores any (S,G) or (*,G) EVPN SMET route from a PE when it receives a (*,*) wildcard EVPN SMET route from the same PE. So, PE-5 ignores the group-specific EVPN SMET route from the MEG/PEG DR.
*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
===============================================================================
Because MLDP is used for I-PMSI, MC traffic is sent to every far-end that participates in that I-PMSI. Nodes that do not have MC state or connected MC receivers drop the MC traffic that they receive. So, MC traffic from the MC source on PE-5 reaches the MEG/PEG DR and the MEG/PEG non-DR. The MEG/PEG DR forwards the MC traffic to PE-7: the MVPN tunnel is in the OIL. In the MEG/PEG non-DR, the MVPN tunnel is not in the OIL and the MEG/PEG non-DR does not forward the MC traffic.
*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:02:40
Up Time : 0d 00:17:44 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 : 97832 Discarded Packets : 0
Forwarded Octets : 95679696 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:03:10
Up Time : 0d 00:17:45 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 : 97336 Discarded Packets : 0
Forwarded Octets : 95194608 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
PE-7 receives MC traffic via the MEG/PEG DR. On PE-7, the MVPN tunnel from the MEG/PEG DR is the incoming interface and the local to-receiver interface is in the OIL:
*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:03:06
Up Time : 0d 00:00:24 Resolved By : rtable-u
Up JP State : Joined Up JP Expiry : 0d 00:00:36
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 : 2235 Discarded Packets : 0
Forwarded Octets : 2185830 RPF Mismatches : 0
Spt threshold : 0 kbps ECMP opt threshold : 7
Admin bandwidth : 1 kbps
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
MEG/PEG non-DR attracts traffic
The MEG/PEG non-DR is reconfigured such that it attracts traffic, as follows:
# On PE-3:
configure
service
vpls 8
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
evpn-mcast-gateway
non-dr-attract-traffic from-evpn
no shutdown
This reconfiguration has immediate effect. The non-dr-attract-traffic from-evpn command causes the MEG/PEG non-DR to send a wildcard EVPN-SMET BGP update message that is meant for SBD-8:
# On PE-3:
7 2025/01/17 11:54:16.826 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.3
Type: EVPN-SMET Len: 20 RD: 192.0.2.3: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.3/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
"
PE-5 receives the wildcard EVPN-SMET BGP update message and uses an additional wildcard EVPN SMET route to the MEG/PEG non-DR:
*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
u*>i 192.0.2.3:8 0.0.0.0
0 0.0.0.0
192.0.2.3
192.0.2.3
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
PE-5 updates the MFIB at BD-3:
*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
sbd-mpls:192.0.2.3:524270 Local Fwd
* * (mac) sbd-mpls:192.0.2.2:524270 Local Fwd
sbd-mpls:192.0.2.3:524270 Local Fwd
-------------------------------------------------------------------------------
Number of entries: 2
===============================================================================
Because in the example setup the MC traffic for MC group 239.0.0.4 was already forwarded via the MEG/PEG DR, this does not introduce any change in the MC traffic flow, neither immediately upon reconfiguration, nor after a rejoin of the MC receiver on PE-7.
MEG/PEG non-DR stops attracting traffic
The MEG/PEG non-DR is reconfigured such that it stops attracting traffic, as follows:
# On PE-3:
configure
service
vpls 8
allow-ip-int-bind
forward-ipv4-multicast-to-ip-int
forward-ipv6-multicast-to-ip-int
evpn-mcast-gateway
no non-dr-attract-traffic
no shutdown
This reconfiguration has immediate effect. The no non-dr-attract-traffic command causes the MEG/PEG non-DR to send a wildcard EVPN-SMET unreachable NLRI BGP update message:
# On PE-3:
3 2025/01/17 11:59:30.350 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 = 29
Flag: 0x90 Type: 15 Len: 25 Multiprotocol Unreachable NLRI:
Address Family EVPN
Type: EVPN-SMET Len: 20 RD: 192.0.2.3: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.3/32, Flags(0x0): IE:0/V3:0/V2:0/V1:0
"
PE-5 receives the wildcard EVPN-SMET unreachable NLRI BGP update message and removes the wildcard EVPN SMET route to the MEG/PEG non-DR:
*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
===============================================================================
PE-5 updates the MFIB at BD-3:
*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
===============================================================================
Because in the example setup the MC traffic for MC group 239.0.0.4 was already forwarded via the MEG/PEG DR, this does not introduce any change in the MC traffic flow, neither immediately upon reconfiguration, nor after a rejoin of the MC receiver on PE-7.
Conclusion
SR OS supports MEG/PEG non-DR attract traffic in the interworking of OISM EVPN networks and OISM MVPN/PIM networks in both directions.