display bgp evpn routing-table (prefix condition)

Function

The display bgp evpn routing-table command displays information about BGP EVPN routes.

Format

display bgp evpn all routing-table { ad-route | es-route | inclusive-route | mac-route | prefix-route | smet-route | join-route | leave-route } prefix { community-list | ext-community | large-community | cluster-list | advertised-peer | as-path }

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 { community-list | ext-community | large-community | cluster-list }

Parameters

Parameter Description Value
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:

  • xxxx.xxxx.xxxx.xxxx.xxxx indicates the ESI configured for the device originating this route.
  • M is from 0 to 4294967295.

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:

  • M is fixed at 0.
  • X.X.X.X indicates the source address configured for the device originating the route.
  • L indicates the mask length of the source address configured for the device originating the route.

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:

  • E indicates the ID of the VLAN to which the MAC address belongs.
  • M is fixed at 48, indicating the length of the MAC address.
  • H-H-H indicates the MAC address. The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros.
  • L is fixed at 0, indicating the mask length of the IP address corresponding to the MAC address.
  • X.X.X.X indicates the IP address corresponding to the MAC address. Currently, this part can only be displayed as 0.0.0.0.
  • X:X::X:X indicates the IPv6 address corresponding to the MAC address.

IP Prefix route. The value is in the format of L:X.X.X.X:M or L:[X:X::X:X]:M, where:

  • L is fixed at 0.
  • X.X.X.X indicates the ip address of host routes.
  • M indicates the mask length of host routes.
  • X:X::X:X indicates the ipv6 address of host routes.

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:

  • T indicates an Ethernet tag ID, which is the BD tag specified when an EVPN instance is bound to a BD. If no BD tag is specified, the Ethernet tag ID is 0.
  • SL indicates the mask of a multicast source address.
  • SX.SX.SX.SX indicates a multicast source address.
  • GL indicates the mask of a multicast group address.
  • GX.GX.GX.GX indicates a multicast group address.
  • OL indicates the mask of an EVPN source address.
  • OX.OX.OX.OX indicates an EVPN source address.

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:

  • ESI indicates the ESI of an EVPN.
  • T indicates an Ethernet tag ID, which is the BD tag specified when an EVPN instance is bound to a BD. If no BD tag is specified, the Ethernet tag ID is 0.
  • SL indicates the mask of a multicast source address.
  • SX.SX.SX.SX indicates a multicast source address.
  • GL indicates the mask of a multicast group address.
  • GX.GX.GX.GX indicates a multicast group address.
  • OL indicates the mask of an EVPN source address.
  • OX.OX.OX.OX indicates an EVPN source address.

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:

  • ESI indicates the ESI of an EVPN.
  • T indicates an Ethernet tag ID, which is the BD tag specified when an EVPN instance is bound to a BD. If no BD tag is specified, the Ethernet tag ID is 0.
  • SL indicates the mask of a multicast source address.
  • SX.SX.SX.SX indicates a multicast source address.
  • GL indicates the mask of a multicast group address.
  • GX.GX.GX.GX indicates a multicast group address.
  • OL indicates the mask of an EVPN source address.
  • OX.OX.OX.OX indicates an EVPN source address.
  • SY indicates a synchronization sequence number.
community-list

Displays the community list of BGP EVPN routes.

-

ext-community

Displays the extended community list of BGP EVPN routes.

-

large-community

Displays the extended community attribute of BGP EVPN routes.

-

cluster-list

Displays the cluster list of BGP EVPN routes.

-

advertised-peer

Displays the advertised peer list of BGP EVPN routes.

-

as-path

Displays the AS_Path attribute of BGP EVPN routes.

-

all

Displays information about EVPN routes of all EVPN instances.

-

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.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To check information about EVPN routes, including active and inactive routes, run the display bgp evpn routing-table command.

Information about specified EVPN routes can be displayed by specifying different parameters.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the large-community attribute of inclusive routing.
<HUAWEI> display bgp evpn all routing-table inclusive-route 0:32:10.5.5.5 large-community

 Routes of Route Distinguisher(1:1):
 
 BGP routing table entry information of 0:32:10.5.5.5:
 Imported route.
 From: ::
 Large-Community: <1:1:1>
Table 1 Description of the display bgp evpn routing-table (prefix condition) command output
Item Description
Routes of Route Distinguisher

Routing information for the specified RD.

BGP routing table entry information of

Routing entry information.

Imported route

The routes imported.

From

IP address of the device that advertised routes.

Large-Community

Specifies the extended community attribute of BGP EVPN routes.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >