R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

180
lldp management-address-tlv
Use lldp management-address-tlv to enable management address advertising and set the management
address.
Use undo lldp management-address-tlv to disable management address advertising in LLDPDUs.
Syntax
lldp management-address-tlv [ ip-address ]
undo lldp management-address-tlv
Default
The management address is advertised through LLDPDUs. For a Layer 2 Ethernet port, the management
address is the main IP address of the lowest-ID VLAN carried on the port. If none of the carried VLANs
is assigned an IP address, no management address will be advertised. For a Layer 3 Ethernet port, the
management address is its own IP address. If no IP address is configured for the Layer 3 Ethernet port,
no management address will be advertised.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default command level
2: System level
Parameters
ip-address: Specifies a management address to be advertised in LLDPDUs.
Usage guidelines
An LLDPDU carries only one management address TLV. If you set multiple management addresses, the
most recent setting takes effect.
In Layer 2 Ethernet interface view, if you run the lldp management-address-tlv command without
specifying the ip-address argument, the advertised management address is the main IP address of the
lowest-ID VLAN carried on the interface. If none of the carried VLANs is assigned an IP address, no
management address will be advertised.
In Layer 3 Ethernet interface view, if you run the lldp management-address-tlv command without
specifying the ip-address argument, the advertised management address is the IP address of the Layer 3
Ethernet port. If no IP address is configured for the port, no management address will be advertised.
The following matrix shows the command and router compatibility in Layer 2 Ethernet interface view:
Command HSR6802/HSR6804/HSR6808
lldp management-address-tlv Yes on SAP modules operating in bridge mode
Examples
# Set the management address to 192.6.0.1 for GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] lldp management-address-tlv 192.6.0.1