lsp-nexthop (LSP Ping test instance)

Function

The lsp-nexthop command specifies an IP address for the next hop when load balancing is enabled on an ingress for LSP Ping test.

The undo lsp-nexthop command deletes the IP address.

By default, the system randomly selects the next-hop address from load-balancing links.

Format

lsp-nexthop nexthop-ip-address

undo lsp-nexthop

Parameters

Parameter Description Value
nexthop-ip-address

Specifies a next hop IP address on an ingress.

The value is in dotted decimal notation.

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

When load balancing is enabled on an ingress, run the lsp-nexthop command to specify a next hop IP address. After the configuration is complete, packets are transmitted in the specified direction.

Precautions

If you change an IP address for the local PE during the running of a test instance, the system displays a message, asking you whether to stop the test instance. You can press "Y" or "N" as required.

  • If you press "Y", the system stops the test instance and changes the PW ID for the local PE. The settings take effect after being committed. To restart the test instance, run the start command.
  • If you press "N", the test instance keeps running, and the IP address fails to be modified.

    You cannot configure the next hop IP address for a test instance which is testing.

Example

# Specify a next hop IP address.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type lspping
[*HUAWEI-nqa-user-test] lsp-type ipv4
[*HUAWEI-nqa-user-test] lsp-nexthop 10.1.2.20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >