Validation
R1
 
R1#sh run bgp
!
router bgp 100
 bgp router-id 1.1.1.1
 neighbor PG peer-group
 neighbor PG remote-as 100
 neighbor PG update-source lo
 neighbor 2.2.2.2 peer-group PG
 neighbor 3.3.3.3 peer-group PG
 !
 address-family l2vpn evpn
 neighbor PG activate
 exit-address-family
R1#sh bgp neighbors
BGP neighbor is 2.2.2.2, remote AS 100, local AS 100, internal link
 Member of peer-group PG for session parameters
  BGP version 4, local router ID 1.1.1.1, remote router ID 2.2.2.2
  BGP state = Established, up for 01:20:53
  Last read 00:00:24, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family L2VPN EVPN: advertised and received
  Received 192 messages, 0 notifications, 0 in queue
  Sent 191 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 For address family: L2VPN EVPN
  BGP table version 1, neighbor version 1
  Index 2, Offset 0, Mask 0x4
  PG peer-group member
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  0 accepted prefixes
  Accepted AD:0 MACIP:0 MCAST:0 ESI:0 PREFIX:0
  0 announced prefixes
 
 Connections established 1; dropped 0
Local host: 1.1.1.1, Local port: 42981
Foreign host: 2.2.2.2, Foreign port: 179
Nexthop: 1.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
BGP neighbor is 3.3.3.3, remote AS 100, local AS 100, internal link
 Member of peer-group PG for session parameters
  BGP version 4, local router ID 1.1.1.1, remote router ID 3.3.3.3
  BGP state = Established, up for 01:36:13
  Last read 00:00:08, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family L2VPN EVPN: advertised and received
  Received 227 messages, 0 notifications, 0 in queue
  Sent 229 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 For address family: L2VPN EVPN
  BGP table version 1, neighbor version 1
  Index 3, Offset 0, Mask 0x8
  PG peer-group member
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  0 accepted prefixes
  Accepted AD:0 MACIP:0 MCAST:0 ESI:0 PREFIX:0
  0 announced prefixes
 
 Connections established 1; dropped 0
Local host: 1.1.1.1, Local port: 179
Foreign host: 3.3.3.3, Foreign port: 32857
Nexthop: 1.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
R1#sh ip ospf neighbor
 
Total number of full neighbors: 2
OSPF process 100 VRF(default):
Neighbor ID     Pri   State            Dead Time   Address         Interface           Instance ID
2.2.2.2           1   Full/Backup      00:00:38    10.1.1.1        xe15                    0
3.3.3.3           1   Full/Backup      00:00:34    20.1.1.1        ce0                     0
R1#sh bgp l2vpn evpn summary
BGP router identifier 1.1.1.1, local AS number 100
BGP table version is 1
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd     AD  MACIP  MCAST    ESI  PREFIX-ROUTE
2.2.2.2                  4   100  193        191       1      0      0  01:21:07               0      0      0      0      0      0
3.3.3.3                  4   100  227        229       1      0      0  01:36:27               0      0      0      0      0      0
 
Total number of neighbors 2
 
Total number of Established sessions 2
R2
 
R2#sh run bgp
!
router bgp 100
 bgp router-id 2.2.2.2
 neighbor PG peer-group
 neighbor PG remote-as 100
 neighbor PG update-source lo
 neighbor 1.1.1.1 peer-group PG
 !
 address-family l2vpn evpn
 neighbor PG activate
 exit-address-family
!
R2#sh bgp neighbors
BGP neighbor is 1.1.1.1, remote AS 100, local AS 100, internal link
 Member of peer-group PG for session parameters
  BGP version 4, local router ID 2.2.2.2, remote router ID 1.1.1.1
  BGP state = Established, up for 01:20:42
  Last read 00:00:20, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family L2VPN EVPN: advertised and received
  Received 190 messages, 0 notifications, 0 in queue
  Sent 193 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 For address family: L2VPN EVPN
  BGP table version 1, neighbor version 1
  Index 2, Offset 0, Mask 0x4
  PG peer-group member
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  0 accepted prefixes
  Accepted AD:0 MACIP:0 MCAST:0 ESI:0 PREFIX:0
  0 announced prefixes
 
 Connections established 1; dropped 0
Local host: 2.2.2.2, Local port: 179
Foreign host: 1.1.1.1, Foreign port: 42981
Nexthop: 2.2.2.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
R2#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID     Pri   State            Dead Time   Address         Interface           Instance ID
1.1.1.1           1   Full/DR          00:00:30    10.1.1.2        xe10                    0
R2#sh bgp l2vpn evpn summary
BGP router identifier 2.2.2.2, local AS number 100
BGP table version is 1
0 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd     AD  MACIP  MCAST    ESI  PREFIX-ROUTE
1.1.1.1                  4   100  192        195       1      0      0  01:21:28               0      0      0      0      0      0
 
Total number of neighbors 1
 
Total number of Established sessions 1
R3
 
R3#sh run bgp
!
router bgp 100
 bgp router-id 3.3.3.3
 neighbor PG peer-group
 neighbor PG remote-as 100
 neighbor PG update-source lo
 neighbor 1.1.1.1 peer-group PG
 !
 address-family l2vpn evpn
 neighbor PG activate
 exit-address-family
!
R3#sh bgp neighbors
BGP neighbor is 1.1.1.1, remote AS 100, local AS 100, internal link
 Member of peer-group PG for session parameters
  BGP version 4, local router ID 3.3.3.3, remote router ID 1.1.1.1
  BGP state = Established, up for 01:36:07
  Last read 00:00:06, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family L2VPN EVPN: advertised and received
  Received 228 messages, 0 notifications, 0 in queue
  Sent 227 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 For address family: L2VPN EVPN
  BGP table version 1, neighbor version 1
  Index 2, Offset 0, Mask 0x4
  PG peer-group member
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  0 accepted prefixes
  Accepted AD:0 MACIP:0 MCAST:0 ESI:0 PREFIX:0
  0 announced prefixes
 
 Connections established 1; dropped 0
Local host: 3.3.3.3, Local port: 32857
Foreign host: 1.1.1.1, Foreign port: 179
Nexthop: 3.3.3.3
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
R3#sh ip os neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID     Pri   State            Dead Time   Address         Interface           Instance ID
1.1.1.1           1   Full/DR          00:00:37    20.1.1.2        ce15                    0
R3#sh bgp l2vpn evpn summary
BGP router identifier 3.3.3.3, local AS number 100
BGP table version is 1
0 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd     AD  MACIP  MCAST    ESI  PREFIX-ROUTE
1.1.1.1                  4   100  232        231       1      0      0  01:37:55               0      0      0      0      0      0
 
Total number of neighbors 1
 
Total number of Established sessions 1