IP address advertisements

In the default operation, the port uses the following preference order for IP advertisement:

IPv4:

  1. IPV4 address of the Management VLAN

  2. IPV4 address of first VLAN that the port is a member of (including tagged and untagged memberships)

  3. IPV4 address configured on the primary VLAN

  4. IPV4 address configured anywhere else in the device

IPv6:

  1. Global unicast address (GUC), site local address (SL), and unique local address (UL) of the Management VLAN

  2. GUC, SL, and UL of first VLAN that the port is a member of (including tagged and untagged memberships)

  3. GUC, SL, and UL configured on the primary VLAN

  4. GUC, SL, and UL configured anywhere else in the device

  5. LinkLocal Address of a VLAN that the port is a member of

If no IP address is configured on any of the above, the port's MAC address will be advertised.

NOTE:

This order is always overridden by the user configured lldp mgmt address on the port.

You can override the default operation by configuring the port to advertise any IP address that is manually configured on the switch, even if the port does not belong to the VLAN configured with the selected IP address (Remote management address for outbound LLDP advertisements.) (Note that LLDP cannot be configured through the CLI to advertise an addresses acquired through DHCP or Bootp. However, as mentioned above, in the default LLDP configuration, if the lowest-order IP address on the VLAN with the lowest VID for a given port is a DHCP or Bootp address, the switch includes this address in its LLDP advertisements unless another address is configured for advertisements on that port.) Also, although LLDP allows configuring multiple remote management addresses on a port, only the lowest-order address configured on the port will be included in outbound advertisements. Attempting to use the CLI to configure LLDP with an IP address that is either not configured on a VLAN or has been acquired by DHCP or Bootp results in the following error message.

xxx.xxx.xxx.xxx: This IP address is not configured or is a DHCP address.