lldp management-address-tlv
Syntax
lldp management-address-tlv [ ip-address ]
undo lldp management-address-tlv
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
ip-address: Management address to be advertised in LLDPDUs.
Description
Use the lldp management-address-tlv command to enable management address advertising and set
the management address.
Use the undo lldp management-address-tlv command to disable management address advertising
in LLDPDUs.
By 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.
An LLDPDU carries only one management address TLV. If you set the management address
repeatedly, the latest one takes effect.
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.
Examples
# Set the management address to 192.6.0.1 for GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] lldp management-address-tlv 192.6.0.1
lldp notification remote-change enable
Syntax
lldp notification remote-change enable
undo lldp notification remote-change enable
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
20-23