configure vlan add secondary-ipaddress

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

Description

Configures secondary IP addresses on a VLAN (Virtual LAN) to support multinetting.

Syntax Description

vlan_name Specifies a VLAN name.
vlan_id Specifies a VLAN id.
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.

Once you have added a secondary IP address to a VLAN, you cannot unconfigure the primary IP address of that VLAN until you delete all the secondary addresses. Delete secondary address with 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.

Platform Availability