show evpn database
Syntax
show evpn database <esi esi> <extensive> <instance instance-name> <interface interface-name> <l2-domain-id VLAN/VNI/ISID> <l3-context address> <logical-system (all | logical-system-name)> <mac-address address> <neighbor neighbor-name> <origin origin-name> <state state-name>
Syntax for mac-vrf routing
show mac-vrf routing database <esi esi> <extensive> <instance instance-name> <interface interface-name> <l2-domain-id VLAN/VNI/ISID> <l3-context address> <logical-system (all | logical-system-name)> <mac-address address> <neighbor neighbor-name> <origin origin-name> <state state-name>
Description
Show Ethernet VPN (EVPN) database information.
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.
|
state state-name |
Display the MAC address with the specified state.
|
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the
show evpn database command.
vlan-id for EVPN-MPLS networks. The DomainId field displays the VXLAN
network identifier (VNI) for EVPN-VXLAN networks.|
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. |
|
|
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. |
|
|
L3 route |
Route installed on the EVPN IRB interface. |
|
|
Local origin |
Specific local origin of the MAC address. |
|
|
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. |
|
|
Mobility History |
Information on a MAC address mobility history:
|
|
|
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. |
|
|
Rank |
Level number of the VXLAN network identifier (VNI). |
|
|
Remote origin |
Specific remote origin of the VXLAN network identifier (VNI). |
|
|
Source |
Source IP address, ESI, or interface of the VXLAN network identifier (VNI). |
|
|
State |
Information collected in the EVPN database from different flag states including Duplicate-Detected, Local-Pinned, and Remote-Pinned. |
|
|
Status |
Status of the of the VXLAN network identifier (VNI). |
|
|
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) |
|
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)
show evpn database (EVPN-VXLAN)
user@host> show evpn database
Instance: evpn-vxlan-100
VLAN DomainId MAC address Active source Timestamp IP address
5100 2c:6b:f5:4b:7b:f0 irb.100 Nov 08 20:05:10 172.16.100.254
5100 2c:6b:f5:c2:1a:f0 192.168.1.13 Nov 08 20:05:54 172.16.100.254
5100 2c:6b:f5:f7:60:f0 192.168.1.12 Nov 08 20:05:51 172.16.100.254
5100 50:04:00:06:00:00 ge-0/0/5.0 Nov 08 20:11:56 172.16.100.11
5100 50:04:00:08:00:00 192.168.1.13 Nov 08 20:11:56 172.16.100.13
Instance: evpn-vxlan-200
VLAN DomainId MAC address Active source Timestamp IP address
5200 2c:6b:f5:4b:7b:f0 irb.200 Nov 08 20:05:51 172.16.200.254
5200 2c:6b:f5:c2:1a:f0 192.168.1.13 Nov 08 20:05:54 172.16.200.254
5200 2c:6b:f5:f7:60:f0 192.168.1.12 Nov 08 20:05:50 172.16.200.254
5200 50:04:00:14:00:00 192.168.1.12 Nov 08 20:12:03 172.16.200.12
5200 50:04:00:15:00:00 192.168.1.13 Nov 08 20:12:03 172.16.200.13
show evpn database (EVPN-MPLS)
user@host> show evpn database
Instance: evpn-mpls-based
VLAN DomainId MAC address Active source Timestamp IP address
141 02:05:86:71:ba:07 ge-0/0/1.0 Jul 05 03:44:10 192.168.2.2
141 02:05:86:71:ba:13 172.16.1.4 Jul 05 03:44:10 192.168.2.3
141 2c:6b:f5:28:1e:f0 irb.241 Jul 05 03:23:31 192.168.2.251
192.168.2.254
141 2c:6b:f5:7a:b0:f0 172.16.1.4 Jul 05 03:23:21 192.168.2.251
192.168.2.254
show evpn database extensive (EVPN-VXLAN)
user@host> show evpn database extensive
Instance: evpn-vxlan-100
VN Identifier: 5100, MAC address: 2c:6b:f5:4b:7b:f0
State: 0x0
Source: irb.100, Rank: 1, Status: Active
Local origin: irb.100
Mobility sequence number: 0 (minimum origin address 192.168.1.11)
Timestamp: Nov 08 20:05:10.852929 (0x672e6ef6)
State: <Local-MAC-Only Local-Gateway Local-IRB-Not-Gateway Local-To-Remote-Adv-Allowed Local-Pinned>
Last IPC-Event: none, Last IPC-Status: none, Last IPC-Timestamp: NA
MAC advertisement route status: Created
IP address: 172.16.100.254
Flags: <Local-Adv Local-Pinned>
Last IPC-Event: none, Last IPC-Status: none, Last IPC-Timestamp: NA
Local origin: irb.100
History db: <No entries>
show evpn database extensive (EVPN-MPLS)
user@host> show evpn database extensive
Instance: evpn-mpls-based
VLAN ID: 10, MAC address: 50:00:00:5b:6f:f5
State: 0x0
Source: 00:00:aa:aa:bb:bb:cc:cc:dd:dd, Rank: 1, Status: Active
Remote origin: 10.255.255.1
Mobility sequence number: 0 (minimum origin address 10.255.255.1)
Timestamp: Jul 11 21:31:01 (0x62cc9695)
State: <Remote-To-Local-Adv-Done>
MAC advertisement route status: Not created (no local state present)
IP address: 192.168.10.1
Remote origin: 10.255.255.1
History db: <No entries>
show evpn database extensive instance (EVPN-VXLAN)
user@host> show evpn database extensive instance evpn-vxlan-100
Instance: evpn-vxlan-100
VN Identifier: 5100, MAC address: 2c:6b:f5:4b:7b:f0
State: 0x0
Source: irb.100, Rank: 1, Status: Active
Local origin: irb.100
Mobility sequence number: 0 (minimum origin address 192.168.1.11)
Timestamp: Nov 08 20:05:10.852929 (0x672e6ef6)
State: <Local-MAC-Only Local-Gateway Local-IRB-Not-Gateway Local-To-Remote-Adv-Allowed Local-Pinned>
Last IPC-Event: none, Last IPC-Status: none, Last IPC-Timestamp: NA
MAC advertisement route status: Created
IP address: 172.16.100.254
Flags: <Local-Adv Local-Pinned>
Last IPC-Event: none, Last IPC-Status: none, Last IPC-Timestamp: NA
Local origin: irb.100
History db: <No entries>
show evpn database extensive instance (EVPN-MPLS)
user@PE1> show evpn database extensive instance ALPHA mac-address 00:00:00:00:00:01
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 extensive instance ALPHA mac-address 00:00:00:00:00:02
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
Release Information
Command introduced in Junos OS Release 14.2.