Use the following commands to verify that the bridge domains are in established state and that bridge domain has learnt the
local MAC address:
PE1# show bridge-domain 10 mac dynamic address
Port MAC Address
Po1 ServInst 10 000c.2911.6d2a -> MAC learnt on port-channel 1 for service instance 10
PE1#show bridge-domain 10
Bridge-domain 10 (2 ports in all)
State: UP Mac learning: Enabled
Aging-Timer: 30 second(s) -> MAC aging timer for bridge-domain
Port-channel1 service instance 10
EVPN Instance 10
AED MAC address Policy Tag Age Pseudoport
- 000C.29F8.5078 forward static_r 0 OCE_PTR:0xe8e5dda0
- 000C.2911.6D2A forward dynamic_c 28 Port-channel1.EFP10
PE1#show bridge-domain 10
Bridge-domain 10 (2 ports in all)
State: UP Mac learning: Enabled
Aging-Timer: 30 second(s)
Port-channel1 service instance 10
EVPN Instance 10
AED MAC address Policy Tag Age Pseudoport
- 000C.29F8.5078 forward static_r 0 OCE_PTR:0xe8e5dda0
- 000C.2911.6D2A forward static_a 0 Port-channel1.EFP10
Note
|
In the above output, MAC addresses with forward dynamic_c tags are locally learned addresses and MAC addresses with forward
static_r tags are remote addresses learned through EVPN.
|
Use the following command to verify the number and type of EVIs configured on the PE, number of bridge-domains configured,
and number of MACs learnt locally and remotely:PE1#show l2vpn evpn summary
L2VPN EVPN
EVPN Instances (excluding point-to-point): 3
VLAN Aware: 1
VLAN Based: 1
VLAN Bundle: 1
Bridge Domains: 3
BGP: ASN 100, address-family l2vpn evpn configured
Router ID: 192.168.1.1
Label Allocation Mode: Per-BD
Replication Type: Ingress
Forwarding State: UP
MAC Duplication: seconds 180 limit 5
MAC Addresses: 6
Local: 3
Remote: 3
Duplicate: 0
IP Duplication: seconds 180 limit 5
IP Addresses: 0
Local: 0
Remote: 0
Duplicate: 0
Maximum number of Route Targets per EAD-ES route: 200
Note
|
In the above output, the remote MAC addresses' next hops are the addresses of the provider edge devices that these MAC addresses
are learned from.
|
Use the following command to verify ethernet-segments attached to the PE:
PE1#show l2vpn evpn ethernet-segment detail
EVPN Ethernet Segment ID: 03AB.CDAB.CDAB.C100.0001
Interface: Po1
Redundancy mode: all-active
DF election wait time: 3 seconds
Split Horizon label: 16
State: Ready
Ordinal: 0
RD: 192.168.1.1:1
Export-RTs: 100:10 100:20 100:30
Forwarder List: 192.168.1.1 192.168.1.2 192.168.1.3
Use the following command to verify EVPN manager details regarding an EVI:
PE1#show l2vpn evpn evi detail
EVPN instance: 10 (VLAN Based) í VLAN based EVI
RD: 192.168.1.1:10 (auto) -> RD derived from Loopback0 EVPN Router-ID:EVI number
Import-RTs: 100:10
Export-RTs: 100:10
Per-EVI Label: none
State: Established -> EVI state
Encapsulation: mpls
Bridge Domain: 10
Ethernet-Tag: 0
BUM Label: 18
Per-BD Label: 19
State: Established -> BD state
Pseudoports: -> Access interface and DF election status for EVI 10
Port-channel1 service instance 10 (DF state: PE-to-CE BUM blocked)
EVPN instance: 20 (VLAN Bundle) -> VLAN bundled EVI
RD: 192.168.1.1:20 (auto)
Import-RTs: 100:20
Export-RTs: 100:20
Per-EVI Label: none
State: Established
Encapsulation: mpls
Bridge Domain: 20
Ethernet-Tag: 0
BUM Label: 20
Per-BD Label: 21
State: Established
Pseudoports:
Port-channel1 service instance 20 (DF state: PE-to-CE BUM blocked)
EVPN instance: 30 (VLAN Aware) -> VLAN aware EVI
RD: 192.168.1.1:30 (auto)
Import-RTs: 100:30
Export-RTs: 100:30
Per-EVI Label: none
State: Established
Encapsulation: mpls
Bridge Domain: 30
Ethernet-Tag: 30
BUM Label: 22
Per-BD Label: 23
State: Established
Pseudoports: -> Elected DF for EVI 30
Port-channel1 service instance 30 (DF state: forwarding)
Note
|
Designated Forwarder (DF) is responsible for forwarding Broadcast, Unicast and Multicast (BUM) traffic on an ethernet segment.
Route-type 4 is used to carry this information.
|
Use the following command to verify EVPN manager details for bridge-domain 10:
PE1#show l2vpn evpn mac bridge-domain 10 detail
MAC Address: 000c.2911.6d2a
EVPN Instance: 10
Bridge Domain: 10
Ethernet Segment: 03AB.CDAB.CDAB.C100.0001 -> ESI number assigned to the MAC learnt on this EFP
Ethernet Tag ID: 0
Next Hop(s): Port-channel1 service instance 10 -> MAC learnt locally on port-channel 1
3.3.3.3
Local Address: 0.0.0.0
Label: 17
Sequence Number: 0
MAC only present: Yes
MAC Duplication Detection: Timer not running
MAC Address: 000c.29f8.5078
EVPN Instance: 10
Bridge Domain: 10
Ethernet Segment: 03AB.CDAB.CDAB.C200.0002
Ethernet Tag ID: 0
Next Hop(s): 6.6.6.6
Local Address: 1.1.1.1
Label: 19
Sequence Number: 0
MAC only present: Yes
MAC Duplication Detection: Timer not running
Use the following command to verify EVPN manager details EVI 10:
PE1#show l2vpn evpn mac evi 10 detail
MAC Address: 000c.2911.6d2a
EVPN Instance: 10
Bridge Domain: 10
Ethernet Segment: 03AB.CDAB.CDAB.C100.0001
Ethernet Tag ID: 0
Next Hop(s): Port-channel1 service instance 10
192.168.1.2
Local Address: 0.0.0.0
Label: 19
Sequence Number: 0
MAC only present: Yes
MAC Duplication Detection: Timer not running
MAC Address: 000c.29f8.5078
EVPN Instance: 10
Bridge Domain: 10
Ethernet Segment: 03AB.CDAB.CDAB.C200.0002
Ethernet Tag ID: 0
Next Hop(s): 192.168.1.5
Local Address: 192.168.1.1
Label: 23
Sequence Number: 0
MAC only present: Yes
MAC Duplication Detection: Timer not running
Use the following command to verify that the information on BGP routes is sent to Layer 2 RIB :
PE1#show l2rib producers
Producer(ID) Client ID Object Type Admin Dist Purge Time(sec) State
------------- --------- ----------- ---------- --------------- -----------
L2VPN( 9) 1 Topology 5 120 Converged
BGP( 5) 0 MAC 20 600 Converged
L2VPN( 9) 1 MAC 5 1800 Converged
BGP( 5) 0 EAD 20 600 Converged
L2VPN( 9) 1 EAD 6 120 Converged
BGP( 5) 0 IMET_ROUTE 20 600 Converged
L2VPN( 9) 1 IMET_ROUTE 6 120 Converged
BGP( 5) 0 MAC-IP 20 600 Converged
L2VPN( 9) 1 MAC-IP 6 1800 Converged
BGP( 5) 0 ES_ROUTE 20 600 Converged
L2VPN( 9) 1 ES_ROUTE 6 1800 Converged
Use the following command to verify Route Type 3 IMET tunnels created for each EVI:
PE1#show l2route evpn imet
EVI ETAG Prod Router IP Addr Type Label Tunnel ID
----- ---------- ----- --------------- ----- ------- ---------------
10 0 BGP 192.168.1.2 6 22 192.168.1.2
10 0 BGP 192.168.1.3 6 22 192.168.1.3
10 0 BGP 192.168.1.5 6 22 192.168.1.5
10 0 BGP 192.168.1.6 6 22 192.168.1.6
10 0 L2VPN 192.168.1.1 6 18 192.168.1.1
20 0 BGP 192.168.1.2 6 20 192.168.1.2
20 0 BGP 192.168.1.3 6 20 192.168.1.3
20 0 BGP 192.168.1.5 6 20 192.168.1.5
20 0 BGP 192.168.1.6 6 20 192.168.1.6
20 0 L2VPN 192.168.1.1 6 20 192.168.1.1
30 30 BGP 192.168.1.2 6 18 192.168.1.2
30 30 BGP 192.168.1.3 6 18 192.168.1.3
30 30 BGP 192.168.1.5 6 18 192.168.1.5
30 30 BGP 192.168.1.6 6 18 192.168.1.6
30 30 L2VPN 192.168.1.1 6 22 192.168.1.1
Use the following command to verify EAD-EVI route-type 1 for EVI 10 for BGP:
PE1# show ip bgp l2vpn evpn evi 10 route-type 1
BGP routing table entry for [1][192.168.1.1:10][03ABCDABCDABC1000001][0]/23, version 109
Paths: (3 available, best #2, table evi_10)
Flag: 0x8000
Advertised to update-groups:
1
Refresh Epoch 4
Local, (received & used), imported path from [1][192.168.1.2:10][03ABCDABCDABC1000001][0]/23 (global)
192.168.1.2 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal, multipath
Rcvd Label: 19, Local Label: None
Extended Community: RT:100:10
Originator: 192.168.1.2, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0
Refresh Epoch 1
Local
:: (via default) from 0.0.0.0 (192.168.1.1)
Origin incomplete, localpref 100, weight 32768, valid, sourced, local, multipath, best
Rcvd Label: None, Local Label: 25
Extended Community: RT:100:10
rx pathid: 0, tx pathid: 0x0
Refresh Epoch 3
Local, (received & used), imported path from [1][192.168.1.3:10][03ABCDABCDABC1000001][0]/23 (global)
192.168.1.3 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal, multipath(oldest)
Rcvd Label: 19, Local Label: None
Extended Community: RT:100:10
Originator: 192.168.1.3, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0
BGP routing table entry for [1][192.168.1.1:10][03ABCDABCDABC2000002][0]/23, version 61
Paths: (2 available, best #1, table evi_10)
Not advertised to any peer
Refresh Epoch 2
Local, (received & used), imported path from [1][192.168.1.5:10][03ABCDABCDABC2000002][0]/23 (global)
192.168.1.5 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal, multipath, best
Rcvd Label: 19, Local Label: None
Extended Community: RT:100:10
Originator: 192.168.1.5, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0x0
Refresh Epoch 2
Local, (received & used), imported path from [1][192.168.1.6:10][03ABCDABCDABC2000002][0]/23 (global)
192.168.1.6 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal, multipath(oldest)
Rcvd Label: 25, Local Label: None
Extended Community: RT:100:10
Originator: 192.168.1.6, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0
Use the following command to verify EAD-ES route-type 1 output for EVI 10 in BGP database:
PE1# show ip bgp l2vpn evpn route-type 1
BGP routing table entry for [1][192.168.1.2:10][03ABCDABCDABC1000001][0]/23, version 2
Paths: (1 available, best #1, table EVPN-BGP-Table)
Not advertised to any peer
Refresh Epoch 6
Local, (received & used)
192.168.1.2 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal, best
Rcvd Label: 23, Local Label: None
Extended Community: RT:100:10
Originator: 192.168.1.2, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0x0
Use the following command to verify information regarding the PEs with active ESI configuration:
PE1#sh ip bgp l2vpn evpn route-type 4
BGP routing table entry for [4][192.168.1.1:1][03ABCDABCDABC1000001][32][192.168.1.1]/23, version 99
Paths: (1 available, best #1, table EVPN-BGP-Table)
Advertised to update-groups:
1
Refresh Epoch 1
Local
:: (via default) from 0.0.0.0 (192.168.1.1)
Origin incomplete, localpref 100, weight 32768, valid, sourced, local, best
Extended Community: EVPN ES-IMPORT:0xABCD:0xABCD:0xABC1
rx pathid: 0, tx pathid: 0x0
BGP routing table entry for [4][192.168.1.2:1][03ABCDABCDABC1000001][32][192.168.1.2]/23, version 102
Paths: (1 available, best #1, table EVPN-BGP-Table)
Not advertised to any peer
Refresh Epoch 5
Local, (received & used)
192.168.1.2 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal, best
Extended Community: EVPN ES-IMPORT:0xABCD:0xABCD:0xABC1
Originator: 192.168.1.2, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0x0
BGP routing table entry for [4][192.168.1.3:1][03ABCDABCDABC1000001][32][192.168.1.3]/23, version 100
Paths: (1 available, best #1, table EVPN-BGP-Table)
Not advertised to any peer
Refresh Epoch 5
Local, (received & used)
192.168.1.3 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal, best
Extended Community: EVPN ES-IMPORT:0xABCD:0xABCD:0xABC1
Originator: 192.168.1.3, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0x0
BGP routing table entry for [4][192.168.1.5:2][03ABCDABCDABC2000002][32][192.168.1.5]/23, version 0
Paths: (1 available, no best path)
Not advertised to any peer
Refresh Epoch 5
Local, (received-only)
192.168.1.5 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal
Extended Community: EVPN ES-IMPORT:0xABCD:0xABCD:0xABC2
Originator: 192.168.1.5, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0
BGP routing table entry for [4][192.168.1.6:2][03ABCDABCDABC2000002][32][192.168.1.6]/23, version 0
Paths: (1 available, no best path)
Not advertised to any peer
Refresh Epoch 5
Local, (received-only)
192.168.1.6 (metric 30) (via default) from 192.168.1.4 (192.168.1.4)
Origin incomplete, metric 0, localpref 100, valid, internal
Extended Community: EVPN ES-IMPORT:0xABCD:0xABCD:0xABC2
Originator: 192.168.1.6, Cluster list: 192.168.1.4
rx pathid: 0, tx pathid: 0
Use the following ether channel state output on tbe CE device:
CE1# show port-channel summary
Flags: D - Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only)
s - Suspended r - Module-removed
b - BFD Session Wait
S - Switched R - Routed
U - Up (port-channel)
p - Up in delay-lacp mode (member)
M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port- Type Protocol Member Ports
Channel
--------------------------------------------------------------------------------
1 Po1(SU) Eth NONE Eth1/1(P) Eth1/2(P) Eth1/3(P)
Use the following Ether Channel state output on the PE device:
PE1#show etherchannel summary
Flags: D - down P/bndl - bundled in port-channel
I - stand-alone s/susp - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(RU) Gi3(P)
RU - L3 port-channel UP State
SU - L2 port-channel UP state
P/bndl - Bundled
S/susp - Suspended