show evpn database
Syntax
show evpn database <extensive> <instance instance-name> <interface interface-name> <logical-system logical-system-name> <mac-address address> <neighbor neighbor-name> <origin origin-name> <state state-name> <vlan-id vlan-id>
Syntax for mac-vrf routing
show mac-vrf routing database <extensive> <instance instance-name> <interface interface-name> <logical-system logical-system-name> <mac-address address> <neighbor neighbor-name> <origin origin-name> <state state-name> <vlan-id vlan-id>
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
none |
Display 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
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.
|
Field Name |
Field Description |
Level of Output |
|---|---|---|
|
|
Name of the routing instances. |
All Levels |
|
|
VXLAN network identifier. |
All Levels |
|
|
MAC address of the routing instance. |
All Levels |
|
|
Specific origin of the MAC address. |
All Levels |
|
|
Month, day and time of generated command output. |
All Levels |
|
|
IP address. |
All Levels |
|
|
Prefix address of the VXLAN network identifier. |
|
|
|
Source address of the VXLAN network identifier. |
|
|
|
Level number of the VXLAN network identifier. |
|
|
|
Status of the of the VXLAN network identifier. |
|
|
|
Specific remote origin of the VXLAN network identifier. |
|
|
Mobility History |
Information on a MAC address mobility history:
|
|
|
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 . |
|
|
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. |
|
|
State |
Information collected in the EVPN database from different flag states including Duplicate-Detected, Local-Pinned, and Remote-Pinned. |
|
|
IP address |
IPv4 or IPv6 address for the MAC address. |
|
|
L3 route |
Route installed on the EVPN IRB interface. |
|
|
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. |
|
Sample Output
- show evpn database
- show evpn database extensive
- show evpn database extensive instance
- show evpn database extensive (Duplicate MAC Address)
- show evpn database instance extensive mac-address extensive (Duplicate MAC address)
show evpn database
user@host> show evpn database Instance: bd_red VNI MAC address Origin Timestamp IP address 50 1a:1b:1b:1b:1b:1b 192.0.2.3 Jun 12 21:57:17 50 1a:1c:1c:1c:1c:1c ge-2/3/0.0 Jun 12 22:05:37 50 b0:c6:9a:e9:cd:d8 192.0.2.3 Jun 12 21:57:17 50 b0:c6:9a:ea:87:42 ge-2/3/0.0 Jun 12 22:05:38 Instance: evpn-0 VNI MAC address Origin Timestamp IP address 4000 1a:1a:1a:1a:01:01 ge-2/3/0.10 Jun 12 21:53:01 4000 1a:1a:1a:1a:01:02 ge-2/3/0.10 Jun 12 21:53:01
show evpn database extensive
user@host> show evpn database extensive
Instance: ALPHA
VN Identifier: 9100, Prefix: 10.0.0.0/24
Source: 10.255.0.2, Rank: 1, Status: Active
Timestamp: May 22 17:16:12 (0x555fc6cc)
VN Identifier: 9100, Prefix: 198.51.100.0/24
Source: 05:00:00:00:64:00:00:23:8c:00, Rank: 1, Status: Active
Remote origin: 10.255.0.2
Remote origin: 10.255.0.3
Timestamp: May 22 17:14:20 (0x555fc65c)
VN Identifier: 9100, Prefix: 192.0.2.0/24
Source: irb.0, Rank: 1, Status: Active
Timestamp: May 22 17:16:12 (0x555fc6cc)
VN Identifier: 9100, Prefix: 203.0.113.0/24
Source: 10.255.0.3, Rank: 1, Status: Active
Timestamp: May 22 17:16:12 (0x555fc6cc)
show evpn database extensive instance
user@PE1> show evpn database instance ALPHA mac-address 00:00:00:00:00:01
extensive
Instance: ALPHA
VLAN ID: 100, MAC address: 00:00:00:00:00:01
Nexthop ID: 1048575
Mobility history
Mobility event time Type Source Seq num
Jul 10 16:26:14.920136 Remote 10.255.0.3 13
Jul 10 16:26:16.174769 Local ge-0/0/2.0 14
Jul 10 16:26:17.868187 Remote 10.255.0.3 15
Jul 10 16:26:19.129879 Local ge-0/0/2.0 16
Jul 10 16:26:25.972747 Remote 10.255.0.3 17
Source: 10.255.0.3, Rank: 1, Status: Active
MAC label: 299776
Mobility sequence number: 17 (minimum origin address 10.255.0.3)
Timestamp: Jul 10 16:26:25 (0x59640d21)
State: <Remote-To-Local-Adv-Done>
IP address: 10.0.0.3
L3 route: 10.0.0.3/32, L3 context: DELTA (irb.0)
show evpn database extensive (Duplicate MAC Address)
user@PE1> show evpn database instance ALPHA mac-address 00:00:00:00:00:012extensive
Instance: ALPHA
VLAN ID: 100, MAC address: 00:00:00:00:00:02
State: 0x1 <Duplicate-Detected>
Mobility history
Mobility event time Type Source Seq num
Aug 03 17:22:28.585619 Local ge-0/0/2.0 31
Aug 03 17:22:30.307198 Remote 10.255.0.3 32
Aug 03 17:22:37.611786 Local ge-0/0/2.0 33
Aug 03 17:22:39.289357 Remote 10.255.0.3 34
Aug 03 17:22:45.609449 Local ge-0/0/2.0 35
Source: ge-0/0/2.0, Rank: 1, Status: Active
Mobility sequence number: 35 (minimum origin address 10.255.0.2)
Timestamp: Aug 03 17:22:44 (0x5983be54)
State: <Local-MAC-Only Local-To-Remote-Adv-Allowed>
MAC advertisement route status: Not created (duplicate MAC suppression)
IP address: 10.0.0.2
Source: 10.255.0.3, Rank: 2, Status: Inactive
MAC label: 300176
Mobility sequence number: 34 (minimum origin address 10.255.0.3)
Timestamp: Aug 03 17:22:39 (0x5983be4f)
State: <>
MAC advertisement route status: Not created (inactive source)
IP address: 10.0.0.3
show evpn database instance extensive mac-address extensive (Duplicate MAC address)
user@PE1> show evpn database instance ALPHA mac-address aa:bb:cc:dd:ee:ff extensive
Instance: ALPHA
VLAN ID: 100, MAC address: aa:bb:cc:dd:ee:ff
State: 0x1 <Duplicate-Detected>
Mobility history
Mobility event time Type Source Seq num
Aug 03 17:22:28.585619 Local ge-0/0/2.0 31
Aug 03 17:22:30.307198 Remote 10.0.255.3 32
Aug 03 17:22:37.611786 Local ge-0/0/2.0 33
Aug 03 17:22:39.289357 Remote 10.0.255.3 34
Aug 03 17:22:45.609449 Local ge-0/0/2.0 35
Source: ge-0/0/2.0, Rank: 1, Status: Active
Mobility sequence number: 35 (minimum origin address 10.255.0.2)
Timestamp: Aug 03 17:22:44 (0x5983be54)
State: <Local-MAC-Only Local-To-Remote-Adv-Allowed>
MAC advertisement route status: Not created (duplicate MAC suppression)
IP address: 10.1.1.2
Source: 10.0.255.3, Rank: 2, Status: Inactive
MAC label: 300176
Mobility sequence number: 34 (minimum origin address 10.0.255.3)
Timestamp: Aug 03 17:22:39 (0x5983be4f)
State: <>
MAC advertisement route status: Not created (inactive source)
IP address: 10.1.1.3
Release Information
Command introduced in Junos OS Release 14.2.
