display lldp local-information
Syntax
display lldp local-information [ global | interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
global: Displays the global LLDP information to be sent.
interface interface-type interface-number: Specifies a port by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display lldp local-information to display the LLDP information to be sent, which will be contained in the LLDP TLVs and sent to neighbor devices.
If no keyword or argument is specified, this command displays all LLDP information to be sent, which includes the following:
The global LLDP information.
The LLDP information about the LLDP-enabled ports in up state.
Examples
# Display all LLDP information to be sent.
<Sysname> display lldp local-information Global LLDP local-information: Chassis ID : 00e0-fc00-5600 System name : Sysname System description : HPE Comware Platform Software System capabilities supported : Bridge,Router System capabilities enabled : Bridge,Router MED information Device class: Connectivity device (MED inventory information of master board) HardwareRev : REV.A FirmwareRev : 109 SoftwareRev : 5.20 Alpha 2101 SerialNum : NONE Manufacturer name : HPE Model name : HPE Comware Asset tracking identifier : Unknown LLDP local-information of port 1[Ethernet1/0/1]: Port ID subtype : Interface name Port ID : Ethernet1/0/1 Port description : Ethernet1/0/1 Interface Management address type : ipv4 Management address : 192.168.1.11 Management address interface type : IfIndex Management address interface ID : 54 Management address OID : 0 Port VLAN ID(PVID): 1 Port and protocol VLAN ID(PPVID) : 1 Port and protocol VLAN supported : Yes Port and protocol VLAN enabled : No VLAN name of VLAN 1: VLAN 0001 Auto-negotiation supported : Yes Auto-negotiation enabled : Yes OperMau : speed(100)/duplex(Full) Power port class : PSE PSE power supported : Yes PSE power enabled : Yes PSE pairs control ability : Yes Power pairs : Signal Port power classification : Class 0 Link aggregation supported : Yes Link aggregation enabled : No Aggregation port ID : 0 Maximum frame Size: 1536 MED information Media policy type : Unknown Unknown Policy : Yes VLAN tagged : No Media policy VlanID : 0 Media policy L2 priority : 0 Media policy Dscp : 0 PoE PD power source : PSE Port PD Priority : Low Port available power value: 12.9(w)
Table 43: Command output
Field | Description |
---|---|
Global LLDP local-information | Global LLDP information to be sent. |
Chassis ID | Bridge MAC address of the device. |
System capabilities supported | Supported capabilities:
|
System capabilities enabled | Enabled capabilities:
|
Device class | MED device class:
|
MED inventory information of master board | MED inventory information of the device. |
HardwareRev | Hardware version. |
FirmwareRev | Firmware version. |
SoftwareRev | Software version. |
SerialNum | Serial number. |
Manufacturer name | Device manufacturer. |
Model name | Device model. |
LLDP local-information of port 1 | LLDP information to be sent out of port 1. |
Port ID subtype | Port ID type, which can be MAC address or interface name. |
Port ID | Port ID, the value of which depends on the port ID subtype. |
Management address interface type | Numbering type of the interface identified by the management address. |
Management address interface ID | Index of the interface identified by the management address. |
Management address OID | Management address object ID. |
Port and protocol VLAN ID(PPVID) | Port protocol VLAN ID. |
Port and protocol VLAN supported | Indicates whether or not protocol VLAN is supported on the port. |
Port and protocol VLAN enabled | Indicates whether or not protocol VLAN is enabled on the port. |
VLAN name of VLAN 1 | Name of VLAN 1. |
Auto-negotiation supported | Indicates whether or not auto-negotiation is supported on the port. |
Auto-negotiation enabled | Indicates whether or not auto-negotiation is enabled on the port. |
OperMau | Speed and duplex state of the port. |
PoE supported | Indicates whether or not PoE is supported on the port. |
Power port class | PoE port class when the device supports PoE. PSE indicates that the device is a power sourcing equipment. |
PSE power supported | Indicates whether the device can operate as a PSE. |
PSE power enabled | Indicates whether the device is operating as a PSE. |
PSE pairs control ability | Indicates whether the pair selection ability is available. |
Power pairs | Power supply mode:
|
Port power classification | Power class of the PD:
|
Link aggregation supported | Indicates whether link aggregation is supported. |
Link aggregation enabled | Indicates whether link aggregation is enabled. |
Aggregation port ID | Aggregation group ID, which is 0 when link aggregation is disabled. |
MED information | MED LLDP information. |
Media policy type | Media policy type:
|
Unknown Policy | Indicates whether the media policy is unknown. |
VLAN tagged | Indicates whether packets of the media VLAN are tagged. |
Media Policy VlanID | ID of the media VLAN. |
Media Policy L2 priority | Layer 2 priority. |
Media Policy Dscp | DSCP precedence. |
Location format | Location information format:
|
Location Information | When the port is allowed to advertise Location Identification TLVs, this field displays the location information of the device. |
PoE PD power source | PD power source type:
|
Port PD Priority | PoE power receiving priority of PD ports:
|
Port available power value | Available PoE power on PSE ports, or power needed on PD ports, in watts. |