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 }
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 }
display bgp evpn { vpn-instance vpn-instance-name } routing-table { ad-route | es-route | inclusive-route | mac-route | prefix-route | smet-route | join-route }
display bgp evpn all routing-table [ peer ip-address { advertised-routes | received-routes } ]
display bgp evpn all routing-table extcommunity { rt extcommunity } &<1-33>
display bgp evpn all routing-table extcommunity { rt extcommunity } &<1-33> match-any
display bgp evpn all routing-table { ad-route | inclusive-route | mac-route | prefix-route | smet-route | join-route | leave-route } extcommunity { rt extcommunity } &<1-33>
display bgp evpn all routing-table { ad-route | inclusive-route | mac-route | prefix-route | smet-route | join-route | leave-route } extcommunity { rt extcommunity } &<1-33> match-any
display bgp evpn { vpn-instance vpn-instance-name } routing-table { ad-route | inclusive-route | mac-route | prefix-route | smet-route | join-route } extcommunity { rt extcommunity } &<1-33>
display bgp evpn { vpn-instance vpn-instance-name } routing-table { ad-route | inclusive-route | mac-route | prefix-route | smet-route | join-route } extcommunity { rt extcommunity } &<1-33> match-any
display bgp evpn { route-distinguisher route-distinguisher } routing-table { ad-route | inclusive-route | mac-route | prefix-route | smet-route | join-route | leave-route } extcommunity { rt extcommunity } &<1-33>
display bgp evpn { route-distinguisher route-distinguisher } routing-table { ad-route | inclusive-route | mac-route | prefix-route | smet-route | join-route | leave-route } extcommunity { rt extcommunity } &<1-33> match-any
display bgp evpn all routing-table mac-route backbone-source-mac
display bgp evpn all routing-table peer ipv6-address { advertised-routes | received-routes } { ad-route | es-route | inclusive-route | mac-route | prefix-route }
display bgp evpn all routing-table peer ipv6-address { advertised-routes | received-routes }
Parameter | Description | Value |
---|---|---|
peer ip-address |
Specifies a peer IP address. |
The value is in dotted decimal notation. |
advertised-routes |
Displays advertised routes. |
- |
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. |
- |
all |
Displays information about EVPN routes of all EVPN instances. |
- |
route-distinguisher route-distinguisher |
Displays information about EVPN routes of a 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. |
extcommunity |
Specifies the routing information about the routes with the extended community attribute specified. |
- |
rt extcommunity |
Displays information about EVPN routes based on the extended community attribute of the VPN target type. |
The value can be:
as-number: an integer ranging from 0 to 65535. 4as-number: a 4-byte AS number, which can be:
ipv4-address: an IPv4 address in dotted decimal notation. nn is an integer, which ranges from 0 to 4294967295 for as-number and 4as-number and ranges from 0 to 65535 for ipv4-address. |
match-any |
Displays information about the routes with any of the specified extended community attributes. |
- |
backbone-source-mac |
Displays MAC advertisement routes about B-MAC addresses. |
- |
ipv6-address |
Displays information about EVPN routes based on an 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 smet-route extcommunity rt 100:1
Local AS number : 100
BGP Local router ID is 10.0.0.2
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 SMET Routes: 3
Route Distinguisher: 200:10
Network(EthTagId/IpAddrLen/SAddr/IpAddrLen/GAddr/IpAddrLen/OAddr) NextHop Extcommunity
*>i 0:0:0.0.0.0:32:225.1.1.1:32:1.2.3.4 1.2.3.4 RT <100 : 1>, RT <100 : 2>, RT <100 : 3>, RT <100 : 4>, RT <100 : 5>, RT <100 : 6>, RT <100 : 100>, RT <100 : 103>, RT <100 : 104>, RT <100 : 105>, RT <100 : 106>, RT <100 : 107>, RT <100 : 108>, RT <100 : 109>, RT <100 : 110>, RT <100 : 111>
*>i 0:0:0.0.0.0:32:225.1.1.2:32:1.2.3.4 1.2.3.4 RT <100 : 1>, RT <100 : 2>, RT <100 : 3>, RT <100 : 4>, RT <100 : 5>, RT <100 : 6>, RT <100 : 100>, RT <100 : 103>, RT <100 : 104>, RT <100 : 105>, RT <100 : 106>, RT <100 : 107>, RT <100 : 108>, RT <100 : 109>, RT <100 : 110>, RT <100 : 111>
*>i 0:0:0.0.0.0:32:225.1.1.3:32:1.2.3.4 1.2.3.4 RT <100 : 1>, RT <100 : 2>, RT <100 : 3>, RT <100 : 4>, RT <100 : 5>, RT <100 : 6>, RT <100 : 100>, RT <100 : 103>, RT <100 : 104>, RT <100 : 105>, RT <100 : 106>, RT <100 : 107>, RT <100 : 108>, RT <100 : 109>, RT <100 : 110>, RT <100 : 111>
EVPN-Instance evrf1:
Number of SMET Routes: 3
Network(EthTagId/IpAddrLen/SAddr/IpAddrLen/GAddr/IpAddrLen/OAddr) NextHop Extcommunity
*>i 0:0:0.0.0.0:32:225.1.1.1:32:1.2.3.4 1.2.3.4 RT <100 : 1>, RT <100 : 2>, RT <100 : 3>, RT <100 : 4>, RT <100 : 5>, RT <100 : 6>, RT <100 : 100>, RT <100 : 103>, RT <100 : 104>, RT <100 : 105>, RT <100 : 106>, RT <100 : 107>, RT <100 : 108>, RT <100 : 109>, RT <100 : 110>, RT <100 : 111>
*>i 0:0:0.0.0.0:32:225.1.1.2:32:1.2.3.4 1.2.3.4 RT <100 : 1>, RT <100 : 2>, RT <100 : 3>, RT <100 : 4>, RT <100 : 5>, RT <100 : 6>, RT <100 : 100>, RT <100 : 103>, RT <100 : 104>, RT <100 : 105>, RT <100 : 106>, RT <100 : 107>, RT <100 : 108>, RT <100 : 109>, RT <100 : 110>, RT <100 : 111>
*>i 0:0:0.0.0.0:32:225.1.1.3:32:1.2.3.4 1.2.3.4 RT <100 : 1>, RT <100 : 2>, RT <100 : 3>, RT <100 : 4>, RT <100 : 5>, RT <100 : 6>, RT <100 : 100>, RT <100 : 103>, RT <100 : 104>, RT <100 : 105>, RT <100 : 106>, RT <100 : 107>, RT <100 : 108>, RT <100 : 109>, RT <100 : 110>, RT <100 : 111>
<HUAWEI> display bgp evpn all routing-table peer 1.1.1.1 advertised-routes prefix-route 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:10.22.22.22:32: Label information (Received/Applied): 1/NULL From: 0.0.0.0 (0.0.0.0) Route Duration: 0d00h19m35s Direct Out-interface: GigabitEthernet0/1/0.1 Original nexthop: 2.2.2.2 Effective nexthop: 192.168.1.1 Advertised nexthop: 2.2.2.2 Qos information : 0 Ext-Community: RT <1 : 1>, Tunnel Type <VxLan>, Router's MAC <00e0-fc00-0002> AS-path Nil, origin igp, MED 0, localpref 100, pref-val 0, valid, local, best, select, pre 255 Sent path-id: 0 Route Type: 5 (Ip Prefix Route) Ethernet Tag ID: 0, IP Prefix/Len: 10.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
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 SMET Routes | Number of SMET Routes. |
Route Duration | Duration for route advertisement. |
Route Type | EVPN route type:
|
Route Distinguisher | The route distinguisher. |
NextHop | The next hop of the route. |
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. |
Direct Out-interface | Direct outbound interface. |
Original nexthop | Original next hop. |
Qos information | QoS information. |
Tunnel Type | The type of tunnel. |
AS-path | AS_Path attribute (Nil indicates that the attribute value is null). |
origin | Origin attribute of an EVPN BGP route. |
MED | MED value of route. |
pref-val | Preferred value of an EVPN BGP route. |
pre | Route preference. |
Ethernet Tag ID | VLAN ID, which is fixed at 0. |
IP Prefix/Len | Prefix and length of IP address. |
GW IP Address | IP address of gate way. |
Advertised to such 1 peers | Peers to which routes are advertised. |
Advertised nexthop | Next hop to which the IP prefix route recurses after being sent. |
Extcommunity | Extended community attribute. |
EVPN-Instance | Name of the EVPN instance. |
Effective nexthop | Actual next hop of the IP prefix route. |
Router's MAC | MAC address received from an EVPN peer. |
localpref | Local preference. |
Sent path-id | ID of the transmit path. |
From | IP address of the device that advertised routes. |
Ext-Community | BGP EVPN extended community attribute. |
valid | Valid route. |
select | Preferred route. |
ESI | Ethernet Segment Identifier. |
Network | The network information of the route. |
Prefix-Sid | Prefix-SID attribute. |
Worse-Reason | Reason why a route is not selected. |
Bypass Prefix-Sid | Bypass Prefix-SID attribute. |
Flag-String | Route flag string. |
Remote Route-ID | Router ID of the peer. |
Originator | Router ID of the route originator. |
L3 Prefix-Sid | Layer 3 prefix SID. |
Redirect Out Interface | Outbound interface for redirection. |