display bgp evpn all routing-table statistics
display bgp evpn all routing-table [ inclusive-route [ inclusive-route ] | mac-route [ mac-route ] | prefix-route [ prefix-route ] ]
display bgp evpn route-distinguisher route-distinguisher routing-table { inclusive-route [ inclusive-route ] | mac-route [ mac-route ] | prefix-route [ prefix-route ] }
Parameter | Description | Value |
---|---|---|
all | Displays all route information. | - |
statistics | Displays route statistics. | - |
route-distinguisher route-distinguisher | Displays information about EVPN routes with a specified RD. | RD has the following four formats:
|
inclusive-route | Displays the information about inclusive multicast routes. | - |
inclusive-route | Specifies an inclusive multicast route. | The format is M:L:X.X.X.X:
|
mac-route | Displays the information about MAC advertisement routes. | - |
mac-route | Specifies a MAC advertisement route. | The format is E:M:H-H-H:L:X.X.X.X or E:M:H-H-H:L:[X:X::X:X]:
|
prefix-route | Displays the information about an IP prefix route. | - |
prefix-route | Specifies an IP prefix route. | The format is L:X.X.X.X:M or L:[X:X::X:X]:M:
|
statistics | Displays route statistics. | - |
In the scenario where VXLAN is deployed through BGP EVPN, you can run this command to view EVPN route information and statistics on the device.
# Display all BGP EVPN routing information.
<HUAWEI> display bgp evpn all routing-table
Local AS number :100
BGP Local router ID is 10.35.99.225
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
EVPN address family:
Number of Mac Routes : 2
Route Distinguisher: 1:1
Network(EthTagId/MacAddrLen/MacAddr/IpAddrLen/IpAddr) NextHop
*> 0:48:a4dc-be0f-99a6:0:0.0.0.0 9.9.9.9
*> 0:48:a4dc-be0f-99a6:32:9.9.9.9 9.9.9.9
VPN-Instance vpn1, Router ID 10.35.99.225:
Total Number of Routes: 1
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 9.9.9.9/32 9.9.9.9 100 0 ?
EVPN address family:
Number of Inclusive Multicast Routes : 1
Route Distinguisher: 1:1
Network(EthTagId/IpAddrLen/OriginalIp) NextHop
*> 0:32:9.9.9.9 9.9.9.9
EVPN address family:
Number of Ip Prefix Routes : 2
Route Distinguisher: 1:1
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*> 0:9.9.9.0:24 9.9.9.9
*> 0:[2018::]:64 9.9.9.9
VPN-Instance vpn1, Router ID 10.35.99.225:
Total Number of Routes: 1
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 9.9.9.0/24 9.9.9.9 0 100 0 ?
VPN-Instance vpn1, Router ID 10.35.99.225:
Total Number of Routes: 1
*> Network : 2018:: PrefixLen : 64
NextHop : ::FFFF:9.9.9.9 LocPrf :
MED : PrefVal : 0
Label : 5010
Path/Ogn :200 100 ?
Item |
Description |
---|---|
Local AS number |
Local AS number |
BGP Local router ID |
Router ID of the local device |
Number of Mac Routes |
Number of MAC advertisement routes |
Route Distinguisher |
Route distinguisher |
Network |
Reachable address |
NextHop |
Next hop |
VPN-Instance |
VPN instance name |
Router ID |
Router ID |
Total Number of Routes |
Total number of routes |
EVPN address family |
BGP EVPN address family |
MED |
Multi-exit discriminator of route |
LocPrf |
Local priority |
PrefVal |
Value preferred by the protocol |
Path/Ogn |
AS path attribute and origin attribute of the route |
Number of Inclusive Multicast Routes |
Number of inclusive multicast routes |
Number of Ip Prefix Routes |
Number of IP prefix routes |
PrefixLen |
Mask length |
Label |
Label value |
# Display statistics information about all BGP EVPN routes.
<HUAWEI> display bgp evpn all routing-table statistics
Total number of routes from all PE: 4
Number of Mac Routes: 2
Number of Inclusive Multicast Routes: 1
Number of Ip Prefix Routes: 1
Item |
Description |
---|---|
Total number of routes from all PE |
Total number of routes |
Number of Mac Routes |
Number of MAC routes |
Number of Inclusive Multicast Routes |
Number of inclusive multicast routes |
Number of Ip Prefix Routes |
Number of IP prefix routes |