< Home

ip-forwarding

Function

The ip-forwarding command configures ping packets to be forcibly forwarded through IP on the first node, so that you can check whether the IP network is faulty.

The undo ip-forwarding command restores the default setting.

Format

ip-forwarding

undo ip-forwarding

Parameters

None

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

By default, packets are forwarded using MPLS on an MPLS network.

Usage Scenario

When a fault occurs in the network, you can first run the ping command to check network connectivity. On an MPLS network, if a fault occurs but the control layer fails to detect the fault, the ping operation fails. To fast identify whether the fault occurs on the MPLS network or on the IP network, you can configure IP packets to be forcibly forwarded through IP on the first node. This can help you fast locate the fault.

Prerequisites

Before using the ip-forwarding command, run the test-type command to specify the type of the test instance as icmp.

Example

# Configure packets to be forwarded through IP.
<sysname> system-view
[sysname] nqa test-instance admin icmp
[sysname-nqa-admin-icmp] test-type icmp
[sysname-nqa-admin-icmp] ip-forwarding
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >