283
You can configure advertisement of the management address TLV globally or on a per-interface
basis. The device selects the management address TLV advertisement setting for an interface in the
following order:
1. Interface-based setting, configured by using the
lldp tlv-enable command with the
management-address-tlv keyword.
2. Global setting, configured by using the
lldp global tlv-enable basic-tlv
management-address-tlv
command.
3. Default setting for the interface.
By default:
{ The nearest bridge agent and nearest customer bridge agent advertise the management
address TLV.
{ The nearest non-TPMR bridge agent does not advertise the management address TLV.
The IPv4 or IPv6 address of the LLDP frame sending port will be advertised as the management
address when the following conditions exist:
• The
ip-address argument is not configured.
• The specified loopback or VLAN interface does not have an IPv4 or IPv6 address, or the
specified interface does not exist.
If the LLDP frame sending port does not have an IPv4 or IPv6 address, the MAC address of the port
will be advertised.
If you specify the
ipv6 keyword, the management address is the IPv6 address. If you do not specify
the
ipv6 keyword, the management address is the IPv4 address.
Examples
# Enable advertisement of the management address TLV globally and set the advertised
management address to 192.168.1.1.
<Sysname> system-view
[Sysname] lldp agent nearest-customer global tlv-enable basic-tlv management-address-tlv
192.168.1.1
Related commands
lldp tlv-enable
lldp hold-multiplier
Use lldp hold-multiplier to set the TTL multiplier.
Use
undo lldp hold-multiplier to restore the default.
Syntax
lldp hold-multiplier value
undo lldp hold-multiplier
Default
The TTL multiplier is 4.
Views
System view
Predefined user roles
network-admin