|
Step 1
|
Configure LACP (Link Aggregation Control Protocol) to set the system MAC for the bundle interface.
Router# configure
Router(config)# interface Bundle-Ether 3
Router(config-if)# lacp system mac 1.1.1
Router(config-if)# exit
|
|
Step 2
|
Configure EVPN L3VRF per DC tenant to define the VRF instance and its route targets for IPv4 unicast.
Router# configure
Router(config)# vrf irb1
Router(config-vrf)# address-family ipv4 unicast
Router(config-vrf-af)# import route-target 1000:1
Router(config-vrf-af)# export route-target 1000:1
Router(config-vrf-af)# exit
|
|
Step 3
|
Configure Layer 2 Attachment Circuit (AC) from Multichassis (MC) bundle interface, and Bridge-group Virtual Interface (BVI)
per bridge domain to enable host routing capabilities within the VRF.
When a VM migrates from one subnet to another (subnet stretching), apply the following IRB configuration to both the EVPN
PEs.
Router# configure
Router(config)# interface bvi 1001
Router(config-if)# host-routing
Router(config-if)# vrf irb1
Router(config-if)# ipv4 address 10.10.0.4 255.255.255.0
Router(config-if)# ipv4 address 172.16.0.1 secondary
Router(config-if)# mac-address 00aa.1001.00aa
|
|
Step 4
|
Configure EVPN Layer 2 bridging service to define a bridge group and bridge domain for Layer 2 gateway or bridging scenarios.
The following configuration is performed in Layer 2 gateway or bridging scenario.
Router# configure
Router(config)# l2vpn
Router(config-l2vpn)# bridge group 1
Router(config-l2vpn-bg)# bridge-domain 1-1
Router(config-l2vpn-bg-bd)# interface GigabitEthernet 0/0/0/1.1
|
|
Step 5
|
Configure an EVPN EVI for EVPN Layer 2 bridging service to associate the bridge domain with an Ethernet VPN instance.
For MPLS core:
Router(config-l2vpn-bg-bd-ac)# evi 1
Router(config-l2vpn-bg-bd-ac-evi)# commit
For SRv6 core:
Router(config-l2vpn-bg-bd-ac)# evi 1 segment-routing srv6
Router(config-l2vpn-bg-bd-ac-evi)# commit
|
|
Step 6
|
Configure BGP to enable routing for the VRF.
For MPLS core:
Router# configure
Router(config)# router bgp 3107
Router(config-bgp)# vrf irb1
Router(config-bgp-vrf)# rd auto
Router(config-bgp-vrf)# address-family ipv4 unicast
Router(config-bgp-vrf-af)# redistribute connected
Router(config-bgp-vrf-af)# redistribute static
Router(config-bgp-vrf-af)# exit
For SRv6 core:
Router# configure
Router(config)# vrf 30
Router(config-vrf)# address-family ipv4 unicast
Router(config-l2vpn-vrf-af)# import route-target 100:6005
Router(config-l2vpn-vrf-af)# export route-target 100:6005
Router(config-l2vpn-vrf-af)# segment-routing srv6
Router(config-l2vpn-vrf-af-srv6)# alloc mode per-vrf
Router(config-l2vpn-vrf-af-srv6)# exit
Router(config-l2vpn-vrf-af)# commit
|
|
Step 7
|
Configure an EVPN EVI for main bundle ethernet segment parameters in EVPN to define the EVPN instance.
For MPLS core:
Router# configure
Router(config)# evpn
Router(config-evpn)# evi 2001
For SRv6 core:
Router# configure
Router(config)# evpn
Router(config-evpn)# evi 2001 segment-routing srv6
|
|
Step 8
|
Configure main bundle ethernet segment parameters in EVPN to set BGP route targets.
Router(config-evpn-evi)# bgp
Router(config-evpn-evi-bgp)# route-target import 1000:1
Router(config-evpn-evi-bgp)# route-target export 1000:1
Router(config-evpn-evi-bgp)# exit
Router(config-evpn-evi)# advertise-mac
Router(config-evpn-evi)# unknown-unicast-suppression
|
|
Step 9
|
Configure Layer 2 VPN to define a bridge group and bridge domain.
Router# configure
Router(config)# l2vpn
Router(config-l2vpn)# bridge group irb
Router(config-l2vpn-bg)# bridge-domain irb1
Router(config-l2vpn-bg-bd)# interface bundle-Ether3.1001
Router(config-l2vpn-bg-bd-ac)# routed interface BVI100
Router(config-l2vpn-bg-bd-bvi)# split-horizon group core
|
|
Step 10
|
Configure an EVPN EVI for Layer 2 VPN to define the EVPN instance for the L2VPN service.
For MPLS core:
Router# configure
Router(config)# evpn
Router(config-evpn)# evi 1001
For SRv6 core:Router# configure
Router(config)# evpn
Router(config-evpn)# evi 2001 segment-routing srv6
|
|
Step 11
|
Run the show arp vrf command to verify the Address Resolution Protocol (ARP) protocol entries and synced entries in multi-homing scenarios.
Router# show arp vrf evpn1
-----------------------------------------------------------------
0/1/CPU0
-----------------------------------------------------------------
Address Age Hardware Addr State Type Interface
10.1.1.1 - 0010.0001.0001 Interface ARPA BVI1
10.1.1.11 02:23:46 1000.0001.0001 Dynamic ARPA BVI1
10.1.1.93 - 0000.f65a.357c EVPN_SYNC ARPA BVI1
10.1.2.1 - 0011.0112.0001 Interface ARPA BVI2
10.1.2.91 02:24:14 0000.f65a.3570 Dynamic ARPA BVI2
10.1.2.93 02:21:52 0000.f65a.357d Dynamic ARPA BVI2
---------------------------------------------------------------
0/0/CPU0
---------------------------------------------------------------
Address Age Hardware Addr State Type Interface
10.1.1.1 - 0010.0001.0001 Interface ARPA BVI1
10.1.1.11 02:23:46 1000.0001.0001 Dynamic ARPA BVI1
10.1.1.93 - 0000.f65a.357c EVPN_SYNC ARPA BVI1
10.1.2.1 - 0011.0112.0001 Interface ARPA BVI2
10.1.2.91 02:24:14 0000.f65a.3570 Dynamic ARPA BVI2
10.1.2.93 02:21:52 0000.f65a.357d Dynamic ARPA BVI2
|
|
Step 12
|
Run the show adjacency ipv4 command to verify the adjacency entries, particularly newly added information for synced IPv4 and IP ARP entries.
Router# show adjacency ipv4 BVI 1 internal detail location 0/0/CPU0
BVI1, 10.1.1.93 (ipv4)
Version: 1169, references: 2, transient lock: 0
Encapsulation information (14 bytes) 0000f65a357c0000f65a357c0800 MTU: 1500
Adjacency pointer is: 0x770a9278
Platform adjacency pointer is: 0x7d7bc380
Last updated: Feb 28 15:58:21.998
Adjacency producer: arp (prod_id: 10)
Flags: incomplete adj,
Additional Adjacency Information (4 bytes long),
Upto first 4 bytes (in hex): 01000000
Netio idb pointer not cached Cached interface type: 78
Adjacency references:
bfd_agent (JID 150, PID 3637), 0 reference
l2fib_mgr (JID 185, PID 4003), 0 reference
fib_mgr (JID 294, PID 3605), 1 reference
aib (JID 314, PID 3590), 1 reference
BVI1, 10.1.1.11 (ipv4) Version: 1493,
references: 3, transient lock: 0
Encapsulation information (14 bytes) 1000000100010010000100010800
MTU: 1500
Adjacency pointer is: 0x770ab778
Platform adjacency pointer is: 0x7d7bcb10
Last updated: Mar 2 17:22:00.544
Adjacency producer: arp (prod_id: 10)
Flags: incomplete adj,
Netio idb pointer not cached Cached interface type: 78
Adjacency references:
bfd_agent (JID 150, PID 3637), 0 reference
l2fib_mgr (JID 185, PID 4003), 1 reference
fib_mgr (JID 294, PID 3605), 1 reference
aib (JID 314, PID 3590), 1 reference
|
|
Step 13
|
Run the show l2vpn mac-learning command to verify the entries to obtain details learned in L2FIB line cards, including link-local addresses updated and distributed
in multi-homing active-active scenarios.
Router# show l2vpn mac-learning mac-ipv4 all location 0/0/cPU0
Topo ID Producer Next Hop(s) Mac Address IP Address
6 0/0/CPU0 BV1 1000.0001.0001 10.1.1.11
7 0/0/CPU0 BV2 0000.f65a.3570 10.1.2.91
7 0/0/CPU0 BV2 0000.f65a.357d 10.1.2.93
|
|
Step 14
|
Run the show l2route evpn mac-ip command to verify the sequence ID for VM mobility.
Router# show l2route evpn mac-ip all detail
Flags: (Stt)=Static; (L)=Local; (R)=Remote; (F)=Flood;
(N)=No Redistribution; (Rtr)=Router MAC; (B)=Best Route;
(P)=Probe; (S)=Peer Sync; (F)=Flush;
(D)=Duplicate MAC; (Z)=Frozen MAC;
Topo ID Mac Address IP Address Prod Next Hop(s) Seq No Flags
Opaque Data Type Opaque Data Len Opaque Data Value
------- ----------- ---------- ---- ---------- ------ -----
---------------- --------------- -----------------
33 0022.6730.0001 10.130.0.2 L2VPN Bundle-Ether6.1300 0 SB 0 12
0x06000000 0x22000080 0x00000000
Last Update: Sun Apr 30 15:00:01.911 PDT
33 0022.6730.0002 10.130.0.3 LOCAL Bundle-Ether6.1300 0 B N/A
N/A N/A
|
|
Step 15
|
Run the show l2vpn mac-learning command to verify the entries to obtain details learned in L2FIB RP, which are aggregated entries from line cards, to observe
MAC move states and updates to L2RIB.
Router# show l2vpn mac-learning mac-ipv4 all location 0/RSP0/CPU0
Topo ID Producer Next Hop(s) Mac Address IP Address
------- -------- ----------- -------------- ----------
6 0/0/CPU0 BV1 1000.0001.0001 10.1.1.11
7 0/0/CPU0 BV2 0000.f65a.3570 10.1.2.91
7 0/0/CPU0 BV2 0000.f65a.357d 10.1.2.93
|
|
Step 16
|
Run the show l2route evpn command to verify the entries in L2RIB that are updated by RP L2FIB.
Note the following when you verify the entries:
-
The entries with producer as L2VPN and NH as remote IP are learnt from the remote peer gateways, which are learnt from BGP,
updated to EVPN, and then updated to L2RIB. So these entries are not from local IP-MAC learning.
-
The entries with producer as L2VPN and NH as local bundle interfaces are synced entries from MH-AA peer gateway.
-
The entries with producer as LOCAL and NH as local bundle interfaces are dynamically learnt local entries.
Router# show l2route evpn mac-ip evi 6
Topo ID Mac Address IP Address Prod Next Hop(s)
-------- -------------- --------------- ------ -------------
6 0000.f65a.3569 10.1.1.101 L2VPN 172.16.0.2/24014/ME
6 0000.f65a.3575 10.1.1.97 L2VPN 172.16.0.7/24025/ME
6 0000.f65a.3575 10:1:1::97 L2VPN 172.16.0.7/24025/ME
6 0000.f65a.3575 fe80::200:f6ff:fe5a:3575 L2VPN 172.16.0.7/24025/ME
6 0000.f65a.357c 10.1.1.93 L2VPN Bundle-Ether1.11
6 0000.f65a.357c 10:1:1::93 L2VPN Bundle-Ether1.11
6 0000.f65a.357c fe80::200:f6ff:fe5a:357c LOCAL Bundle-Ether1.11
6 0010.0001.0012 10.1.1.12 L2VPN 172.16.0.7/24025/ME
6 1000.0001.0001 10.1.1.11 LOCAL Bundle-Ether1.11
6 90e2.ba8e.c0c9 10.1.1.102 L2VPN 172.16.0.2/24014/ME
|
|
Step 17
|
Run the show evpn evi command to obtain details of EVPN.
For MPLS core:
Router# show evpn evi vpn-id 1 mac ipv4 10.1.1.93 detail
EVI MAC address IP address Nexthop Label
---- --------------- ---------- ---------- -----
1 0000.f65a.357c 10.1.1.93 172.16.0.2 24014
Ethernet Tag : 0
Multi-paths Resolved : True
Static : No
Local Ethernet Segment : N/A
Remote Ethernet Segment : 0100.6cbc.a77c.c180.0000
Local Sequence Number : N/A
Remote Sequence Number : 0
Local Encapsulation : N/A
Remote Encapsulation : MPLS
For SRv6 core:
Router# show evpn evi vpn-id 100 mac ipv4 171.1.1.2 det
VPN-ID Encap MAC address IP address Nexthop Label SID
---------- ---------- -------------- ---------------------------------------- --------------------------------------- -------- ---------------------------------------
100 SRv6 0011.0100.0001 171.1.1.2 fccc:cc00:1101::1 IMP-NULL fccc:cc03:1031:e000::
100 SRv6 0011.0100.0001 171.1.1.2 fccc:cc00:1102::1 IMP-NULL fccc:cc03:1032:e000::
Ethernet Tag : 0
Multi-paths Resolved : True
Multi-paths Internal label : None
Multi-paths Internal ID : ::ffff:10.0.0.1
Service Group ID : None
Local Static : No
Remote Static : No
Local Ethernet Segment : N/A
Remote Ethernet Segment : 0011.1111.1111.1111.1111
Local Sequence Number : N/A
Remote Sequence Number : 2
Local Encapsulation : N/A
Remote Encapsulation : SRv6
Local E-Tree : Root
Remote E-Tree : Root
Remote matching E-Tree RT : No
Local AC-ID : 0x0
Remote AC-ID : 0x64
Local ARP/ND Information : N/A
Remote ARP/ND Information
Immutable : No
ND Override : No
ND Router : No
|
|
Step 18
|
Run the show bgp l2vpn evpn command to verify local BGP entries with appropriate second label and second IP VRF route-target.
For MPLS core:
Router# show bgp l2vpn evpn rd 172.16.0.1:1
[2][0][48][0000.f65a.357c][32][10.1.1.93]/136
BGP routing table entry for [2][0][48][0000.f65a.357c][32][10.1.1.93]/136, Route
Distinguisher: 172.16.0.1:1
Versions:
Process bRIB/RIB SendTblVer
Speaker 3772 3772
Local Label: 24013
Last Modified: Feb 28 16:06:37.073 for 2d19h
Paths: (2 available, best #1)
Advertised to peers (in unique update groups):
172.16.0.9
Path #1: Received by speaker 0
Advertised to peers (in unique update groups):
172.16.0.9
Local
0.0.0.0 from 0.0.0.0 (172.16.0.1)
Second Label 24027 >>>> Second label when IRB host-routing
is enabled.
Origin IGP, localpref 100, valid, redistributed, best, group-best, import-candidate,
rib-install
Received Path ID 0, Local Path ID 0, version 3772
Extended community: SoO:172.16.0.2:1 RT:100:100
EVPN ESI: 0100.6cbc.a77c.c180.0000
Path #2: Received by speaker 0
Not advertised to any peer
Local
172.16.0.2 (metric 101) from 172.16.0.9 (172.16.0.2)
Received Label 24014, Second Label 24031
Origin IGP, localpref 100, valid, internal, add-path, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 2, version 3769
Extended community: SoO:172.16.0.2:1 RT:200:1 RT:700:100 >>> Second RT is IP VRF RT for
remote to import into IP VRF routing table.
Originator: 172.16.0.2, Cluster list: 172.16.0.9
EVPN ESI: 0100.6cbc.a77c.c180.0000
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.2:1
For SRv6 core:
Router# sh bgp l2vpn evpn bridge-domain elan-1001 [2][0][48][0022.0222.0001][32][2.0.1.2]/136 detail
BGP routing table entry for [2][0][48][0022.0222.0001][32][2.0.1.2]/136, Route Distinguisher: 11.11.11.11:1001
Versions:
Process bRIB/RIB SendTblVer
Speaker 1939 1939
Flags: 0x00001001+0x00010000+0x00000000
Last Modified: Sep 10 14:30:30.223 for 00:00:19
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Flags: 0x2000020005060005+0x00, import: 0x080, EVPN: 0x3
Not advertised to any peer
Local
2::1 (metric 10) from 2::1 (22.22.22.22), if-handle 0x00000000
Received Label 0xf00007, Second Label 0x3 >>> L2 Sid + Received label for L2 MAC unicast bridging; L3 SID + Second label for EVPN IRB host-routing
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 1, version 1939
Extended community: SoO:33.33.33.33:1001 EVPN ARP/ND:0x00 0x060e:0000.00bb.93e9 RT:100:1001
EVPN ESI: 0000.0000.0000.0000.0201
PSID-Type:L3, SubTLV Count:1, R:0x00,
SubTLV:
T:1(Sid information), Sid:fccc:cc00:2:e018::, F:0x00, R2:0x00, Behavior:63, R3:0x00, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Length [Loc-blk,Loc-node,Func,Arg]:[32,16,16,0], Tpose-len:0, Tpose-offset:0
PSID-Type:L2, SubTLV Count:1, R:0x00,
SubTLV:
T:1(Sid information), Sid:fccc:cc00:2:ff00::(Transposed), F:0x00, R2:0x00, Behavior:67, R3:0x00, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Length [Loc-blk,Loc-node,Func,Arg]:[32,16,32,0], Tpose-len:24, Tpose-offset:56
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 22.22.22.22:1001
Path #2: Received by speaker 0
Flags: 0x2000020004020005+0x00, import: 0x080, EVPN: 0x3
Not advertised to any peer
Local
3::1 (metric 10) from 3::1 (33.33.33.33), if-handle 0x00000000
Received Label 0xe00000, Second Label 0x3
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 0, version 0
Extended community: SoO:33.33.33.33:1001 EVPN ARP/ND:0x00 0x060e:0000.00bb.93e9 RT:100:1001
EVPN ESI: 0000.0000.0000.0000.0201
PSID-Type:L3, SubTLV Count:1, R:0x00,
SubTLV:
T:1(Sid information), Sid:fccc:cc00:3:e016::, F:0x00, R2:0x00, Behavior:63, R3:0x00, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Length [Loc-blk,Loc-node,Func,Arg]:[32,16,16,0], Tpose-len:0, Tpose-offset:0
PSID-Type:L2, SubTLV Count:1, R:0x00,
SubTLV:
T:1(Sid information), Sid:fccc:cc00:3::(Transposed), F:0x00, R2:0x00, Behavior:67, R3:0x00, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Length [Loc-blk,Loc-node,Func,Arg]:[32,16,16,0], Tpose-len:16, Tpose-offset:48
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 33.33.33.33:1001
|
|
Step 19
|
Run the show bgp l2vpn evpn command to verify the remote peer gateway BGP entries with correct label and route-target. Particularly verify the local
auto-generated RD on a remote EVPN gateway. EVPN type-2 routes are imported into EVPN. The host routes of IPv4 /32 addresses
are imported only into IP VRF route-table in the remote EVPN gateway, but not in the local EVPN gateway where local BVI adjacency
is used to overwrite RIB entries.
Router# show bgp l2vpn evpn rd 172.16.0.7:1
[2][0][48][0000.f65a.357c][32][10.1.1.93]/136
BGP routing table entry for [2][0][48][0000.f65a.357c][32][10.1.1.93]/136, Route
Distinguisher: 172.16.0.7:1
Versions:
Process bRIB/RIB SendTblVer
Speaker 16712 16712
Last Modified: Feb 28 16:06:36.448 for 2d19h
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local
172.16.0.1 from 172.16.0.9 (172.16.0.1)
Received Label 24013, Second Label 24027 >>>> First label for L2 MAC unicast bridging;
second label for EVPN IRB host-routing
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported,
rib-install
Received Path ID 0, Local Path ID 0, version 16712
Extended community: SoO:172.16.0.2:1 RT:100:1 RT:100:100
Originator: 172.16.0.1, Cluster list: 172.16.0.9
EVPN ESI: 0100.6cbc.a77c.c180.0000
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.1:1
Path #2: Received by speaker 0
Not advertised to any peer
Local
172.16.0.2 from 172.16.0.9 (172.16.0.2)
Received Label 24014, Second Label 24031
Origin IGP, localpref 100, valid, internal, backup, add-path, import-candidate, imported,
rib-install
Received Path ID 0, Local Path ID 1, version 16706
Extended community: SoO:172.16.0.2:1 RT:200:1 RT:700:100
Originator: 172.16.0.2, Cluster list: 172.16.0.9
EVPN ESI: 0100.6cbc.a77c.c180.0000
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.2:1
|
|
Step 20
|
Run the show bgp vpnv4 unicast vrf and show bgp vpnv6 unicast vrf commands to verify the remote peer gateway with host routes of IPv4 /32 addresses imported into the IP VRF routing table.
Router# show bgp vpnv4 unicast vrf evpn1 10.1.1.93/32
BGP routing table entry for 10.1.1.93/32, Route Distinguisher: 172.16.0.7:11
Versions:
Process bRIB/RIB SendTblVer
Speaker 22202 22202
Last Modified: Feb 28 16:06:36.447 for 2d19h
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local
172.16.0.1 from 172.16.0.9 (172.16.0.1)
Received Label 24027
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported
Received Path ID 0, Local Path ID 0, version 22202
Extended community: SoO:172.16.0.2:1 RT:100:1 RT:100:100
Originator: 172.16.0.1, Cluster list: 172.16.0.9
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.1:1 >>>>
The source from
>>>> L2VPN and from
>>>> synced ARP entry.
Path #2: Received by speaker 0
Not advertised to any peer
Local
172.16.0.2 from 172.16.0.9 (172.16.0.2)
Received Label 24031
Origin IGP, localpref 100, valid, internal, backup, add-path, import-candidate, imported
Received Path ID 0, Local Path ID 1, version 22201
Extended community: SoO:172.16.0.2:1 RT:200:1 RT:700:100
Originator: 172.16.0.2, Cluster list: 17.0.0.9
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.2:1 >>>>
The source from
>>>> L2VPN and
>>>> from dynamic
>>>> ARP entry.
Router# show bgp vpnv6 unicast vrf evpn1 10:1:1::93/128
BGP routing table entry for 10:1:1::93/128, Route Distinguisher: 172.16.0.7:11
Versions:
Process bRIB/RIB SendTblVer
Speaker 22163 22163
Last Modified: Feb 28 12:09:30.447 for 2d23h
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local
172.16.0.1 from 172.16.0.9 (172.16.0.1)
Received Label 24029
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported
Received Path ID 0, Local Path ID 0, version 22163
Extended community: SoO:172.16.0.2:1 RT:100:1 RT:100:100
Originator: 172.16.0.1, Cluster list: 172.16.0.9
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.1:1 >>>>
Source from
>>>> L2VPN and from
>>>> synced ARP entry.
Path #2: Received by speaker 0
Not advertised to any peer
Local
172.16.0.2 from 172.16.0.9 (172.16.0.2)
Received Label 24033
Origin IGP, localpref 100, valid, internal, backup, add-path, import-candidate, imported
Received Path ID 0, Local Path ID 1, version 22163
Extended community: SoO:172.16.0.2:1 RT:200:1 RT:700:100
Originator: 172.16.0.2, Cluster list: 172.16.0.9
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.2:1 >>>>
Source from
>>>> L2VPN and from
>>>> dynamic ARP entry.
Router# show bgp vpnv6 unicast vrf evpn1 10:1:1::93/128
BGP routing table entry for 10:1:1::93/128, Route Distinguisher: 172.16.0.7:11
Versions:
Process bRIB/RIB SendTblVer
Speaker 22163 22163
Last Modified: Feb 28 12:09:30.447 for 2d23h
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local
172.16.0.1 from 172.16.0.9 (172.16.0.1)
Received Label 24029
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported
Received Path ID 0, Local Path ID 0, version 22163
Extended community: SoO:172.16.0.2:1 RT:100:1 RT:100:100
Originator: 172.16.0.1, Cluster list: 172.16.0.9
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.1:1
Path #2: Received by speaker 0
Not advertised to any peer
Local
172.16.0.2 from 172.16.0.9 (172.16.0.2)
Received Label 24033
Origin IGP, localpref 100, valid, internal, backup, add-path, import-candidate, imported
Received Path ID 0, Local Path ID 1, version 22163
Extended community: SoO:172.16.0.2:1 RT:200:1 RT:700:100
Originator: 172.16.0.2, Cluster list: 172.16.0.9
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.2:1
|
|
Step 21
|
Run the show bgp vpnv4 unicast vrf command to local forwarding with local adjacency which overwrite the RIB entries, and remote peer that use the IP VRF host
route entries for IP VPN forwarding.
For MPLS core:
Router# show bgp vpnv4 unicast vrf evpn1 10.1.1.93/32
-- For local routing and forwarding
RP/0/RSP0/CPU0:PE11-R1#show route vrf evpn1 10.1.1.93
Routing entry for 10.1.1.93/32
Known via "bgp 3107", distance 200, metric 0, type internal
Installed Feb 28 15:57:28.154 for 2d20h
Routing Descriptor Blocks
172.16.0.2, from 172.16.0.9 >>> From MH-AA peer.
Nexthop in Vrf: "default", Table: "default", IPv4 Unicast, Table Id: 0xe0000000
Route metric is 0
No advertising protos.
For SRv6 core:
Router# show bgp vpnv4 unicast vrf CE100 171.1.1.2/32
BGP routing table entry for 171.1.1.2/32, Route Distinguisher: 100:100
Versions:
Process bRIB/RIB SendTblVer
Speaker 1145764 1145764
Last Modified: Nov 10 14:32:33.063 for 00:02:39
Paths: (1 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local, (received & used)
fccc:cc00:1102::1 (metric 20) from fccc:cc00:1301::1 (1.1.1.2)
Received Label 0xe0180
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported
Received Path ID 1, Local Path ID 1, version 1145764
Extended community: SoO:1.1.1.2:100 Color:100 EVPN MAC Mobility:0x00:2 EVPN ARP/ND:0x00 0x060e:0000.0000.0064 RT:100:100 RT:60100:100
mac: 00:11:01:00:00:01
ethernet tag: 0
Originator: 1.1.1.2, Cluster list: 1.1.1.5
PSID-Type:L3, SubTLV Count:1
SID Locator: fccc:cc03:1032::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1032::(Transposed), Behavior:63, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 1.1.1.2:100
For MPLS core:
Router# show cef vrf evpn1 10.1.1.93 location 0/0/CPU0
10.1.1.93/32, version 0, internal 0x1120001 0x0 (ptr 0x7b40052c) [1], 0x0 (0x7b286010), 0x0
(0x0)
Updated Feb 28 15:58:22.688
local adjacency 10.1.1.93
Prefix Len 32, traffic index 0, Adjacency-prefix, precedence n/a, priority 15
via 10.1.1.93/32, BVI1, 2 dependencies, weight 0, class 0 [flags 0x0]
path-idx 0 NHID 0x0 [0x7f531f88 0x0]
next hop
local adjacency >>> Forwarding with local synced ARP adjacency entries.
For remote routing and forwarding:
For SRv6 core:
Router# show cef vrf CE100 171.1.1.2
171.1.1.2/32, version 0, internal 0x1120001 0xf0 (ptr 0xa7000ec8) [1], 0x400 (0xa3be6b98), 0x0 (0x0)
Updated Nov 10 13:53:41.756
local adjacency to BVI100
Prefix Len 32, traffic index 0, Adjacency-prefix, precedence n/a, priority 15
gateway array (0x8bd53a98) reference count 100, flags 0x800000, source aib (3), 0 backups
[101 type 3 flags 0x1008401 (0x8bdd0018) ext 0x0 (0x0)]
LW-LDI[type=3, refc=1, ptr=0xa3be6b98, sh-ldi=0x8bdd0018]
gateway array update type-time 1 Nov 10 13:53:41.767
LDI Update time Nov 10 12:33:15.128
LW-LDI-TS Nov 10 13:53:41.756
via 171.1.1.2/32, BVI100, 2 dependencies, weight 0, class 0 [flags 0x0]
path-idx 0 NHID 0x0 [0xa727e4a0 0x0]
next hop
local adjacency
Load distribution: 0 (refcount 101)
Hash OK Interface Address
0 Y BVI100 Shared
For MPLS core:
Router# show route vrf evpn1 10.1.1.93
Routing entry for 10.1.1.93/32
Known via "bgp 3107", distance 200, metric 0
Number of pic paths 1 , type internal
Installed Feb 28 16:06:36.431 for 2d20h
Routing Descriptor Blocks
172.16.0.1, from 172.16.0.9
Nexthop in Vrf: "default", Table: "default", IPv4 Unicast, Table Id: 0xe0000000
Route metric is 0
172.16.0.2, from 172.16.0.9, BGP backup path
Nexthop in Vrf: "default", Table: "default", IPv4 Unicast, Table Id: 0xe0000000
Route metric is 0
No advertising protos.
For SRv6 core:
Router# show route vrf CE100 171.1.1.2
Routing entry for 171.1.1.2/32
Known via "application l2vpn_evpn", distance 2, metric 0
Installed Nov 10 13:53:41.642 for 00:41:36
Routing Descriptor Blocks
directly connected, via BVI100
Route metric is 0
No redist to FIB
No advertising protos
Router# show cef vrf evpn1 10.1.1.93 location 0/0/CPU0
10.1.1.93/32, version 86, internal 0x5000001 0x0 (ptr 0x99fac884) [1], 0x0 (0x0), 0x208
(0x96c58494)
Updated Feb 28 16:06:39.285
Prefix Len 32, traffic index 0, precedence n/a, priority 3
via 172.16.0.1/32, 15 dependencies, recursive [flags 0x6000]
path-idx 0 NHID 0x0 [0x97955380 0x0]
recursion-via-/32
next hop VRF - 'default', table - 0xe0000000
next hop 172.16.0.1/32 via 34034/0/21
next hop 100.0.57.5/32 Te0/0/0/3 labels imposed {ImplNull 24011 24027}
next hop 100.0.67.6/32 Te0/0/0/1 labels imposed {ImplNull 24009 24027}
via 172.16.0.2/32, 11 dependencies, recursive, backup [flags 0x6100]
path-idx 1 NHID 0x0 [0x979554a0 0x0]
recursion-via-/32
next hop VRF - 'default', table - 0xe0000000
next hop 172.16.0.2/32 via 34035/0/21
next hop 100.0.57.5/32 Te0/0/0/3 labels imposed {ImplNull 24012 24031}
next hop 100.0.67.6/32 Te0/0/0/1 labels imposed {ImplNull 24010 24031}
For SRv6 core:
Router# show bgp l2vpn evpn rd 1.1.1.1:100 [2][0][48][0011.0100.0001][32][171.1.1.2]/136
BGP routing table entry for [2][0][48][0011.0100.0001][32][171.1.1.2]/136, Route Distinguisher: 1.1.1.1:100
Versions:
Process bRIB/RIB SendTblVer
Speaker 3042441 3042441
Local Label: 0xe00000
Last Modified: Nov 10 14:32:33.063 for 00:02:30
Paths: (2 available, best #1)
Advertised to update-groups (with more than one peer):
0.2
Path #1: Received by speaker 0
Advertised to update-groups (with more than one peer):
0.2
Local
0.0.0.0 from 0.0.0.0 (1.1.1.1)
Second Label 0xe0220
Origin IGP, localpref 100, valid, redistributed, best, group-best, import-candidate, rib-install
Received Path ID 0, Local Path ID 1, version 3042169
Extended community: Flags 0xe: SoO:1.1.1.2:100 EVPN MAC Mobility:0x00:2 EVPN ARP/ND:0x00 0x060e:0000.0000.0064 RT:100:100 RT:60100:100
EVPN ESI: 0011.1111.1111.1111.1111
PSID-Type:L3, SubTLV Count:1
SID Locator: fccc:cc03:1031::/48, RIB metric: 0
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1031::(Transposed), Behavior:63, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
PSID-Type:L2, SubTLV Count:1
SID Locator: fccc:cc03:1031::/48, RIB metric: 0
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1031::(Transposed), Behavior:67, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Path #2: Received by speaker 0
Not advertised to any peer
Local, (received & used)
fccc:cc00:1102::1 (metric 20) from fccc:cc00:1301::1 (1.1.1.2)
Received Label 0xe00000, Second Label 0xe0180
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 1, Local Path ID 0, version 0
Extended community: SoO:1.1.1.2:100 Color:100 EVPN MAC Mobility:0x00:2 EVPN ARP/ND:0x00 0x060e:0000.0000.0064 RT:100:100 RT:60100:100
Originator: 1.1.1.2, Cluster list: 1.1.1.5
EVPN ESI: 0011.1111.1111.1111.1111
PSID-Type:L3, SubTLV Count:1
SID Locator: fccc:cc03:1032::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1032::(Transposed), Behavior:63, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
PSID-Type:L2, SubTLV Count:1
SID Locator: fccc:cc03:1032::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1032::(Transposed), Behavior:67, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 1.1.1.2:100
|
|
Step 22
|
For SRv6 core, run the show bgp , show route , , and show cef commands to verify remote forwarding.
Router# show bgp l2vpn evpn rd 1.1.1.3:100 [2][0][48][0011.0100.0001][32][171.1.1.2]/136
BGP routing table entry for [2][0][48][0011.0100.0001][32][171.1.1.2]/136, Route Distinguisher: 1.1.1.3:100
Versions:
Process bRIB/RIB SendTblVer
Speaker 4790491 4790491
Last Modified: Nov 10 14:32:36.242 for 00:01:44
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local, (received & used)
fccc:cc00:1101::1 (metric 20) from fccc:cc00:1301::1 (1.1.1.1)
Received Label 0xe00000, Second Label 0xe0220
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported, rib-install
Received Path ID 1, Local Path ID 1, version 4790309
Extended community: SoO:1.1.1.2:100 Color:100 EVPN MAC Mobility:0x00:2 EVPN ARP/ND:0x00 0x060e:0000.0000.0064 RT:100:100 RT:60100:100
Originator: 1.1.1.1, Cluster list: 1.1.1.5
EVPN ESI: 0011.1111.1111.1111.1111
PSID-Type:L3, SubTLV Count:1
SID Locator: fccc:cc03:1031::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1031::(Transposed), Behavior:63, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
PSID-Type:L2, SubTLV Count:1
SID Locator: fccc:cc03:1031::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1031::(Transposed), Behavior:67, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 1.1.1.1:100
Path #2: Received by speaker 0
Not advertised to any peer
Local, (received & used)
fccc:cc00:1102::1 (metric 20) from fccc:cc00:1301::1 (1.1.1.2)
Received Label 0xe00000, Second Label 0xe0180
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 1, Local Path ID 0, version 0
Extended community: SoO:1.1.1.2:100 Color:100 EVPN MAC Mobility:0x00:2 EVPN ARP/ND:0x00 0x060e:0000.0000.0064 RT:100:100 RT:60100:100
Originator: 1.1.1.2, Cluster list: 1.1.1.5
EVPN ESI: 0011.1111.1111.1111.1111
PSID-Type:L3, SubTLV Count:1
SID Locator: fccc:cc03:1032::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1032::(Transposed), Behavior:63, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
PSID-Type:L2, SubTLV Count:1
SID Locator: fccc:cc03:1032::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1032::(Transposed), Behavior:67, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 1.1.1.2:100
Router# show bgp vpnv4 unicast vrf CE100 171.1.1.2/32
BGP routing table entry for 171.1.1.2/32, Route Distinguisher: 102:100
Versions:
Process bRIB/RIB SendTblVer
Speaker 1345462 1345462
Last Modified: Nov 10 14:32:36.242 for 00:01:51
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local, (received & used)
fccc:cc00:1101::1 (metric 20) from fccc:cc00:1301::1 (1.1.1.1)
Received Label 0xe0220
Origin IGP, localpref 100, valid, internal, best, group-best, multipath, import-candidate, imported
Received Path ID 1, Local Path ID 1, version 1345378
Extended community: SoO:1.1.1.2:100 Color:100 EVPN MAC Mobility:0x00:2 EVPN ARP/ND:0x00 0x060e:0000.0000.0064 RT:100:100 RT:60100:100
mac: 00:11:01:00:00:01
ethernet tag: 0
Originator: 1.1.1.1, Cluster list: 1.1.1.5
PSID-Type:L3, SubTLV Count:1
SID Locator: fccc:cc03:1031::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1031::(Transposed), Behavior:63, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 1.1.1.1:100
Path #2: Received by speaker 0
Not advertised to any peer
Local, (received & used)
fccc:cc00:1102::1 (metric 20) from fccc:cc00:1301::1 (1.1.1.2)
Received Label 0xe0180
Origin IGP, localpref 100, valid, internal, multipath, import-candidate, imported
Received Path ID 1, Local Path ID 0, version 0
Extended community: SoO:1.1.1.2:100 Color:100 EVPN MAC Mobility:0x00:2 EVPN ARP/ND:0x00 0x060e:0000.0000.0064 RT:100:100 RT:60100:100
mac: 00:11:01:00:00:01
ethernet tag: 0
Originator: 1.1.1.2, Cluster list: 1.1.1.5
PSID-Type:L3, SubTLV Count:1
SID Locator: fccc:cc03:1032::/48, RIB metric: 210
SubTLV:
T:1(Sid information), Sid:fccc:cc03:1032::(Transposed), Behavior:63, SS-TLV Count:1
SubSubTLV:
T:1(Sid structure):
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 1.1.1.2:100
Router# show route vrf CE100 171.1.1.2/32
Routing entry for 171.1.1.2/32
Known via "bgp 100", distance 200, metric 0, type internal
Installed Nov 10 14:32:35.791 for 00:01:58
Routing Descriptor Blocks
fccc:cc00:1101::1, from fccc:cc00:1301::1, BGP multi path
Nexthop in Vrf: "default", Table: "default", IPv6 Unicast, Table Id: 0xe0800000
Route metric is 0, recursion-via-/48
fccc:cc00:1102::1, from fccc:cc00:1301::1, BGP multi path
Nexthop in Vrf: "default", Table: "default", IPv6 Unicast, Table Id: 0xe0800000
Route metric is 0, recursion-via-/48
No advertising protos.
Router# show cef vrf CE100 171.1.1.2/32
171.1.1.2/32, version 36883, SRv6 Headend, internal 0x5000001 0x30 (ptr 0x90a4f8d4) [1], 0x0 (0x0), 0x0 (0x92a32670)
Updated Nov 10 14:32:35.800
Prefix Len 32, traffic index 0, precedence n/a, priority 3
gateway array (0x8f5d2198) reference count 1000, flags 0x2010, source rib (7), 0 backups
[1 type 3 flags 0x48441 (0x79f055f8) ext 0x0 (0x0)]
LW-LDI[type=0, refc=0, ptr=0x0, sh-ldi=0x0]
gateway array update type-time 1 Nov 10 13:53:39.004
LDI Update time Nov 10 13:53:39.004
Level 1 - Load distribution: 0 1
[0] via fccc:cc03:1031::/128, recursive
[1] via fccc:cc03:1032::/128, recursive
via fccc:cc03:1031::/128, 14 dependencies, recursive, bgp-multipath [flags 0x6080]
path-idx 0 NHID 0x0 [0x909d1ef4 0x0]
recursion-via-/48
next hop VRF - 'default', table - 0xe0800000
next hop fccc:cc03:1031::/128 via fccc:cc03:1031::/48
SRv6 H.Encaps.Red SID-list {fccc:cc03:1031:e022::}
Load distribution: 0 (refcount 1)
Hash OK Interface Address
0 Y Bundle-Ether1 fe80::28a:96ff:fe4a:20e1
via fccc:cc03:1032::/128, 21 dependencies, recursive, bgp-multipath [flags 0x6080]
path-idx 1 NHID 0x0 [0x909dd474 0x0]
recursion-via-/48
next hop VRF - 'default', table - 0xe0800000
next hop fccc:cc03:1032::/128 via fccc:cc03:1032::/48
SRv6 H.Encaps.Red SID-list {fccc:cc03:1032:e018::}
Load distribution: 0 (refcount 1)
Hash OK Interface Address
1 Y Bundle-Ether1 fe80::28a:96ff:fe4a:20e1
|
|
Step 23
|
Verify the subnet stretching.
-
Run the show run vrf cust130 command to verify the VRF configuration.
Router# show run vrf cust130
vrf cust130
address-family ipv4 unicast
import route-target
130:130
!
export route-target
130:130
!
!
!
-
Run the show run router bgp command to verify the BGP configuration.
For MPLS core:
Router# show run router bgp | begin vrf cust130
vrf cust130
rd auto
address-family ipv4 unicast
label mode per-vrf
maximum-paths ibgp 10
redistribute connected
!
!
For SRv6 core:
Router# show run router bgp 200 vrf cust130
router bgp 200
vrf cust130
rd auto
address-family ipv4 unicast
maximum-paths ibgp 10
segment-routing srv6
locator loc_FA135
alloc mode per-vrf
redistribute connected
!
!
!
-
Run the show run l2vpn bridge group command to verify the L2VPN configuration.
Router# show run l2vpn bridge group bg130
l2vpn
bridge group bg130
bridge-domain bd130
interface Bundle-Ether1.1300
!
interface Bundle-Ether5.1300
!
routed interface BVI130
evi 130
!
!
!
!
|