show evpn ip-prefix-database
Syntax
show evpn ip-prefix-database <extensive> <direction (imported | exported)> <esi number> <ethernet-tag number> <family (inet | inet6)> <gateway ip-address> <l3-context routing-instance-name> <logical-system logical-system-name> <nexthop ip-address> <prefix ip-prefix>
Description
Display Ethernet VPN (EVPN) database information for imported and exported IP prefixes.
Options
| none | Display standard information for all EVPN imported and exported IP prefixes. |
| extensive | Display the specified level of output. |
| direction (imported | exported) | (Optional) Display the specified subset of IP prefixes. |
| esi number | (Optional) Display the IP prefix associated with the specified Ethernet segment identifier. |
| ethernet-tag number | (Optional) Display the IP prefix associated with the specified Ethernet tag. |
| family (inet | inet6) | (Optional) Display IP prefixes for the specified protocol family. |
| gateway ip-address | (Optional) Display the IP Prefix associated with the overlay gateway IP address. |
| l3-context routing-instance-name | (Optional) Display EVPN IP prefix information for the specified Layer 3 virtual routing and forwarding (VRF) instance. |
logical-system <logical-system-name> |
(Optional) Display EVPN IP prefix information for the specified logical system or all logical systems. |
| nexthop ip-address | (Optional) Display EVPN IP prefix information for the specified underlay next-hop IP address. |
| prefix ip-prefix | (Optional) Display EVPN database information for the specified IP prefix. |
Required Privilege Level
view
Output Fields
Table 1 lists the
output fields for the show evpn ip-prefix-database command. Output fields
are listed in the approximate order in which they appear.
|
Field Name |
Field Description |
|---|---|
|
L3 context |
Name of virtual routing and forwarding (VRF) instance. |
|
EVPN Exported Prefixes Prefix |
List of exported IP prefixes. |
|
EVPN route status |
For exported prefixes only, status of route: |
|
EVPN imported Prefixes |
List of imported EVPN IP prefixes. |
|
Etag |
Ethernet tag |
|
Route distinguisher |
IP address identifier for the IP prefix route. |
|
VNI |
Virtual network identifier for the Layer 3 virtual and routing forwarding (VRF) for the customer or tenant domain. |
|
Router MAC |
MAC address associated with the IP prefix. |
|
Nexthop/Overlay GW/ESI |
For imported IP prefixes, next-hop IP address. |
|
Change flags |
Trace flags. |
|
Advertisement mode |
For exported IP prefixes, type of next-hop address. |
|
Encapsulation |
For exported IP prefixes, type of encapsulation |
|
Remote Advertisements |
For imported IP prefixes, route distinguisher identifier, MAC address, virtual network identifier, and BGP next-hop address to remote destination. |
|
Route-status |
Status of EVPN route in the IP prefix database:
|
|
Reject-Reason |
The reason why
a route was rejected. If VNI symmetry is enforced, then the output would display the
reason as Asymmetric-vni rejected. |
Sample Output
show evpn ip-prefix-database
user@host > show evpn ip-prefix-database L3 context: VRF-100 IPv4->EVPN Exported Prefixes Prefix EVPN route status 100.1.0.0/22 Created 100.1.4.0/22 Created 100.1.8.0/22 Created 100.1.12.0/22 Created 100.1.16.0/22 Created IPv6->EVPN Exported Prefixes Prefix EVPN route status 1234:100:1::/64 Created 1234:100:1:4::/64 Created 1234:100:1:8::/64 Created 1234:100:1:12::/64 Created 1234:100:1:16::/64 Created EVPN->IPv4 Imported Prefixes Prefix Etag IP route status 100.2.0.0/22 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 100.2.4.0/22 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 100.2.8.0/22 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 100.2.12.0/22 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 100.2.16.0/22 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 EVPN->IPv6 Imported Prefixes Prefix Etag IP route status 1234:100:2::/64 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 1234:100:2:4::/64 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 1234:100:2:8::/64 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 1234:100:2:12::/64 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2 1234:100:2:16::/64 0 Created Route distinguisher VNI/Label Router MAC Nexthop/Overlay GW/ESI 10.255.2.1:100 9101 00:05:86:e1:03:f0 10.255.2.1 10.255.2.2:100 9101 00:05:86:d0:a6:f0 10.255.2.2
show evpn ip-prefix-database extensive
user@host> show evpn ip-prefix-database extensive
L3 context: VRF-100
IPv4->EVPN Exported Prefixes
Prefix: 100.1.0.0/22
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
Prefix: 100.1.4.0/22
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
Prefix: 100.1.8.0/22
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
Prefix: 100.1.12.0/22
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
Prefix: 100.1.16.0/22
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
IPv6->EVPN Exported Prefixes
Prefix: 1234:100:1::/64
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
Prefix: 1234:100:1:4::/64
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
Prefix: 1234:100:1:8::/64
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
Prefix: 1234:100:1:12::/64
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
Prefix: 1234:100:1:16::/64
EVPN route status: Created
Change flags: 0x0
Advertisement mode: Direct nexthop
Encapsulation: VXLAN
VNI: 9100
Router MAC: 00:05:86:28:90:f0
EVPN->IPv4 Imported Prefixes
Prefix: 100.2.0.0/22, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Prefix: 100.2.4.0/22, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Prefix: 100.2.8.0/22, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Prefix: 100.2.12.0/22, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Prefix: 100.2.16.0/22, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
EVPN->IPv6 Imported Prefixes
Prefix: 1234:100:2::/64, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Prefix: 1234:100:2:4::/64, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Prefix: 1234:100:2:8::/64, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Prefix: 1234:100:2:12::/64, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Prefix: 1234:100:2:16::/64, Ethernet tag: 0
IP route status: Created
Change flags: 0x0
Remote advertisements:
Route Distinguisher: 10.255.2.1:100
VNI: 9101
Router MAC: 00:05:86:e1:03:f0
BGP nexthop address: 10.255.2.1
Route Distinguisher: 10.255.2.2:100
VNI: 9101
Router MAC: 00:05:86:d0:a6:f0
BGP nexthop address: 10.255.2.2
Release Information
Command introduced in Junos OS Release 15.1X53-D30.