ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • network subnet modify

    Modify a layer 3 subnet

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

    Description

    Modify a subnet.

    Parameters

    -ipspace <IPspace> - IPspace Name

    The IPspace to which the subnet belongs.

    -subnet-name <subnet name> - Subnet Name

    The name of the subnet to modify.

    [-subnet <IP Address/Mask>] - Layer 3 Subnet

    The new address and mask of the subnet.

    [-gateway <IP Address>] - Gateway

    The new gateway address.

    [-ip-ranges {<ipaddr>|<ipaddr>-<ipaddr>}] - IP Addresses or IP Address Ranges

    The new IP ranges for this subnet.

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

    This command will fail if any existing service processor interfaces or network interfaces are using IP addresses in the IP ranges being added. It will also fail if any existing service processor interfaces or network interfaces are using IP addresses in the IP ranges being removed. Using this parameter will associate the interfaces with the IP addresses in the ranges being added to the subnet. It will also remove the subnet’s association with the interfaces with IP addresses in the IP ranges being removed and will allow the command to succeed.

    Examples

    The following example modifies the subnet address and gateway.

    cluster1::> network subnet modify -ipspace Default -subnet-name s1 -subnet 192.168.2.0/24 -gateway 192.168.2.1
    Top of Page