lldp management-ipv4-address

Syntax

lldp management-ipv4-address <IPV4-ADDR>

no lldp management-ipv4-address

Description

Defines the IPv4 management address of the switch which is sent in the management address TLV. One IPv4 and one IPv6 management address can be configured.

If you do not define an LLDP management address, then LLDP uses one of the following (in order):

  • IP address of the port
  • IP address of the management interface
  • Base MAC address of the switch
The no form of this command removes the IPv4 management address of the switch.

Command context

config

Parameters

<IPV4-ADDR>

Specifies the management address of the switch as an IPv4 format (x.x.x.x), where x is a decimal value from 0 to 255.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting the management address to 10.10.10.2:

switch(config)# lldp management-ipv4-address 10.10.10.2

Removing the management address:

switch(config)# no lldp management-ipv4-address