Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show evpn database

 

Syntax

Release Information

Command introduced in Junos OS Release 14.2 for EX Series switches.

Command introduced in Junos OS Release 16.1 for MX Series routers.

Command introduced in Junos OS Release 17.1 on MX Series routers with MPCs.

Description

Show Ethernet VPN (EVPN) database information.

When up MEP is configured,, the show evpn instance displays the CFM MAC local interface with a naming convention as .local..number (for example, .local..8).

Options

noneDisplay brief information about the EVPN database.
extensive (Optional) Display detailed information about the EVPN database.
instance instance-name(Optional) Display MAC addresses from the specified routing instance.
interface interface-name(Optional) Display the MAC address learned from the specified interface.
logical-system <logical-system-name>(Optional) Display database information for the specified logical system or all logical systems.
mac-address address(Optional) Display the specified MAC address.
neighbor neighbor-name(Optional) Display the MAC address learned from the specified neighbor.
origin origin-name(Optional) Display the MAC address with the specified origin.
state state-name(Optional) Display the MAC address with the specified state.
vlan-id vlan-id(Optional) Display the MAC address with the specified VLAN.

Required Privilege Level

view

List of Sample Output

show evpn database

show evpn database extensive

show evpn database extensive instance

show evpn database extensive (Duplicate MAC Address)

Output Fields

Table 1 lists the output fields for the show evpn database command. Output fields are listed in the approximate order in which they appear.

Table 1: show evpn database Output Fields

Field Name

Field Description

Level of Output

Instance

Name of the routing instances.

All Levels

VNI

VXLAN network identifier.

All Levels

MAC address

MAC address of the routing instance.

All Levels

Origin

Specific origin of the MAC address.

All Levels

Timestamp

Month, day and time of generated command output.

All Levels

IP address

IP address.

All Levels

Prefix

Prefix address of the VXLAN network identifier.

extensive

Source

Source address of the VXLAN network identifier.

extensive

Rank

Level number of the VXLAN network identifier.

extensive

Status

Status of the of the VXLAN network identifier.

extensive

Remote origin

Specific remote origin of the VXLAN network identifier.

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

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 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

State

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

extensive

IP address

IPv4 or IPv6 address for the MAC address.

extensive

L3 route

Route installed on the EVPN IRB interface.

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

Sample Output

show evpn database

user@host> show evpn database

show evpn database extensive

user@host> show evpn database extensive

show evpn database extensive instance

user@PE1> show evpn database instance ALPHA mac-address 00:00:00:00:00:01 extensive

show evpn database extensive (Duplicate MAC Address)

user@PE1> show evpn database instance ALPHA mac-address 00:00:00:00:00:012extensive