< Home

display ipv6 vpn-instance (upgrade-compatible command)

Function

The display ipv6 vpn6-instance command displays information about an IPv6 VPN instance.

Format

display ipv6 vpn6-instance [ brief | verbose ] [ vpn6-instance-name ]

Parameters

Parameter Description Value

brief

Displays summary information about an IPv6 VPN instance.

-

verbose

Displays detailed information about the IPv6 VPN instances and their associated interfaces.

-

vpn6-instance-name

Specifies the name of an IPv6 VPN instance.

The name is a string of 1 to 31 case-sensitive characters.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If a VPN instance is configured, you can check the configuration of the instance by using the display ipv6 vpn6-instance command. You can also use this command to view the VPN instances configured on the local device.

When no parameters are specified, the command displays brief information about all the configured VPN instances.

Example

# View brief information about all the configured IPv6 VPN instances.

<HUAWEI> display ipv6 vpn6-instance
 Total VPN-Instances configured      : 3                                                                                            
 Total IPv4 VPN-Instances configured : 2                                                                                            
 Total IPv6 VPN-Instances configured : 1                                                                                            
                                                                                                                                    
  VPN-Instance Name               RD                    Address-family                                                              
  vpn1                                                                                                                              
  vpna                            100:1                 IPv4                                                                        
  vpna                            100:3                 IPv6                                                                        
  vpnb                            100:2                 IPv4  
Table 1 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.

Creation Time

Time when an IPv4 or IPv6 address family is enabled for the VPN instance.

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.
<HUAWEI> display ipv6 vpn6-instance brief
 Total VPN-Instances configured      : 3                                                                                            
 Total IPv4 VPN-Instances configured : 2                                                                                            
 Total IPv6 VPN-Instances configured : 1                                                                                            
                                                                                                                                    
  VPN-Instance Name               RD                    Address-family                                                              
  vpn1                                                                                                                              
  vpna                            100:1                 IPv4                                                                        
  vpna                            100:3                 IPv6                                                                        
  vpnb                            100:2                 IPv4  

# View detailed information about all IPv6 VPN instances.

<HUAWEI> display ipv6 vpn-instance verbose
 Total VPN-Instances configured      : 1                                        
 Total IPv4 VPN-Instances configured : 1                                        
 Total IPv6 VPN-Instances configured : 1                                        
                                                                                
 VPN-Instance Name and ID : vpna, 6                                             
  Description : vpna-1                                                          
  Service ID : 12  
  Interfaces : Vlanif10                                             
 Address family ipv4                                                            
  Create date : 2012/12/3 15:36:20 UTC+08:00                                    
  Up time : 6 days, 04 hours, 41 minutes and 57 seconds                         
  Route Distinguisher : 100:1                                                   
  Export VPN Targets :  1:1                                                     
  Import VPN Targets :  1:1                                                     
  Label Policy : label per instance                                             
  Per-Instance Label : 1024                                                     
  IP FRR Route Policy : 20                                                      
  VPN FRR Route Policy : 12 
  Import Route Policy : 10                                                      
  Export Route Policy : 20                                                      
  Tunnel Policy : bindTE                                                        
  Maximum Routes Limit : 2000                                                   
  Threshold Routes Limit : 80%                                                  
  Maximum Prefixes Limit : 1024                                                 
  Threshold Prefixes Limit : 50%                                                
  Install Mode : route-unchanged 
  Log Interval : 10                                                             
 Address family ipv6                                                            
  Create date : 2012/12/3 15:36:20 UTC+08:00                                    
  Up time : 6 days, 04 hours, 41 minutes and 57 seconds                         
  Log Interval : 5                                                              
                                                                                
Table 2 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.

Service ID

Service ID of the VPN instance. This item is displayed only after the service-id (VPN instance view) command is run in the VPN instance view.

Interfaces

Interfaces bound to the VPN instance. This field is displayed only after the ip binding vpn-instance command 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.

Route Distinguisher

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

Export VPN Targets

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

Import VPN Targets

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

Label Policy

Label policy:
  • label per instance: indicates that the same label is allocated to routes of a VPN instance. This field is displayed in the command output only when the apply-label per-instance command is run in the VPN instance view.

  • label per route: indicates that each route of a VPN instance is assigned a label. Label allocation for routes of a VPN instance is implemented in this mode.

Per-Instance Label

Label value used when all VPN routes of the VPN instance address family share one label. This field is displayed only after the apply-label per-instance command is run in the VPN instance address family view.

IP FRR Route Policy

IP FRR route policy used for the address family. This item is displayed only after the ip frr command is run in the VPN instance IPv4 address family view.

VPN FRR Route Policy

VPN FRR route policy used for the address family. This item is displayed only after the vpn frr command is run in the VPN instance IPv4 address family view.

Import Route Policy

Import Route-Policy applied to the VPN instance. This field is displayed only after the import route-policy command 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-policy command is run in the VPN instance address family view.

Tunnel Policy

Tunnel policy applied to the VPN instance. This field is displayed only after the tnl-policy command is run in the VPN instance address family view.

Maximum Routes Limit

Maximum number of routes supported by the current address family. This field is displayed only after the routing-table limit command is run in the VPN instance address family view.

Threshold Routes Limit

Percentage of the maximum number of routes specified for the current address family. When the maximum number of routes reaches the percentage threshold, an alarm is generated. This field is displayed only after the routing-table limit command 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 limit command 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 limit command is run in the VPN instance address family view.

Install Mode

Method of processing routes. The prefix limit command can be used to specify the route processing method when the threshold is lowered due to the number of route prefixes exceeding the upper threshold.
  • If route-unchanged is configured, routes in the routing information base (RIB) table remain unchanged.
  • If route-unchanged is not configured, all routes in the RIB table are deleted and the routes are re-installed in the RIB table.

Log Interval

Interval for displaying log messages when the number of VPN instance routes exceeds the maximum value. The default interval is 5 seconds. The value can be set by the command limit-log-interval.

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