The display evpn vpn-instance tunnel-info command queries information about a tunnel associated with an EVPN instance.
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. |
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.The actual command output varies according to the device. The command output here is only an example.
[~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
[~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
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:
|
Color | Color value. |
Total EVPN-Instances configured | Total number of EVPN instances configured. |