< Home

remote-pw-id

Function

Using the remote-pw-id command, you can configure the ID of the remote end of a PW or a VC.

Using the undo remote-pw-id command, you can remove the configured ID of the remote end of a PW or a VC.

When the VC type is LDP, remote-pw-id defaults to be 0.

Format

remote-pw-id remote-pw-id

undo remote-pw-id

Parameters

Parameter Description Value
remote-pw-id Specifies the ID of the remote end of a PW or a VC.

The value is a decimal integer.

  • In the case of a PWE3 ping test instance, the value of remote-pw-id is an integer that ranges from 1 to 4294967295, and only the VC type of LDP is supported. The default value is 0, indicating that the ID of the remote end of a PW is not configured.
  • In the case of a PWE3 trace: if the VC type is LDP, the value of remote-pw-id is an integer that ranges from 1 to 4294967295. The default value is 0; if the VC type is BGP, the value of remote-pw-id is an integer that ranges from 0 to 65534.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before running the remote-pw-id command, you must set the test type to PWE3 Trace or PWE3 Ping in the NQA view.

Precautions

You cannot configure the remote-pw-id command after setting lsp-version to rfc4379.

The remote-pw-id value must be the same as the VC ID value in the display mpls l2vc remote-info verbose command output; otherwise, the test may fail.

Example

# In the NQA view, configure the ID of the remote end of a PW to 100, the administrator to admin, and the test type to PWE3 trace.

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