lldp management-address
Use lldp management-address to enable the device to generate an ARP or ND entry after receiving an LLDP frame that carries a management address TLV.
Use undo lldp management-address to restore the default.
Syntax
lldp management-address { arp-learning | nd-learning } [ vlan vlan-id ]
undo lldp management-address { arp-learning | nd-learning }
Default
The device does not generate an ARP or ND entry after receiving an LLDP frame that carries a management address TLV.
Views
Layer 2 Ethernet interface view
Layer 3 Ethernet interface view
Default command level
network-admin
mdc-admin
Parameters
arp-learning: Generates an ARP entry if the received management address TLV contains an IPv4 address.
nd-learning: Generates an ND entry if the received management address TLV contains an IPv6 address.
vlan vlan-id: The value range for the vlan-id argument is 1 to 4094.
In Layer 2 Ethernet interface view, specify the ID of the VLAN to which the generated ARP or ND entry belongs. The VLAN ID must belong to a VLAN that meets the following requirements:
The Layer 2 Ethernet interface is assigned the VLAN.
A VLAN interface is configured for the VLAN.
In Layer 3 Ethernet interface view, specify the ID of a Layer 3 Ethernet subinterface. The subinterface will be recorded as the output interface in the ARP or ND entry. If the Layer 3 Ethernet subinterface does not exist or if this option is not specified, the Layer 3 Ethernet interface is recorded as the output interface.
Usage guidelines
You can enable the device to generate both ARP entries and ND entries.
Examples
# Configure Ten-GigabitEthernet 1/0/1 to generate an ARP entry after receiving an LLDP frame carrying an IPv4 management address TLV.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] lldp management-address arp-learning
Related commands
lldp source-mac vlan