< Home

port negotiation disable

Function

The port negotiation disable command disables LNP negotiation on a Layer 2 Ethernet interface.

The undo port negotiation disable command enables LNP negotiation on a Layer 2 Ethernet interface.

By default, LNP negotiation is enabled on a Layer 2 Ethernet interface.

Format

port negotiation disable

undo port negotiation disable

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, VE interface view, Eth-Trunk interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, LNP negotiation is enabled for all interfaces on a Layer 2 device. If an LNP-capable Layer 2 device is connected to an LNP-incapable Layer 2 device, the LNP-capable device keeps sending LNP packets, wasting bandwidth resources. In this situation, you can run the port negotiation disable command to disable LNP negotiation on the Layer 2 Ethernet interface connected to the LNP-incapable Layer 2 device.

To disable LNP negotiation on all interfaces of a Layer 2 device, run the lnp disable command in the system view.

Prerequisites

The interface must be a layer 2 interface before using the port negotiation disable command. Use the portswitch command to switch a layer 3 interface to a Layer 2 interface.

Precautions

By default, LNP negotiation is enabled for all interfaces on a Layer 2 device. If you run the lnp disable command in the system view to disable LNP negotiation on all interfaces of a Layer 2 device. LNP negotiation cannot be enabled on a Layer 2 Ethernet interface by running the undo port negotiation disable command in the interface view.

For LNP negotiation to take effect, LNP negotiation must be enabled on both the device and Layer 2 Ethernet interfaces.

Example

# Disable LNP negotiation on a Layer 2 Ethernet interface.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port negotiation disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >