configure cdp management-address

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

Description

Configures a specified VLAN‘s IP address as the management address to be advertised by Cisco Discovery Protocol (CDP).

Syntax Description

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

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

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

secondary-ip

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

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

secondary_ip_address Specifies the secondary IP address of the specified VLAN.

Default

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

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

Usage Guidelines

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 the CDP protocol.

This command dictates the management address to be advertised by the CDP protocol; the equivalent command for LLDP (Link Layer Discovery Protocol) is configure lldp 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 CDP advertises the first primary IP address that exists in the address table. If IPv4 is not configured, CDP advertises the first IPv6 address.

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

Example

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

configure cdp management-address vlan vlan1 primary-ip

History

This command was first available in ExtremeXOS 22.4.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.