Using the local-pw-id command, you can set the ID of the local end of a PW or a VC.
Using the undo local-pw-id command, you can delete the configured ID of the local end of a PW or a VC.
By default, local-pw-id is not configured.
Parameter | Description | Value |
---|---|---|
local-pw-id | Specifies the ID of the local end of a PW or a VC. | The value is a decimal integer.
|
Usage Scenario
PWE3 ping and PWE3 trace test instances can be used in the following scenarios:
Connectivity and faulty node detections for a single-hop PW. After the local-pw-id command is run in the NQA view to configure the local PW ID or VC ID, you can specify a PW for the detection.
Prerequisites
Before running the local-pw-id command, you must set the NQA test type to PWE3 Trace or PWE3 Ping in the NQA view.
Precautions
The local-pw-id value must be the same as the VC ID value in the display mpls l2vc command output; otherwise, the test may fail.