display lldp tlv-config

Syntax

display lldp tlv-config [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

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 tlv-config to display the types of advertisable optional LLDP TLVs of a port.

If no port is specified, this command displays the types of advertisable optional TLVs of each port.

Examples

# Display the types of advertisable optional LLDP TLVs of interface Ethernet 1/0/1.

<Sysname> display lldp tlv-config interface ethernet 1/0/1
LLDP tlv-config of port 1[Ethernet1/0/1]:
NAME                              STATUS    DEFAULT
Basic optional TLV:
Port Description TLV              YES       YES
System Name TLV                   YES       YES
System Description TLV            YES       YES
System Capabilities TLV           YES       YES
Management Address TLV            YES       YES

IEEE 802.1 extend TLV:
Port VLAN ID TLV                  YES       YES
Port And Protocol VLAN ID TLV     YES       YES
VLAN Name TLV                     YES       YES

IEEE 802.3 extend TLV:
MAC-Physic TLV                    YES       YES
Power via MDI TLV                 YES       YES
Link Aggregation TLV              YES       YES
Maximum Frame Size TLV            YES       YES

LLDP-MED extend TLV:
Capabilities TLV                  YES        YES
Network Policy TLV                YES        YES
Location Identification TLV       NO         NO
Extended Power via MDI TLV        YES        YES
Inventory TLV                     YES        YES

Table 47: Command output

Field

Description

LLDP tlv-config of port 1

Advertisable optional TLVs of port 1.

NAME

TLV type.

STATUS

Indicates whether a specific type of TLV is sent through a port.

DEFAULT

Indicates whether a specific type of TLV is sent through a port by default.

Basic optional TLV

Basic optional TLVs:

  • Port description TLV.

  • System name TLV.

  • System description TLV.

  • System capabilities TLV.

  • Management address TLV.

IEEE 802.1 extended TLV

IEEE 802.1 organizationally specific TLVs:

  • Port VLAN ID TLV.

  • Port and protocol VLAN ID TLV.

  • VLAN name TLV.

IEEE 802.3 extended TLV

IEEE 802.3 organizationally specific TLVs:

  • MAC-Physic TLV.

  • Power via MDI TLV.

  • Link aggregation TLV.

  • Maximum frame size TLV.

LLDP-MED extend TLV

LLDP-MED TLVs:

  • Capabilities TLV.

  • Network Policy TLV.

  • Extended Power-via-MDI TLV.

  • Location Identification TLV.

  • Inventory TLV, including hardware revision TLV, firmware revision TLV, software revision TLV, serial number TLV, manufacturer name TLV, model name TLV, and asset id TLV.