The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
lldp tlv-enable
{
basic-tlv
{
all
|
management-address
|
port-description
|
system-
capability
|
system-description
|
system-name
} |
dot1-tlv
{
all
|
port-vlan-id
|
protocol-vlan-id
[
vlan-id
] |
vlan-name
[
vlan-id
] |
protocol-identity
} |
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
} }
The TLVs supported by the interface are specified.
By default, LLDP advertises all types of TLVs except the Location Identification TLV.
NOTE
l
When the supported TLVs on the device are basic TLVs, TLVs in the IEEE 802.1 format, and TLVs
in the IEEE 802.3 format, the
lldp tlv-enable
command with the
all
parameter advertises all TLVs.
When the supported TLVs on the device are LLDP-MED TLVs, the
lldp tlv-enable
command with
the
all
parameter advertises all TLVs except Location Identification TLV.
If the
all
parameter is not specified, only one type of TLV can be sent. To send multiple types of TLVs,
run the command multiple times.
l
You can specify the other types of LLDP-MED TLVs only after specifying the LLDP-MED
Capabilities TLV.
To disable the LLDP-MED Capabilities TLV, you must disable the other types of LLDP-MED TLVs
first.
To disable the MAC/PHY Configuration/Status TLVs, you must disable the LLDP-MED Capabilities
TLV first.
l
The 802.3 MAC/PHY Configuration/Status TLVs are advertised automatically after the LLDP-MED
Capabilities TLV is advertised.
l
If you disable the LLDP-MED TLVs and use the
all
keyword, the MAC/PHY Configuration/Status
TLVs are not disabled automatically.
Step 4
Run:
lldp dot3-tlv power
{
802.1ab
|
802.3at
}
The standard with which the 802.3 Power via MDI TLV sent by the interface complies is set.
By default, the 802.3 Power via MDI TLV conforms to 802.1 ab.
NOTE
Before selecting a format of the 802.3 Power via MDI TLV, you must know the TLV format supported by
the peer device. The TLV format on the local device must be also supported by the peer device.
----End
2.3.6 (Optional) Configuring LLDP Timers
The LLDP timers include interval for sending LLDP packets, delay to send LLDP packets, hold
time multiplier of device information stored on neighbors, delay to re-enable LLDP on an
interface, and delay to send neighbor change traps to the NMS.
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
2 LLDP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
57