< Home

display vpn-mapping table

Function

The display vpn-mapping table command displays the VPN instance mapping table of the current device.

Format

display vpn-mapping table slot slot-id cpu cpu-id

Parameters

Parameter Description Value

slot slot-id

Specifies the slot ID of the SPU. Only the USG6680E and USG6712E/6716E support this parameter.

The value is an integer and depends on the device configuration.

cpu cpu-id

Specifies the CPU ID. Only the USG6680E and USG6712E/6716E support this parameter.

The value is an integer and depends on the device configuration.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command is supported in V600R007C20SPC500 and later versions.

In hot standby networking, a device can send the local VPN instance mapping table to the peer end, which corrects inconsistent VPN instance IDs based on the mapping table. You can run the display vpn-mapping table command to view the local VPN instance mapping table.

Example

# Display the local VPN instance mapping table in hot standby networking.

HRP_M<sysname> display vpn-mapping table                                                                                            
2021-08-28 11:06:29.390                                                                                                             
Total Vpn-mapping table: 5                                                                                                         
------------------------------------------------------------------------------                                                      
VPN Name                        Local ID                     Peer ID                                                                
------------------------------------------------------------------------------                                                      
bbb                             100                          101                                                                    
aaa                             101                          100                                                                    
default                         102                          103                                                                    
ccc                             103                          102                                                                    
ddd                             104                          104                                                                    
------------------------------------------------------------------------------  
Table 1 Description of the display vpn-mapping table command output

Item

Description

VPN Name

Name of a VPN instance.

Local ID

ID of the local VPN instance.

Peer ID

ID of the peer VPN instance.

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