cisco — Example: Enabling Layer 3 External Connectivity with MPLS Layer 3 VPN through eBGP

The following examples provide sample outputs for show commands on the devices to verify external connectivity for the topology configured above: VTEP 1 The following example shows the output for the show bgp l2vpn evpn route-type command for route type 5 on VTEP 1: VTEP_1# show bgp l2vpn evpn route-type 5 0 10.1.255.103 32 BGP routing table entry for [5][1:1][0][32][10.1.255.103]/17, version 36 Paths: (1 available, best #1, table EVPN-BGP-Table) Not advertised to any peer Refresh Epoch 1 65002 172.16.254.6 (metric 3) (via default) from 172.16.255.1 (172.16.255.1) Origin incomplete, metric 0, localpref 100, valid, internal, best EVPN ESI: 00000000000000000000, Gateway Address:

0.0.0.0, VNI Label 50901, MPLS VPN Label 0 Extended Community: RT:1:1 ENCAP:8 Router MAC:0C75.BD67.EF48 Originator: 172.16.255.6, Cluster list: 172.16.255.1 rx pathid: 0, tx pathid: 0x0 net: 0x7F84BB35A5C8, path: 0x7F84B913E010, pathext: 0x7F84BB54A8A8 flags: net: 0x0, path: 0x3, pathext: 0x81 Updated on May 21 2020 13:56:28 UTC The following example shows the output for the show bgp l2vpn evpn route-type command for route type 2 on VTEP 1: VTEP_1# show bgp l2vpn evpn route-type 2 0 44d3ca286cc1 10.1.101.2 BGP routing table entry for [2][172.16.254.4:101][0][48][44D3CA286CC1][32][10.1.101.2]/24, version 37 Paths: (1 available, best #1, table evi_101) Advertised to update-groups:

1 Refresh Epoch 1 Local :: (via default) from 0.0.0.0 (172.16.255.4) Origin incomplete, localpref 100, weight 32768, valid, sourced, local, best EVPN ESI: 00000000000000000000, Label1 10101, Label2 50901 Extended Community: RT:1:1 RT:65001:101 ENCAP:8 Router MAC:7C21.0DBD.9548 Local irb vxlan vtep: vrf:green, l3-vni:50901 local router mac:7C21.0DBD.9548 core-irb interface:Vlan901 vtep-ip:172.16.254.4 rx pathid: 0, tx pathid: 0x0 net: 0x7F84BB35A468, path: 0x7F84B913DF38, pathext: 0x7F84BB54A848 flags: net: 0x0, path: 0x4000028000003, pathext: 0x81 Updated on May 21 2020 14:00:49 UTC The following example shows the output for the show ip route vrf command on VTEP 1:

VTEP_1# show ip route vrf green Routing Table: green Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, m - OMP Configuring EVPN VXLAN External Connectivity Example: Enabling Layer 3 External Connectivity with MPLS Layer 3 VPN through eBGP Configuring EVPN VXLAN External Connectivity 37