< Home

lsp-nexthop

Function

The lsp-nexthop command is used to configure the IP address of the next hop in the case that load balancing is enabled.

Using the undo lsp-nexthop command, you can cancel the current setting.

By default, the next-hop IP address of any link that participates in load balancing.

Format

lsp-nexthop nexthop-ip-address

undo lsp-nexthop

Parameters

Parameter Description Value
nexthop-ip-address Specifies the next hop address. It is in dotted decimal notation.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Two conditions must be meet before you use the command:
  • lsp-type is IPv4
  • lsp-version is RFC4379
You can use the lsp-nexthop command to configure the IP address of the next hop. Test instance type supported as following:
  • LSP Ping
  • LSP Trace
  • LSP Jitter

Precautions

A running test instance cannot be configured with the next hop address.

Example

# Specify the next hop address for the LSP Ping test instance whose LSP type is IPv4 and lsp-version is rfc4379.

<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-version rfc4379
[HUAWEI-nqa-user-test] lsp-nexthop 10.1.2.20 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >