The lnp disable command disables LNP negotiation on a device.
The undo lnp disable command enables LNP negotiation on a device.
By default, LNP negotiation is enabled on all interfaces of a Layer 2 device.
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. To disable LNP negotiation on all interfaces of a Layer 2 device, run the lnp disable or undo lnp enable command.
To disable LNP negotiation on a Layer 2 Ethernet interface, run the port negotiation disable command in the interface view.
Precautions
When the switch is upgraded from an earlier version of V200R005C00 to V200R005C00 or later, the link type auto-negotiation function is automatically disabled globally.
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.
The lnp disable command has no impact on services before the device restarts. After the device restarts, the device can only forward packets from the VLANs specified by the port default vlan command at Layer 2. The port default vlan 1 command is configured by default, so only packets of VLAN 1 can be forwarded at Layer 2.
For LNP negotiation to take effect, LNP negotiation must be enabled on both the device and Layer 2 Ethernet interfaces.