configure vlan add secondary-ipaddress

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


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.



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]


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

# configure vlan multi add secondary-ipaddress


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 ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.