< Home

display ip forwarding status

Function

The display ip forwarding status command displays whether IPv4 Layer 3 unicast forwarding is enabled on a switch.

Format

display ip forwarding status

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command to check whether IPv4 Layer 3 unicast forwarding is enabled on a switch.

Example

# Display whether IPv4 Layer 3 unicast forwarding is enabled on the switch.

<HUAWEI> display ip forwarding status
Current IP forwarding status: Open
Table 1 Description of the display ip forwarding status command output

Item

Description

Current IP forwarding status

Whether IPv4 Layer 3 unicast forwarding is enabled:

  • Open: The function is enabled.

  • Closed: The function is disabled.

To configure IPv4 Layer 3 unicast forwarding, run the ip forwarding disable command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >