Evpn Multi Homing
Evpn Multi Homing
Evpn Multi Homing
Table of Contents
1 Introduction ...................................................................................................................................................... 3
1.1 Deliverables............................................................................................................................................. 3
Copyright 2017 Cisco Systems 1 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 2 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
8 Appendix ........................................................................................................................................................ 63
1 Introduction
This document provides details on the EVPN operation, configurations and verifications steps that are
needed to verify BGP MPLS based Ethernet VPN (EVPN). It also provides list of key show
commands needed to troubleshoot the technology. The document also contains best practices for
configuration and corner cases. EVPN multi-homing is targeted for IOS-XE 16.9.1 release and
supported on ASR1000/CSR1k platform(s).
1.1 Deliverables
The configuration, features and basic verification commands for EVPN multi-homing delivered in IOS
XE 16.9.1.
1.2 Non-Deliverables
This document is not positioned or intended to replace any CCO or other documents that may be
published by other team. In order to limit the size of the document, not all possible combinations of
show and debug commands will be listed. For ASR1000 specific related questions refer to alias csr-
asr1000. The document is not to be shared with customer(s) without TAC or Account team’s
approval.
1.3 Caveats/Limitations
Only all-active redundancy mode (2 or 2+ PEs in the same redundancy group sharing the
same ESI and all forwarding traffic). Single-active mode is not supported in this release.
Access-side flow based load balancing with multi-homing LAG “on mode” only. Any ether-
channel signaling is not supported in this release (LACP or PAgP).
MAC mobility and duplication detection is not supported in this release.
Per-EVI and per-MAC labeling is not supported. Only per-BD and per-CE labeling is supported.
Interoperability with IOS-XR has not been tested in this release.
Copyright 2017 Cisco Systems 3 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Table below shows outstanding defects/enhancements for EVPN multi-homing that would be addressed in
16.10.1
Copyright 2017 Cisco Systems 4 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
3 EVPN Operation
Once the EVPN configuration is complete, PEs in the multi-homing group exchange IMET, EAD and ES
routes.
Each PE sends IMET (Route-type 3) routes to the other PEs so that the PEs can send BUM traffic. Each
PE advertises the PMSI P-Tunnel MPLS label in the IMET route.
Each PE in the multi-homing group sends its EAD routes to the other PEs and this route is used for
aliasing and split-horizon. For any access port involved in a multi-homing on a PE, an ESI must be
Copyright 2017 Cisco Systems 5 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
defined and associated with it. For this release, only type 3 ESI is supported (PE System MAC address
+ local discriminator).
There are two types of EAD routes. The per-EVI EAD route and per-ES EAD route to the other PEs.
The per-ES EAD route includes the ESI label extended community which indicates whether or not it’s all
active single-active configuration. The ESI label extended community also carries the ESI label to be
used for Split Horizon. The per-ES EAD route is also used for fast convergence in case failure in access
side Ethernet Segment
The per-EVI EAD route is used in conjunction with the Per-ES EAD for aliasing. Each PE in a multi-
homing group serving a CE may learn only a subset of MAC addresses on traffic ingress from CE, and
the MAC subsets learned by these PEs may not overlap with each other. Aliasing is the ability of a PE
to signal that it has reachability to an EVPN instance on a given ES even when it has learned no MAC
addresses from that EVI/ES. In an all-active multi-homing configuration, a remote PE that receives a
MAC advertisement route with considers the advertised MAC address to be reachable via all PEs that
have advertised reachability to that MAC address's EVI/ES.
Copyright 2017 Cisco Systems 6 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
For example, in the above diagram, traffic originated from CE3, PE4 will do the flow-based load balancing
between PE1, PE2 and PE3, based on the core side path list established according to EAD per EVI
routes received from these PEs for aliasing.
The ES routes are exchanged for Designated Forwarder (DF) election amongst PEs residing on the
same Ethernet segment in a multi-homing configuration. One PE in a multi-homing group serving CEs is
elected as the DF. The DF is the only PE in the multi-homing group that can forward BUM traffic to the
CE. This means for a given ES, each PE in the multi-homing group will be the DF for a certain number
of VLANs. When a PE receives a BUM packet from a remote PE and is the Designated Forwarder, for
the VLAN, the packet is flooded to the CEs, subject to split-horizon check. If the PE is not the Designated
Forwarder, the packet will be dropped.
EVPN relies on data plane to achieve the local MAC learning on access side and uses BGP to advertise
these MACs to remote EVPN PE peers. BGP MAC routes are only exchanged after local MAC learning.
Once a local MAC is leant via data plane, EVPN manager receives the MAC address. EVPN manager
then sends the MAC info to L2RIB. L2RIB then forwards the MAC info to BGP and L2FIB. L2FIB sends
the info to Bridge-domain to close the loop on the new MAC learning, BGP sends the MAC as a MAC
route to other EVPN PEs. EVPN route-type 2 or MAC routes are only sent to remote PEs once a local
MAC learn has occurred.
Once a remote PE receives the BGP MAC route, it sends the information to L2RIB. L2RIB forwards the
MAC information to L2FIB and EVPN mgr. L2FIB then forwards the info to bridge-domain to install the
remote MAC.
The following architecture block diagram provides a high-level view of the main components and modules
contributing to the EVPN feature.
Copyright 2017 Cisco Systems 7 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
BUM traffic is forwarded by imposing the label sent by the egress PEs in the BGP IMET route and then
forwarding the packet over an LSP to that PE.
For unicast packet forwarding, in the forwarding plane, the ingress PE needs to do a destination MAC
lookup in the mac-table of its corresponding bridge domain, impose a label advertised by a BGP next-
hop PE and then forward the packet over an LSP to that PE.
On the egress PE side, since this egress PE advertised the label which was imposed by the ingress PE,
when it receives a packet with that label, the egress PE could be to do a lookup in a bridge domain or to
forward directly to a next hop, etc depending on whether or not per-BD or per-CE labeling is used.
Copyright 2017 Cisco Systems 8 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
There are three types of access side service interfaces supported on XE:
In VLAN based service interface, each VLAN is associated to one bridge domain and one EVI.
In VLAN bundle service interface, multiple VLANs can associated to one bridge domain and one EVI.
In VLAN aware service interface, each VLAN is still associated with only one BD, but there can be
multiple BDs associated with one EVI.
Copyright 2017 Cisco Systems 9 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
5 EVPN Route-Types
In EVPN multi-homing scenarios, route types 1,3 and 4 are advertised to discover other PEs and their
redundancy modes. Route-type 2 is used for MAC learning. EVPN introduces the concept of BGP MAC
routing and uses MP-BGP for learning the MAC addresses between the PEs. EVPN introduces four new
BGP route types (1 – 4) and communities.
auto ESI:
===========
type(1 byte) + (6 bytes) + ethernet segment number (3 bytes)
eg:
interface Ethernet0/1
evpn ethernet-segment 2
system-mac aabb.ccdd.eeff
Derived ESI for above config: 03AABBCCDDEEFF000002
Copyright 2017 Cisco Systems 10 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Type 4 ES route:
===================
[type][RD][ESI][IP-address length][originator-ip-address]
auto-RD = IPv4 address:ethernet-segment number
auto-RT = 0x0602:high order 6-octet ESI value
eg: [4][15.15.15.15:2][03AABBCCDDEEFF000002][32][15.15.15.15]/23
EVPN ES-IMPORT:0xAABB:0xCCDD:0xEEFF
Copyright 2017 Cisco Systems 11 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Reference Platforms:
Copyright 2017 Cisco Systems 12 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
6.1.1 How to configure L2VPN EVPN globally and EVI on IOS-XE Router:
l2vpn evpn
replication-type ingress Enables ingress replication label
router-id Loopback0 Configures L2VPN EVPN Router-ID
!
l2vpn evpn instance 10 vlan-based Configures Vlan-based EVI 10
!
l2vpn evpn instance 20 vlan-bundle Configures Vlan-bundled EVI 20
!
l2vpn evpn instance 30 vlan-aware Configures Vlan-aware EVI 30
interface Port-channel1
no ip address
no negotiation auto
evpn ethernet-segment 1 Configures Ethernet Segment ID
identifier type 3 system-mac abcd.abcd.abc1 Configures system MAC
redundancy all-active Configures redundancy mode (all-active/single-active)
service instance 10 ethernet Enables service instance 10 under the physical interface
encapsulation dot1q 10
!
service instance 20 ethernet Enables service instance 20 under the physical interface
encapsulation dot1q 20-21
!
service instance 30 ethernet Enables service instance 30 under the physical interface
encapsulation dot1q 30
interface GigabitEthernet3
no ip address
negotiation auto
isis network point-to-point
isis three-way-handshake cisco
channel-group 1
Copyright 2017 Cisco Systems 13 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
bridge-domain 10
mac aging-time 30 Configures aging time for all MACs learnt under bridge-domain
Copyright 2017 Cisco Systems 14 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
!
address-family ipv4
neighbor 192.168.1.1 activate
neighbor 192.168.1.1 route-reflector-client
neighbor 192.168.1.2 activate
neighbor 192.168.1.2 route-reflector-client
neighbor 192.168.1.3 activate
neighbor 192.168.1.3 route-reflector-client
neighbor 192.168.1.5 activate
neighbor 192.168.1.5 route-reflector-client
neighbor 192.168.1.6 activate
neighbor 192.168.1.6 route-reflector-client
exit-address-family
!
address-family l2vpn evpn Enables L2vpn evpn address family
neighbor 192.168.1.1 activate
neighbor 192.168.1.1 send-community both
neighbor 192.168.1.1 route-reflector-client
neighbor 192.168.1.1 soft-reconfiguration inbound
neighbor 192.168.1.2 activate
neighbor 192.168.1.2 send-community both
neighbor 192.168.1.2 route-reflector-client
neighbor 192.168.1.2 soft-reconfiguration inbound
neighbor 192.168.1.3 activate
neighbor 192.168.1.3 send-community both
neighbor 192.168.1.3 route-reflector-client
neighbor 192.168.1.3 soft-reconfiguration inbound
neighbor 192.168.1.5 activate
neighbor 192.168.1.5 send-community both
neighbor 192.168.1.5 route-reflector-client
neighbor 192.168.1.5 soft-reconfiguration inbound
neighbor 192.168.1.6 activate
Copyright 2017 Cisco Systems 15 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
With eBGP, auto-RT is not supported, so we need to manually configure RT. In the above topology , all the PEs are
configured as iBGP peers. For this use case, we can configure PE5 as ebgp peer to RR. With ebgp , the next-hop gets
changed , so we need to configure next-hop-unchanged in RR
Copyright 2017 Cisco Systems 16 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
There may be situations where a PE loses connectivity to the Core. This might involve the core-facing interface on the PE
going to DOWN state or other upstream events resulting in BGP peering loss. All the BGP routes types 1, 2, 3 and 4 will
be withdrawn after the given timers expire. This will also alert the other PEs in the same Ethernet segment and there will
be a new DF election amongst the remaining PEs. However, the access side switch/node will not be aware of this event
since the multi-homed access interface on the PE will still be in UP state. This will result in traffic being black holed since
the access side switch will continue to forward traffic to the PE.
To remedy this scenario, the core isolation solution is implemented in IOS-XE. There are no extra EVPN configuration for
core isolation. In the event of a BGP peering being lost on the PE or core facing interface goes to DOWN state, the multi-
homed access interfaces on the PE are placed in “err-disabled” state by the IOS-XE. There are no configuration changes
made on these access interfaces. Since the access port is in DOWN state, the link partner on the access switch will also
be in DOWN state and the corresponding port-channel, on the switch, will detect that this member interface has gone
DOWN. Therefore, the Switch will stop forwarding traffic on this interface and load balance traffic amongst the remaining
member interfaces. Once the BGP peering is restored the “err-disabled” states are removed from the multi-homed
access interfaces.
For example, in the diagram below if, the int gig0/0/1 on RR goes DOWN the corresponding int g0/0/1 on PE1 will also go
to DOWN state.
Copyright 2017 Cisco Systems 17 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Once the core facing interface is in DOWN state, the access ports will be placed in “err-disabled” state. In this instance,
gig 0/1/2 is a member of port-channel 10 and gig 0/1/4 is a member of port-channel 20 on PE1. The following table shows
the logs and state of the port-channel, member interfaces and etherchannel once the core isolation is detected and the
logs and state once the core isolation is remedied ( usually via administrator intervention) .
PE1 :
Copyright 2017 Cisco Systems 18 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
!
end
Copyright 2017 Cisco Systems 19 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
end
RU - L3 port-channel UP State
SU - L2 port-channel UP state
P/bndl - Bundled
S/susp - Suspended
PE1#sh l2vpn evpn summary This command is used to verify core isolation
L2VPN EVPN
EVPN Instances (excluding point-to-point): 9
VLAN Aware: 3
VLAN Based: 3
VLAN Bundle: 3
Bridge Domains: 9
BGP: ASN 100, address-family l2vpn evpn configured
Router ID: 10.5.5.5
Label Allocation Mode: Per-BD
Replication Type: Ingress
Forwarding State: UP The output shows forwarding in UP state
MAC Duplication: seconds 180 limit 5
MAC Addresses: 25
Local: 12
Remote: 13
Duplicate: 0
Copyright 2017 Cisco Systems 20 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
PE1#sh l2fib evpn peers This command is used to verify core isolation In this scenario we see evpn peers.
Peer Address RefCount
-------------------- --------
10.6.6.6 9
10.7.7.7 9
10.9.9.9 8
10.1.1.1 8
Switch :
Switch_1#sh etherchannel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
Switch_1#
Copyright 2017 Cisco Systems 21 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
PE1 :
*Apr 26 17:37:12.100 EDT: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/1, changed state to down
*Apr 26 17:37:12.101 EDT: %IOSXE_RP_ALARM-6-INFO: ASSERT CRITICAL GigabitEthernet0/0/1 Physical Port
Link Down
*Apr 26 17:37:12.103 EDT: %OSPF-5-ADJCHG: Process 1, Nbr 54.4.4.4 on GigabitEthernet0/0/1 from FULL to
DOWN, Neighbor Down: Interface down or detached
*Apr 26 17:37:20.227 EDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel10, changed state to
down
*Apr 26 17:37:20.238 EDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel20, changed state to
down
*Apr 26 17:37:20.281 EDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1/4, changed
state to down
*Apr 26 17:40:06.330 EDT: %BGP-3-NOTIFICATION: sent to neighbor 54.4.4.4 4/0 (hold time expired) 0 bytes
*Apr 26 17:40:06.330 EDT: %BGP-5-NBR_RESET: Neighbor 54.4.4.4 reset (BGP Notification sent)
*Apr 26 17:40:06.332 EDT: %BGP-5-ADJCHANGE: neighbor 54.4.4.4 Down BGP Notification sent
*Apr 26 17:40:06.332 EDT: %BGP_SESSION-5-ADJCHANGE: neighbor 54.4.4.4 L2VPN Evpn topology base removed
from session BGP Notification sent
*Apr 26 17:40:06.332 EDT: %BGP_SESSION-5-ADJCHANGE: neighbor 54.4.4.4 IPv4 Unicast topology base removed
from session BGP Notification sent
PE1#
Copyright 2017 Cisco Systems 22 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 23 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 24 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 25 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
RU - L3 port-channel UP State
SU - L2 port-channel UP state
P/bndl - Bundled
S/susp - Suspended
Copyright 2017 Cisco Systems 26 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
end
PE1#
PE1#
PE1#
PE1#
PE1#sh run int gig 0/1/2
Building configuration...
PE1#
PE1#
PE1#
PE1#
PE1#sh run int port-channel 20
Building configuration...
Copyright 2017 Cisco Systems 27 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
PE1#
PE1#
PE1#
PE1#sh run int gig 0/1/4
Building configuration...
PE1#
PE1#
Copyright 2017 Cisco Systems 28 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Switch :
Switch_1#
*Apr 26 16:21:04.096: %IOSXE_INFRA-6-PROCPATH_CLIENT_HOG: IOS shim client 'ngwc fed bipc' has taken 1306
msec (runtime: 1264 msec) to process a 'unknown' message
*Apr 26 16:21:04.187: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1/3, changed state to
down
*Apr 26 16:21:05.564: %IOSXE_INFRA-6-PROCPATH_CLIENT_HOG: IOS shim client 'ngwc fed bipc' has taken 1366
msec (runtime: 1283 msec) to process a 'unknown' message
*Apr 26 16:21:05.571: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/7, changed state to
down
*Apr 26 16:21:06.096: %LINK-3-UPDOWN: Interface GigabitEthernet1/1/3, changed state to down
*Apr 26 16:21:07.564: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/7, changed state to down
Switch_1#
Switch_1#sh etherchannel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
Switch_1#
Copyright 2017 Cisco Systems 29 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
PE1
Copyright 2017 Cisco Systems 30 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 31 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
PE1#sh etherc
PE1#sh etherchannel su
PE1#sh 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
RU - L3 port-channel UP State
SU - L2 port-channel UP state
P/bndl - Bundled
S/susp - Suspended
PE1#
Copyright 2017 Cisco Systems 32 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
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
PE1#
Switch:
Switch_1#
*Apr 26 17:34:19.245: %LINK-3-UPDOWN: Interface GigabitEthernet1/1/3, changed state to up
*Apr 26 17:34:22.458: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/7, changed state to up
*Apr 26 17:34:23.069: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1/3, changed state to
up
*Apr 26 17:34:25.114: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/7, changed state to
up
EDI26#
EDI26#
EDI26#sh etherchannel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
Copyright 2017 Cisco Systems 33 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Switch_1#
interface port-channel1
switchport mode trunk
interface Ethernet1/1
switchport mode trunk
channel-group 1
interface Ethernet1/2
switchport mode trunk
channel-group 1
interface Ethernet1/3
switchport mode trunk
channel-group 1
Copyright 2017 Cisco Systems 34 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Tag field in below output shows if a MAC is locally learnt, aliasing or remotely learnt.
dynamic_c MAC learnt locally
static_a Aliasing MAC
static_r remotely learnt MAC
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
Copyright 2017 Cisco Systems 35 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: The below outputs shows details for all the ethernet-segments attached to the PE. The
details include type 3 ESI, Connected interface, Redundancy mode, split-horizon label and list
of forwarder PEs connected to the same ESI.
Note: Below EVPN manager outputs shows the EVPN manager details regarding an EVI. Also
information regarding the Designated Forwarder (DF) election for an EVI can be retrieved. DF
is responsible for forwarding Broadcast, Unicast and Multicast (BUM) traffic on an ethernet
segment. Route-type 4 is used to carry this information.
Copyright 2017 Cisco Systems 36 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 37 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: Below output shows EVPN manager details regarding the bridge-domain 10.
Note: Below output shows EVPN manager details regarding the EVI 10.
Copyright 2017 Cisco Systems 38 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: Below output shows EAD-ES Route-type 1 details in L2RIB database. The producer is
L2VPN if the PE has a local interface connected to the ESI. Information from a remote PE
connected to the same or different ESI is transported and produced by BGP.
Copyright 2017 Cisco Systems 39 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
ESI: 03AB.CDAB.CDAB.C100.0001
Redundancy Mode: all-active
Next Hop: 192.168.1.2, SH label: 16, all-active, bucket numbers: 24,
192.168.1.3, SH label: 16, all-active, bucket numbers: 24,
Note: Below output shows the EAD-EVI Route-type 1 details for all the configured EVIs. The
details include configured EVI number, ETag, Producer (L2VPN/BGP), ESI number, Next-hop
and forwarding label.
Note: The below output shows Ethernet segment route-type 4 information in L2RIB database
used to elect designated forwarder for an ethernet-segment.
Copyright 2017 Cisco Systems 40 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
ESI: 03AB.CDAB.CDAB.C100.0001
Orig Router IP: 192.168.1.3
Producer: BGP
Ifindex: N/A
NFN Bitmap: 0
ESI: 03AB.CDAB.CDAB.C100.0001
Orig Router IP: 192.168.1.1
Producer: L2VPN
Ifindex: 0xD
NFN Bitmap: 0
Note: The below output shows the MAC produced by L2VPN locally and also learnt from BGP.
EVPN Instance: 10
Ethernet Tag: 0
Producer Name: BGP
MAC Address: 000C.2911.6D2A
Num of MAC IP Route(s): 0
Sequence Number: 0
ESI: 03AB.CDAB.CDAB.C100.0001
Flags: (Stt)
Next Hop(s): L:19 IP:192.168.1.2, L:19 IP:192.168.1.3
Note: Below output shows the MAC learnt as RT 2 from 192.168.1.2 but aliased to 3 resolved
next hops built using EAD-EVI Route-type 1.
Copyright 2017 Cisco Systems 41 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: The below outputs shows the Route-type 3 IMET tunnels created for each EVI.
PE1#show l2fib evpn ead remote Show remote ESIs and path-lists
Ethernet Segment Redundancy Mode Path List
-------------------- --------------- --------------------------------
03ABCDABCDABC1000001 all-active PL:2(2) T:EAD [None][email protected] ...
03ABCDABCDABC2000002 all-active PL:4(2) T:EAD [None][email protected] ...
Copyright 2017 Cisco Systems 42 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: The below outputs shows all the MACs learnt under L2FIB database. Connected interface
for local learns and resolved-path lists for remote learns can be seen.
Port Information:
BD_PORT Po1:10
MPLS_IR PL:797(1) T:IMET [IR][email protected]
MPLS_IR PL:606(1) T:IMET [IR][email protected]
MPLS_IR PL:1196(1) T:IMET [IR][email protected]
MPLS_IR PL:890(1) T:IMET [IR][email protected]
Copyright 2017 Cisco Systems 43 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: The below outputs shows path-list created for the remote MAC 000c.2911.6d2a on PE5.
Show l2fib path-list CLI then can be used to look into the details. Path-list is used for remotely
learnt MACs only. Next-hop interface is used for forwarding locally learnt MAC traffic.
Copyright 2017 Cisco Systems 44 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
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
Note: The below output shows EAD-ES route-type 1 output for EVI 10 in BGP database.
Copyright 2017 Cisco Systems 45 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: The below BGP route-type 4 outputs shows the information regarding the PEs that have
any ESI configured and active. PEs with same ESI contest to be the designated forwarder of
BUM traffic for the ESI using route-type 4.
Copyright 2017 Cisco Systems 46 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: Below BGP route-type 2 details show details about MACs learnt under EVI 10 from all the
PEs. MAC 000C:2911:6D2A has 3 available paths. It is learnt locally on PE1 and also learnt from
PE2 and PE3. Similarly MAC 000C:29F8:5078 is learnt from PE4 and PE5 under EVI 10.
Copyright 2017 Cisco Systems 47 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Note: Below output shows IMET route-type 3 details for EVI 10.
Copyright 2017 Cisco Systems 48 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 49 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
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)
RU - L3 port-channel UP State
SU - L2 port-channel UP state
P/bndl - Bundled
S/susp - Suspended
Copyright 2017 Cisco Systems 50 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
MAC-limit: 65536
Copyright 2017 Cisco Systems 51 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 52 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
CTS dst_sgt: 0
Prefix Length: 0
Prefix:
Lisp local eid: 0
Lisp remote eid: 0
Lisp generalized SMR enabled: 0
Lisp locator status bits: 0
Lisp dynamic configured eid: 0
Lisp dynamic discovered eid: 0
tun_lookup_flags: 0000
vrf_id: 0
no broadcast addr: 0
nat addr: 0
connected interface rx uidb: 0
bgp sourced: 0
origin as: 0
peer as: 0
bgp next hop is v6: 0
bgp next hop address: :
=== OCE ===
Copyright 2017 Cisco Systems 53 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
EVPN Decap OCE: id 0xad, path type MPLS, decap type BUM
EFI EFP: dpidx 0x420012
Flags*: C, S
Misc Info: CPP handle: 0x559278fa05c8 (om_id 397 created)
Transmits: pkt 0, byte 0
Drops: pkt 0, byte 0
Copyright 2017 Cisco Systems 54 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
EVPN Encap OCE: id 0x1838, path type MPLS, encap type Unicast
Next OCE: type LABEL, id 0x1837
EFI EFP: dpidx 0x420012
Flags*: C, S
Misc Info: CPP handle: 0x559278f9f6f8 (om_id 7464 created)
Transmits: pkt 0, byte 0
Drops: pkt 0, byte 0
Copyright 2017 Cisco Systems 55 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Label flags: : 65
Num Labels: : 1
Num Bk Labels: : 0
Out Labels: : 3
Out Backup Labels: :
Next HW OCE Ptr: : 0x8cd804b0
=== OCE ===
4RU#
Copyright 2017 Cisco Systems 56 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 57 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Copyright 2017 Cisco Systems 58 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Fixup_Falgs_2: : 0
BD id : 100
State enabled : Yes
Aging timeout (sec) : 300
Aging active entry : Yes
Max mac limit : 65536
Unkwn mac limit flood : Yes
mac_learn_enabled : Yes
mac_learn_controled : Yes
use_olist_for_unknown_unicast : Yes
arp_suppression_enabled : No
otv_aed_enabled : No
otv_enabled : No
evpn_enabled : Yes
mcast_snooping_enabled : No
Mac learned :2
BDI outer vtag : 00000000
BDI inner vtag : 00000000
Copyright 2017 Cisco Systems 59 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
4RU#show platform hardware qfp active feature bridge-domain datapath 100 flood-list
Flood List for Bridge Domain 100:
GigabitEthernet0/1/2.EFP1
EFI1.4325405 EVPN [Remote:2.2.2.2]
EFI1.4325405 EVPN [Remote:3.3.3.3]
BD id :1
State enabled : Yes
Copyright 2017 Cisco Systems 60 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
7 Troubleshooting
Apart from the detailed show outputs discussed in the previous section below is the list of debug
commands that can be useful while troubleshooting issues.
Copyright 2017 Cisco Systems 61 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
Configuration order:
Unconfiguration Order:
Copyright 2017 Cisco Systems 62 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.
Date printed: 4/16/2018 IOS-XE EVPN MPLS Configuration guide, EDCS-11781407
2. It might take up to 60 seconds for an EVI to be cleaned up after deletion. During this time EVI will
be in delete pending state. This is due to BGP update timer which runs at 60 seconds interval.
EVI waits on for BGP routes to be cleared during that time.
3. To make sure you use the correct IP address for EVPN router-ID, configure a loopback interface
prior to configuring EVPN. If there is no loopback configured then EVPN would take the next
lowest physical IP address.
4. If the underlay is Segment-Routing. Make sure the EVPN Router-ID being used has a prefix-SID
advertised so that it can be reached by remote PEs using the SR label path.
8 Appendix
Copyright 2017 Cisco Systems 63 Cisco Highly Confidential – Controlled Access A printed copy of this
document is considered uncontrolled. Refer to the online version for the controlled revision.