< Home

display lnp

Function

The display lnp interface command displays LNP negotiation information on a Layer 2 Ethernet interface.

Format

display lnp { interface interface-type interface-number | summary }

Parameters

Parameter Description Value

interface interface-type interface-number

Displays LNP negotiation information on a specified Layer 2 Ethernet interface.

-

summary

Displays LNP negotiation information on all Ethernet interfaces of a Layer 2 device.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If you want to check the link type and traffic statistics of a Layer 2 Ethernet interface after enabling LNP negotiation, run the display lnp command.

To monitor the status of or locate the fault on an LNP-enabled Layer 2 Ethernet interface, run the display lnp command to obtain the status information and statistics about user packets. This information provides a basis for fault locating.

Example

# Display LNP negotiation information on a specified Layer 2 Ethernet interface.

<HUAWEI> display lnp interface gigabitethernet0/0/1
LNP information for GigabitEthernet0/0/1:
  Port link type: trunk
  Negotiation mode: desirable
  Hello timer expiration(s): 19
  Negotiation timer expiration(s): 0
  Trunk timer expiration(s): 289
  FSM state: trunk

  Packets statistics
  4 packets received
    0 packets dropped
      bad version: 0, bad TLV(s): 0, bad port link type: 0,
      bad negotiation state: 0, other: 0
  5 packets output
    0 packets dropped
      other: 0
Table 1 Description of the display lnp interface command output

Item

Description

LNP information for

Layer 2 Ethernet interface on which LNP negotiation information is displayed

Port link type

Link-type of the Layer 2 Ethernet interface
  • Trunk
  • Access
  • Hybrid
  • dot1q-tunnel

Negotiation mode

Negotiation mode on the Layer 2 Ethernet interface, which can be configured using the port link-type command
  • desirable
  • auto
  • on
  • off

Hello timer expiration(s)

Timeout period for the Hello timer

Negotiation timer expiration(s)

Timeout period for the negotiation timer

Trunk timer expiration(s)

Timeout period for the Trunk timer

FSM state

Status of the LNP state machine

Packets statistics

Statistics about LNP packets

packets received

Number of received LNP packets

packets dropped

Number of dropped LNP packets

bad version

Number of LNP packets dropped due to incorrect versions

bad TLV(s)

Number of LNP packets dropped due to incorrect TLVs

bad port link type

Number of LNP packets dropped due to incorrect negotiation results

bad negotiation state

Number of LNP packets dropped due to incorrect negotiation states

other

Number of LNP packets dropped due to other causes

packets output

Number of sent LNP packets

# Display LNP negotiation information on all Ethernet interfaces of a Layer 2 device.

<HUAWEI> display lnp summary
Global LNP : Negotiation enable
-------------------------------------------------------------------------------
C: Configured; N: Negotiated; *: Negotiation disable;
Port         link-type(C)   link-type(N)   InDropped   OutDropped  FSM
-------------------------------------------------------------------------------
GE0/0/1      access         access                 0            0  off
GE0/0/2      desirable      access                 0            0  off
GE0/0/3      desirable      access                 0            0  off
GE0/0/4      desirable      access                 0            0  off
GE0/0/6      desirable      access                 0            0  off
GE0/0/7      desirable      access                 0            0  off
GE0/0/8      desirable      access                 0            0  off
GE0/0/9      desirable      access                 0            0  off
GE0/0/10     desirable      access                 0            0  off
Table 2 Description of the display lnp summary command output

Item

Description

Global LNP

Whether LNP is enabled globally, which can be configured using the lnp disable command

Port

Layer 2 Ethernet interface on which LNP negotiation information is displayed

link-type(C)

Negotiation mode on the Layer 2 Ethernet interface, which can be configured using the port link-type command

link-type(N)

Negotiation result on the Layer 2 Ethernet interface

InDropped

Number of incoming LNP packets that are dropped on the Layer 2 Ethernet interface

OutDropped

Number of outgoing LNP packets that are dropped on the Layer 2 Ethernet interface

FSM

Status of the LNP state machine
  • access
  • trunk
  • on
  • off
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >