display bgp evpn all routing-table [ peer ip-address { advertised-routes | received-routes } ] { ad-route | es-route | inclusive-route | mac-route | prefix-route | smet-route | join-route | leave-route } prefix
display bgp evpn route-distinguisher route-distinguisher routing-table { ad-route | es-route | inclusive-route | mac-route | prefix-route | smet-route | join-route | leave-route } prefix
display bgp evpn vpn-instance vpn-instance-name routing-table { ad-route | es-route | inclusive-route | mac-route | prefix-route | smet-route | join-route } prefix
display bgp evpn all routing-table mac-route backbone-source-mac prefix
display bgp evpn all routing-table peer ipv6-address { advertised-routes | received-routes } { ad-route | es-route | inclusive-route | mac-route | prefix-route } prefix
| Parameter | Description | Value |
|---|---|---|
| peer |
Specifies the EVPN peer. |
- |
| ip-address |
Specifies a peer IPv4 address. |
The value is in dotted decimal notation. |
| advertised-routes |
Displays the routes advertised to the peer. |
- |
| received-routes |
Displays the routes received by the peer. |
- |
| ad-route |
Displays information about all Ethernet auto-discovery routes. |
- |
| es-route |
Displays information about Ethernet segment routes. |
- |
| inclusive-route |
Displays information about inclusive multicast routes. |
- |
| mac-route |
Displays information about MAC advertisement routes. |
- |
| prefix-route |
Displays information about prefix routes. |
- |
| smet-route |
Displays information about Selective Multicast Ethernet Tag (SMET) routes. |
- |
| join-route |
Displays information about IGMP Join Synch routes. |
- |
| leave-route |
Displays information about IGMP Leave Synch routes. |
- |
| prefix |
Specifies the prefix of an EVPN route. |
An EVPN route prefix has the following formats: Ethernet auto-discovery route. The value is in the format of xxxx.xxxx.xxxx.xxxx.xxxx:M, where:
Ethernet segment route. The value is in the format of xxxx.xxxx.xxxx.xxxx.xxxx, where x is a hexadecimal integer ranging from 0 to F. The value equals the ESI configured for the device originating this route. Inclusive multicast route. The value is in the format of M:L:X.X.X.X, where:
MAC advertisement route. The value is in the format of E:M:H-H-H:L:X.X.X.X or E:M:H-H-H:L: [X:X::X:X], where:
IP Prefix route. The value is in the format of L:X.X.X.X:M or L:[X:X::X:X]:M, where:
SMET route. The value is in the format of T:SL:SX.SX.SX.SX:GL:GX.GX.GX.GX:OL:OX.OX.OX.OX:
IGMP Join Synch route. The value is in the format of ESI:T:SL:SX.SX.SX.SX:GL:GX.GX.GX.GX:OL:OX.OX.OX.OX:
IGMP Leave Synch route. The value is in the format of ESI:T:SL:SX.SX.SX.SX:GL:GX.GX.GX.GX:OL:OX.OX.OX.OX:SY:
|
| all |
Displays information about EVPN routes of all EVPN instances. |
- |
| route-distinguisher route-distinguisher |
Displays information about EVPN routes with the specified RD. |
An RD can be in either of the following formats:
|
| vpn-instance vpn-instance-name |
Displays information about EVPN routes of a specified EVPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
| backbone-source-mac |
Displays MAC advertisement routes about B-MAC addresses. |
- |
| ipv6-address |
Specifies a peer IPv6 address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp evpn all routing-table
Local AS number : 100
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
EVPN address family:
Number of A-D Routes: 1
Route Distinguisher: 1:1
Network(ESI/EthTagId) NextHop
*> 0010.1010.1010.1010.1010:0 127.0.0.1
EVPN-Instance c1:
Number of A-D Routes: 1
Network(ESI/EthTagId) NextHop
*> 0010.1010.1010.1010.1010:0 127.0.0.1
EVPN address family:
Number of Inclusive Multicast Routes: 1
Route Distinguisher: 1:1
Network(EthTagId/IpAddrLen/OriginalIp) NextHop
*> 0:32:1.1.1.1 127.0.0.1
EVPN-Instance c1:
Number of Inclusive Multicast Routes: 1
Network(EthTagId/IpAddrLen/OriginalIp) NextHop
*> 0:32:1.1.1.1 127.0.0.1
EVPN address family:
Number of ES Routes: 1
Route Distinguisher: 1.1.1.1:0
Network(ESI) NextHop
*> 0010.1010.1010.1010.1010 127.0.0.1
EVPN-Instance c1:
Number of ES Routes: 1
Network(ESI) NextHop
*> 0010.1010.1010.1010.1010 127.0.0.1
<HUAWEI> display bgp evpn all routing-table prefix-route 0:22.22.22.22:32 BGP local router ID : 2.2.2.2 Local AS number : 100 Total routes of Route Distinguisher(1:1): 1 BGP routing table entry information of 0:22.22.22.22:32: Label information (Received/Applied): 1/NULL From: 0.0.0.0 (0.0.0.0) Route Duration: 0d00h15m16s Direct Out-interface: GigabitEthernet0/1/0.1 Original nexthop: 2.2.2.2 Effective nexthop: 192.168.1.1 Qos information : 0 Ext-Community: RT <1 : 1>, Tunnel Type <VxLan>, Router's MAC <00e0-fc00-0002> AS-path Nil, origin igp, MED 0, pref-val 0, valid, local, best, select, pre 255 Received path-id: 0 Route Type: 5 (Ip Prefix Route) Ethernet Tag ID: 0, IP Prefix/Len: 22.22.22.22/32, ESI: 0000.0000.0000.0000.0000, GW IP Address: 0.0.0.0 Advertised to such 1 peers: 1.1.1.1
<HUAWEI> display bgp evpn all routing-table inclusive-route 0:32:4.4.4.4
BGP local router ID : 10.1.1.1
Local AS number : 100
Total routes of Route Distinguisher(100:1): 1
BGP routing table entry information of 0:32:1.1.1.1:
From: 0.0.0.0 (0.0.0.0)
Route Duration: 0d01h50m28s
Direct Out-interface:
Original nexthop: 127.0.0.1
Qos information : 0x0
Ext-Community: RT <1 : 1>
AS-path Nil, origin incomplete, pref-val 0, valid, local, best, select, pre 255
PMSI: Flags 0, Ingress Replication, Label 0:0:0(0), Tunnel Identifier:1.1.1.1
Route Type: 3 (Inclusive Multicast Route)
Ethernet Tag ID: 0, Originator IP:1.1.1.1/32
Advertised to such 1 peers:
3.3.3.3
EVPN-Instance evpna:
Number of Inclusive Multicast Routes: 1
BGP routing table entry information of 0:32:1.1.1.1:
Route Distinguisher: 100:1
From: 0.0.0.0 (0.0.0.0)
Route Duration: 0d01h50m28s
Relay IP Nexthop: 0.0.0.0
Original nexthop: 127.0.0.1
Qos information : 0x0
AS-path Nil, origin incomplete, pref-val 0, valid, local, best, select, pre 255
PMSI: Flags 0, Ingress Replication, Label 0:0:0(0), Tunnel Identifier:1.1.1.1
Route Type: 3 (Inclusive Multicast Route)
Ethernet Tag ID: 0, Originator IP:1.1.1.1/32
Not advertised to any peer yet
<HUAWEI> display bgp evpn all routing-table ad-route 0138.ba2f.3cdb.0201.2100:0 BGP local router ID : 10.1.1.1 Local AS number : 100 Total routes of Route Distinguisher(200:1): 1 BGP routing table entry information of 0138.ba2f.3cdb.0201.2100:0: Label information (Received/Applied): 32904/NULL From: 3.3.3.3 (10.1.1.2) Route Duration: 0d01h42m19s Relay IP Nexthop: 10.1.1.2 Relay Tunnel Out-Interface: GigabitEthernet0/1/1 Original nexthop: 2.2.2.2 Qos information : 0x0 Ext-Community: RT <1 : 1> AS-path Nil, origin incomplete, localpref 100, pref-val 0, valid, internal, best, select, pre 255, IGP cost 2 Originator: 10.2.1.1 Cluster list: 10.1.1.2 Route Type: 1 (Ethernet Auto-Discovery (A-D) route) ESI: 0138.ba2f.3cdb.0201.2100, Ethernet Tag ID: 0 Not advertised to any peer yet EVPN-Instance 1: Number of A-D Routes: 1 BGP routing table entry information of 0138.ba2f.3cdb.0201.2100:0: Route Distinguisher: 200:1 Remote-Cross route Label information (Received/Applied): 32904/NULL From: 3.3.3.3 (10.1.1.2) Route Duration: 0d01h42m19s Relay Tunnel Out-Interface: GigabitEthernet0/1/1 Original nexthop: 2.2.2.2 Qos information : 0x0 Ext-Community: RT <1 : 1> AS-path Nil, origin incomplete, localpref 100, pref-val 0, valid, internal, best, select, pre 255, IGP cost 2 Originator: 10.2.1.1 Cluster list: 10.1.1.2 Route Type: 1 (Ethernet Auto-Discovery (A-D) route) ESI: 0138.ba2f.3cdb.0201.2100, Ethernet Tag ID: 0 Not advertised to any peer yet
<HUAWEI> display bgp evpn vpn-instance VPN1 routing-table mac-route 0:48:00e0-fc00-0009:32:10.0.1.7
BGP local router ID : 33.33.33.33
Local AS number : 58519
EVPN-Instance VPN1:
Number of Mac Routes: 1
BGP routing table entry information of 0:48:00e0-fc00-0009:32:10.0.1.7:
Route Distinguisher: 10001:7
Remote-Cross route
Label information (Received/Applied): 10001 200001/NULL
From: 7.7.7.7 (7.7.7.7)
Route Duration: 0d01h19m42s
Relay Tunnel Out-Interface: VXLAN
Original nexthop: 7.7.7.7
Qos information : 0x0
Ext-Community:RT <10001 : 1>, Tunnel Type <VxLan(8)>, Router's MAC <00e0-fc00-0004>
AS-path Nil, origin incomplete, localpref 100, pref-val 0, valid, internal, best, select, pre 255, reoriginated
Route Type: 2 (MAC Advertisement Route)
Ethernet Tag ID: 0, MAC Address/Len: 00e0-fc00-0009/48, IP Address/Len: 10.0.1.7/32, ESI:0000.0000.0000.0000.0000
Not advertised to any peer yet
<HUAWEI> display bgp evpn all routing-table es-route 0000.1111.1111.4444.5555
BGP local router ID : 10.1.1.1
Local AS number : 100
Total routes of Route Distinguisher(1.1.1.1:0): 1
BGP routing table entry information of 0000.1111.1111.4444.5555:
From: 0.0.0.0 (0.0.0.0)
Route Duration: 0d14h55m56s
Relay IP Nexthop: 0.0.0.0
Original nexthop: 127.0.0.1
Qos information : 0x0
Ext-Community: RT <00e0-fc00-0005>,DF Election<2:0:200>
AS-path Nil, origin incomplete, pref-val 0, valid, local, best, select, pre 255
Route Type: 4 (Ethernet Segment Route)
ESI: 0000.1111.1111.4444.5555, Originating IP:1.1.1.1/32
Advertised to such 1 peers:
3.3.3.3
EVPN-Instance evrf1:
Number of ES Routes: 1
BGP routing table entry information of 0000.1111.1111.4444.5555:
Route Distinguisher: 1.1.1.1:0
Local-Cross route
Route Duration: 0d14h55m57s
Relay IP Nexthop: 0.0.0.0
Original nexthop: 127.0.0.1
Qos information : 0x0
Ext-Community: RT <00e0-fc00-0005>,DF Election<2:0:200>
AS-path Nil, origin incomplete, pref-val 0, valid, local, best, select, pre 255
Route Type: 4 (Ethernet Segment Route)
ESI: 0000.1111.1111.4444.5555, Originating IP:1.1.1.1/32
Not advertised to any peer yet
| Item | Description |
|---|---|
| Local AS number | Local AS number of the EVPN routes. |
| BGP Local router ID | Router ID of the local BGP device. |
| BGP routing table entry information of | Routing entry information. |
| best | Optimal route. |
| EVPN address family | EVPN address family. |
| Number of A-D Routes | Number of Ethernet auto-discovery routes. |
| Number of Mac Routes | Number of MAC advertisement routes. |
| Number of Inclusive Multicast Routes | Number of inclusive multicast routes. |
| Number of ES Routes | Number of Ethernet segment routes. |
| Route Distinguisher | RD of the EVPN routes. |
| Route Duration | Duration for route advertisement. |
| Route Type | EVPN route type:
|
| NextHop | Next hop address. |
| EVPN-Instance evrf1 | EVPN instance name. |
| local | Local route. |
| Total routes of Route Distinguisher | Total number of EVPN routes with a specified RD. |
| Label information (Received/Applied) | Information about labels, including received and sent labels. |
| Label 0:0:0(0) | Label 0:0:0(0) indicates an MPLS label value. Value 0:0:0 is fixed and is not used. Value (0) indicates the label value of BUM traffic. |
| Direct Out-interface | Direct outbound interface. |
| Original nexthop | Original next hop. |
| Effective nexthop | Actual next hop of the IP prefix route. |
| Qos information | QoS information. |
| Tunnel Type | Tunnel type. |
| Tunnel Identifier | Tunnel Identifier indicates a tunnel ID, which is the source address of the existing node. |
| Router's MAC | MAC address received from an EVPN peer. |
| MAC Address/Len | MAC address and length in a MAC route. |
| AS-path | AS_Path attribute (Nil indicates that the attribute value is null). |
| origin | Origin attribute of an EVPN BGP route. |
| origin incomplete | Other attribute. |
| MED | MED value of route. |
| pref-val | Preferred value of an EVPN BGP route. |
| pre | Route preference. |
| Received path-id | ID of the receive path. |
| Ethernet Tag ID | VLAN ID, which is fixed at 0. |
| IP Address/Len | IP address and length in a host route. |
| GW IP Address | IP address of gate way. |
| Advertised to such 1 peers | Peers to which routes are advertised. |
| Flags 0 | Flags indicates whether leaf node information is required for the tunnel. The value is only 0 currently. |
| Ingress Replication | Ingress Replication indicates the BUM packets to be transmitted in ingress replication mode. |
| Originator | IP address of the device that has originated routes. |
| Relay IP Nexthop | Recursive next hop. |
| Relay Tunnel Out-Interface | Outbound interface of the recursive tunnel. |
| Not advertised to any peer yet | Route that is not advertised to any EVPN peer. |
| IGP cost | IGP cost. |
| Cluster list | Cluster list contained in a route. |
| Remote-Cross route | Route received from a peer and leaked to an EVPN instance. |
| Originating IP | IP address of the device that has originated routes. |
| Local-Cross route | The route is a locally leaked route. |
| Network | Reachable address. |
| ESI | Ethernet Segment Identifier. |
| EthTagId | VLAN ID. |
| IpAddrLen | Mask length. |
| OriginalIp | Source IP address. |
| From | IP address of the device that advertised routes. |
| Ext-Community | BGP EVPN extended community attribute. |
| DF Election | Extended community attribute of DF election. |
| valid | Valid route. |
| select | Preferred route. |
| PMSI | P-Multicast Service Interface (PMSI) tunnel information. |
| Community | Community attribute. |