Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show evpn database

Syntax

Syntax for mac-vrf routing

Description

Show Ethernet VPN (EVPN) database information.

Note:

When you configure OAM Connectivity Fault Management (CFM) with an up maintenance endpoint (MEP) interface, the show evpn database instance command displays the CFM MAC local interface with the naming convention ".local..number" (for example, .local..8).

Options

none

Display brief information about the EVPN database.

esi esi Display EVPN database information associated with the specified Ethernet segment ID (ESI), including local and remotely learned database entries.
extensive

Display detailed information about the EVPN database.

instance instance-name

Display MAC addresses from the specified routing instance.

interface interface-name

Display the MAC address learned locally from the specified interface.

l2-domain-id

Display MAC address with a specific VLAN, VXLAN network identifier (VNI) or Instance Service Identifier (ISID).

l3-context

Display MAC address from a specific EVPN l3 context.

logical-system (all | logical-system-name)

Display database information for all logical systems or a specific logical system.

mac-address address

Display the specified MAC address.

neighbor neighbor-name

Display the MAC address learned from the specified neighbor.

origin origin-name

Display the MAC address with the specified origin.

  • dci-remote—Display MAC addresses received from DCI.

  • local—Display local MAC address.

  • remote—Display remote MAC address.

state state-name

Display the MAC address with the specified state.

  • dc-adv—Display MAC advertised to DC.

  • dci-adv—Display MAC advertised to DCI.

  • default-gateway—Display default gateway MAC address.

  • duplicate—Display duplicate MAC address.

  • pinned—Display pinned MAC address.

  • static—Display static MAC address.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show evpn database command.

Note: The outputs for the VLAN and DomainId fields depend on the network. The VLAN field displays the vlan-id for EVPN-MPLS networks. The DomainId field displays the VXLAN network identifier (VNI) for EVPN-VXLAN networks.
Table 1: show evpn database Output Fields

Field Name

Field Description

Level of Output

Active source

Source IP address, ESI, or interface of the VXLAN network identifier.

brief

DomainId

VXLAN network identifier (VNI) in the VXLAN network. (Used for EVPN-VXLAN networks)

brief

Instance

Name of the routing instances.

All Levels

IP address

IPv4 or IPv6 address for the MAC address.

extensive

L3 context

Name of the routing instance that has the Layer 3 routes installed for an EVPN IRB interface, typically a virtual routing and forward (VRF) routing instance.

extensive

L3 route

Route installed on the EVPN IRB interface.

extensive

Local origin

Specific local origin of the MAC address.

extensive

MAC address

MAC address of the routing instance.

All Levels

MAC label

Label advertised by the remote PE device when forwarding unicast traffic. In EVPN-MPLS, it is the MPLS label and in EVPN-VXLAN, it is the VNI.

extensive

Mobility History

Information on a MAC address mobility history:

  • Mobility event time—Date and time of the MAC mobility event

  • Type—Origin of the learned MAC address (Local or Remote).

  • Source—Source of the learned MAC address (Local Interface, Remote PE IP address, or ESI)

  • Seq num—Sequence number associated with the mobility event

extensive

Mobility Sequence number

Current sequence number associated with the MAC address. The minimum origin address is the IP address of the PE device with the lowest IP address that is sending a MAC advertisement.

extensive

Rank

Level number of the VXLAN network identifier (VNI).

extensive

Remote origin

Specific remote origin of the VXLAN network identifier (VNI).

extensive

Source

Source IP address, ESI, or interface of the VXLAN network identifier (VNI).

extensive

State

Information collected in the EVPN database from different flag states including Duplicate-Detected, Local-Pinned, and Remote-Pinned.

extensive

Status

Status of the of the VXLAN network identifier (VNI).

extensive

Timestamp

Month, day and time of generated command output.

All Levels

VLAN/VLAN ID

VLAN identifier. (Used for EVPN-MPLS networks)

All Levels

VN Identifier

VXLAN network identifier (VNI). (Used for EVPN-VXLAN networks)

extensive

Sample Output

show evpn database (EVPN-VXLAN)

show evpn database (EVPN-MPLS)

show evpn database extensive (EVPN-VXLAN)

show evpn database extensive (EVPN-MPLS)

show evpn database extensive instance (EVPN-VXLAN)

show evpn database extensive instance (EVPN-MPLS)

show evpn database extensive (Duplicate MAC Address)

Release Information

Command introduced in Junos OS Release 14.2.