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.

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