148
Examples
# Set the LLDPDU transmit interval to 20 seconds.
<Sysname> system-view
[Sysname] lldp timer tx-interval 20
Related commands
lldp timer tx-delay
lldp tlv-enable
Use
lldp tlv-enable
to configure the types of advertisable TLVs for a port or all ports in a port group.
Use
undo lldp tlv-enable
to disable the advertising of specific types of TLVs.
Syntax
In Layer 2 Ethernet interface view or port group view:
lldp
tlv-enable
{
basic-tlv
{
all
|
port-description
|
system-capability
|
system-description
|
system-name
} |
dot1-tlv
{
all
|
port-vlan-id
|
protocol-vlan-id
[
vlan-id
] |
vlan-name
[
vlan-id
]
} |
dot3-tlv
{
all
|
link-aggregation
|
mac-physic
|
max-frame-size
|
power
} |
med-tlv
{
all
|
capability
|
inventory
|
location-id
{
civic-address device-type country-code
{
ca-type
ca-value
}&<1-10> |
elin-address
tel-number
} |
network-policy
|
power-over-ethernet
}
}
undo lldp
tlv-enable
{
basic-tlv
{
all
|
port-description
|
system-capability
|
system-description
|
system-name
} |
dot1-tlv
{
all
|
port-vlan-id
|
protocol-vlan-id
|
vlan-name
} |
dot3-tlv
{
all
|
link-aggregation
|
mac-physic
|
max-frame-size
|
power
} |
med-tlv
{
all
|
capability
|
inventory
|
location-id
|
network-policy
|
power-over-ethernet
}
}
In Layer 3 Ethernet interface view:
lldp
tlv-enable
{
basic-tlv
{
all
|
port-description
|
system-capability
|
system-description
|
system-name
} |
dot3-tlv
{
all
|
link-aggregation
|
mac-physic
|
max-frame-size
|
power
} |
med-tlv
{
all
|
capability
|
inventory
|
location-id
{
civic-address device-type country-code
{
ca-type ca-value
}&<1-10> |
elin-address
tel-number
} |
power-over-ethernet
}
}
undo lldp
tlv-enable
{
basic-tlv
{
all
|
port-description
|
system-capability
|
system-description
|
system-name
} |
dot3-tlv
{
all
|
link-aggregation
|
mac-physic
|
max-frame-size
|
power
} |
med-tlv
{
all
|
capability
|
inventory
|
location-id
|
power-over-ethernet
}
}
Default
The device can advertise on a Layer 2 Ethernet port all types of LLDP TLVs, except location
identification TLVs, and advertise on a Layer 3 Ethernet port all types of LLDP TLVs, except IEEE
802.1 organizationally specific TLVs, network policy TLVs, and location identification TLVs.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default command level
2: System level
Parameters
all
: Advertises all basic LLDP TLVs, IEEE 802.1 organizationally specific LLDP TLVs, or IEEE 802.3
organizationally specific LLDP TLVs when the
all
keyword is specified for
basic-tlv
,
dot1-tlv
, or
dot3-tlv
in Layer 2 Ethernet interface view; advertises all basic LLDP TLVs or IEEE 802.3
organizationally specific LLDP TLVs when the
all
keyword is specified for
basic-tlv
or
dot3-tlv
in
Layer 3 Ethernet interface view; or advertises all LLDP-MED TLVs except location identification TLVs
when the
all
keyword is specified for
med-tlv
, regardless of whether in Layer 2 or Layer 3 Ethernet
interface view.
basic-tlv
: Advertises basic LLDP TLVs.