OcNOS SP : Multi-Protocol Label Switching Guide : Ethernet Virtual Private Network Configuration : EVPN MPLS IRB Configuration
EVPN MPLS IRB Configuration
This chapter includes step-by-step configurations for EVPN MPLS IRB.
Overview
EVPN provides an extensible and flexible multihoming VPN solution over an MPLS/IP network for intra-subnet connectivity among Tenant Systems (TSs) and end devices that can be physical or virtual, where an IP subnet is represented by an EVPN instance (EVI) for a VLAN-based service or by an (EVI, VLAN) association for a VLAN-aware bundle service. However, there are scenarios for which there is a need for a dynamic and efficient inter-subnet connectivity among these Tenant Systems and end devices while maintaining the multihoming capabilities of EVPN. This document describes an Integrated Routing and Bridging (IRB) solution based on EVPN to address such requirements
Integrated Routing and Bridging combines switching of tenant data with routing into different VNID of the same tenant. This is accomplished by having a unique per-tenant layer 3 IP-VRF across all PEs hosting tenant systems for that tenant and the layer-2 MAC VRFs (mapping to one or more bridged domains (VNIDS)) belonging to that tenant on different PEs being mapped to the common IP-VRF through logical interfaces called IRB interfaces. The MAC-VRF tables are used for switching intra-subnet communication whereas the IP-VRF tables are used for routing inter-subnet traffic.
IRB has two modes of working.
Asymmetric IRB (Anycast and Centralized)
Symmetric IRB (Distributed)
Asymmetric IRB
In asymmetric IRB, the lookup operation is asymmetric and the ingress PE performs three lookups, whereas the egress PE performs a single lookup -- i.e., the ingress PE performs a MAC lookup, followed by an IP lookup, followed by a MAC lookup again. The egress PE performs just a single MAC lookup as depicted in following figure:
Asymmetric IRB
In other words, each PE participating in asymmetric IRB MUST maintain ARP entries for remote hosts (hosts connected
to other PEs) as well as maintain MAC-VRFs/BTs and IRB interfaces for ALL subnets in an IP-VRF, including subnets that may not be locally attached.
Symmetric IRB
In symmetric IRB, as its name implies, the lookup operation is symmetric at both the ingress and egress PEs -- i.e., both ingress and egress PEs perform lookups on both MAC and IP addresses. The ingress PE performs a MAC lookup followed by an IP lookup, and the egress PE performs an IP lookup followed by a MAC lookup, as depicted in the following figure:
Symmetric IRB
Therefore, in symmetric IRB, there is no need for the ingress PE to maintain ARP entries for the association of the destination TS2's IP and MAC addresses in its ARP table. Each PE participating in symmetric IRB only maintains ARP entries for locally connected hosts and MAC-VRFs/BTs for only locally configured subnets.
Route Types
These EVPN route types are supported:
Route Type 1: Ethernet Auto-Discovery (AD) Route
The Ethernet (AD) routes are advertised on per EVI and per ESI basis. These routes are sent per ES. They carry the list of EVIs that belong to the ES.
This route is advertised when multihomed CEs already exist.
Route Type 2: MAC/IP Advertisement Route
The host's IP and MAC addresses are advertised to the peers within NLRI. The control plane learning of MAC addresses reduces unknown unicast flooding.
Route Type 3: Inclusive Multicast Ethernet Tag Route
This route establishes the connection for broadcast, unknown unicast, and multicast (BUM) traffic from a source PE to a remote PE.
This route is advertised on per VLAN and per ESI basis.
Route Type 4: Ethernet Segment Route
Ethernet segment routes enable to connect a CE device to two or PE devices.
Ethernet segment routes enable the discovery of connected PE devices that are connected to the same Ethernet segment.
Route Type 5: IP prefix Route
An IP prefix route provides encoding for inter-subnet forwarding. In the control plane, EVPN Type 5 routes are used to advertise IP prefixes for inter-subnet connectivity across data centers.
In EVPN-VPWS the auto-discovery of peer PE nodes is done with the pair of Ethernet A-D routes. Inclusive Multicast route does not have participation on auto-discovery unlike ELAN-EVPN VPLS. Since there is no MAC-advertisement, MAC-IP route is not applicable.
Note:  
1. RD value should be unique for multihoming nodes.
2. ANYCAST gateway MAC is mandatory on multihoming nodes.
3. "rewrite pop" is mandatory on access interface.
4. arp-nd refresh timer needs to be configured to avoid ARP table getting clear after ARP timeout.
EVPN MPLS IRB Symmetric Distributed mode
Topology
Figure 2-3 depicts the EVPN MPLS IRB with LDP as underlay MPLS path.
 
EVPN MPLS IRB Distributed configuration
Configurations
SH1
Enable EVPN MPLS and IRB
 
#configure terminal
Enter configuration mode.
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
Loopback Interface
 
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 5.5.5.5/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF
 
(config)#mac vrf green
Create MAC VRF green.
(config-vrf)# rd 5.5.5.5:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
Configure IP VRF
 
(config)#ip vrf evpn
Configure IP VRF evpn.
(config-vrf)# rd 30:200
Configure route distinguisher
(config-vrf)# route-target both 100:200
Configure route target
(config-vrf)# l3vni 20000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
Configuring IRB interface
 
(config)#interface irb200
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 70.70.1.1/24
Assign IP address
(config-irb-if)#exit
Exit interface mode
Creating EVPN MPLS ID
 
(config)#evpn mpls vtep-ip-global 5.5.5.5
Configure VTEP global IP
(config)#evpn mpls id 200
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability- protocol evpn-bgp green
Map the MAC VRF green
(config-evpn-mpls)# evpn irb irb200
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
Global LDP
 
(config)#router ldp
Enter the Router LDP mode.
(config-router)#router-id 5.5.5.5
Enter LDP router-id
(config-router)# transport-address ipv4 5.5.5.5
Configure LDP transport address
(config-router)# targeted-peer ipv4 2.2.2.2
Configure LDP target peer address (MH-1)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)# targeted-peer ipv4 3.3.3.3
Configure LDP target peer address (MH-2)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
Interface Configuration Network Side
 
(config-if)#interface xe6
Enter interface mode
(config-if)# description connected to P1
Configure interface description
(config-if)# ip address 30.30.30.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration
 
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)#ospf router-id 5.5.5.5
Configure OSPF router id
(config-router)# network 5.5.5.5/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 30.30.30.0/24 area 0.0.0.0
Advertise network address in OSPF.
(config-router)#exit
Exit OSPF mode
BGP Configuration
 
(config)#router bgp 65010
Enter the Router BGP mode, ASN: 65010
(config-router)# neighbor 2.2.2.2 remote-as 65010
Configuring MH-1 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 2.2.2.2 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 3.3.3.3 remote-as 65010
Configuring MH-2 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 3.3.3.3 update- source lo
Source of routing updates as loopback
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 2.2.2.2 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 3.3.3.3 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
Access Port Configuration
 
(config-if)#interface sa9000
Creating Static LAG interface
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)#exit
Exiting out of interface mode
(config-if)#interface sa9000.200 switchport
Creating Static LAG L2 sub interface of physical interface xe12
(config-if)# encapsulation dot1q 200
Setting Encapsulation to dot1q with VLAN ID 200
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)#map vpn-id 200
Map VPN-ID 200
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config-if)#interface xe12
Enter the Interface mode
(config-if)# static-channel-group 9000
Map the physical interface xe12 as static LAG member
(config-if)#exit
Exit interface mode
P1
Loopback Interface:
 
#configure terminal
Enter configuration mode.
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 4.4.4.4/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Global LDP
 
(config)#router ldp
Enter the Router LDP mode.
(config-router)# router-id 4.4.4.4
Configure router id
(config-router)# transport-address ipv4 4.4.4.4
Configure transport address
(config-router)#exit
Exit from LDP mode
(config-router)#exit
Exit from LDP mode
Interface Configuration
 
(config-if)#interface xe4
Enter the Interface mode for xe4.
(config-if)# mtu 9216
Configure MTU.
(config-if)#exit
Enable LDP on the physical interface
(config)#interface xe4.1
Create sub-interface xe4.1.
(config-if)# description connected-to-MH-1
Configure Interface description
(config-if)# ip address 10.10.10.2/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# encapsulation dot1q 20
Configure encapsulation as dotq
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe1
Enter into Interface mode
(config-if)# description connected to MH-2
Configure Interface description
(config-if)# ip address 20.20.20.2/24
Cofigure IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe6
Enter into Interface mode
(config-if)# description connected to SH
Configure Interface description
(config-if)# ip address 30.30.30.2/24
Assign IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration
 
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 4.4.4.4
Setting the Router ID as Loopback IP
(config-router)# network 4.4.4.4/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 10.10.10.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)# network 20.20.20.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)# network 30.30.30.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)#exit
Exit Router OSPF mode and return to Configure mode.
(config)#commit
Commit candidate configuration to be running configuration
MH-1
Enable EVPN MPLS and IRB
 
#configure terminal
Enter configuration mode.
(config)#hardware-profile filter evpn-mpls-mh enable
Configure hardware profile to enable EVPN MPLS multi homing in hardware
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
(config)#evpn mpls multihoming enable
Enable EVPN MPLS multihoming globally
Loopback Interface
 
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)#ip address 2.2.2.2/32 secondarysss
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF
 
(config-vrf)#mac vrf green
Create MAC VRF green.
(config-vrf)# rd 2.2.2.2:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto-rt(we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
Configure IP VRF
 
(config)#ip vrf evpn
Configure IP VRF evpn.
(config-vrf)# rd 10:200
Configure route distinguisher
(config-vrf)# route-target both 100:200
Configure route target
(config-vrf)# l3vni 20000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
Configure Anycast Gateway MAC
:
(config)#evpn irb-forwarding anycast-gateway- mac 0011.2233.4455
Configure anycast gateway MAC globally
(config)#interface irb100
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 80.80.1.1/24 anycast
Assign IP address
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
Creating EVPN MPLS ID
 
(config)#evpn mpls vtep-ip-global 2.2.2.2
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachabilityprotocol evpn-bgp green
Map the MAC VRF green
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
Global LDP
 
(config)#router ldp
Enter the Router LDP mode
(config-router)#router-id 2.2.2.2
Enter LDP router-id
(config-router)# transport-address ipv4 2.2.2.2
Configure LDP transport address
(config-router)# targeted-peer ipv4 5.5.5.5
Configure LDP target peer address (SH)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
Interface Configuration Network Side
 
(config-if)#interface xe0
Enter the Interface mode for xe0.
(config-if)# mtu 9216
Configure MTU.
(config-if)#exit
Exit from interface xe0
(config)#interface xe0.1
Create subinterface in xe10
(config-if)# encapsulation dot1q 20
Configure encapsulation as dotq
(config-if)# ip address 10.10.10.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
OSPF Configuration
 
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 2.2.2.2
Router-ID configurations
(config-router)# network 2.2.2.2/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 10.10.10.0/24 area 0.0.0.0
Advertise network address in OSPF.
BGP Configuration
 
(config-router)#router bgp 65010
Enter the Router BGP mode, ASN: 100
(config-router)# neighbor 3.3.3.3 remote-as 65010
Configuring PE2 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 3.3.3.3 update-source
lo
Source of routing updates as loopback
(config-router)# neighbor 5.5.5.5 remote-as 65010
Configuring PE2 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 5.5.5.5 update-source
lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 3.3.3.3 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 5.5.5.5 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
Access Port Configuration
 
(config)#interface xe9
Enter configuration mode
(config-if)# mtu 9216
Configure MTU
(config-if)# channel-group 10000 mode active
Configure physical interface xe9 as LAG member po10000
(config-if)#exit
Exit from interface xe9
(config)#interface po10000
Create LAG interface po10000
(config-if)# mtu 9216
Configure MTU
(config-if)# description connected to Switch
Configure Interface description
(config-if)# evpn multi-homed system-mac 0000.1111.aaaa
Configure system MAC for multi homing
(config)#interface po10000.100 switchport
Creating L2 sub interface of physical interface xe9
(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 100
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
MH-2
Enable EVPN MPLS and IRB
 
#configure terminal
Enter configuration mode.
(config)#hardware-profile filter evpn-mplsmh
enable
Configure hardware profile to enable EVPN MPLS multi
homing in hardware
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
(config)#evpn mpls multihoming enable
Enable EVPN MPLS multihoming globally
Loopback Interface
 
(config-if)#interface lo
Enter the Interface mode for the loopback interface
(config-if)# ip address 3.3.3.3/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF
 
(config-vrf)#mac vrf green
Create MAC VRF green.
(config-vrf)# rd 3.3.3.3:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto-rt (we can configure as
manual RT also)
(config-vrf)#exit
Exit VRF mode
Configure IP VRF
 
(config)#ip vrf evpn
Configure IP VRF evpn.
(config-vrf)# rd 20:200
Configure route distinguisher
(config-vrf)# route-target both 100:200
Configure route target
(config-vrf)# l3vni 20000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
Configure Anyc ast Gateway MAC
 
(config)#evpn irb-forwarding anycastgateway-
mac 0011.2233.4455
Configure anycast gateway MAC globally
Configuring IRB interface
 
(config)#interface irb100
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 80.80.1.1/24 anycast
Assign IP address
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
Creating EVPN MPLS ID
 
(config)#evpn mpls vtep-ip-global 3.3.3.3
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol evpn-bgp green
Map the MAC VRF green
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
Global LDP
 
(config)#router ldp
Enter the Router LDP mode.
(config-router)# transport-address ipv4 3.3.3.3
Configure LDP transport address
(config-router)# targeted-peer ipv4 5.5.5.5
Configure LDP target peer address (SH)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
Interface Configuration Network Side
 
(config-if)#interface xe10
Enter the configuration mode.
(config-if)# description connected to P1
Configure Interface description
(config-if)# ip address 20.20.20.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration
 
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 3.3.3.3
Router-ID configurations
(config-router)# network 3.3.3.3/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 20.20.20.0/24 area 0.0.0.0
Advertise network address in OSPF.
BGP Configuration
 
(config-router)#router bgp 65010
Enter the Router BGP mode, ASN: 100
(config-router)# neighbor 2.2.2.2 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 2.2.2.2 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 5.5.5.5 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 5.5.5.5 update-source lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 2.2.2.2 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 5.5.5.5 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
Access Port Configuration
 
(config)#interface xe21
Enter configuration mode
(config-if)# mtu 9216
Configure MTU
(config-if)# channel-group 10000 mode active
Configure physical interface xe21 as LAG member po10000
(config-if)#exit
Exit from interface xe21
(config)#interface po10000
Create LAG interface po10000
(config-if)# mtu 9216
Configure MTU
(config-if)# description connected to Switch
Configure Interface description
(config-if)# evpn multi-homed system-mac 0000.1111.aaaa
Configure system MAC for multi homing
(config)#interface po10000.100 switchport
Creating L2 sub interface of physical interface xe21
(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 100
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
Validation
Note: Remote entries cannot be fetched from through MAC table/ARP cache/ND cache. However they can be fetched from the BGP table.
MH-1
 
MH-1#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 3.3.3.3
100 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
100 ---- -- AC po10000.100 00:00:00:11:11:aa:aa:00:00:00 ---- DF ---- ----
200 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 3.3.3.3
200 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
200 ---- -- AC po10000.200 00:00:00:11:11:aa:aa:00:00:00 ---- DF ---- ----
10000 ---- L3 NW ---- ---- ---- ---- 2.2.2.2 3.3.3.3
10000 ---- L3 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
 
Total number of entries are 8
MH-1#
MH-1#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
2.2.2.2 3.3.3.3 Installed 01:16:34 01:16:34 200
2.2.2.2 3.3.3.3 Installed 01:16:34 01:16:34 100
2.2.2.2 3.3.3.3 Installed 01:23:48 01:23:48 10000
2.2.2.2 5.5.5.5 Installed 01:14:59 01:14:59 200
2.2.2.2 5.5.5.5 Installed 01:14:59 01:14:59 100
2.2.2.2 5.5.5.5 Installed 01:23:48 01:23:48 10000
 
Total number of entries are 6
MH-1#
MH-1#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 irb100 ---- ---- 0011.2233.4455 2.2.2.2 Static Local ------- 0 -------
100 ---- ---- ---- 9819.2c86.3e01 5.5.5.5 Static Remote ------- 0 -------
100 po10000.100 ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Local ------- 0 -------
100 ---- ---- ---- 0010.9400.0004 5.5.5.5 Dynamic Remote ------- 0 -------
200 irb200 ---- ---- 0011.2233.4455 2.2.2.2 Static Local ------- 0 -------
200 ---- ---- ---- 9819.2c86.3e01 5.5.5.5 Static Remote ------- 0 -------
200 po10000.200 ---- ---- 0010.9400.0002 00:00:00:11:11:aa:aa:00:00:00 Dynamic Local ------- 0 -------
200 ---- ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Remote ------- 0 -------
 
Total number of entries are : 8
 
MH-1#
MH-1#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
ARP Timeout : 300 sec Random-Jitter-Max : 200
 
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.1 0011.2233.4455 Static Local ----
100 80.80.1.2 0010.9400.0001 Dynamic Local 244 2
100 80.80.1.3 9819.2c86.3e01 Static Remote ----
100 80.80.1.4 0010.9400.0004 Dynamic Remote ----
200 90.90.1.1 0011.2233.4455 Static Local ----
200 90.90.1.2 0010.9400.0002 Dynamic Local ----
200 90.90.1.3 9819.2c86.3e01 Static Remote ----
200 90.90.1.4 0010.9400.0005 Dynamic Remote ----
Total number of entries are 8
MH-1#
MH-1#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
 
RD[2.2.2.2:64512] VRF[evpn-gvrf-1]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
MH-1#
MH-1#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
MH-1#
MH-1#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 19
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 19
MH-1#
MH-1#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 200 18
MH-1#
MH-1#sh bgp l2vpn evpn
BGP table version is 10, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[20:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
3.3.3.3 0 100 0 ? 3.3.3.3 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
3.3.3.3 0 100 0 ? 3.3.3.3 MPLS
 
RD[30:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
5.5.5.5 0 100 0 ? 5.5.5.5 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
5.5.5.5 0 100 0 ? 5.5.5.5 MPLS
 
RD[2.2.2.2:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> 2.2.2.2 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 32768 i ---------- MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> 2.2.2.2 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*> [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> 2.2.2.2 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 32768 i ---------- MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> 2.2.2.2 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*> [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[2.2.2.2:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 32768 i ---------- MPLS
*> [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[5.5.5.5:100]
*>i [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[5.5.5.5:200]
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
Total number of prefixes 45
MH-1#
MH-1#sh bgp l2vpn evpn prefix-route
 
RD[20:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 3.3.3.3 MPLS e8c5:7ad2:5d98
0 0 24 90.90.1.0 0.0.0.0 16 3.3.3.3 MPLS e8c5:7ad2:5d98
 
RD[30:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 5.5.5.5 MPLS 9819:2c86:3e01
0 0 24 90.90.1.0 0.0.0.0 16 5.5.5.5 MPLS 9819:2c86:3e01
MH-1#
MH-1#sh bgp l2vpn evpn summary
BGP router identifier 2.2.2.2, local AS number 65010
BGP table version is 10
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
3.3.3.3 4 65010 205 203 9 0 0 01:17:25 10 3 2 2 1 2
5.5.5.5 4 65010 187 197 9 0 0 01:15:01 10 0 6 2 0 2
 
Total number of neighbors 2
 
Total number of Established sessions 2
MH-1#
MH-1#sh ip bgp vrf evpn_anycast
BGP table version is 1, local router ID is 90.90.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 80.80.1.0/24 0.0.0.0 0 100 32768 ?
* i 5.5.5.5 0 100 0 ?
* i 3.3.3.3 0 100 0 ?
*> 90.90.1.0/24 0.0.0.0 0 100 32768 ?
* i 5.5.5.5 0 100 0 ?
* i 3.3.3.3 0 100 0 ?
 
Total number of prefixes 2
MH-1#
MH-1#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 3.3.3.3/32 1 3
2 - Yes LSP_DEFAULT 25600 xe0.1 No 10.10.10.2
L> 4.4.4.4/32 2 6
5 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
L> 5.5.5.5/32 5 8
7 - Yes LSP_DEFAULT 25603 xe0.1 No 10.10.10.2
L> 20.20.20.0/24 3 6
5 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
L> 30.30.30.0/24 4 6
5 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
MH-1#
MH-1#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
5.5.5.5 xe0.1 Passive OPERATIONAL 30 01:14:50
4.4.4.4 xe0.1 Passive OPERATIONAL 30 01:16:35
MH-1#
MH-1#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:39 10.10.10.2 xe0.1 0
MH-1#
MH-1#sh nvo vxlan l3vni-map
L3VNI L2VNI IRB-interface
===================================
10000 100 irb100
10000 200 irb200
 
MH-1#
MH-2
 
MH-2#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5
100 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 2.2.2.2
100 ---- -- AC po10000.100 00:00:00:11:11:aa:aa:00:00:00 ---- NON-DF ---- ----
200 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5
200 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 2.2.2.2
200 ---- -- AC po10000.200 00:00:00:11:11:aa:aa:00:00:00 ---- NON-DF ---- ----
10000 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5
10000 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 2.2.2.2
 
Total number of entries are 8
MH-2#
MH-2#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
3.3.3.3 5.5.5.5 Installed 01:15:41 01:15:41 200
3.3.3.3 5.5.5.5 Installed 01:15:41 01:15:41 100
3.3.3.3 5.5.5.5 Installed 01:24:08 01:24:08 10000
3.3.3.3 2.2.2.2 Installed 01:17:15 01:17:15 200
3.3.3.3 2.2.2.2 Installed 01:17:15 01:17:15 100
3.3.3.3 2.2.2.2 Installed 01:24:08 01:24:08 10000
 
Total number of entries are 6
MH-2#
MH-2#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 irb100 ---- ---- 0011.2233.4455 3.3.3.3 Static Local ------- 0 -------
100 ---- ---- ---- 9819.2c86.3e01 5.5.5.5 Static Remote ------- 0 -------
100 ---- ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
100 ---- ---- ---- 0010.9400.0004 5.5.5.5 Dynamic Remote ------- 0 -------
200 irb200 ---- ---- 0011.2233.4455 3.3.3.3 Static Local ------- 0 -------
200 ---- ---- ---- 9819.2c86.3e01 5.5.5.5 Static Remote ------- 0 -------
200 ---- ---- ---- 0010.9400.0002 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
200 ---- ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Remote ------- 0 -------
 
Total number of entries are : 8
 
MH-2#
MH-2#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
ARP Timeout : 300 sec Random-Jitter-Max : 200
 
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.1 0011.2233.4455 Static Local ----
100 80.80.1.2 0010.9400.0001 Dynamic Remote ----
100 80.80.1.3 9819.2c86.3e01 Static Remote ----
100 80.80.1.4 0010.9400.0004 Dynamic Remote ----
200 90.90.1.1 0011.2233.4455 Static Local ----
200 90.90.1.2 0010.9400.0002 Dynamic Remote ----
200 90.90.1.3 9819.2c86.3e01 Static Remote ----
200 90.90.1.4 0010.9400.0005 Dynamic Remote ----
Total number of entries are 8
MH-2#
MH-2#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:64512] VRF[evpn-gvrf-1]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
MH-2#
MH-2#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
MH-2#
MH-2#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 19
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 19
MH-2#
MH-2#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 200 18
MH-2#
MH-2#sh bgp l2vpn evpn
BGP table version is 16, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
2.2.2.2 0 100 0 ? 2.2.2.2 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
2.2.2.2 0 100 0 ? 2.2.2.2 MPLS
 
RD[30:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
5.5.5.5 0 100 0 ? 5.5.5.5 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
5.5.5.5 0 100 0 ? 5.5.5.5 MPLS
 
RD[2.2.2.2:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[3.3.3.3:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
 
RD[5.5.5.5:100]
*>i [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[5.5.5.5:200]
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
Total number of prefixes 49
MH-2#
MH-2#sh bgp l2vpn evpn prefix-route
 
RD[10:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7a88:1738
0 0 24 90.90.1.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7a88:1738
 
RD[30:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 5.5.5.5 MPLS 9819:2c86:3e01
0 0 24 90.90.1.0 0.0.0.0 16 5.5.5.5 MPLS 9819:2c86:3e01
MH-2#
MH-2#sh bgp l2vpn evpn summary
BGP router identifier 3.3.3.3, local AS number 65010
BGP table version is 16
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2.2.2.2 4 65010 203 207 16 0 0 01:18:08 14 3 6 2 1 2
5.5.5.5 4 65010 190 202 16 0 0 01:15:43 10 0 6 2 0 2
 
Total number of neighbors 2
 
Total number of Established sessions 2
MH-2#
MH-2#sh ip bgp vrf evpn_anycast
BGP table version is 1, local router ID is 90.90.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 80.80.1.0/24 0.0.0.0 0 100 32768 ?
* i 5.5.5.5 0 100 0 ?
* i 2.2.2.2 0 100 0 ?
*> 90.90.1.0/24 0.0.0.0 0 100 32768 ?
* i 5.5.5.5 0 100 0 ?
* i 2.2.2.2 0 100 0 ?
 
Total number of prefixes 2
MH-2#
MH-2#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 1 3
2 - Yes LSP_DEFAULT 25601 xe10 No 20.20.20.2
L> 4.4.4.4/32 2 6
5 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
L> 5.5.5.5/32 5 8
7 - Yes LSP_DEFAULT 25602 xe10 No 20.20.20.2
L> 10.10.10.0/24 3 6
5 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
L> 30.30.30.0/24 4 6
5 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
MH-2#
MH-2#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
5.5.5.5 xe10 Passive OPERATIONAL 30 01:15:31
4.4.4.4 xe10 Passive OPERATIONAL 30 01:17:16
MH-2#
MH-2#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:33 20.20.20.2 xe10 0
MH-2#
MH-2#sh nvo vxlan l3vni-map
L3VNI L2VNI IRB-interface
===================================
10000 100 irb100
10000 200 irb200
 
MH-2#
SH
SH#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 2.2.2.2
100 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3
100 ---- -- AC sa9000.100 --- Single Homed Port --- ---- ---- ---- ----
200 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 2.2.2.2
200 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3
200 ---- -- AC sa9000.200 --- Single Homed Port --- ---- ---- ---- ----
10000 ---- L3 NW ---- ---- ---- ---- 5.5.5.5 2.2.2.2
10000 ---- L3 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3
 
Total number of entries are 8
SH#
SH#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
5.5.5.5 2.2.2.2 Installed 01:15:49 01:15:49 200
5.5.5.5 2.2.2.2 Installed 01:15:49 01:15:49 100
5.5.5.5 2.2.2.2 Installed 01:25:33 01:25:33 10000
5.5.5.5 3.3.3.3 Installed 01:15:49 01:15:49 200
5.5.5.5 3.3.3.3 Installed 01:15:49 01:15:49 100
5.5.5.5 3.3.3.3 Installed 01:25:33 01:25:33 10000
 
Total number of entries are 6
SH#
SH#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 ---- ---- ---- 0011.2233.4455 2.2.2.2 Static Remote ------- 0 -------
100 irb100 ---- ---- 9819.2c86.3e01 5.5.5.5 Static Local ------- 0 -------
100 ---- ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
100 sa9000.100 ---- ---- 0010.9400.0004 5.5.5.5 Dynamic Local ------- 0 -------
200 ---- ---- ---- 0011.2233.4455 2.2.2.2 Static Remote ------- 0 -------
200 irb200 ---- ---- 9819.2c86.3e01 5.5.5.5 Static Local ------- 0 -------
200 ---- ---- ---- 0010.9400.0002 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
200 sa9000.200 ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Local ------- 0 -------
 
Total number of entries are : 8
 
SH#
SH#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.1 0011.2233.4455 Static Remote ----
100 80.80.1.2 0010.9400.0001 Dynamic Remote ----
100 80.80.1.3 9819.2c86.3e01 Static Local ----
100 80.80.1.4 0010.9400.0004 Dynamic Local ----
200 90.90.1.1 0011.2233.4455 Static Remote ----
200 90.90.1.2 0010.9400.0002 Dynamic Remote ----
200 90.90.1.3 9819.2c86.3e01 Static Local ----
200 90.90.1.4 0010.9400.0005 Dynamic Local ----
Total number of entries are 8
SH#
SH#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[5.5.5.5:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
SH#
SH#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[5.5.5.5:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
SH#
SH#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 19
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 19
SH#
SH#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 200 18
SH#
SH#sh bgp l2vpn evpn
BGP table version is 6, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
2.2.2.2 0 100 0 ? 2.2.2.2 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
2.2.2.2 0 100 0 ? 2.2.2.2 MPLS
 
RD[20:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
3.3.3.3 0 100 0 ? 3.3.3.3 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
3.3.3.3 0 100 0 ? 3.3.3.3 MPLS
 
RD[2.2.2.2:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 32768 i ---------- MPLS
*> [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 32768 i ---------- MPLS
 
RD[5.5.5.5:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 32768 i ---------- MPLS
*> [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 32768 i ---------- MPLS
 
Total number of prefixes 46
SH#
SH#sh bgp l2vpn evpn prefix-route
 
RD[10:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7a88:1738
0 0 24 90.90.1.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7a88:1738
 
RD[20:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 3.3.3.3 MPLS e8c5:7ad2:5d98
0 0 24 90.90.1.0 0.0.0.0 16 3.3.3.3 MPLS e8c5:7ad2:5d98
SH#
SH#sh bgp l2vpn evpn summary
BGP router identifier 5.5.5.5, local AS number 65010
BGP table version is 6
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2.2.2.2 4 65010 198 189 5 0 0 01:15:56 14 3 6 2 1 2
3.3.3.3 4 65010 203 191 5 0 0 01:15:55 10 3 2 2 1 2
 
Total number of neighbors 2
 
Total number of Established sessions 2
SH#
SH#sh ip bgp vrf evpn_anycast
BGP table version is 1, local router ID is 90.90.1.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 80.80.1.0/24 0.0.0.0 0 100 32768 ?
* i 3.3.3.3 0 100 0 ?
* i 2.2.2.2 0 100 0 ?
*> 90.90.1.0/24 0.0.0.0 0 100 32768 ?
* i 3.3.3.3 0 100 0 ?
* i 2.2.2.2 0 100 0 ?
 
Total number of prefixes 2
SH#
SH#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 1 3
2 - Yes LSP_DEFAULT 25604 xe6 No 30.30.30.2
L> 3.3.3.3/32 2 6
5 - Yes LSP_DEFAULT 25605 xe6 No 30.30.30.2
L> 4.4.4.4/32 3 9
8 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
L> 10.10.10.0/24 4 9
8 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
L> 20.20.20.0/24 5 9
8 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
SH#
SH#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
2.2.2.2 xe6 Active OPERATIONAL 30 01:15:46
3.3.3.3 xe6 Active OPERATIONAL 30 01:15:44
4.4.4.4 xe6 Active OPERATIONAL 30 01:15:51
SH#
SH#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:33 30.30.30.2 xe6 0
SH#
SH#sh nvo vxlan l3vni-map
L3VNI L2VNI IRB-interface
===================================
10000 100 irb100
10000 200 irb200
 
SH#
P1
 
P1#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
3.3.3.3 xe1 Active OPERATIONAL 30 01:21:33
2.2.2.2 xe4.1 Active OPERATIONAL 30 01:21:35
5.5.5.5 xe6 Passive OPERATIONAL 30 01:19:55
P1#
P1#sh ip ospf neighbor
 
Total number of full neighbors: 3
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
2.2.2.2 1 Full/Backup 00:00:37 10.10.10.1 xe4.1 0
3.3.3.3 1 Full/Backup 00:00:35 20.20.20.1 xe1 0
5.5.5.5 1 Full/Backup 00:00:35 30.30.30.1 xe6 0
P1#
P1#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 1 2
1 - Yes LSP_DEFAULT 3 xe4.1 No 10.10.10.1
L> 3.3.3.3/32 2 4
3 - Yes LSP_DEFAULT 3 xe1 No 20.20.20.1
L> 5.5.5.5/32 3 8
7 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.1
P1#
EVPN MPLS IRB Asymmetric Anycast mode
Topology:
Refer Figure 2-4 depicts the EVPN MPLS IRB with LDP as underlay MPLS path.
 
 
EVPN MPLS IRB Asymmetric Anycast mode
 
 
 
 
 
 
Configuration
SH
 
Enable EVPN MPLS and IRB:
#configure terminal
Enter configuration mode.
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
Loopback Interface:
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 5.5.5.5/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
 
Configure MAC VRF:
(config)#mac vrf red
Create MAC VRF red.
(config-vrf)# rd 5.5.5.5:100
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
(config)#mac vrf blue
Create MAC VRF blue.
(config-vrf)# rd 5.5.5.5:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
 
Configure IP VRF:
(config)#ip vrf evpn_anycast
Configure IP VRF evpn.
(config-vrf)# rd 30:200
Configure route distinguisher
(config-vrf)# route-target both 100:200
Configure route target
(config-vrf)# l3vni 10000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
 
Configuring IRB interface:
 
(config)#interface irb100
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn_anycast
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 80.80.1.3/24 anycast
Assign IP address
(config-irb-if)#exit
Exit interface mode
(config)#interface irb200
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn_anycast
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 90.90.1.3/24 anycast
Assign IP address
(config-irb-if)#exit
Exit interface mode
 
Creating EVPN MPLS ID:
(config)#evpn mpls vtep-ip-global 5.5.5.5
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability- protocol evpn-bgp red
Map the MAC VRF red
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
(config)#evpn mpls id 200
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability- protocol evpn-bgp blue
Map the MAC VRF blue
(config-evpn-mpls)# evpn irb irb200
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
Global LDP:
(config)#router ldp
Enter the Router LDP mode.
(config-router)#router-id 5.5.5.5
Enter LDP router-id
(config-router)# transport-address ipv4 5.5.5.5
Configure LDP transport address
(config-router)# targeted-peer ipv4 2.2.2.2
Configure LDP target peer address (MH-1)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)# targeted-peer ipv4 3.3.3.3
Configure LDP target peer address (MH-2)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
 
 
 
 
 
 
Interface Configuration Network Side:
(config-if)#interface xe6
Enter interface mode
(config-if)# description connected to P1
Configure interface description
(config-if)# ip address 30.30.30.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration:
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)#ospf router-id 5.5.5.5
Configure OSPF router id
(config-router)# network 5.5.5.5/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 30.30.30.0/24 area 0.0.0.0
Advertise network address in OSPF.
(config-router)#exit
Exit OSPF mode
BGP Configuration:
(config)#router bgp 65010
Enter the Router BGP mode, ASN: 65010
(config-router)# neighbor 2.2.2.2 remote-as 65010
Configuring MH-1 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 2.2.2.2 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 3.3.3.3 remote-as 65010
Configuring MH-2 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 3.3.3.3 update- source lo
Source of routing updates as loopback
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 2.2.2.2 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 3.3.3.3 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn_anycast
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
 
 
 
 
Access Port Configuration:
(config-if)#interface sa9000
Creating Static LAG interface
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)#exit
Exiting out of interface mode
(config-if)#interface sa9000.100 switchport
Creating Static LAG L2 sub interface of physical interface xe12
(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)#map vpn-id 100
Map VPN-ID 100
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config-if)#interface sa9000.200 switchport
Creating Static LAG L2 sub interface of physical interface xe12
(config-if)# encapsulation dot1q 200
Setting Encapsulation to dot1q with VLAN ID 200
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)#map vpn-id 200
Map VPN-ID 200
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config-if)#interface xe12
Enter the Interface mode
(config-if)# static-channel-group 9000
Map the physical interface xe12 as static LAG member
(config-if)#exit
Exit interface mode
 
P1:
 
Loopback Interface:
#configure terminal
Enter configuration mode.
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 4.4.4.4/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
 
Global LDP:
(config)#router ldp
Enter the Router LDP mode.
(config-router)# router-id 4.4.4.4
Configure router id
(config-router)# transport-address ipv4 4.4.4.4
Configure transport address
(config-router)#exit
Exit from LDP mode
 
Interface Configuration:
 
(config-if)#interface xe4
Enter the Interface mode for xe4.
(config-if)# mtu 9216
Configure MTU.
(config-if)#exit
Enable LDP on the physical interface
(config)#interface xe4.1
Create sub-interface xe4.1.
(config-if)# description connected-to-MH-1
Configure Interface description
(config-if)# ip address 10.10.10.2/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# encapsulation dot1q 20
Configure encapsulation as dotq
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe1
Enter into Interface mode
(config-if)# description connected to MH-2
Configure Interface description
(config-if)# ip address 20.20.20.2/24
Cofigure IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe6
Enter into Interface mode
(config-if)# description connected to SH
Configure Interface description
(config-if)# ip address 30.30.30.2/24
Assign IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration:
 
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 4.4.4.4
Setting the Router ID as Loopback IP
(config-router)# network 4.4.4.4/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 10.10.10.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)# network 20.20.20.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)# network 30.30.30.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)#exit
Exit Router OSPF mode and return to Configure mode.
(config)#commit
Commit candidate configuration to be running configuration
 
MH-1:
Enable EVPN MPLS and IRB:
#configure terminal
Enter configuration mode.
(config)#hardware-profile filter evpn-mpls- mh enable
Configure hardware profile to enable EVPN MPLS multi homing in hardware
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
(config)#evpn mpls multihoming enable
Enable EVPN MPLS multihoming globally
Loopback Interface:
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 2.2.2.2/32 secondarysss
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF:
(config)#mac vrf red
Create MAC VRF red.
(config-vrf)# rd 2.2.2.2:100
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
(config)#mac vrf blue
Create MAC VRF blue.
(config-vrf)# rd 2.2.2.2:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
 
 
Configure IP VRF:
(config)#ip vrf evpn_anycast
Configure IP VRF evpn.
(config-vrf)# rd 10:200
Configure route distinguisher
(config-vrf)# route-target both 100:200
Configure route target
(config-vrf)# l3vni 10000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
 
Configure Anycast Gateway MAC:
(config)#evpn irb-forwarding anycast-gateway- mac 0011.2233.4455
Configure anycast gateway MAC globally
(config)#interface irb100
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 80.80.1.1/24 anycast
Assign IP address
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
(config)#interface irb200
Create IRB interface irb200
(config-irb-if)# ip vrf forwarding evpn
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 90.90.1.1/24 anycast
Assign IP address
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
 
Creating EVPN MPLS ID:
(config)#evpn mpls vtep-ip-global 2.2.2.2
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol evpn-bgp red
Map the MAC VRF red
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
(config)#evpn mpls id 200
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol evpn-bgp blue
Map the MAC VRF blue
(config-evpn-mpls)# evpn irb irb200
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
 
Global LDP:
(config)#router ldp
Enter the Router LDP mode
(config-router)#router-id 2.2.2.2
Enter LDP router-id
(config-router)# transport-address ipv4 2.2.2.2
Configure LDP transport address
(config-router)# targeted-peer ipv4 5.5.5.5
Configure LDP target peer address (SH)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
 
Interface Configuration Network Side:
 
(config-if)#interface xe0
Enter the Interface mode for xe0.
(config-if)# mtu 9216
Configure MTU.
(config-if)#exit
Exit from interface xe0
(config)#interface xe0.1
Create subinterface in xe10
(config-if)# encapsulation dot1q 20
Configure encapsulation as dotq
(config-if)# ip address 10.10.10.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
 
OSPF Configuration:
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 2.2.2.2
Router-ID configurations
(config-router)# network 2.2.2.2/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 10.10.10.0/24 area 0.0.0.0
Advertise network address in OSPF.
 
BGP Configuration:
(config-router)#router bgp 65010
Enter the Router BGP mode, ASN: 100
(config-router)# neighbor 3.3.3.3 remote-as 65010
Configuring PE2 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 3.3.3.3 update-source
lo
Source of routing updates as loopback
(config-router)# neighbor 5.5.5.5 remote-as 65010
Configuring PE2 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 5.5.5.5 update-source
lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 3.3.3.3 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 5.5.5.5 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
 
Access Port Configuration:
 
(config)#interface xe9
Enter configuration mode
(config-if)# mtu 9216
Configure MTU
(config-if)# channel-group 10000 mode active
Configure physical interface xe9 as LAG member po10000
(config-if)#exit
Exit from interface xe9
(config)#interface po10000
Create LAG interface po10000
(config-if)# mtu 9216
Configure MTU
(config-if)# description connected to Switch
Configure Interface description
(config-if)# evpn multi-homed system-mac 0000.1111.aaaa
Configure system MAC for multi homing
(config)#interface po10000.100 switchport
Creating L2 sub interface of physical interface xe9
(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 100
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config)#interface po10000.200 switchport
Creating L2 sub interface of physical interface xe9
(config-if)# encapsulation dot1q 200
Setting Encapsulation to dot1q with VLAN ID 200
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 200
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
 
 
MH-2:
Enable EVPN MPLS and IRB:
#configure terminal
Enter configuration mode.
(config)#hardware-profile filter evpn-mpls-mh enable
Configure hardware profile to enable EVPN MPLS multi homing in hardware
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
(config)#evpn mpls multihoming enable
Enable EVPN MPLS multihoming globally
 
Loopback Interface:
(config-if)#interface lo
Enter the Interface mode for the loopback interface
(config-if)# ip address 3.3.3.3/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
 
Configure MAC VRF:
(config)#mac vrf red
Create MAC VRF red.
(config-vrf)# rd 3.3.3.3:100
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
(config)#mac vrf blue
Create MAC VRF blue.
(config-vrf)# rd 3.3.3.3:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
 
Configure IP VRF:
(config)#ip vrf evpn_anycast
Configure IP VRF evpn.
(config-vrf)# rd 20:200
Configure route distinguisher
(config-vrf)# route-target both 100:200
Configure route target
(config-vrf)# l3vni 10000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
 
Configure Anycast Gateway MAC:
(config)#evpn irb-forwarding anycastgateway- mac 0011.2233.4455
Configure anycast gateway MAC globally
 
Configuring IRB interface:
(config)#interface irb100
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 80.80.1.1/24 anycast
Assign IP address
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
(config)#interface irb200
Create IRB interface irb200
(config-irb-if)# ip vrf forwarding evpn
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 90.90.1.1/24 anycast
Assign IP address
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
 
Creating EVPN MPLS ID:
(config)#evpn mpls vtep-ip-global 3.3.3.3
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol evpn-bgp red
Map the MAC VRF red
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
(config)#evpn mpls id 200
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol evpn-bgp blue
Map the MAC VRF blue
(config-evpn-mpls)# evpn irb irb200
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
Global LDP:
(config)#router ldp
Enter the Router LDP mode.
(config-router)# transport-address ipv4 3.3.3.3
Configure LDP transport address
(config-router)# targeted-peer ipv4 5.5.5.5
Configure LDP target peer address (SH)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
Interface Configuration Network Side:
(config-if)#interface xe10
Enter the configuration mode.
(config-if)# description connected to P1
Configure Interface description
(config-if)# ip address 20.20.20.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration:
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 3.3.3.3
Router-ID configurations
(config-router)# network 3.3.3.3/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 20.20.20.0/24 area 0.0.0.0
Advertise network address in OSPF.
 
BGP Configuration:
(config-router)#router bgp 65010
Enter the Router BGP mode, ASN: 100
(config-router)# neighbor 2.2.2.2 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 2.2.2.2 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 5.5.5.5 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 5.5.5.5 update-source lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 2.2.2.2 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 5.5.5.5 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn_anycast
Entering into VRF address family mode
(config-router-af)# redistribute connected
 
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
 
Access Port Configuration:
(config)#interface xe21
Enter configuration mode
(config-if)# mtu 9216
Configure MTU
(config-if)# channel-group 10000 mode active
Configure physical interface xe21 as LAG member po10000
(config-if)#exit
Exit from interface xe21
(config)#interface po10000
Create LAG interface po10000
(config-if)# mtu 9216
Configure MTU
(config-if)# description connected to Switch
Configure Interface description
(config-if)# evpn multi-homed system-mac 0000.1111.aaaa
Configure system MAC for multi homing
(config)#interface po10000.100 switchport
Creating L2 sub interface of physical interface xe21
(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 100
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config)#interface po10000.200 switchport
Creating L2 sub interface of physical interface xe21
(config-if)# encapsulation dot1q 200
Setting Encapsulation to dot1q with VLAN ID 200
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 200
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
 
Validation
Note: Remote entries cannot be fetched from through MAC table/ARP cache/ND cache. However they can be fetched from the BGP table.
 
MH-1:
MH-1#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 3.3.3.3
100 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
100 ---- -- AC po10000.100 00:00:00:11:11:aa:aa:00:00:00 ---- DF ---- ----
200 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 3.3.3.3
200 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
200 ---- -- AC po10000.200 00:00:00:11:11:aa:aa:00:00:00 ---- DF ---- ----
10000 ---- L3 NW ---- ---- ---- ---- 2.2.2.2 3.3.3.3
10000 ---- L3 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
 
Total number of entries are 8
MH-1#
MH-1#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
2.2.2.2 3.3.3.3 Installed 01:16:34 01:16:34 200
2.2.2.2 3.3.3.3 Installed 01:16:34 01:16:34 100
2.2.2.2 3.3.3.3 Installed 01:23:48 01:23:48 10000
2.2.2.2 5.5.5.5 Installed 01:14:59 01:14:59 200
2.2.2.2 5.5.5.5 Installed 01:14:59 01:14:59 100
2.2.2.2 5.5.5.5 Installed 01:23:48 01:23:48 10000
 
Total number of entries are 6
MH-1#
MH-1#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 irb100 ---- ---- 0011.2233.4455 2.2.2.2 Static Local ------- 0 -------
100 ---- ---- ---- 9819.2c86.3e01 5.5.5.5 Static Remote ------- 0 -------
100 po10000.100 ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Local ------- 0 -------
100 ---- ---- ---- 0010.9400.0004 5.5.5.5 Dynamic Remote ------- 0 -------
200 irb200 ---- ---- 0011.2233.4455 2.2.2.2 Static Local ------- 0 -------
200 ---- ---- ---- 9819.2c86.3e01 5.5.5.5 Static Remote ------- 0 -------
200 po10000.200 ---- ---- 0010.9400.0002 00:00:00:11:11:aa:aa:00:00:00 Dynamic Local ------- 0 -------
200 ---- ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Remote ------- 0 -------
 
Total number of entries are : 8
 
MH-1#
MH-1#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
ARP Timeout : 300 sec Random-Jitter-Max : 200
 
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.1 0011.2233.4455 Static Local ----
100 80.80.1.2 0010.9400.0001 Dynamic Local 244 2
100 80.80.1.3 9819.2c86.3e01 Static Remote ----
100 80.80.1.4 0010.9400.0004 Dynamic Remote ----
200 90.90.1.1 0011.2233.4455 Static Local ----
200 90.90.1.2 0010.9400.0002 Dynamic Local ----
200 90.90.1.3 9819.2c86.3e01 Static Remote ----
200 90.90.1.4 0010.9400.0005 Dynamic Remote ----
Total number of entries are 8
MH-1#
MH-1#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
 
RD[2.2.2.2:64512] VRF[evpn-gvrf-1]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
MH-1#
MH-1#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
MH-1#
MH-1#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 19
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 19
MH-1#
MH-1#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 200 18
MH-1#
MH-1#sh bgp l2vpn evpn
BGP table version is 10, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[20:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
3.3.3.3 0 100 0 ? 3.3.3.3 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
3.3.3.3 0 100 0 ? 3.3.3.3 MPLS
 
RD[30:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
5.5.5.5 0 100 0 ? 5.5.5.5 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
5.5.5.5 0 100 0 ? 5.5.5.5 MPLS
 
RD[2.2.2.2:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> 2.2.2.2 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 32768 i ---------- MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> 2.2.2.2 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*> [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> 2.2.2.2 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 32768 i ---------- MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> 2.2.2.2 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*> [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[2.2.2.2:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 32768 i ---------- MPLS
*> [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[5.5.5.5:100]
*>i [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[5.5.5.5:200]
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
Total number of prefixes 45
MH-1#
MH-1#sh bgp l2vpn evpn prefix-route
 
RD[20:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 3.3.3.3 MPLS e8c5:7ad2:5d98
0 0 24 90.90.1.0 0.0.0.0 16 3.3.3.3 MPLS e8c5:7ad2:5d98
 
RD[30:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 5.5.5.5 MPLS 9819:2c86:3e01
0 0 24 90.90.1.0 0.0.0.0 16 5.5.5.5 MPLS 9819:2c86:3e01
MH-1#
MH-1#sh bgp l2vpn evpn summary
BGP router identifier 2.2.2.2, local AS number 65010
BGP table version is 10
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
3.3.3.3 4 65010 205 203 9 0 0 01:17:25 10 3 2 2 1 2
5.5.5.5 4 65010 187 197 9 0 0 01:15:01 10 0 6 2 0 2
 
Total number of neighbors 2
 
Total number of Established sessions 2
MH-1#
MH-1#sh ip bgp vrf evpn_anycast
BGP table version is 1, local router ID is 90.90.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 80.80.1.0/24 0.0.0.0 0 100 32768 ?
* i 5.5.5.5 0 100 0 ?
* i 3.3.3.3 0 100 0 ?
*> 90.90.1.0/24 0.0.0.0 0 100 32768 ?
* i 5.5.5.5 0 100 0 ?
* i 3.3.3.3 0 100 0 ?
 
Total number of prefixes 2
MH-1#
MH-1#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 3.3.3.3/32 1 3
2 - Yes LSP_DEFAULT 25600 xe0.1 No 10.10.10.2
L> 4.4.4.4/32 2 6
5 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
L> 5.5.5.5/32 5 8
7 - Yes LSP_DEFAULT 25603 xe0.1 No 10.10.10.2
L> 20.20.20.0/24 3 6
5 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
L> 30.30.30.0/24 4 6
5 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
MH-1#
MH-1#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
5.5.5.5 xe0.1 Passive OPERATIONAL 30 01:14:50
4.4.4.4 xe0.1 Passive OPERATIONAL 30 01:16:35
MH-1#
MH-1#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:39 10.10.10.2 xe0.1 0
MH-1#
MH-1#sh nvo vxlan l3vni-map
L3VNI L2VNI IRB-interface
===================================
10000 100 irb100
10000 200 irb200
 
MH-1#
 
MH-2:
 
MH-2#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5
100 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 2.2.2.2
100 ---- -- AC po10000.100 00:00:00:11:11:aa:aa:00:00:00 ---- NON-DF ---- ----
200 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5
200 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 2.2.2.2
200 ---- -- AC po10000.200 00:00:00:11:11:aa:aa:00:00:00 ---- NON-DF ---- ----
10000 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5
10000 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 2.2.2.2
 
Total number of entries are 8
MH-2#
MH-2#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
3.3.3.3 5.5.5.5 Installed 01:15:41 01:15:41 200
3.3.3.3 5.5.5.5 Installed 01:15:41 01:15:41 100
3.3.3.3 5.5.5.5 Installed 01:24:08 01:24:08 10000
3.3.3.3 2.2.2.2 Installed 01:17:15 01:17:15 200
3.3.3.3 2.2.2.2 Installed 01:17:15 01:17:15 100
3.3.3.3 2.2.2.2 Installed 01:24:08 01:24:08 10000
 
Total number of entries are 6
MH-2#
MH-2#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 irb100 ---- ---- 0011.2233.4455 3.3.3.3 Static Local ------- 0 -------
100 ---- ---- ---- 9819.2c86.3e01 5.5.5.5 Static Remote ------- 0 -------
100 ---- ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
100 ---- ---- ---- 0010.9400.0004 5.5.5.5 Dynamic Remote ------- 0 -------
200 irb200 ---- ---- 0011.2233.4455 3.3.3.3 Static Local ------- 0 -------
200 ---- ---- ---- 9819.2c86.3e01 5.5.5.5 Static Remote ------- 0 -------
200 ---- ---- ---- 0010.9400.0002 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
200 ---- ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Remote ------- 0 -------
 
Total number of entries are : 8
 
MH-2#
MH-2#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
ARP Timeout : 300 sec Random-Jitter-Max : 200
 
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.1 0011.2233.4455 Static Local ----
100 80.80.1.2 0010.9400.0001 Dynamic Remote ----
100 80.80.1.3 9819.2c86.3e01 Static Remote ----
100 80.80.1.4 0010.9400.0004 Dynamic Remote ----
200 90.90.1.1 0011.2233.4455 Static Local ----
200 90.90.1.2 0010.9400.0002 Dynamic Remote ----
200 90.90.1.3 9819.2c86.3e01 Static Remote ----
200 90.90.1.4 0010.9400.0005 Dynamic Remote ----
Total number of entries are 8
MH-2#
MH-2#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:64512] VRF[evpn-gvrf-1]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
MH-2#
MH-2#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
MH-2#
MH-2#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 19
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 19
MH-2#
MH-2#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 200 18
MH-2#
MH-2#sh bgp l2vpn evpn
BGP table version is 16, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
2.2.2.2 0 100 0 ? 2.2.2.2 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
2.2.2.2 0 100 0 ? 2.2.2.2 MPLS
 
RD[30:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
5.5.5.5 0 100 0 ? 5.5.5.5 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
5.5.5.5 0 100 0 ? 5.5.5.5 MPLS
 
RD[2.2.2.2:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[3.3.3.3:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
 
RD[5.5.5.5:100]
*>i [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[5.5.5.5:200]
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
Total number of prefixes 49
MH-2#
MH-2#sh bgp l2vpn evpn prefix-route
 
RD[10:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7a88:1738
0 0 24 90.90.1.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7a88:1738
 
RD[30:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 5.5.5.5 MPLS 9819:2c86:3e01
0 0 24 90.90.1.0 0.0.0.0 16 5.5.5.5 MPLS 9819:2c86:3e01
MH-2#
MH-2#sh bgp l2vpn evpn summary
BGP router identifier 3.3.3.3, local AS number 65010
BGP table version is 16
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2.2.2.2 4 65010 203 207 16 0 0 01:18:08 14 3 6 2 1 2
5.5.5.5 4 65010 190 202 16 0 0 01:15:43 10 0 6 2 0 2
 
Total number of neighbors 2
 
Total number of Established sessions 2
MH-2#
MH-2#sh ip bgp vrf evpn_anycast
BGP table version is 1, local router ID is 90.90.1.1
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 80.80.1.0/24 0.0.0.0 0 100 32768 ?
* i 5.5.5.5 0 100 0 ?
* i 2.2.2.2 0 100 0 ?
*> 90.90.1.0/24 0.0.0.0 0 100 32768 ?
* i 5.5.5.5 0 100 0 ?
* i 2.2.2.2 0 100 0 ?
 
Total number of prefixes 2
MH-2#
MH-2#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 1 3
2 - Yes LSP_DEFAULT 25601 xe10 No 20.20.20.2
L> 4.4.4.4/32 2 6
5 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
L> 5.5.5.5/32 5 8
7 - Yes LSP_DEFAULT 25602 xe10 No 20.20.20.2
L> 10.10.10.0/24 3 6
5 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
L> 30.30.30.0/24 4 6
5 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
MH-2#
MH-2#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
5.5.5.5 xe10 Passive OPERATIONAL 30 01:15:31
4.4.4.4 xe10 Passive OPERATIONAL 30 01:17:16
MH-2#
MH-2#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:33 20.20.20.2 xe10 0
MH-2#
MH-2#sh nvo vxlan l3vni-map
L3VNI L2VNI IRB-interface
===================================
10000 100 irb100
10000 200 irb200
 
MH-2#
 
SH:
 
SH#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 2.2.2.2
100 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3
100 ---- -- AC sa9000.100 --- Single Homed Port --- ---- ---- ---- ----
200 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 2.2.2.2
200 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3
200 ---- -- AC sa9000.200 --- Single Homed Port --- ---- ---- ---- ----
10000 ---- L3 NW ---- ---- ---- ---- 5.5.5.5 2.2.2.2
10000 ---- L3 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3
 
Total number of entries are 8
SH#
SH#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
5.5.5.5 2.2.2.2 Installed 01:15:49 01:15:49 200
5.5.5.5 2.2.2.2 Installed 01:15:49 01:15:49 100
5.5.5.5 2.2.2.2 Installed 01:25:33 01:25:33 10000
5.5.5.5 3.3.3.3 Installed 01:15:49 01:15:49 200
5.5.5.5 3.3.3.3 Installed 01:15:49 01:15:49 100
5.5.5.5 3.3.3.3 Installed 01:25:33 01:25:33 10000
 
Total number of entries are 6
SH#
SH#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 ---- ---- ---- 0011.2233.4455 2.2.2.2 Static Remote ------- 0 -------
100 irb100 ---- ---- 9819.2c86.3e01 5.5.5.5 Static Local ------- 0 -------
100 ---- ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
100 sa9000.100 ---- ---- 0010.9400.0004 5.5.5.5 Dynamic Local ------- 0 -------
200 ---- ---- ---- 0011.2233.4455 2.2.2.2 Static Remote ------- 0 -------
200 irb200 ---- ---- 9819.2c86.3e01 5.5.5.5 Static Local ------- 0 -------
200 ---- ---- ---- 0010.9400.0002 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
200 sa9000.200 ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Local ------- 0 -------
 
Total number of entries are : 8
 
SH#
SH#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.1 0011.2233.4455 Static Remote ----
100 80.80.1.2 0010.9400.0001 Dynamic Remote ----
100 80.80.1.3 9819.2c86.3e01 Static Local ----
100 80.80.1.4 0010.9400.0004 Dynamic Local ----
200 90.90.1.1 0011.2233.4455 Static Remote ----
200 90.90.1.2 0010.9400.0002 Dynamic Remote ----
200 90.90.1.3 9819.2c86.3e01 Static Local ----
200 90.90.1.4 0010.9400.0005 Dynamic Local ----
Total number of entries are 8
SH#
SH#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[3.3.3.3:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
 
RD[5.5.5.5:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 4294967295 19 2.2.2.2 MPLS
SH#
SH#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[5.5.5.5:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
SH#
SH#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 19
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 19
SH#
SH#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 200 18
SH#
SH#sh bgp l2vpn evpn
BGP table version is 6, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
2.2.2.2 0 100 0 ? 2.2.2.2 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
2.2.2.2 0 100 0 ? 2.2.2.2 MPLS
 
RD[20:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
3.3.3.3 0 100 0 ? 3.3.3.3 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
3.3.3.3 0 100 0 ? 3.3.3.3 MPLS
 
RD[2.2.2.2:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[0]:[100]:[48,0010:9400:0004]:[0]:[17]
5.5.5.5 0 100 32768 i ---------- MPLS
*> [2]:[0]:[100]:[48,0010:9400:0004]:[32,80.80.1.4]:[17]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,0011:2233:4455]:[32,80.80.1.1]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[0]:[100]:[48,9819:2c86:3e01]:[32,80.80.1.3]:[17]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 32768 i ---------- MPLS
 
RD[5.5.5.5:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[0]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[48,0010:9400:0002]:[32,90.90.1.2]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[18]
5.5.5.5 0 100 32768 i ---------- MPLS
*> [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[18]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,0011:2233:4455]:[32,90.90.1.1]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i 2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[0]:[200]:[48,9819:2c86:3e01]:[32,90.90.1.3]:[18]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 32768 i ---------- MPLS
 
Total number of prefixes 46
SH#
SH#sh bgp l2vpn evpn prefix-route
 
RD[10:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7a88:1738
0 0 24 90.90.1.0 0.0.0.0 16 2.2.2.2 MPLS e8c5:7a88:1738
 
RD[20:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 3.3.3.3 MPLS e8c5:7ad2:5d98
0 0 24 90.90.1.0 0.0.0.0 16 3.3.3.3 MPLS e8c5:7ad2:5d98
SH#
SH#sh bgp l2vpn evpn summary
BGP router identifier 5.5.5.5, local AS number 65010
BGP table version is 6
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2.2.2.2 4 65010 198 189 5 0 0 01:15:56 14 3 6 2 1 2
3.3.3.3 4 65010 203 191 5 0 0 01:15:55 10 3 2 2 1 2
 
Total number of neighbors 2
 
Total number of Established sessions 2
SH#
SH#sh ip bgp vrf evpn_anycast
BGP table version is 1, local router ID is 90.90.1.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 80.80.1.0/24 0.0.0.0 0 100 32768 ?
* i 3.3.3.3 0 100 0 ?
* i 2.2.2.2 0 100 0 ?
*> 90.90.1.0/24 0.0.0.0 0 100 32768 ?
* i 3.3.3.3 0 100 0 ?
* i 2.2.2.2 0 100 0 ?
 
Total number of prefixes 2
SH#
SH#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 1 3
2 - Yes LSP_DEFAULT 25604 xe6 No 30.30.30.2
L> 3.3.3.3/32 2 6
5 - Yes LSP_DEFAULT 25605 xe6 No 30.30.30.2
L> 4.4.4.4/32 3 9
8 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
L> 10.10.10.0/24 4 9
8 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
L> 20.20.20.0/24 5 9
8 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
SH#
SH#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
2.2.2.2 xe6 Active OPERATIONAL 30 01:15:46
3.3.3.3 xe6 Active OPERATIONAL 30 01:15:44
4.4.4.4 xe6 Active OPERATIONAL 30 01:15:51
SH#
SH#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:33 30.30.30.2 xe6 0
SH#
SH#sh nvo vxlan l3vni-map
L3VNI L2VNI IRB-interface
===================================
10000 100 irb100
10000 200 irb200
 
SH#
 
P1:
 
P1#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
3.3.3.3 xe1 Active OPERATIONAL 30 01:21:33
2.2.2.2 xe4.1 Active OPERATIONAL 30 01:21:35
5.5.5.5 xe6 Passive OPERATIONAL 30 01:19:55
P1#
P1#sh ip ospf neighbor
 
Total number of full neighbors: 3
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
2.2.2.2 1 Full/Backup 00:00:37 10.10.10.1 xe4.1 0
3.3.3.3 1 Full/Backup 00:00:35 20.20.20.1 xe1 0
5.5.5.5 1 Full/Backup 00:00:35 30.30.30.1 xe6 0
P1#
P1#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 1 2
1 - Yes LSP_DEFAULT 3 xe4.1 No 10.10.10.1
L> 3.3.3.3/32 2 4
3 - Yes LSP_DEFAULT 3 xe1 No 20.20.20.1
L> 5.5.5.5/32 3 8
7 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.1
P1#
 
 
 
EVPN MPLS IRB Asymmetric Centralized mode
Topology
Figure 2-5 depicts the EVPN MPLS IRB Asymmetric centralized mode.
 
EVPN MPLS IRB Centralized Mode
Configurations:
SH-2:
Enable EVPN MPLS and IRB:
#configure terminal
Enter configuration mode.
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
Loopback Interface:
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 6.6.6.6/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF:
(config)#mac vrf red
Create MAC VRF red.
(config-vrf)# rd 6.6.6.6:100
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
(config)#mac vrf blue
Create MAC VRF blue.
(config-vrf)# rd 6.6.6.6:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
Configure IP VRF:
(config)#ip vrf evpn_anycast
Configure IP VRF evpn.
(config-vrf)# rd 30:200
Configure route distinguisher
(config-vrf)# route-target both 100:200
Configure route target
(config-vrf)# l3vni 10000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
Configuring IRB interface:
(config)#evpn irb-forwarding anycast-gateway- mac 0077.8899.5566
Configure anycast gateway MAC globally
(config)#interface irb100
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn_anycast
Map L3 VRF to the IRB interface
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)# ip address 80.80.1.3/24 anycast
Assign IP address
(config-irb-if)#exit
Exit interface mode
(config)#interface irb200
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding evpn_anycast
Map L3 VRF to the IRB interface
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)# ip address 90.90.1.3/24 anycast
Assign IP address
(config-irb-if)#exit
Exit interface mode
 
Creating EVPN MPLS ID:
(config)#evpn mpls vtep-ip-global 6.6.6.6
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability- protocol evpn-bgp red
Map the MAC VRF red
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
(config)#evpn mpls id 200
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability- protocol evpn-bgp blue
Map the MAC VRF blue
(config-evpn-mpls)# evpn irb irb200
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
 
Global LDP:
(config)#router ldp
Enter the Router LDP mode.
(config-router)#router-id 6.6.6.6
Enter LDP router-id
(config-router)# transport-address ipv4 6.6.6.6
Configure LDP transport address
(config-router)# targeted-peer ipv4 2.2.2.2
Configure LDP target peer address (MH-1)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)# targeted-peer ipv4 3.3.3.3
Configure LDP target peer address (MH-2)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)# targeted-peer ipv4 5.5.5.5
Configure LDP target peer address (SH-1)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
Interface Configuration Network Side:
(config-if)#interface xe14
Enter interface mode
(config-if)# description connected to P1
Configure interface description
(config-if)# ip address 40.40.40.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration:
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)#ospf router-id 6.6.6.6
Configure OSPF router id
(config-router)# network 6.6.6.6/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 40.40.40.0/24 area 0.0.0.0
Advertise network address in OSPF.
(config-router)#exit
Exit OSPF mode
BGP Configuration:
(config)#router bgp 65010
Enter the Router BGP mode, ASN: 65010
(config-router)# neighbor 2.2.2.2 remote-as 65010
Configuring MH-1 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 2.2.2.2 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 3.3.3.3 remote-as 65010
Configuring MH-2 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 3.3.3.3 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 5.5.5.5 remote-as 65010
Configuring MH-1 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 5.5.5.5 update- source lo
Source of routing updates as loopback
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 2.2.2.2 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 3.3.3.3 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 5.5.5.5 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn_anycast
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
 
SH-1:
Enable EVPN MPLS and IRB:
#configure terminal
Enter configuration mode.
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
 
Loopback Interface:
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 5.5.5.5/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF:
(config)#mac vrf red
Create MAC VRF red.
(config-vrf)# rd 5.5.5.5:100
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
(config)#mac vrf blue
Create MAC VRF blue.
(config-vrf)# rd 5.5.5.5:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
 
Creating EVPN MPLS ID:
(config)#evpn mpls vtep-ip-global 5.5.5.5
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability- protocol evpn-bgp red
Map the MAC VRF red
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
(config)#evpn mpls id 200
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability- protocol evpn-bgp blue
Map the MAC VRF blue
(config-evpn-mpls)# evpn irb irb200
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
 
Global LDP:
(config)#router ldp
Enter the Router LDP mode.
(config-router)#router-id 5.5.5.5
Enter LDP router-id
(config-router)# transport-address ipv4 5.5.5.5
Configure LDP transport address
(config-router)# targeted-peer ipv4 2.2.2.2
Configure LDP target peer address (MH-1)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)# targeted-peer ipv4 3.3.3.3
Configure LDP target peer address (MH-2)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)# targeted-peer ipv4 6.6.6.6
Configure LDP target peer address (SH-2)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
 
Interface Configuration Network Side:
(config-if)#interface xe6
Enter interface mode
(config-if)# description connected to P1
Configure interface description
(config-if)# ip address 30.30.30.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration:
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)#ospf router-id 5.5.5.5
Configure OSPF router id
(config-router)# network 5.5.5.5/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 30.30.30.0/24 area 0.0.0.0
Advertise network address in OSPF.
(config-router)#exit
Exit OSPF mode
 
BGP Configuration:
(config)#router bgp 65010
Enter the Router BGP mode, ASN: 65010
(config-router)# neighbor 2.2.2.2 remote-as 65010
Configuring MH-1 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 2.2.2.2 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 3.3.3.3 remote-as 65010
Configuring MH-2 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 3.3.3.3 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 6.6.6.6 remote-as 65010
Configuring MH-2 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 6.6.6.6 update- source lo
Source of routing updates as loopback
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 2.2.2.2 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 3.3.3.3 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 6.6.6.6 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
Access Port Configuration:
(config-if)#interface sa9000
Creating Static LAG interface
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)#exit
Exiting out of interface mode
(config-if)#interface sa9000.100 switchport
Creating Static LAG L2 sub interface of physical interface xe12
(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)#map vpn-id 100
Map VPN-ID 100
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config-if)#interface sa9000.200 switchport
Creating Static LAG L2 sub interface of physical interface xe12
(config-if)# encapsulation dot1q 200
Setting Encapsulation to dot1q with VLAN ID 200
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)#map vpn-id 200
Map VPN-ID 200
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config-if)#interface xe12
Enter the Interface mode
(config-if)# static-channel-group 9000
Map the physical interface xe12 as static LAG member
(config-if)#exit
Exit interface mode
 
P1:
Loopback Interface:
#configure terminal
Enter configuration mode.
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 4.4.4.4/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Global LDP:
(config)#router ldp
Enter the Router LDP mode.
(config-router)# router-id 4.4.4.4
Configure router id
(config-router)# transport-address ipv4 4.4.4.4
Configure transport address
(config-router)#exit
Exit from LDP mode
Interface Configuration:
(config-if)#interface xe4
Enter the Interface mode for xe4.
(config-if)# mtu 9216
Configure MTU.
(config-if)#exit
Enable LDP on the physical interface
(config)#interface xe4.1
Create sub-interface xe4.1.
(config-if)# description connected-to-MH-1
Configure Interface description
(config-if)# ip address 10.10.10.2/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# encapsulation dot1q 20
Configure encapsulation as dotq
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe1
Enter into Interface mode
(config-if)# description connected to MH-2
Configure Interface description
(config-if)# ip address 20.20.20.2/24
Cofigure IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe6
Enter into Interface mode
(config-if)# description connected to SH-1
Configure Interface description
(config-if)# ip address 30.30.30.2/24
Assign IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe10
Enter into Interface mode
(config-if)# description connected to SH-2
Configure Interface description
(config-if)# ip address 40.40.40.2/24
Assign IP address
(config-if)# mtu 9216
Configure MTU
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSFP Configuration
 
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 4.4.4.4
Setting the Router ID as Loopback IP
(config-router)# network 4.4.4.4/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 10.10.10.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)# network 20.20.20.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)# network 30.30.30.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)# network 40.40.40.0/24 area 0.0.0.0
Advertise network address in OSPF that comes under same subnet.
(config-router)#exit
Exit Router OSPF mode and return to Configure mode.
(config)#commit
Commit candidate configuration to be running configuration
 
MH-1:
Enable EVPN MPLS and IRB:
#configure terminal
Enter configuration mode.
(config)#hardware-profile filter evpn-mpls- mh enable
Configure hardware profile to enable EVPN MPLS multi homing in hardware
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
(config)#evpn mpls multihoming enable
Enable EVPN MPLS multihoming globally
 
Loopback Interface:
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 2.2.2.2/32 secondarysss
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
 
Configure MAC VRF:
 
(config)#mac vrf red
Create MAC VRF red.
(config-vrf)# rd 2.2.2.2:100
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
(config)#mac vrf blue
Create MAC VRF blue.
(config-vrf)# rd 2.2.2.2:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
 
Configure Anycast Gateway MAC:
(config)#evpn irb-forwarding anycast-gateway- mac 0011.2233.4455
Configure anycast gateway MAC globally
 
Creating EVPN MPLS ID:
(config)#evpn mpls vtep-ip-global 2.2.2.2
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol
evpn-bgp red
Map the MAC VRF red
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
(config)#evpn mpls id 200
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol
evpn-bgp blue
Map the MAC VRF blue
(config-evpn-mpls)# evpn irb irb200
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
 
Global LDP:
(config)#router ldp
Enter the Router LDP mode
(config-router)#router-id 2.2.2.2
Enter LDP router-id
(config-router)# transport-address ipv4 2.2.2.2
Configure LDP transport address
(config-router)# targeted-peer ipv4 5.5.5.5
Configure LDP target peer address (SH)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)# targeted-peer ipv4 6.6.6.6
Configure LDP target peer address (SH)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
 
Interface Configuration Network Side:
(config-if)#interface xe0
Enter the Interface mode for xe0.
(config-if)# mtu 9216
Configure MTU.
(config-if)#exit
Exit from interface xe0
(config)#interface xe0.1
Create subinterface in xe10
(config-if)# encapsulation dot1q 20
Configure encapsulation as dotq
(config-if)# ip address 10.10.10.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
 
OSPF Configuration:
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 2.2.2.2
Router-ID configurations
(config-router)# network 2.2.2.2/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 10.10.10.0/24 area 0.0.0.0
Advertise network address in OSPF.
BGP Configuration:
(config-router)#router bgp 65010
Enter the Router BGP mode, ASN: 100
(config-router)# neighbor 3.3.3.3 remote-as 65010
Configuring MH-2 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 3.3.3.3 update-source
lo
Source of routing updates as loopback
(config-router)# neighbor 5.5.5.5 remote-as 65010
Configuring SH-1 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 5.5.5.5 update-source
lo
Source of routing updates as loopback
(config-router)# neighbor 6.6.6.6 remote-as 65010
Configuring SH-2 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 6.6.6.6 update-source
lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 3.3.3.3 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 5.5.5.5 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 6.6.6.6 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
 
Access Port Configuration:
(config)#interface xe9
Enter configuration mode
(config-if)# mtu 9216
Configure MTU
(config-if)# channel-group 10000 mode active
Configure physical interface xe9 as LAG member po10000
(config-if)#exit
Exit from interface xe9
(config)#interface po10000
Create LAG interface po10000
(config-if)# mtu 9216
Configure MTU
(config-if)# description connected to Switch
Configure Interface description
(config-if)# evpn multi-homed system-mac 0000.1111.aaaa
Configure system MAC for multi homing
(config)#interface po10000.100 switchport
Creating L2 sub interface of physical interface xe9
(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 100
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config)#interface po10000.200 switchport
Creating L2 sub interface of physical interface xe9
(config-if)# encapsulation dot1q 200
Setting Encapsulation to dot1q with VLAN ID 200
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 200
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
 
 
MH-2:
Enable EVPN MPLS and IRB:
#configure terminal
Enter configuration mode.
(config)#hardware-profile filter evpn-mpls-mh enable
Configure hardware profile to enable EVPN MPLS multi homing in hardware
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
(config)#evpn mpls multihoming enable
Enable EVPN MPLS multihoming globally
Loopback Interface:
(config-if)#interface lo
Enter the Interface mode for the loopback interface
(config-if)# ip address 3.3.3.3/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
 
Configure MAC VRF:
(config)#mac vrf red
Create MAC VRF red.
(config-vrf)# rd 3.3.3.3:100
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
(config)#mac vrf blue
Create MAC VRF blue.
(config-vrf)# rd 3.3.3.3:200
Configure route distinguisher
(config-vrf)# route-target both evpn-auto-rt
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
 
Configure Anycast Gateway MAC:
 
(config)#evpn irb-forwarding anycastgateway- mac 0011.2233.4455
Configure anycast gateway MAC globally
 
Creating EVPN MPLS ID:
(config)#evpn mpls vtep-ip-global 3.3.3.3
Configure VTEP global IP
(config)#evpn mpls id 100
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol
evpn-bgp red
Map the MAC VRF red
(config-evpn-mpls)# evpn irb irb100
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
(config)#evpn mpls id 200
Create EVPN MPLS ID
(config-evpn-mpls)# host- reachabilityprotocol
evpn-bgp blue
Map the MAC VRF blue
(config-evpn-mpls)# evpn irb irb200
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
 
Global LDP:
(config)#router ldp
Enter the Router LDP mode.
(config-router)# transport-address ipv4 3.3.3.3
Configure LDP transport address
(config-router)# targeted-peer ipv4 5.5.5.5
Configure LDP target peer address (SH)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)# targeted-peer ipv4 6.6.6.6
Configure LDP target peer address (SH)
(config-router-targeted-peer)#exit
Exit from LDP target peer mode
(config-router)#exit
Exit from LDP mode
 
Interface Configuration Network Side:
 
(config-if)#interface xe10
Enter the configuration mode.
(config-if)# description connected to P1
Configure Interface description
(config-if)# ip address 20.20.20.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# mpls ldp-igp sync ospf
Enable LDP IGP sync
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
OSPF Configuration:
 
(config)#router ospf 1
Enter the Router OSPF mode.
(config-router)# ospf router-id 3.3.3.3
Router-ID configurations
(config-router)# network 3.3.3.3/32 area 0.0.0.0
Advertise loopback address in OSPF.
(config-router)# network 20.20.20.0/24 area 0.0.0.0
Advertise network address in OSPF.
 
BGP Configuration:
(config-router)#router bgp 65010
Enter the Router BGP mode, ASN: 100
(config-router)# neighbor 2.2.2.2 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 2.2.2.2 update- source lo
Source of routing updates as loopback
(config-router)# neighbor 5.5.5.5 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 5.5.5.5 update-source lo
Source of routing updates as loopback
(config-router)# neighbor 6.6.6.6 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 6.6.6.6 update-source lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 2.2.2.2 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 5.5.5.5 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 6.6.6.6 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf evpn_anycast
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
 
Access Port Configuration:
 
(config)#interface xe21
Enter configuration mode
(config-if)# mtu 9216
Configure MTU
(config-if)# channel-group 10000 mode active
Configure physical interface xe21 as LAG member po10000
(config-if)#exit
Exit from interface xe21
(config)#interface po10000
Create LAG interface po10000
(config-if)# mtu 9216
Configure MTU
(config-if)# description connected to Switch
Configure Interface description
(config-if)# evpn multi-homed system-mac 0000.1111.aaaa
Configure system MAC for multi homing
(config)#interface po10000.100 switchport
Creating L2 sub interface of physical interface xe21
(config-if)# encapsulation dot1q 100
Setting Encapsulation to dot1q with VLAN ID 100
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 100
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
(config)#interface po10000.200 switchport
Creating L2 sub interface of physical interface xe21
(config-if)# encapsulation dot1q 200
Setting Encapsulation to dot1q with VLAN ID 200
(config-if)#rewrite pop
Configure rewrite with action pop
(config-if)#mtu 9216
Configure MTU as 9216
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 200
Map VPN-ID 202
(config-acc-if-evpn)#exit
Exiting out of access interface mode
 
 
Validation
Note: Remote entries cannot be fetched from through MAC table/ARP cache/ND cache. However they can be fetched from the BGP table.
 
MH-1:
 
MH-1#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 6.6.6.6
100 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 3.3.3.3
100 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
100 ---- -- AC po10000.100 00:00:00:11:11:aa:aa:00:00:00 ---- DF ---- ----
200 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 6.6.6.6
200 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 3.3.3.3
200 ---- L2 NW ---- ---- ---- ---- 2.2.2.2 5.5.5.5
200 ---- -- AC po10000.200 00:00:00:11:11:aa:aa:00:00:00 ---- DF ---- ----
 
Total number of entries are 8
MH-1#
 
MH-1#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
2.2.2.2 6.6.6.6 Installed 01:38:59 01:38:59 200
2.2.2.2 6.6.6.6 Installed 01:38:59 01:38:59 100
2.2.2.2 3.3.3.3 Installed 01:38:59 01:38:59 200
2.2.2.2 3.3.3.3 Installed 01:38:59 01:38:59 100
2.2.2.2 5.5.5.5 Installed 01:38:59 01:38:59 200
2.2.2.2 5.5.5.5 Installed 01:38:59 01:38:59 100
 
Total number of entries are 6
MH-1#
 
MH-1#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 ---- ---- ---- 0077.8899.5566 6.6.6.6 Static Remote ------- 0 -------
100 ---- ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
200 ---- ---- ---- 0077.8899.5566 6.6.6.6 Static Remote ------- 0 -------
200 ---- ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Remote ------- 0 -------
 
Total number of entries are : 4
 
MH-1#
 
MH-1#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
ARP Timeout : 300 sec Random-Jitter-Max : 200
 
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.2 0010.9400.0001 Dynamic Remote ----
100 80.80.1.3 0077.8899.5566 Static Remote ----
200 90.90.1.3 0077.8899.5566 Static Remote ----
200 90.90.1.4 0010.9400.0005 Dynamic Remote ----
Total number of entries are 4
MH-1#
 
MH-1#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
 
RD[2.2.2.2:64512] VRF[evpn-gvrf-1]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
 
RD[3.3.3.3:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
MH-1#
 
MH-1#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
 
RD[3.3.3.3:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
MH-1#
 
MH-1#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 16
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 16
MH-1#
 
MH-1#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(S) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 200 18
MH-1#
 
MH-1#sh bgp l2vpn evpn
BGP table version is 3, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[30:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
6.6.6.6 0 100 0 ? 6.6.6.6 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
6.6.6.6 0 100 0 ? 6.6.6.6 MPLS
 
RD[2.2.2.2:100] VRF[red]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 32768 i ---------- MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[0]:[100]:[48,0077:8899:5566]:[32,80.80.1.3]:[17]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
*> [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [3]:[100]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[2.2.2.2:200] VRF[blue]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 32768 i ---------- MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0077:8899:5566]:[32,90.90.1.3]:[18]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
*> [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [3]:[200]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[2.2.2.2:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 32768 i ---------- MPLS
*> [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 32768 i ---------- MPLS
* i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[5.5.5.5:100]
*>i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[5.5.5.5:200]
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[6.6.6.6:100]
*>i [2]:[0]:[100]:[48,0077:8899:5566]:[32,80.80.1.3]:[17]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
*>i [3]:[100]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[6.6.6.6:200]
*>i [2]:[0]:[200]:[48,0077:8899:5566]:[32,90.90.1.3]:[18]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
*>i [3]:[200]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
Total number of prefixes 39
MH-1#
 
MH-1#sh bgp l2vpn evpn prefix-route
 
RD[30:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 6.6.6.6 MPLS e8c5:7aff:96de
0 0 24 90.90.1.0 0.0.0.0 16 6.6.6.6 MPLS e8c5:7aff:96de
MH-1#
 
MH-1#sh bgp l2vpn evpn summary
BGP router identifier 2.2.2.2, local AS number 65010
BGP table version is 3
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
3.3.3.3 4 65010 244 241 2 0 0 01:39:10 8 3 2 2 1 0
5.5.5.5 4 65010 237 238 2 0 0 01:39:10 4 0 2 2 0 0
6.6.6.6 4 65010 239 240 2 0 0 01:39:10 6 0 2 2 0 2
 
Total number of neighbors 3
 
Total number of Established sessions 3
MH-1#
 
MH-1#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 3.3.3.3/32 1 2
1 - Yes LSP_DEFAULT 25605 xe0.1 No 10.10.10.2
L> 4.4.4.4/32 2 5
4 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
L> 5.5.5.5/32 3 7
6 - Yes LSP_DEFAULT 25606 xe0.1 No 10.10.10.2
L> 6.6.6.6/32 4 10
9 - Yes LSP_DEFAULT 25609 xe0.1 No 10.10.10.2
L> 20.20.20.0/24 5 5
4 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
L> 30.30.30.0/24 6 5
4 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
L> 40.40.40.0/24 7 5
4 - Yes LSP_DEFAULT 3 xe0.1 No 10.10.10.2
MH-1#
 
MH-1#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
5.5.5.5 xe0.1 Passive OPERATIONAL 30 01:39:03
6.6.6.6 xe0.1 Passive OPERATIONAL 30 01:39:03
4.4.4.4 xe0.1 Passive OPERATIONAL 30 01:39:01
MH-1#
 
MH-1#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:35 10.10.10.2 xe0.1 0
MH-1#
 
MH-2:
 
MH-2#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5
100 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 2.2.2.2
100 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 6.6.6.6
100 ---- -- AC po10000.100 00:00:00:11:11:aa:aa:00:00:00 ---- NON-DF ---- ----
200 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5
200 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 2.2.2.2
200 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 6.6.6.6
200 ---- -- AC po10000.200 00:00:00:11:11:aa:aa:00:00:00 ---- NON-DF ---- ----
 
Total number of entries are 8
MH-2#
 
MH-2#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
3.3.3.3 5.5.5.5 Installed 01:52:28 01:52:28 200
3.3.3.3 5.5.5.5 Installed 01:52:28 01:52:28 100
3.3.3.3 2.2.2.2 Installed 01:41:32 01:41:32 200
3.3.3.3 2.2.2.2 Installed 01:41:32 01:41:32 100
3.3.3.3 6.6.6.6 Installed 01:52:28 01:52:28 200
3.3.3.3 6.6.6.6 Installed 01:52:28 01:52:28 100
 
Total number of entries are 6
MH-2#
 
MH-2#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 ---- ---- ---- 0077.8899.5566 6.6.6.6 Static Remote ------- 0 -------
100 po10000.100 ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Local ------- 0 -------
200 ---- ---- ---- 0077.8899.5566 6.6.6.6 Static Remote ------- 0 -------
200 ---- ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Remote ------- 0 -------
 
Total number of entries are : 4
 
MH-2#
 
MH-2#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
ARP Timeout : 300 sec Random-Jitter-Max : 200
 
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.2 0010.9400.0001 Dynamic Local 249 2
100 80.80.1.3 0077.8899.5566 Static Remote ----
200 90.90.1.3 0077.8899.5566 Static Remote ----
200 90.90.1.4 0010.9400.0005 Dynamic Remote ----
Total number of entries are 4
MH-2#
 
MH-2#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
 
RD[3.3.3.3:64512] VRF[evpn-gvrf-1]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
MH-2#
 
MH-2#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
MH-2#
 
MH-2#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 16
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 16
MH-2#
 
MH-2#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(S) 200 18
MH-2#
 
MH-2#sh bgp l2vpn evpn
BGP table version is 7, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[30:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
6.6.6.6 0 100 0 ? 6.6.6.6 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
6.6.6.6 0 100 0 ? 6.6.6.6 MPLS
 
RD[2.2.2.2:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[3.3.3.3:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
3.3.3.3 0 100 32768 i ---------- MPLS
*> [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [2]:[0]:[100]:[48,0077:8899:5566]:[32,80.80.1.3]:[17]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
* i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [3]:[100]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[3.3.3.3:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> 3.3.3.3 0 100 32768 i ---------- MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0077:8899:5566]:[32,90.90.1.3]:[18]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
* i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [3]:[200]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[3.3.3.3:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 32768 i ---------- MPLS
* i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*> [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 32768 i ---------- MPLS
 
RD[5.5.5.5:100]
*>i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[5.5.5.5:200]
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[6.6.6.6:100]
*>i [2]:[0]:[100]:[48,0077:8899:5566]:[32,80.80.1.3]:[17]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
*>i [3]:[100]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[6.6.6.6:200]
*>i [2]:[0]:[200]:[48,0077:8899:5566]:[32,90.90.1.3]:[18]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
*>i [3]:[200]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
Total number of prefixes 37
MH-2#
 
MH-2#sh bgp l2vpn evpn prefix-route
 
RD[30:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 6.6.6.6 MPLS e8c5:7aff:96de
0 0 24 90.90.1.0 0.0.0.0 16 6.6.6.6 MPLS e8c5:7aff:96de
MH-2#
 
MH-2#sh bgp l2vpn evpn summary
BGP router identifier 3.3.3.3, local AS number 65010
BGP table version is 7
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2.2.2.2 4 65010 279 273 7 0 0 01:41:33 6 3 0 2 1 0
5.5.5.5 4 65010 270 276 7 0 0 01:52:30 4 0 2 2 0 0
6.6.6.6 4 65010 271 277 7 0 0 01:52:30 6 0 2 2 0 2
 
Total number of neighbors 3
 
Total number of Established sessions 3
MH-2#
 
MH-2#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 5 13
12 - Yes LSP_DEFAULT 25600 xe10 No 20.20.20.2
L> 4.4.4.4/32 2 4
3 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
L> 5.5.5.5/32 3 6
5 - Yes LSP_DEFAULT 25610 xe10 No 20.20.20.2
L> 6.6.6.6/32 4 8
7 - Yes LSP_DEFAULT 25611 xe10 No 20.20.20.2
L> 10.10.10.0/24 1 4
3 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
L> 30.30.30.0/24 6 4
3 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
L> 40.40.40.0/24 7 4
3 - Yes LSP_DEFAULT 3 xe10 No 20.20.20.2
MH-2#
 
MH-2#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
4.4.4.4 xe10 Passive OPERATIONAL 30 01:52:33
5.5.5.5 xe10 Passive OPERATIONAL 30 01:52:10
6.6.6.6 xe10 Passive OPERATIONAL 30 01:52:10
MH-2#
 
MH-2#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/DR 00:00:31 20.20.20.2 xe10 0
MH-2#
SH-1:
 
SH-1#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 6.6.6.6
100 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 2.2.2.2
100 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3
100 ---- -- AC sa9000.100 --- Single Homed Port --- ---- ---- ---- ----
200 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 6.6.6.6
200 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 2.2.2.2
200 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3
200 ---- -- AC sa9000.200 --- Single Homed Port --- ---- ---- ---- ----
 
Total number of entries are 8
SH-1#
SH-1#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
5.5.5.5 6.6.6.6 Installed 01:57:20 01:57:20 200
5.5.5.5 6.6.6.6 Installed 01:57:20 01:57:20 100
5.5.5.5 2.2.2.2 Installed 01:44:57 01:44:57 200
5.5.5.5 2.2.2.2 Installed 01:44:57 01:44:57 100
5.5.5.5 3.3.3.3 Installed 01:55:53 01:55:53 200
5.5.5.5 3.3.3.3 Installed 01:55:53 01:55:53 100
 
Total number of entries are 6
SH-1#
SH-1#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 ---- ---- ---- 0077.8899.5566 6.6.6.6 Static Remote ------- 0 -------
100 ---- ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
200 ---- ---- ---- 0077.8899.5566 6.6.6.6 Static Remote ------- 0 -------
200 sa9000.200 ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Local ------- 0 -------
 
Total number of entries are : 4
 
SH-1#
 
SH-1#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
ARP Timeout : 300 sec Random-Jitter-Max : 200
 
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.2 0010.9400.0001 Dynamic Remote ----
100 80.80.1.3 0077.8899.5566 Static Remote ----
200 90.90.1.3 0077.8899.5566 Static Remote ----
200 90.90.1.4 0010.9400.0005 Dynamic Local 443 2
Total number of entries are 4
SH-1#
 
SH-1#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
 
RD[3.3.3.3:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
 
RD[5.5.5.5:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
SH-1#
 
SH-1#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[5.5.5.5:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
SH-1#
 
SH-1#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 16
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 16
SH-1#
 
SH-1#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 200 18
SH-1#
 
SH-1#sh bgp l2vpn evpn
BGP table version is 10, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[30:200]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
6.6.6.6 0 100 0 ? 6.6.6.6 MPLS
*>i [5]:[0]:[0]:[24]:[90.90.1.0]:[0.0.0.0]:[16]
6.6.6.6 0 100 0 ? 6.6.6.6 MPLS
 
RD[2.2.2.2:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[5.5.5.5:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[0]:[100]:[48,0077:8899:5566]:[32,80.80.1.3]:[17]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
* i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[5.5.5.5:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[641]
5.5.5.5 0 100 32768 i ---------- MPLS
*> [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[641]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [2]:[0]:[200]:[48,0077:8899:5566]:[32,90.90.1.3]:[18]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
* i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[6.6.6.6:100]
*>i [2]:[0]:[100]:[48,0077:8899:5566]:[32,80.80.1.3]:[17]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
*>i [3]:[100]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
RD[6.6.6.6:200]
*>i [2]:[0]:[200]:[48,0077:8899:5566]:[32,90.90.1.3]:[18]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
*>i [3]:[200]:[32,6.6.6.6]
6.6.6.6 0 100 0 i 6.6.6.6 MPLS
 
Total number of prefixes 38
SH-1#
 
SH-1#sh bgp l2vpn evpn prefix-route
 
RD[30:200]
ESI Eth-Tag Prefix-Length IP-Address GW-IPAddress L3VNID/LABEL Nexthop Encap Router-Mac
0 0 24 80.80.1.0 0.0.0.0 16 6.6.6.6 MPLS e8c5:7aff:96de
0 0 24 90.90.1.0 0.0.0.0 16 6.6.6.6 MPLS e8c5:7aff:96de
SH-1#
 
SH-1#sh bgp l2vpn evpn summary
BGP router identifier 5.5.5.5, local AS number 65010
BGP table version is 10
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2.2.2.2 4 65010 407 379 9 0 0 01:44:58 6 3 0 2 1 0
3.3.3.3 4 65010 416 390 8 0 0 01:55:55 8 3 2 2 1 0
6.6.6.6 4 65010 399 396 7 0 0 02:04:33 6 0 2 2 0 2
 
Total number of neighbors 3
 
Total number of Established sessions 3
SH-1#
 
SH-1#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 4 2
1 - Yes LSP_DEFAULT 25601 xe6 No 30.30.30.2
L> 3.3.3.3/32 7 40
39 - Yes LSP_DEFAULT 25607 xe6 No 30.30.30.2
L> 4.4.4.4/32 2 35
7 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
L> 6.6.6.6/32 3 37
36 - Yes LSP_DEFAULT 25603 xe6 No 30.30.30.2
L> 10.10.10.0/24 1 35
7 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
L> 20.20.20.0/24 6 35
7 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
L> 40.40.40.0/24 5 35
7 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.2
SH-1#
SH-1#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
2.2.2.2 xe6 Active OPERATIONAL 30 01:44:53
3.3.3.3 xe6 Active OPERATIONAL 30 01:55:35
6.6.6.6 xe6 Passive OPERATIONAL 30 01:57:21
4.4.4.4 xe6 Active OPERATIONAL 30 01:57:21
SH-1#
SH-1#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/Backup 00:00:31 30.30.30.2 xe6 0
SH-1#
 
SH-2:
 
SH-2#sh evpn mpls
EVPN-MPLS Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VPN-ID EVI-Name EVI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
100 ---- L2 NW ---- ---- ---- ---- 6.6.6.6 3.3.3.3
100 ---- L2 NW ---- ---- ---- ---- 6.6.6.6 2.2.2.2
100 ---- L2 NW ---- ---- ---- ---- 6.6.6.6 5.5.5.5
200 ---- L2 NW ---- ---- ---- ---- 6.6.6.6 3.3.3.3
200 ---- L2 NW ---- ---- ---- ---- 6.6.6.6 2.2.2.2
200 ---- L2 NW ---- ---- ---- ---- 6.6.6.6 5.5.5.5
 
Total number of entries are 6
SH-2#
SH-2#sh evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
6.6.6.6 3.3.3.3 Installed 01:57:22 01:57:22 200
6.6.6.6 3.3.3.3 Installed 01:57:22 01:57:22 100
6.6.6.6 2.2.2.2 Installed 01:46:26 01:46:26 200
6.6.6.6 2.2.2.2 Installed 01:46:26 01:46:26 100
6.6.6.6 5.5.5.5 Installed 01:58:49 01:58:49 200
6.6.6.6 5.5.5.5 Installed 01:58:49 01:58:49 100
 
Total number of entries are 6
SH-2#
SH-2#sh evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
100 irb100 ---- ---- 0077.8899.5566 6.6.6.6 Static Local ------- 0 -------
100 ---- ---- ---- 0010.9400.0001 00:00:00:11:11:aa:aa:00:00:00 Dynamic Remote ------- 0 -------
200 irb200 ---- ---- 0077.8899.5566 6.6.6.6 Static Local ------- 0 -------
200 ---- ---- ---- 0010.9400.0005 5.5.5.5 Dynamic Remote ------- 0 -------
 
Total number of entries are : 4
 
SH-2#
SH-2#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
ARP Timeout : 300 sec Random-Jitter-Max : 200
 
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
100 80.80.1.2 0010.9400.0001 Dynamic Remote ----
100 80.80.1.3 0077.8899.5566 Static Local ----
200 90.90.1.3 0077.8899.5566 Static Local ----
200 90.90.1.4 0010.9400.0005 Dynamic Remote ----
Total number of entries are 4
SH-2#
SH-2#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[2.2.2.2:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
 
RD[3.3.3.3:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
 
RD[6.6.6.6:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
 
RD[6.6.6.6:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 4294967295 16 3.3.3.3 MPLS
SH-2#
SH-2#show bgp l2vpn evpn multihoming ethernet-ad-per-evi
 
RD[2.2.2.2:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
 
RD[6.6.6.6:100] VRF[red]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 100 17 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 100 17 3.3.3.3 MPLS
 
RD[6.6.6.6:200] VRF[blue]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 200 18 2.2.2.2 MPLS
00:00:00:11:11:aa:aa:00:00:00 200 18 3.3.3.3 MPLS
SH-2#
SH-2#sh evpn mpls label esi
S - Self
R - Remote
ESI PE-IP-ADDRESS ESI-LABEL
================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 16
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 16
SH-2#
SH-2#sh evpn mpls label alias
S - Self
R - Remote
ESI PE-IP-ADDRESS TENANT ALIAS-LABEL
=============================================================================================
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 2.2.2.2(R) 200 18
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 100 17
00:00:00:11:11:aa:aa:00:00:00 3.3.3.3(R) 200 18
SH-2#
SH-2#sh bgp l2vpn evpn
BGP table version is 9, local router ID is 6.6.6.6
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[2.2.2.2:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[2.2.2.2:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
 
RD[3.3.3.3:100]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:200]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[3.3.3.3:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
 
RD[5.5.5.5:100]
*>i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[5.5.5.5:200]
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*>i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
 
RD[6.6.6.6:100] VRF[red]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[17]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[0]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[00:00:00:11:11:aa:aa:00:00:00]:[100]:[48,0010:9400:0001]:[32,80.80.1.2]:[17]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
*> [2]:[0]:[100]:[48,0077:8899:5566]:[32,80.80.1.3]:[17]
6.6.6.6 0 100 32768 i ---------- MPLS
* i [3]:[100]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [3]:[100]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [3]:[100]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*> [3]:[100]:[32,6.6.6.6]
6.6.6.6 0 100 32768 i ---------- MPLS
 
RD[6.6.6.6:200] VRF[blue]:
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[200]:[18]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i 3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[0]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
* i [2]:[0]:[200]:[48,0010:9400:0005]:[32,90.90.1.4]:[641]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*> [2]:[0]:[200]:[48,0077:8899:5566]:[32,90.90.1.3]:[18]
6.6.6.6 0 100 32768 i ---------- MPLS
* i [3]:[200]:[32,2.2.2.2]
2.2.2.2 0 100 0 i 2.2.2.2 MPLS
* i [3]:[200]:[32,3.3.3.3]
3.3.3.3 0 100 0 i 3.3.3.3 MPLS
* i [3]:[200]:[32,5.5.5.5]
5.5.5.5 0 100 0 i 5.5.5.5 MPLS
*> [3]:[200]:[32,6.6.6.6]
6.6.6.6 0 100 32768 i ---------- MPLS
 
Total number of prefixes 36
SH-2#
SH-2#sh bgp l2vpn evpn prefix-route
SH-2#
SH-2#sh bgp l2vpn evpn summary
BGP router identifier 6.6.6.6, local AS number 65010
BGP table version is 9
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE
2.2.2.2 4 65010 410 398 8 0 0 01:46:28 6 3 0 2 1 0
3.3.3.3 4 65010 422 402 7 0 0 01:57:25 8 3 2 2 1 0
5.5.5.5 4 65010 391 406 5 0 0 02:06:03 4 0 2 2 0 0
 
Total number of neighbors 3
 
Total number of Established sessions 3
SH-2#
SH-2#sh ip bgp vrf evpn_anycast
BGP table version is 1, local router ID is 90.90.1.3
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 80.80.1.0/24 0.0.0.0 0 100 32768 ?
*> 90.90.1.0/24 0.0.0.0 0 100 32768 ?
 
Total number of prefixes 2
SH-2#
SH-2#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 4 3
2 - Yes LSP_DEFAULT 25604 xe14 No 40.40.40.2
L> 3.3.3.3/32 7 41
40 - Yes LSP_DEFAULT 25608 xe14 No 40.40.40.2
L> 4.4.4.4/32 3 39
11 - Yes LSP_DEFAULT 3 xe14 No 40.40.40.2
L> 5.5.5.5/32 1 34
33 - Yes LSP_DEFAULT 25602 xe14 No 40.40.40.2
L> 10.10.10.0/24 2 39
11 - Yes LSP_DEFAULT 3 xe14 No 40.40.40.2
L> 20.20.20.0/24 6 39
11 - Yes LSP_DEFAULT 3 xe14 No 40.40.40.2
L> 30.30.30.0/24 5 39
11 - Yes LSP_DEFAULT 3 xe14 No 40.40.40.2
SH-2#
SH-2#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
2.2.2.2 xe14 Active OPERATIONAL 30 01:46:21
3.3.3.3 xe14 Active OPERATIONAL 30 01:57:03
5.5.5.5 xe14 Active OPERATIONAL 30 01:58:50
4.4.4.4 xe14 Active OPERATIONAL 30 01:58:50
SH-2#
SH-2#sh ip ospf neighbor
 
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
4.4.4.4 1 Full/Backup 00:00:30 40.40.40.2 xe14 0
SH-2#
SH-2#sh nvo vxlan l3vni-map
L3VNI L2VNI IRB-interface
===================================
10000 100 irb100
10000 200 irb200
 
SH-2#
 
P1:
 
P1#sh ip ospf neighbor
 
Total number of full neighbors: 4
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
2.2.2.2 1 Full/Backup 00:00:35 10.10.10.1 xe4.1 0
3.3.3.3 1 Full/Backup 00:00:37 20.20.20.1 xe1 0
5.5.5.5 1 Full/DR 00:00:38 30.30.30.1 xe6 0
6.6.6.6 1 Full/DR 00:00:36 40.40.40.1 xe10 0
P1#
P1#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
3.3.3.3 xe1 Active OPERATIONAL 30 01:58:40
2.2.2.2 xe4.1 Active OPERATIONAL 30 01:47:32
5.5.5.5 xe6 Passive OPERATIONAL 30 02:00:03
6.6.6.6 xe10 Passive OPERATIONAL 30 02:00:03
P1#
P1#sh mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 2.2.2.2/32 2 2
1 - Yes LSP_DEFAULT 3 xe4.1 No 10.10.10.1
L> 3.3.3.3/32 4 47
46 - Yes LSP_DEFAULT 3 xe1 No 20.20.20.1
L> 5.5.5.5/32 1 38
37 - Yes LSP_DEFAULT 3 xe6 No 30.30.30.1
L> 6.6.6.6/32 3 44
43 - Yes LSP_DEFAULT 3 xe10 No 40.40.40.1
P1#
 
EVPN MPLS IRB Symmetric with Host Routes
Overview
EVPN-IRB facilitates communication between two L2VNI’s with the help of Routing using IP-VRF. This features provides the Host (/32 or /128) based Symmetric IRB support which forwards the inter-subnet traffic directly towards the host (CEs) attached to VTEP (PEs).
Host based Symmetric IRB support is two modes: interface-full and interface-less.
Interface-full mode refers to configuring of IRB interface
Interface-less mode refers to configuring the access interface as L3 interface and using the IRB configuration. IRB interface is not used in this case.
Interface-full mode supports “evpn irb-advertise-host-route” CLI under evpn mpls id <id>.
Interface-less mode supports both “evpn irb-advertise-host-route” CLI under evpn mpls id <id> and “redistribute-connected-host-routes” under bgp vrf address family.
Host based Symmetric IRB support is achieved through one of the modes:
“evpn irb-advertise-host-route” in interface-full mode (with IRB interface“)
evpn irb-advertise-host-route” in interface-less mode (without IRB interface)
“redistribute-connected-host-routes” in interface-less mode (without IRB interface)
Topology
Figure 2-6 depicts the EVPN MPLS IRB with LDP as underlay MPLS path.
Host based symmetric IRB support
PE1
Enable EVPN MPLS and IRB
 
#configure terminal
Enter configuration mode.
(config)#evpn mpls enable
Enable EVPN MPLS globally.
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally.
Loopback Interface
 
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 20.20.20.20/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode.
Configure MAC VRF:
 
(config)#mac vrf green
Create MAC VRF mvrf4.
(config-vrf)# rd 20.20.20.20:400
Configure route distinguisher.
(config-vrf)# route-target both 65010:400
Configure route target as evpn auto route target (it can be configured as manual RT).
(config-vrf)#exit
Exit VRF mode.
Configure IP VRF:
 
(config)#ip vrf vrf400
Configure IP VRF vrf100.
(config-vrf)# rd 30:400
Configure route distinguisher
(config-vrf)# route-target both 100:400
Configure route target
(config-vrf)# l3vni 40000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
Configure anycast gateway MAC:
 
(config)#evpn irb-forwarding anycast-gateway-mac 0011.2233.5577
Configure anycast gateway MAC globally.
Configuring IRB interface:
 
(config)#interface irb400
Create IRB interface irb100.
(config-irb-if)# ip vrf forwarding vrf400
Map L3 VRF to the IRB interface.
(config-irb-if)# ip address 40.40.1.1/24 anycast
Assign IP address.
(config-irb-if)# ipv6 address 5001::1/48
Assign IPv6 address.
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC.
(config-irb-if)#exit
Exit interface mode.
Creating EVPN MPLS ID:
 
(config)#evpn mpls vtep-ip-global 20.20.20.20
Configure VTEP global IP.
(config)#evpn mpls id 400
Create EVPN MPLS ID.
(config-evpn-mpls)# host-reachability-protocol evpn-bgp green
Map the MAC VRF mvrf4.
(config-evpn-mpls)# evpn irb irb400
Map the IRB interface.
(config-evpn-mpls)# evpn irb-advertise-host-route
Set host to route advertise.
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode.
Global LDP
 
(config)#router ldp
Enter the Router LDP mode.
(config-router)# router-id 20.20.20.20
Set router ID of LDP.
(config-router)# targeted-peer ipv4 17.17.17.17
Configure targeted peer.
(config-router-targeted-peer)# exit
Exit from targeted-peer mode.
(config-router)# transport-address ipv4 20.20.20.20
Configure LDP transport address.
(config-router)#exit
Exit from LDP mode.
Interface Configuration Network Side
 
(config)#interface xe18
Configure physical interface.
(config-if)# mtu 9216
Configure MTU on the interface.
(config-if)# load-interval 30
Set load interval.
(config-if)# ip address 55.55.55.1/24
Assign IP address.
(config-if)# label-switching
Enable label switching.
(config-if)# isis network point-to-point
Configure isis as point-to-point network.
(config-if)# enable-ldp ipv4
Enable LDP IPv4.
(config-if)# ip router isis ISIS-IGP
Enable a routing process.
(config-if)#exit
Exit interface mode.
(config-if)# router isis ISIS-IGP
Enter the Router ISIS mode.
(config-router)# is-type level-1
IS Level for this routing process.
(config-router)# mpls traffic-eng router-id 20.20.20.20
Routing protocol commands for MPLS Traffic Engineering.
(config-router)# net 49.0001.0000.0000.0001.00
Configure net.
(config-router)#exit
Exit OSPF mode.
BGP Configuration
 
(config)#router bgp
Enter the Router BGP mode, ASN: 100
(config-router)# neighbor 11.11.11.11 remote-as 65010
Configuring PE3 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 11.11.11.11 update-source lo
Source of routing updates as loopback
(config-router)# neighbor 22.22.22.22 remote-as 65010
Configuring PE2 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 22.22.22.22 update-source lo
Source of routing updates as loopback
(config-router)# neighbor 17.17.17.17 remote-as 65010
Configuring PE3 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 22.22.22.22 update-source lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 11.11.11.11 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 22.22.22.22 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 17.17.17.17 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf vrf400
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
Access Port Configuration:
 
(config)# interface xe26
Configure physical interface
(config-if)# static-channel-group 10000
Create static channel group
(config-if)# exit
Exit interface mode
(config)# interface sa10000
Configure Static channel sa10000
(config-if)# switchport
Make it L2 interface
(config-if)# load-interval 30
Set load interval
(config-if)# mtu 9216
Configure MTU on the interface.
(config)# exit
Exit interface mode
(config)# interface sa10000.400 switchport
Configure static sub-interface
(config-if)# encapsulation dot1q 701
Configure encapsulation
(config-ig)# rewrite pop
Pop the outer VID
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 400
Map VPN-ID 400
(config-acc-if-evpn)# mac 0000.0000.aaaa ip 40.40.1.10
Configure static mac with IP
(config-acc-if-evpn)# mac 0000.0000.bbbb ipv6 5001:aaaa::1
Configure static mac with IPv6
(config-acc-if-evpn)#exit
Exiting out of access interface mode
PE2
Enable EVPN MPLS and IRB:
 
#configure terminal
Enter configuration mode.
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
Loopback Interface
 
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 22.22.22.22/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF
 
(config)#mac vrf green
Create MAC VRF mvrf4.
(config-vrf)# rd 22.22.22.22:400
Configure route distinguisher
(config-vrf)# route-target both 65010:400
Configure route target as evpn auto route target (we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
Configure IP VRF
 
(config)#ip vrf vrf400
Configure IP VRF vrf100.
(config-vrf)# rd 40:400
Configure route distinguisher
(config-vrf)# route-target both 100:400
Configure route target
(config-vrf)# l3vni 40000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
Configure anycast gateway MAC
 
(config)#evpn irb-forwarding anycast-gateway-mac 0011.2233.5577
Configure anycast gateway MAC globally
Configuring IRB interface
 
(config)#interface irb400
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding vrf400
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 40.40.1.1/24 anycast
Assign IP address
(config-irb-if)# ipv6 address 5001::1/48
Assign IPv6 address
(config-irb-if)# evpn irb-if-forwarding anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
Creating EVPN MPLS ID:
 
(config)#evpn mpls vtep-ip-global 22.22.22.22
Configure VTEP global IP
(config)#evpn mpls id 400
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability-protocol evpn-bgp green
Map the MAC VRF mvrf4
(config-evpn-mpls)# evpn irb irb400
Map the IRB interface
(config-evpn-mpls)# evpn irb-advertise-host-route
Set host to route advertise
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
Global LDP
 
(config)#router ldp
Enter the Router LDP mode.
(config-router)# router-id 22.22.22.22
Set router ID of LDP
(config-router)# targeted-peer ipv4 17.17.17.17
Configure targeted peer
(config-router)# targeted-peer ipv4 11.11.11.11
Configure targeted peer
(config-router-targeted-peer)# exit
Exit from targeted-peer mode
(config-router)# transport-address ipv4 22.22.22.22
Configure LDP transport address
(config-router)#exit
Exit from LDP mode
Interface Configuration Network Side
 
(config)#interface xe19
Configure physical interface
(config-if)# mtu 9216
Configure MTU on the interface.
(config-if)# load-interval 30
Set load interval
(config-if)# ip address 30.30.30.1/24
Assign IP address
(config-if)# label-switching
Enable label switching
(config-if)# isis network point-to-point
Configure isis as point-to-point network
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)# ip router isis ISIS-IGP
Enable a routing process
(config-if)#exit
Exit interface mode
(config-if)# router isis ISIS-IGP
Enter the Router ISIS mode.
(config-router)# is-type level-1
IS Level for this routing process
(config-router)# mpls traffic-eng router-id 22.22.22.22
routing protocol commands for MPLS Traffic Engineering
(config-router)# net 49.0001.0000.0000.0006.00
Configure net
(config-router)#exit
Exit OSPF mode
BGP Configuration
 
(config)#router bgp
Enter the Router BGP mode, ASN: 100
(config-router)# neighbor 11.11.11.11 remote-as 65010
Configuring PE3 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 11.11.11.11 update-source lo
Source of routing updates as loopback
(config-router)# neighbor 20.20.20.20 remote-as 65010
Configuring PE2 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 20.20.20.20 update-source lo
Source of routing updates as loopback
(config-router)# neighbor 17.17.17.17 remote-as 65010
Configuring PE3 as I-BGP neighbor using it's loopback IP
(config-router)# neighbor 17.17.17.17 update-source lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 11.11.11.11 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 22.22.22.22 activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 17.17.17.17 activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf vrf400
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
Access Port Configuration
 
(config)# interface xe12.400 switchport
Configure static sub-interface
(config-if)# encapsulation dot1q 400
Configure encapsulation
(config-ig)# rewrite pop
Pop the outer VID
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 400
Map VPN-ID 400
(config-acc-if-evpn)# mac 0000.0000.aabb ip 40.40.1.20
Configure static mac with IP
(config-acc-if-evpn)# mac 0000.0000.bbaa ipv6 5001::20
Configure static mac with IPv6
(config-acc-if-evpn)#exit
Exiting out of access interface mode
P1
Loopback Interface:
 
#configure terminal
Enter configuration mode.
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 24.24.24.24/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Global LDP
 
(config)#router ldp
Enter the Router LDP mode.
(config-router)# router-id 24.24.24.24
Configure router id
(config-router)# transport-address ipv4 24.24.24.24
Configure transport address
Interface Configuration
 
(config)#interface xe2
Configure physical interface
(config-if)# mtu 9216
Configure MTU on the interface.
(config-if)# load-interval 30
Set load interval
(config-if)# ip address 30.30.30.2/24
Assign IP address
(config-if)# label-switching
Enable label switching
(config-if)# isis network point-to-point
Configure isis as point-to-point network
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe18
Configure physical interface
(config-if)# mtu 9216
Configure MTU on the interface.
(config-if)# load-interval 30
Set load interval
(config-if)# ip address 55.55.55.2/24
Assign IP address
(config-if)# label-switching
Enable label switching
(config-if)# isis network point-to-point
Configure isis as point-to-point network
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
(config)#interface xe40
Configure physical interface
(config-if)# mtu 9216
Configure MTU on the interface.
(config-if)# load-interval 30
Set load interval
(config-if)# ip address 76.76.76.2/24
Enter interface mode xe40
(config-if)# label-switching
Set label switching
(config-if)# isis network point-to-point
Set routing protocol isis
(config-if)# enable-ldp ipv4
Enable ldp
(config-if)#exit
Exit interface mode
(config-if)# mtu 1522
Configure MTU on the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe11
Create po subinterface
(config-if)# ip address 60.60.60.2/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)# isis network point-to-point
Set routing protocol isis
(config-if)#exit
Exit interface mode
ISIS Configuration
 
(config)#router isis ISIS-IGP
Enter the Router IsIs mode.
(config-router)# is-type level-1
IS Level for this routing process
(config-router)# mpls traffic-eng router-id 24.24.24.24
routing protocol commands for MPLS Traffic Engineering
(config-router)# net 49.0001.0000.0000.0003.00
Configure net
(config-router)#exit
Exit Router isis mode and return to Configure mode.
(config)#commit
Commit candidate configuration to be running configuration
PE3
Enable EVPN MPLS and IRB
 
#configure terminal
Enter configuration mode.
(config)#hardware-profile filter evpn-mpls-mh enable
Configure hardware profile to enable EVPN MPLS multi homing in hardware
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
(config)#evpn mpls multihoming enable
Enable EVPN MPLS multihoming globally
Loopback Interface
 
(config-if)#interface lo
Enter the Interface mode for the loopback interface.
(config-if)# ip address 11.11.11.11/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF
 
(config-vrf)#mac vrf green
Create MAC VRF mvrf4.
(config-vrf)# rd 11.11.11.11:400
Configure route distinguisher
(config-vrf)# route-target both 65010:400
Configure route target as evpn auto-rt(we can configure as manual RT also)
(config-vrf)#exit
Exit VRF mode
Configure IP VRF
 
(config)#ip vrf vrf400
Configure IP VRF vrf100.
(config-vrf)# rd 20:400
Configure route distinguisher
(config-vrf)# route-target both 100:400
Configure route target
(config-vrf)# l3vni 40000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
Configure Anycast Gateway MAC
 
(config)#evpn irb-forwarding anycastgateway-
mac 0011.2233.4455
Configure anycast gateway MAC globally
(config)#interface irb500
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding vrf400
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 80.80.1.1/24 anycast
Assign IP address
(config-irb-if)# evpn irb-if-forwarding
anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
Creating EVPN MPLS ID
 
(config)#evpn mpls vtep-ip-global 11.11.11.11
Configure VTEP global IP
(config)#evpn mpls id 500
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability-protocol evpn-bgp green
Map the MAC VRF mvrf4
(config-evpn-mpls)# evpn irb irb500
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
Global LDP
 
(config)#router ldp
Enter the Router LDP mode
(config-router)# transport-address ipv4
11.11.11.11
Configure LDP transport address
(config-router)#exit
Exit from LDP mode
Interface Configuration Network Side
 
(config-if)#interface xe27
Enter the Interface mode for eth10.
(config-if)# mtu 9216
Configure MTU.
(config-if)# enable-ldp ipv4
Enable LDP on the physical interface
(config-if)# ip address ip address 76.76.76.1/24
Assign IP address
(config-if)# mtu 1522
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# isis network point-to-point
Configure isis as point-to-point network
(config-if)# router isis ISIS-IGP
Configure isis with ISIS-IGP area tag
(config-if)# exit
Exit interface mode
ISIS Configuration
 
(config)# router isis ISIS-IGP
Enter the Router ISIS mode.
(config-router)# is-type level-1
IS Level for this routing process
(config-router)# mpls traffic-eng router-id 11.11.11.11
Routing protocol commands for MPLS Traffic Engineering
(config-router)# net 49.0001.0000.0000.0005.00
Configure net
BGP Configuration
 
(config-router)# router bgp 65010
Enter the Router BGP mode, ASN: 65010
(config-router)# neighbor 20.20.20.20 remote-as 65010
Configuring PE1 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 20.20.20.20 update-source
lo
Source of routing updates as loopback
(config-router)# neighbor 22.22.22.22 remote-as
65010
Configuring PE2 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 22.22.22.22 update-source lo
lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 20.20.20.20
activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 22.22.22.22
activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf
Vrf400
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
Access Port Configuration
 
(config)#interface po900
Create LAG interface po900
(config-if)# switchport
Configure as switchport
(config-if)# evpn multi-homed system-mac 0000.1111.aaaa
Configure system MAC for multi homing
(config)#interface po900.500 switchport
Creating L2 sub interface of physical interface xe28
(config-if)# encapsulation dot1q 500
Setting Encapsulation to dot1q with VLAN ID 500
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 500
Map VPN-ID 500
(config-acc-if-evpn)#exit
Exiting out of access interface mode
PE4
Enable EVPN MPLS and IRB
 
#configure terminal
Enter configuration mode.
(config)#hardware-profile filter evpn-mpls-mh enable
Configure hardware profile to enable EVPN MPLS multi
homing in hardware
(config)#evpn mpls enable
Enable EVPN MPLS globally
(config)#evpn mpls irb
Enable EVPN MPLS IRB globally
(config)#evpn mpls multihoming enable
Enable EVPN MPLS multihoming globally
Loopback Interface
 
(config-if)#interface lo
Enter the Interface mode for the loopback interface
(config-if)# ip address 17.17.17/32 secondary
Configure IP address on loopback interface.
(config-if)#exit
Exit interface mode
Configure MAC VRF
 
(config-vrf)#mac vrf green
Create MAC VRF mvrf4.
(config-vrf)# rd 17.17.17.17:400
Configure route distinguisher
(config-vrf)# route-target both 65010:400
Configure route target as evpn auto-rt (we can configure as
manual RT also)
(config-vrf)#exit
Exit VRF mode
Configure IP VRF
 
(config)#ip vrf vrf400
Configure IP VRF vrf100.
(config-vrf)# rd 10:400
Configure route distinguisher
(config-vrf)# route-target both 100:400
Configure route target
(config-vrf)# l3vni 40000
Configure L3 VNID for routing
(config-vrf)#exit
Exit VRF mode
Configure Anyc ast Gateway MAC
 
(config)#evpn irb-forwarding anycast-gateway-mac 0011.2233.5577
Configure anycast gateway MAC globally
Configuring IRB interface
 
(config)#interface irb500
Create IRB interface irb100
(config-irb-if)# ip vrf forwarding vrf400
Map L3 VRF to the IRB interface
(config-irb-if)# ip address 80.80.1.1/24 anycast
Assign IP address
(config-irb-if)# evpn irb-if-forwarding
anycast-gateway-mac
Map anycast gateway MAC
(config-irb-if)#exit
Exit interface mode
Creating EVPN MPLS ID
 
(config)#evpn mpls vtep-ip-global 17.17.17.17
Configure VTEP global IP
(config)#evpn mpls id 500
Create EVPN MPLS ID
(config-evpn-mpls)# host-reachability-protocol evpn-bgp green
Map the MAC VRF green
(config-evpn-mpls)# evpn irb irb500
Map the IRB interface
(config-evpn-mpls)#exit
Exit the EVPN MPLS mode
Global LDP
 
(config)#router ldp
Enter the Router LDP mode.
(config-router)#router-id 17.17.17.17
Configure lo under ldp
(config-router)#targeted-peer ipv4 20.20.20.20
Configure targeted peer
(config-router-targeted-peer)# exit-targeted-peer-mode
Exit target peer mode
(config-router)# targeted-peer ipv4 22.22.22.22
Configure targeted peer
(config-router-targeted-peer)# exit-targeted-peer-mode
Exit target peer mode
(config-router)# transport-address ipv4
17.17.17.17
Configure LDP transport address
(config-router)#exit
Exit from LDP mode
Interface Configuration Network Side
 
(config-if)#interface xe2
Configure physical interface
(config-if)# ip address 60.60.60.1/24
Assign IP address
(config-if)# mtu 9216
Configure MTU to the sub-if
(config-if)# label-switching
Enable label switching
(config-if)# isis network point-to-point
Configure ISIS as point-to-point network
(config-if)# ip router isis ISIS-IGP
Configure ISIS with area tag ISIS-IGP
(config-if)# enable-ldp ipv4
Enable LDP IPv4
(config-if)#exit
Exit interface mode
ISIS Configuration
 
(config)# router isis ISIS-IGP
Enter the Router OSPF mode.
(config-router)# is-type level-1
Configure routing ISIS level
(config-router)# mpls traffic-eng router-id 17.17.17.17
Routing protocol commands for MPLS Traffic Engineering.
(config-router)# net 49.0001.0000.0000.0004.00
Configure net
BGP Configuration
 
(config)#router bgp 65010
Enter the Router BGP mode, ASN: 100
(config-router)# bgp router-id 17.17.17.17
 
(config-router)# neighbor 20.20.20.20 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 20.20.20.20 update-source lo
Source of routing updates as loopback
(config-router)# neighbor 22.22.22.22 remote-as 65010
Configuring PE3 as iBGP neighbor using it's loopback IP
(config-router)# neighbor 22.22.22.21 update-source lo
Source of routing updates as loopback
(config-router)# address-family l2vpn evpn
Entering into address family mode as EVPN
(config-router-af)# neighbor 20.20.20.20
activate
Enabling EVPN Address family for neighbor
(config-router-af)# neighbor 22.22.22.22
activate
Enabling EVPN Address family for neighbor
(config-router-af)# exit-address-family
Exiting of Address family mode
(config-router)# address-family ipv4 vrf
Vrf500
Entering into VRF address family mode
(config-router-af)# redistribute connected
Redistribute connected routes to the network
(config-router-af)# exit-address-family
Exiting of Address family mode
Access Port Configuration
 
(config)#interface po900
Create LAG interface po1
(config-if)# switchport
Configure as switchport
(config-if)# evpn multi-homed system-mac
0000.0000.1111
Configure system MAC for multi homing
(config)#interface po900.500 switchport
Creating L2 sub interface of physical interface xe9
(config-if)# encapsulation dot1q 500
Setting Encapsulation to dot1q with VLAN ID 500
(config-if)# access-if-evpn
Entering Access mode for EVPN MPLS ID configuration
(config-acc-if-evpn)# map vpn-id 500
Map VPN-ID 500
(config-acc-if-evpn)#exit
Exiting out of access interface mode
Validation
PE1
SH-1-7020#show evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
20.20.20.20 17.17.17.17 Installed 17:04:56 17:04:56 701
20.20.20.20 17.17.17.17 Installed 17:04:56 17:04:56 700
20.20.20.20 17.17.17.17 Installed 17:04:56 17:04:56 600
20.20.20.20 17.17.17.17 Installed 21:39:09 21:39:09 40000
20.20.20.20 22.22.22.22 Installed 21:39:09 21:39:09 40000
20.20.20.20 22.22.22.22 Installed 13:59:58 13:59:58 400
20.20.20.20 11.11.11.11 Installed 17:04:56 17:04:56 701
20.20.20.20 11.11.11.11 Installed 17:04:56 17:04:56 700
20.20.20.20 11.11.11.11 Installed 17:04:56 17:04:56 600
20.20.20.20 11.11.11.11 Installed 17:04:56 17:04:56 400
20.20.20.20 11.11.11.11 Installed 21:39:09 21:39:09 40000
 
Total number of entries are 11
SH-1-7020#show evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
400 irb400 ---- ---- 0011.2233.5577 20.20.20.20 Static Local ------- 0 -------
400 sa10000.400 ---- ---- 0000.0000.aaaa 20.20.20.20 Static Local ------- 0 -------
400 sa10000.400 ---- ---- 0000.0000.bbbb 20.20.20.20 Static Local ------- 0 -------
 
Total number of entries are: 3
SH-1-7020#show evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
400 40.40.1.1 0011.2233.5577 Static Local ----
400 40.40.1.10 0000.0000.aaaa Static Local ----
Total number of entries are 2
SH-1-7020#show evpn mpls nd-cache
MPLS-EVPN ND-CACHE Information
==============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________________________
400 5001::1 0011.2233.5577 Static Local ----
400 5001:aaaa::1 0000.0000.bbbb Static Local ----
Total number of entries are 2
SH-1-7020#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[11.11.11.11:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 38 11.11.11.11 MPLS
 
RD[17.17.17.17:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 37 17.17.17.17 MPLS
PE2
SH2-7022#show evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
22.22.22.22 11.11.11.11 Installed 14:21:58 14:21:58 400
22.22.22.22 11.11.11.11 Installed 19:56:30 19:56:30 40000
22.22.22.22 17.17.17.17 Installed 19:56:30 19:56:30 40000
22.22.22.22 20.20.20.20 Installed 14:30:31 14:30:31 400
22.22.22.22 20.20.20.20 Installed 19:56:30 19:56:30 40000
 
Total number of entries are 5
SH2-7022#show evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
400 irb400 ---- ---- 0011.2233.5577 22.22.22.22 Static Local ------- 0 -------
400 ---- ---- ---- 0000.0000.aaaa 20.20.20.20 Static Remote ------- 0 -------
400 ---- ---- ---- 0000.0000.bbbb 20.20.20.20 Static Remote ------- 0 -------
 
Total number of entries are : 3
SH2-7022#sh evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
400 40.40.1.1 0011.2233.5577 Static Local ----
400 40.40.1.10 0000.0000.aaaa Static Remote ----
Total number of entries are 2
 
SH2-7022#sh evpn mpls nd-cache
MPLS-EVPN ND-CACHE Information
==============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________________________
400 5001::1 0011.2233.5577 Static Local ----
400 5001:aaaa::1 0000.0000.bbbb Static Remote ----
Total number of entries are 2
 
SH2-7022#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
RD[11.11.11.11:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 38 11.11.11.11 MPLS
 
RD[17.17.17.17:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 37 17.17.17.17 MPLS
 
SH2-7022#sh bgp l2vpn evpn
BGP table version is 11, local router ID is 22.22.22.22
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:400]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
17.17.17.17 0 100 0 ? 17.17.17.17 MPLS
 
RD[20:400]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
11.11.11.11 0 100 0 ? 11.11.11.11 MPLS
 
RD[30:400]
*>i [5]:[0]:[0]:[24]:[40.40.1.0]:[0.0.0.0]:[16]
20.20.20.20 0 100 0 ? 20.20.20.20 MPLS
 
RD[11.11.11.11:400]
*>i [2]:[0]:[500]:[48,0011:2233:5577]:[32,80.80.1.1]:[18]
11.11.11.11 0 100 0 i 11.11.11.11 MPLS
*>i [3]:[400]:[32,11.11.11.11]
11.11.11.11 0 100 0 i 11.11.11.11 MPLS
*>i [3]:[500]:[32,11.11.11.11]
11.11.11.11 0 100 0 i 11.11.11.11 MPLS
 
RD[17.17.17.17:400]
*>i [2]:[0]:[500]:[48,0011:2233:5577]:[32,80.80.1.1]:[17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
*>i [3]:[500]:[32,17.17.17.17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
 
RD[17.17.17.17:600]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[600]:[18]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
*>i [3]:[600]:[32,17.17.17.17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
 
RD[20.20.20.20:400]
*>i [2]:[0]:[400]:[48,0000:0000:aaaa]:[32,40.40.1.10]:[17]:[16]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [2]:[0]:[400]:[48,0000:0000:bbbb]:[128,5001:aaaa::1]:[17]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [2]:[0]:[400]:[48,0011:2233:5577]:[32,40.40.1.1]:[17]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [2]:[0]:[400]:[48,0011:2233:5577]:[128,5001::1]:[17]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [3]:[400]:[32,20.20.20.20]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
 
RD[20.20.20.20:600]
*>i [3]:[600]:[32,20.20.20.20]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
 
RD[20.20.20.20:700]
*>i [3]:[0]:[32,20.20.20.20]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
 
RD[20.20.20.20:701]
*>i [2]:[0]:[701]:[48,0000:0000:2001]:[0]:[29]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [2]:[0]:[701]:[48,0000:0000:2002]:[32,20.20.20.1]:[29]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [2]:[0]:[701]:[48,0000:0000:2003]:[128,1204::1]:[29]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [3]:[701]:[32,20.20.20.20]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
 
RD[22.22.22.22:400] VRF[green]:
* i [2]:[0]:[400]:[48,0000:0000:aaaa]:[32,40.40.1.10]:[17]:[16]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
* i [2]:[0]:[400]:[48,0000:0000:bbbb]:[128,5001:aaaa::1]:[17]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*> [2]:[0]:[400]:[48,0011:2233:5577]:[32,40.40.1.1]:[17]
22.22.22.22 0 100 32768 i ---------- MPLS
* i 20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*> [2]:[0]:[400]:[48,0011:2233:5577]:[128,5001::1]:[17]
22.22.22.22 0 100 32768 i ---------- MPLS
* i 20.20.20.20 0 100 0 i 20.20.20.20 MPLS
* i [2]:[0]:[500]:[48,0011:2233:5577]:[32,80.80.1.1]:[18]
11.11.11.11 0 100 0 i 11.11.11.11 MPLS
* i 17.17.17.17 0 100 0 i 17.17.17.17 MPLS
* i [3]:[400]:[32,11.11.11.11]
11.11.11.11 0 100 0 i 11.11.11.11 MPLS
* i [3]:[400]:[32,20.20.20.20]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*> [3]:[400]:[32,22.22.22.22]
22.22.22.22 0 100 32768 i ---------- MPLS
* i [3]:[500]:[32,11.11.11.11]
11.11.11.11 0 100 0 i 11.11.11.11 MPLS
* i [3]:[500]:[32,17.17.17.17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
 
Total number of prefixes 50
PE3
MH-2-7011#show evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
11.11.11.11 22.22.22.22 Installed 15:23:05 15:23:05 400
11.11.11.11 22.22.22.22 Installed 23:11:42 23:11:42 40000
11.11.11.11 17.17.17.17 Installed 18:36:34 18:36:34 500
11.11.11.11 17.17.17.17 Installed 23:11:42 23:11:42 40000
11.11.11.11 20.20.20.20 Installed 18:36:34 18:36:34 400
11.11.11.11 20.20.20.20 Installed 23:11:42 23:11:42 40000
 
MH-2-7011#show evpn mpls mac-table
=========================================================================================================================================
EVPN MPLS MAC Entries
=========================================================================================================================================
VNID Interface VlanId In-VlanId Mac-Addr VTEP-Ip/ESI Type Status MAC move AccessPortDesc
_________________________________________________________________________________________________________________________________________
 
400 ---- ---- ---- 0011.2233.5577 20.20.20.20 Static Remote ------- 0 -------
400 ---- ---- ---- 0000.0000.aaaa 20.20.20.20 Static Remote ------- 0 -------
400 ---- ---- ---- 0000.0000.bbbb 20.20.20.20 Static Remote ------- 0 -------
500 irb500 ---- ---- 0011.2233.5577 11.11.11.11 Static Local ------- 0 -------
 
MH-2-7011#show evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
400 40.40.1.1 0011.2233.5577 Static Remote ----
400 40.40.1.10 0000.0000.aaaa Static Remote ----
500 80.80.1.1 0011.2233.5577 Static Local ----
Total number of entries are 3
MH-2-7011#show evpn mpls nd-cache
MPLS-EVPN ND-CACHE Information
==============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________________________
400 5001::1 0011.2233.5577 Static Remote ----
400 5001:aaaa::1 0000.0000.bbbb Static Remote ----
Total number of entries are 2
 
MH-2-7011#show bgp l2vpn evpn multihoming ethernet-ad-per-es
 
 
RD[11.11.11.11:64512] VRF[evpn-gvrf-1]:
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 38 11.11.11.11 MPLS
 
RD[17.17.17.17:64512]
ESI Eth-Tag VNID/LABEL Nexthop IP Encap
00:00:00:11:11:aa:aa:00:00:00 4294967295 37 17.17.17.17 MPLS
MH-2-7011#sh bgp l2vpn evpn
BGP table version is 8, local router ID is 11.11.11.11
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
Network Next Hop Metric LocPrf Weight Path Peer Encap
 
RD[10:400]
*>i [5]:[0]:[0]:[24]:[80.80.1.0]:[0.0.0.0]:[16]
17.17.17.17 0 100 0 ? 17.17.17.17 MPLS
 
RD[30:400]
*>i [5]:[0]:[0]:[24]:[40.40.1.0]:[0.0.0.0]:[16]
20.20.20.20 0 100 0 ? 20.20.20.20 MPLS
 
RD[40:400]
*>i [5]:[0]:[0]:[24]:[40.40.1.0]:[0.0.0.0]:[16]
22.22.22.22 0 100 0 ? 22.22.22.22 MPLS
 
RD[11.11.11.11:400] VRF[green]:
* i [2]:[0]:[400]:[48,0000:0000:aaaa]:[32,40.40.1.10]:[17]:[16]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
* i [2]:[0]:[400]:[48,0000:0000:bbbb]:[128,5001:aaaa::1]:[17]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
* i [2]:[0]:[400]:[48,0011:2233:5577]:[32,40.40.1.1]:[17]
22.22.22.22 0 100 0 i 22.22.22.22 MPLS
* i 20.20.20.20 0 100 0 i 20.20.20.20 MPLS
* i [2]:[0]:[400]:[48,0011:2233:5577]:[128,5001::1]:[17]
22.22.22.22 0 100 0 i 22.22.22.22 MPLS
* i 20.20.20.20 0 100 0 i 20.20.20.20 MPLS
* i [2]:[0]:[500]:[48,0011:2233:5577]:[32,80.80.1.1]:[17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
*> 11.11.11.11 0 100 32768 i ---------- MPLS
*> [3]:[400]:[32,11.11.11.11]
11.11.11.11 0 100 32768 i ---------- MPLS
* i [3]:[400]:[32,20.20.20.20]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
* i [3]:[400]:[32,22.22.22.22]
22.22.22.22 0 100 0 i 22.22.22.22 MPLS
*> [3]:[500]:[32,11.11.11.11]
11.11.11.11 0 100 32768 i ---------- MPLS
* i [3]:[500]:[32,17.17.17.17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
 
 
RD[11.11.11.11:64512] VRF[evpn-gvrf-1]:
*> [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
11.11.11.11 0 100 32768 i ---------- MPLS
*> [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,11.11.11.11]
11.11.11.11 0 100 32768 i ---------- MPLS
* i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,17.17.17.17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
 
RD[17.17.17.17:400]
*>i [2]:[0]:[500]:[48,0011:2233:5577]:[32,80.80.1.1]:[17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
*>i [3]:[500]:[32,17.17.17.17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
 
 
RD[17.17.17.17:64512]
*>i [1]:[00:00:00:11:11:aa:aa:00:00:00]:[4294967295]:[0]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
*>i [4]:[00:00:00:11:11:aa:aa:00:00:00]:[32,17.17.17.17]
17.17.17.17 0 100 0 i 17.17.17.17 MPLS
 
RD[20.20.20.20:400]
*>i [2]:[0]:[400]:[48,0000:0000:aaaa]:[32,40.40.1.10]:[17]:[16]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [2]:[0]:[400]:[48,0000:0000:bbbb]:[128,5001:aaaa::1]:[17]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [2]:[0]:[400]:[48,0011:2233:5577]:[32,40.40.1.1]:[17]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [2]:[0]:[400]:[48,0011:2233:5577]:[128,5001::1]:[17]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
*>i [3]:[400]:[32,20.20.20.20]
20.20.20.20 0 100 0 i 20.20.20.20 MPLS
 
RD[22.22.22.22:400]
*>i [2]:[0]:[400]:[48,0011:2233:5577]:[32,40.40.1.1]:[17]
22.22.22.22 0 100 0 i 22.22.22.22 MPLS
*>i [2]:[0]:[400]:[48,0011:2233:5577]:[128,5001::1]:[17]
22.22.22.22 0 100 0 i 22.22.22.22 MPLS
*>i [3]:[400]:[32,22.22.22.22]
22.22.22.22 0 100 0 i 22.22.22.22 MPLS
 
PE4
MH-1-7017#show evpn mpls tunnel
EVPN-MPLS Network tunnel Entries
Source Destination Status Up/Down Update evpn-id
===================================================================================
17.17.17.17 22.22.22.22 Installed 1d00h04m 1d00h04m 40000
17.17.17.17 11.11.11.11 Installed 00:20:45 00:20:45 500
17.17.17.17 11.11.11.11 Installed 1d00h04m 1d00h04m 40000
17.17.17.17 20.20.20.20 Installed 1d00h04m 1d00h04m 40000
 
MH-1-7017#show evpn mpls arp-cache
MPLS-EVPN ARP-CACHE Information
===============================
EVPN-ID Ip-Addr Mac-Addr Type Age-Out Retries-Left
_____________________________________________________________________________
500 80.80.1.1 0011.2233.5577 Static Local ----
Total number of entries are 1