Using the local-pw-type command, you can configure the PW type of the local end.
Using the undo local-pw-type command, you can cancel setting the PW type of the local end.
By default, the PW type of the local end is Ethernet.
Parameter | Description | Value |
---|---|---|
local-pw-type | Specifies the PW type of the local end. | Currently, encapsulation types ethernet, ip-interworking and vlanare supported. By the default, the value is ethernet. |
Usage Scenario
The local-pw-type command is used to configure a PW encapsulation type for the local PE. The PW encapsulation type configured for the local PE must be the same as the PW encapsulation type for the remote PE.
Prerequisites
Before configuring the local-pw-type command, configure the test type of NQA test instances as PWE3 trace or PWE3 ping in the NQA view.
Precautions
The local-pw-type value must be the same as the VC type value in the display mpls l2vc command output; otherwise, the test may fail.