ONTAP 9.14.1 commands

network subnet delete

Delete an existing subnet object

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

Description

Delete a subnet that contains no ports.

Parameters

-ipspace <IPspace> - IPspace Name

The IPspace to which the subnet belongs.

-subnet-name <subnet name> - Subnet Name

The name of the subnet to be deleted.

[-force-update-lif-associations <true>] - Change the subnet association

This command will fail if the subnet has ranges containing any existing service processor interface or network interface IP addresses. Setting this value to true will remove the network interface associations with the subnet and allow the command to succeed. However, it will not affect service processor interfaces.

Examples

The following example deletes subnet s1 in IPspace Default .

cluster1::> network subnet delete -ipspace Default -subnet-name s1
Top of Page