set port lldp tlv

Last Updated : Nov 06, 2012 |

Enables or disables the transmission of the optional TLVs on a per port basis.

The optional TLVs are:

  • Port description

  • System name

  • System description

  • System capabilities

  • Management address

  • Port-vlan-id

  • Vlan-name

Syntax:

set port lldp tlv module/port { enable | disable } { tlv-name | vlan-name vlan-id }

Parameters

Parameter

Description

Possible Values

Default Value

module

Number of module

1-10

port

Number of port(s)

enable

Keyword specifying to enable transmission of TLV parameter

disable

Keyword specifying to disable transmission of TLV parameter

tlv_name

Name of the optional TLV:

port-description — 802 LAN station’s port description

system-name — an alphanumeric string that indicates the system’s administratively assigned name

system-description — an alphanumeric string that is the textual description of the system

system-capabilities — identifies the primary function(s) of the system and whether or not these primary functions are enabled

management-address — identifies an address associated with the local LLDP agent that may be used to reach higher layer management entities

port-vlan-id — LAN port VLAN (PVID) that will be associated with untagged or priority tagged frames it receives

all — send all optional TLVs for each port

port-description system-name system-description system-capabilities management-address port-vlan-id all

vlan-id

VLAN number. VLAN identifier of statically bound VLANs on the port.

The vlan-id must exist and be bound to that port.

1-4090

Tip:

Executing this command applies only one TLV at a time. To affect all optional TLVs, you should execute the command for different tlv_names, or once with tlv_name=all. When using the all option, the VLAN-Name TLVs are sent indicating all VLANs bound to each port.

User level

read-write

Context

general

Examples

To enable the transmission of optional TLV management-address for port 10/3:
Gxxx-001(super)# set port lldp tlv 10/3 enable management-address
Gxxx-001(super)# set port lldp tlv 10/3 enable vlan-name 2