display vsi bgp-ad

Function

The display vsi bgp-ad command displays the VPN targets of the local and remote devices in a BGP AD VPLS domain.

Format

display vsi bgp-ad { import-vt | export-vt | remote-export-vt }

Parameters

Parameter Description Value
import-vt

Displays local import VPN targets, that is, the import VPN targets of all local BGP AD VSIs.

-

export-vt

Displays local export VPN targets, that is, the export VPN targets of all local BGP AD VSIs.

-

remote-export-vt

Displays remote export VPN targets, that is, the VPN targets sent from BGP AD peers.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

When you configure or debug BGP AD VPLS, you can run the display vsi bgp-ad command to check the correctness of VPN targets that are locally configured or sent from peers.

Note the following when using the display vsi bgp-ad command:

  • To view import VPN targets that are configured locally, specify import-vt in the command.
  • To view export VPN targets that are configured locally, specify export-vt in the command.
  • To view export VPN targets that are sent from peers, specify remote-export-vt in the command.

Prerequisites

Peers have been configured in the BGP AD VPLS domain.

Example

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

# Display VPN targets received by a device from its peers in a BGP AD VPLS domain.
<HUAWEI> display vsi bgp-ad remote-export-vt
remote export vpn target list:
  100:1                  192.168.12.4:100       312:250
  192.168.120.220:53364  100:100                5.5.5.5:13
  312:250
# Display export VPN targets configured on a device in a BGP AD VPLS domain.
<HUAWEI> display vsi bgp-ad export-vt
export vpn target list:
  100:1                  192.168.12.4:100       312:250
  192.168.120.220:53364  100:100                5.5.5.5:13
  312:250
# Display import VPN targets configured on a device in a BGP AD VPLS domain.
<HUAWEI> display vsi bgp-ad import-vt
import vpn target list:
  100:1                  192.168.12.4:100       312:250
  192.168.120.220:53364  100:100                5.5.5.5:13
  312:250
Table 1 Description of the display vsi bgp-ad command output
Item Description
remote export vpn target list

List of export VPN targets sent from BGP AD peers.

export vpn target list

List of export VPN targets configured locally.

import vpn target list

List of import VPN targets configured locally.

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