The display ip vpn-instance import-vt command displays all VPN instances with the specified import vpn-target attribute.
Parameter | Description | Value |
---|---|---|
ivt-value | Specifies the value of the import VPN-target attribute.
The forms of VPN targets are as follows:
|
- |
Usage Scenario
If a PE is configured with multiple VPN instances, the display ip vpn-instance import-vt command can be run on the PE to check into which VPN instances a VPNv4 route with a specified VPN target can be imported.
The VPN target controls route learning between VPN instances. A VPN target may be either an import VPN target or an export VPN target. An export VPN target is contained in a VPNv4 route to be advertised to a remote MP-BGP peer. Receiving a VPNv4 route, an MP-BGP peer compares the received export VPN target with the local import VPN target to determine whether the VPNv4 route can be added to the routing table of the local VPN instance IPv4 address family.
Precautions
At present, this command cannot be used to view the VPN instance with multiple import VPN-target attributes specified.
# Display the VPN instance with the import VPN-target attribute being 1:1.
<HUAWEI> display ip vpn-instance import-vt 1:1 The number of ipv4-family matched the import-vt : 3 VPN-Instance Name and ID : vrf1, 1 VPN-Instance Name and ID : vrf4, 5 VPN-Instance Name and ID : vrf5, 4 The number of ipv6-family matched the import-vt : 2 VPN-Instance Name and ID : vrf1, 1 VPN-Instance Name and ID : vrf5, 4
Item |
Description |
---|---|
The number of ipv4-family matched the import-vt |
Number of VPN instances with the specified import VPN-target attribute in the VPN instance IPv4 address family view. |
The number of ipv6-family matched the import-vt |
Number of VPN instances with the specified import VPN-target attribute in the VPN instance IPv6 address family view. |
VPN-Instance Name and ID |
Name and ID of the VPN instance. |