display l2vpn vsi-list tunnel-policy

Function

The display l2vpn vsi-list tunnel-policy command displays the VSIs that use the specified tunnel policy to establish PWs.

Format

display l2vpn vsi-list tunnel-policy policy-name

Parameters

Parameter Description Value
tunnel-policy policy-name

Specifies the name of a PW tunnel policy.

The value is a string of 1 to 39 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To view the VSIs that use the specified tunnel policy to establish PWs, run the display l2vpn vsi-list tunnel-policy command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the VSIs that use the specified tunnel policy to establish PWs.
<HUAWEI> display l2vpn vsi-list tunnel-policy p1
Using Tunnel-Policy p1 VSI Instance statistics:
----------------------------------------------------------------------
vsi v1
vsi v2
vsi v3
Table 1 Description of the display l2vpn vsi-list tunnel-policy command output
Item Description
tunnel-policy

Name of a tunnel policy. If the tunnel policy name is not specified, the system uses the default tunnel policy. The default tunnel policy preferentially selects LSPs for packet transmission and the number of load-balancing tunnels is 1. If the tunnel policy name is specified but the corresponding tunnel policy does not exist, the system still uses the default tunnel policy.

Using Tunnel-Policy p1 VSI Instance statistics

Names of all the VSIs that use the specified tunnel policy to establish PWs.

vsi

VSI name.

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