show l2vpn evpn

Displays Layer 2 Ethernet Virtual Private Network (EVPN) statistics.
Syntax
show l2vpn evpn es { all | id instance-id [ detail ] }
show l2vpn evpn evi { instance-id { detail | mac-ip-table } | all }
show l2vpn evpn mac-ip-table { evi value [ ip-address ] [ ethernet unit/slot/port ] [ lag lag-id ] [ remote-site ip-address ] | vlan vlan-id }
Parameters
es
Specifies Ethernet Segments (ES).
all
Specifies all Ethernet Segment Instances (ESI).
id instance-id
Specifies an ES and any configured ES-EVI mappings.
detail
Specifies detailed information.
evi
Specifies Layer-2 EVPN instances.
instance-id
Specifies a Layer 2 EVPN instance.
all
Specifies all Layer 2 EVPN instances.
detail
Displays detailed information.
mac-ip-table
Displays an EVPN MAC IP table.
evi value
Specifies a Layer-2 EVPN instance.
ip-address
Displays entries for the EVI with this IP Address.
ethernet unit/slot/port
Displays entries for the EVI for this Ethernet interface.
lag lag-id
Displays entries for the EVI for this LAG interface.
remote-site ip-address
Displays entries for the EVI for this remote site.
vlan vlan-id
Displays the Layer-2 EVPN MAC IP table for the specified VLAN.
Modes

User EXEC mode

Examples

The following example shows information for all EVIs.

device> show l2vpn evpn evi all

Total number of Evpn Instances: 1
EVI         State  VNI       Vlan  Tunnel-Ip        RT-export        RT-import        RD
100         UP     1000      10    1.1.1.1          10000:1000       10000:1000       1.1.1.1:10
200         UP     2000      20    1.1.1.1          10000:2000       10000:2000       1.1.1.1:20

The following example shows information for a specified EVI.

device> show l2vpn evpn evi 100

RD               : 159.159.159.159:100(auto)
RT import list   : 100:100 
RT export        : 100:100
Service model    : vlan-based 
State            : UP
Replication Type : Ingress-replication
Encapsulation    : Vxlan 
ARP suppression  : Yes
Unknown unicast suppress: No
Overlay          : loopback 
L2 VNI           : 100
L3 VNI           : None
Tunnel Ip        : 159.159.159.159
Mac move limit   : 5
Mac move expiry  : 180
MAC re-advertise : No

The following example shows detailed information for a specified EVI.

device> show l2vpn evpn evi 100 detail 
RD               : 2.2.2.2:10 (auto)
RT import list   : 15000:1000 
RT export        : 15000:1000
Service model    : vlan-based 
State            : UP
Replication Type : Ingress-replication
Encapsulation    : Vxlan 
ARP suppression  : Yes
Unknown unicast suppress: No
Overlay          : loopback
L2 VNI           : 100
L3 VNI           : None 
Tunnel Ip        : 159.159.159.159
Mac move limit   : 5
Mac move expiry  : 180
MAC re-advertise : No
Debug info flag  : Off 
Debug itc flag   : Off 
Debug trace flag : Off 
Debug error flag : Off 
VRF              : Tenant VRF

The following example shows information for an EVPN MAC IP table for a specified VLAN.

device> show l2vpn evpn mac-ip-table vlan 10

No.   IP Address         MAC Address    Flags     Port              VLAN
1     192.168.10.100     d4c1.9e17.8d27 DL        e 1/1/1            10    
2     192.168.10.200     d4c1.9e17.91f7 DR        VxL-200.1.1.1      10  
Flags: D (Dynamic) S (Static) L(Local) R(Remote) Ad(Advertised)

The following example shows information for all ESIs.

device> show l2vpn evpn es all

Total number of Ethernet-Segment Instances: 1
Index   State  Eth-Seg-Id                       Type   Interface  Redundancy-Mode
2       UP     18c7a153da85620100                1     lg100      All-Active

The following example shows information for a specified ESI.

device> show l2vpn evpn es id 2

Eth-Segment Index            : 2
Eth-Segment Identifier       : 18c7a153da85620100
Eth-Segment Type             : 1
PE Lacp Mac-address          : 1234.1234.1234
PE Port-Key                  : 1234
CE Lacp Mac-address          : 8c7a.153d.a856
CE Port-Key                  : 20100
System Mac-address           : NA
Local-discriminator          : 0
Access-Interface             : lg100 (dynamic)
Redundancy-mode              : All-Active
Ethernet-Segment state       : Up
Eth-Segment Configuration    : Complete
EVI mapping                  : 100
History
Release version Command history
10.0.20 This command was introduced.
10.0.20a The es { all | id instance-id [ detail ] } options were added.