Skip to main content

network subnet remove-ranges

Contributors
Suggest changes

Remove address ranges from a subnet

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

Description

Remove address ranges from a subnet.

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

IP ranges to remove.

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

This command will fail if any existing service processor interfaces or network interfaces are using IP addresses in the ranges provided. Using this parameter will remove the subnet's association with those interfaces and allow the command to succeed.

Examples

The following example removes an address range with starting address of 10.98.1.1 from subnet s1 in IPspace Default .

cluster1::> network subnet remove-ranges -ipspace Default -subnet-name s1
    -ip-ranges "10.98.1.1-10.98.1.30"