configure lldp management-address

configure lldp management-address [[[{vlan} vlan_name | vlan vlan_id] {primary-ip | secondary-ip secondary_ip_address}] | mac-address]

Description

Configures a specified VLAN‘s IP address as the management address to be advertised by LLDP.

Syntax Description

vlan Specifies a VLAN for the management IP address.
vlan_name Specifies a VLAN name for the management IP address (default is "Mgmt").
vlan_id Specifies a VLAN ID for the management IP address.
primary-ip

LLDP advertises the primary IP address of the specified VLAN (default).

The specified VLAN must be already configured with at-least one primary IPv4 address.

secondary-ip

Specifies that LLDP advertises the secondary IP address of the specified VLAN.

The specified secondary IP address must already be configured on the specified VLAN.

Note: LLDP does not recognize IPv6 addresses in this field.
secondary_ip_address Specifies the secondary IP address of the specified VLAN.
mac-address Specifies that LLDP advertises the MAC address of the switch. This is the default behavior if Management VLAN IP address is not configured and no VLAN is specified by this command.

Default

The system MAC address is advertised by default if the Management VLAN IP address is not configured and no VLAN is specified by this command.

By default, the Management VLAN‘s IP address is advertised by LLDP.

If you do not specify, LLDP advertises the primary IP address of the specified VLAN.

Usage Guidelines

If the Management VLAN IP address is not configured, LLDP and CDP advertise the system MAC address as the management address in their management TLV, which makes the network device not accessible. If the Management VLAN IP address is not configured, you can specify any user-defined VLAN‘s IP address or front panel port VLAN‘s IP address as the management address for LLDP and CDP protocols.

This command dictates the management address to be advertised by the LLDP protocol; the equivalent command for CDP is configure cdp management-address.

To use this command, the specified VLAN must already exist. The management IP address configuration is removed if the specified VLAN is deleted, or if the primary IP address of the specified VLAN is deleted (if primary-ip configured), or if the specified secondary IP address of the specified VLAN is deleted (if secondary-ip configured).

If primary-ip is configured and the specified VLAN has multiple primary IP addresses (IPv4 and IPv6), then LLDP advertises the first primary IP address that exists in the address table.

If secondary-ip is configured and the specified VLAN has multiple secondary IP addresses, then LLDP advertises only the specified secondary IP address of the configuration.
Note

Note

LLDP does not recognize IPv6 addresses in this field.

Example

The following example configures the primary IP address of the VLAN "vlan1" as the management address to be advertised by LLDP protocol:

configure lldp management-address vlan vlan1 primary-ip

History

This command was first available in ExtremeXOS 22.4.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.