The sender-address command configures the source IP address in the multi-hop PW scenario.
The undo sender-address command restores the default setting.
By default, no source IP address is configured.
Usage Scenario
When PWE3 ping is performed in the multi-hop PW scenario, and the lsp-version is rfc4379, the sender-address command specifies a source IP address. The value is a routable address on the same public network with the address of the destination PE. Usually, the source IP address is the address of the adjacent SPE or UPE.
Precautions
After the sender-address command is run, the LSP version cannot be set to draft6.
# Set the source IP address of the PWE3 ping test instance in the multi-hop PW scenario to 10.1.1.1.
<HUAWEI> system-view
[HUAWEI] nqa test-instance user test
[HUAWEI-nqa-user-test] test-type pwe3ping
[HUAWEI-nqa-user-test] lsp-version rfc4379
[HUAWEI-nqa-user-test] sender-address ipv4 10.1.1.1