< Home

display l3vpn vpn-list tunnel-policy

Function

The display l3vpn vpn-list tunnel-policy command displays all the VPN instances to which a specified tunnel policy is applied.

Format

display l3vpn vpn-list tunnel-policy tunnel-policy-name

Parameters

Parameter Description Value
tunnel-policy-name Specifies the name of a tunnel policy. The value is the name of an existing tunnel policy.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To have its routes iterated to tunnels, a VPN instance needs to apply a tunnel policy. If the tunnel policy used by a VPN instance is changed or the status of tunnels selected based on the tunnel policy changes, the iterated tunnels may change. The display l3vpn vpn-list tunnel-policy command displays all the VPN instances to which a specified tunnel policy is applied. The command output will show the VPN instances that will be affected by changes in the tunnel policy.

Example

# Display the referential relationship between a tunnel policy and a VPN instance.

<HUAWEI> display l3vpn vpn-list tunnel-policy p1
Codes: *(Tunnel policy is not configured) 
Tunnel Policy Name: p1
Total VPN Instance(s) number: 1 
VPN(s) using the tunnel policy: 
vrf1
Table 1 Description of the display l3vpn vpn-list tunnel-policy command output

Item

Description

Codes

Comments

Tunnel Policy Name

Name of a tunnel policy

Total VPN Instance(s) number

Number of VPN instances specified with tunnel policies

VPN(s) using the tunnel policy

Name of VPN instances specified with tunnel policies

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