configure vlan add secondary-ipaddress

configure [ {vlan} vlan_name | vlan vlan_id]add secondary-ipaddress anycast [ip_address {netmask} | ipNetmask]

Description

Configures secondary IP addresses on a VLAN to support multinetting.

Syntax Description

vlan_name Specifies a VLAN name.
vlan_id Specifies a VLAN id.
anycast Specifies that the address functions like any other secondary address on a VLAN, but responds to ARP requests with the anycast MAC address.
ip_address Specifies an IP address.
netmask Specifies a network mask.
ipNetmask Specifies an IP address with network mask.

Default

N/A.

Usage Guidelines

Adding a secondary IP address to a VLAN enables multinetting. Secondary addresses are added to support legacy stub IP networks.

After you have added a secondary IP address to a VLAN, you cannot unconfigure the primary IP address of that VLAN until you delete all of the secondary addresses. To delete the secondary address, use the following command:

configure [ {vlan} vlan_name | vlan vlan_id] delete secondary-ipaddress [ip_address | all]

Example

The following example configures the VLAN multi to support the 10.1.1.0/24 subnet in addition to its primary subnet:

# configure vlan multi add secondary-ipaddress 10.1.1.1/24

History

This command was first available in ExtremeXOS 11.0.

The vlan_id variable is first available in ExtremeXOS 16.1.

Anycast capability was added in ExtremeXOS 30.7.

Platform Availability

This command is available on all Universal switches supported in this document.