Skip to main content

network subnet add-ranges

Contributors
Suggest changes

Add new address ranges to a subnet

Availability: This command is available to cluster administrators at the admin privilege level.

Description

Add new address ranges to a subnet.

Note All addresses in a range must be the same address family (IPv4 or IPv6) and must have the same subnet mask. Ranges that overlap or are next to existing ranges will be merged with the existing ranges.

Parameters

-ipspace <IPspace> - IPspace Name

The IPspace in which the range resides.

-subnet-name <subnet name> - Subnet Name

The name of the subnet.

-ip-ranges {<ipaddr>|<ipaddr>-<ipaddr>} - IP Ranges

The list of ranges to add to the subnet.

[-force-update-lif-associations <true>] - Force Update LIF Associations

This command will fail if any service processor interfaces or network interfaces are using the IP addresses in the ranges provided. Using this parameter will associate any manually addressed interfaces with the subnet and will allow the command to succeed.

Examples

The following example allocates addresses for subnet s1 in IPspace Default .

cluster1::> network subnet add-ranges -ipspace Default -subnet-name s1
    -ip-ranges "10.98.1.20-10.98.1.30, 10.98.1.35, 10.98.1.40-10.98.1.49"