Configures a specified VLAN‘s IP address as the management address to be advertised by LLDP (Link Layer Discovery Protocol).
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. |
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.
If the Management VLAN IP address is not configured, LLDP and CDP (Cisco Discovery Protocol) 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.
Note
LLDP does not recognize IPv6 addresses in this field.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
This command was first available in ExtremeXOS 22.4.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.