< Home

vc-type

Function

Using the vc-type command, you can configure the type of the protocol used for setting up an L2VPN VC in the NQA view.

Using the undo vc-type command, you can delete the protocol type configured in the NQA view.

By default, the type of the protocol used for setting up an L2VPN VC is LDP.

Format

vc-type { ldp | bgp }

undo vc-type

Parameters

Parameter Description Value
ldp Propagates inner labels by using LDP as the signaling protocol. -
bgp Propagates inner labels by using BGP as the signaling protocol. -

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The vc-type command is used to configure the signaling protocol for an NQA test instance to be identical with that for the PW on the network to be tested.

Prerequisites

For the vc-type ldp command, ensure that the test instance is of the following type:
  • PWE3 Ping
  • PWE3 Trace
For the vc-type bgp command, ensure that the test instance is of the following type:
  • PWE3 Trace

Precautions

The signaling type of a running test instance cannot be changed.

Example

# In the NQA view, configure BGP to be the type of the protocol used for setting up an L2VPN VC.

<HUAWEI> system-view
[HUAWEI] nqa test-instance admin pwe3
[HUAWEI-nqa-admin-pwe3] test-type pwe3trace
[HUAWEI-nqa-admin-pwe3] vc-type bgp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >