display evpn vpn-instance tunnel-info

Function

The display evpn vpn-instance tunnel-info command queries information about a tunnel associated with an EVPN instance.

Format

display evpn vpn-instance [ name vpn-instance-name ] tunnel-info

display evpn vpn-instance name vpn-instance-name tunnel-info nexthop nexthopIpv4Addr

display evpn vpn-instance name vpn-instance-name tunnel-info nexthop nexthopIpv6Addr

Parameters

Parameter Description Value
name vpn-instance-name

Displays an EVPN instance name.

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.

nexthop

Next hop.

-

nexthopIpv4Addr

Specify an IPv4 nexthop address.

It is in dotted decimal notation.

nexthopIpv6Addr

Specify an IPv6 nexthop address.

The prefix is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

In an EVPN VPWS or EVPN VPLS scenario, to query information about a tunnel associated with an EVPN instance, run the display evpn vpn-instance tunnel-info command.

If vpn-instance-name is not specified, information about tunnels associated with all configured EVPN instances is displayed.

If vpn-instance-name is specified, information about a tunnel associated with a specified EVPN instance is displayed.

If nexthop is specified, information about a tunnel associated with an EVPN with a specified next-hop address is displayed.

Example

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

# Display information about the tunnel associated with the route matching the specified next hop in the specified EVPN instance.
[~HUAWEI] display evpn vpn-instance name vpws tunnel-info nexthop 1.1.1.1
 VPN-Instance Name and ID : vpws, 6
  Nexthop Address                         Tunnel ID             
  1.1.1.1                                 5000003               
  Tunnel Name                             Tunnel Type           
  LDP LSP                                 ldp                   

[~HUAWEI] display evpn vpn-instance name srv6 tunnel-info nexthop 3::3
 VPN-Instance Name and ID : srv6, 5
  Nexthop Address                         Tunnel ID             
  2001:db8::3                             1                     
  Tunnel Name                             Tunnel Type           
  SRv6-TE Policy                          srv6tepolicy          
  Color                                   
  100
# Display information about the tunnel associated with all VPN instances.
[~HUAWEI] display evpn vpn-instance tunnel-info
 Total EVPN-Instances configured      : 2

 VPN-Instance Name and ID : evrf1, 1

 VPN-Instance Name and ID : evrf2, 2
  Nexthop Address                         Tunnel ID             
  1.1.1.1                                 5000003               
  Tunnel Name                             Tunnel Type           
  LDP LSP                                 ldp                   

[~HUAWEI] display evpn vpn-instance tunnel-info
 Total EVPN-Instances configured      : 1

 VPN-Instance Name and ID : evrf1, 1
  Nexthop Address                         Tunnel ID             
  2001:db8::3                             1                     
  Tunnel Name                             Tunnel Type           
  SRv6-TE Policy                          srv6tepolicy          
  Color                                   
  100
Table 1 Description of the display evpn vpn-instance tunnel-info command output
Item Description
VPN-Instance Name and ID

Name and ID of the EVPN instance. The ID is allocated by the system for indexing.

Nexthop Address

Next-hop address of the route learned by the VPN instance from the peer PE.

Tunnel ID

ID of the tunnel corresponding to the next hop address of the route learned by the VPN instance from the peer PE.

Tunnel Name

Name of a tunnel.

Tunnel Type

Tunnel type:

  • ldp.
  • bgp.
  • te.
  • bgp_local_ifnet.
  • vxlan.
  • srbe-lsp.
  • srtepolicy.
  • srv6tepolicy.
  • flex-algo-lsp.
Color

Color value.

Total EVPN-Instances configured

Total number of EVPN instances configured.

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