No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display ip vpn-instance

display ip vpn-instance

Function

The display ip vpn-instance command displays configurations of VPN instances.

Format

display ip vpn-instance [ verbose ] [ vpn-instance-name ]

display ip vpn-instance [ vpn-instance-name ] interface

Parameters

Parameter Description Value
verbose Displays detailed information about VPN instances. -
vpn-instance-name Specifies the name of a VPN instance. The value is the name of an existing VPN instance.
interface Displays information about the interfaces bound to the VPN instance. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

If you want to check the configurations of VPN instances, interfaces bound to them, and LSPs associated with them, run the display ip vpn-instance command. Since VPN instances support both IPv4 and IPv6 address families, the display ip vpn-instance command displays the information of different address families separately.

If vpn-instance-name is not specified, the display ip vpn-instance command displays information about all configured VPN instances on the device.

If interface is specified, the display ip vpn-instance command displays all interfaces bound to the specified VPN instance.

Precautions

If the VPN instance to be displayed is not created, the system prompts that the VPN instance does not exist.

Example

# Display brief information about all VPN instances.

<HUAWEI> display ip vpn-instance
 Total VPN-Instances configured      : 5                                                                                            
 Total IPv4 VPN-Instances configured : 3                                                                                            
 Total IPv6 VPN-Instances configured : 2                                                                                            
                                                                                                                                    
  VPN-Instance Name               RD                    Address-family                                                              
  vpn1                            100:1                 IPv4
  HWTest                                                IPv6
  vpna                            30:1                  IPv6
  vpnb                            33:1                  IPv4
  huawei                                                IPv4
Table 12-5  Description of the display ip vpn-instance command output

Item

Description

Total VPN-Instances configured

Total number of VPN instances configured on the local end.

Total IPv4 VPN-Instances configured

Total number of locally configured VPN instances for which IPv4 address families are enabled.

Total IPv6 VPN-Instances configured

Total number of locally configured VPN instances for which IPv6 address families are enabled.

VPN-Instance Name

Name of the VPN instance.

RD

RD of the VPN instance IPv4 address family or IPv6 address family.

Address-family

Address family enabled for the VPN instance. The address family can be:
  • Null, if no address family is enabled.
  • ipv4, if only the IPv4 address family is enabled.
  • IPv6, if only the IPv6 address family is enabled.

# Display detailed information about all VPN instances.

<HUAWEI> display ip vpn-instance verbose
 Total VPN-Instances configured : 1                                                                                                 
 Total IPv4 VPN-Instances configured : 1                                                                                            
 Total IPv6 VPN-Instances configured : 0

 VPN-Instance Name and ID : test, 1                                                                                                 
 Address family ipv4
  Create date : 2010-03-07 07:10:39+00:00                                                                                           
  Up time : 2 days, 12 hours, 39 minutes and 01 seconds                                                                             
  Vrf Status : UP
  Route Distinguisher : 20:20                                                                                                       
  Export VPN Targets : 20:30                                                                                                        
  Import VPN Targets : 20:30                                                                                                        
  Label Policy : label per instance
  Per-Instance Label : 1029                                                                                                      
  IP FRR Inter-Protocol Enable
  Import Route Policy : rp1
  Export Route Policy : rp2
  Maximum Routes Limit : 200
  Threshold Routes Limit : 80%
Table 12-6  Description of the display ip vpn-instance verbose command output

Item

Description

Total VPN-Instances configured

Total number of VPN instances configured on the local end.

Total IPv4 VPN-Instances configured

Total number of locally configured VPN instances for which IPv4 address families are enabled.

Total IPv6 VPN-Instances configured

Total number of locally configured VPN instances for which IPv6 address families are enabled.

VPN-Instance Name and ID

Name and ID of the VPN instance. The ID is assigned by the system, which facilitates indexing.

Description

Description of the VPN instance. This field is displayed in the command output only when the description (VPN instance view)command is used.

Interfaces

Interfaces bound to the VPN instance. This field is displayed only after the ip binding vpn-instancecommand is configured on these interfaces.

Address family IPv4

Information about the IPv4 address family enabled for the VPN instance.

Address family ipv6

Information about the IPv6 address family enabled for the VPN instance.

Create date

Time when the VPN instance is created.

Up time

Period during which the VPN instance maintains in the Up state.

Vrf Status

VPN status:

  • UP
  • DOWN

Route Distinguisher

RD of the VPN instance IPv4 address. To configure a RD, run the route-distinguishercommand.

Export VPN Targets

Route Target list in the outbound direction. To set the VPN target, run the vpn-targetcommand.

Import VPN Targets

Route Target list in the inbound direction. To set the VPN target, run the vpn-targetcommand.

Label Policy

Label policy: label per route indicates that each route is allocated a label.

IP FRR Inter-Protocol Enable

IP FRR is enabled for the address family. This item is displayed only after the ip frrcommand is run in the VPN instance address family view.

Import Route Policy

Import Route-Policy applied to the VPN instance. This field is displayed only after the import route-policycommand is run in the VPN instance address family view.

Export Route Policy

Export Route-Policy applied to the VPN instance. This field is displayed only after the export route-policycommand is run in the VPN instance address family view.

Maximum Prefixes Limit

Maximum number of prefixes supported by the current address family of the VPN instance. This field is displayed only after the prefix limitcommand is run in the VPN instance address family view.

Threshold Prefixes Limit

Percentage of the maximum number of prefixes specified for the current address family of the VPN instance. When the maximum number of prefixes reaches the percentage threshold, an alarm is generated. This field is displayed only after the prefix limitcommand is run in the VPN instance address family view.

# Display information about the interface bound to the VPN instance named vrf1.

<HUAWEI> display ip vpn-instance vrf1 interface
 VPN-Instance Name and ID : vrf1, 1
  Interface Number : 4
  Interface list : Vlanif40,
                   LoopBack1,
                   LoopBack2,
                   LoopBack3
Table 12-7  Description of the display ip vpn-instance interface command output

Item

Description

Interface Number

Number of interfaces bound to the VPN instance.

Interface list

List of interfaces bound to the VPN instance.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 50558

Downloads: 337

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next