lldp advertise management-address
lldp advertise management-address
{
ipv4
ipv4-address
|
ipv6
ipv6-address
}
{
ports
{
all
| [
ethernet
unit/slot/port
[
to
unit/slot/port
]
... ]
}
}
no lldp advertise management-address
{
ipv4
ipv4-address
|
ipv6
ipv6-address
}
{
ports
{
all
| [
ethernet
unit/slot/port
[
to
unit/slot/port
]
... ]
}
}
Management address advertising has two modes: default and explicitly configured.
Global configuration mode
The default mode is used when no addresses are configured to be advertised for a given port. If no management address is explicitly configured to be advertised, the device uses the first available IPv4 address and the first available IPv6 address (so it may advertise IPv4, IPv6 or both). If any addresses are configured to be advertised for a given port, then only those addresses are advertised. If no IP address is configured, the port's current MAC address will be advertised.
If a management address is not explicitly configured to be advertised, the device uses the first available IPv4 address and the first available IPv6 address. A Layer 3 switch selects the first available address of each type from those configured on the following types of interfaces, in the following order of preference:
- Physical port on which LLDP will be transmitting the packet
- Virtual router interface (VE) on a VLAN that the port is a member of
- Dedicated management port
- Loopback interface
- Virtual router interface (VE) on any other VLAN
- Other physical port
- Other interface
For IPv6 addresses, link-local and anycast addresses are excluded from these searches.
If no IP address is configured on any of the listed interface types, the port's current MAC address is advertised.
You can specify a list of ports, separated by a space, or a range of ports, or you can combine lists and ranges.
The command cannot support LAG virtual interfaces. Attempting to configure them will have no effect.
The
no form of the command stops the advertisement of the management interface IP address.