ONTAP 9.12.1 commands

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

    Create a new layer 3 subnet

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

    Description

    Create a new subnet.

    Parameters

    [-ipspace <IPspace>] - IPspace Name

    The IPspace to which the new subnet belongs.

    -subnet-name <subnet name> - Subnet Name

    The name of the subnet to be created. The name of the subnet needs to be unique within the IPspace.

    -broadcast-domain <Broadcast Domain> - Broadcast Domain

    The broadcast domain to which the new subnet belongs.

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

    The address and mask of the subnet.

    [-gateway <IP Address>] - Gateway

    The gateway of the subnet.

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

    The IP ranges associated with this subnet.

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

    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 examples create subnets named s1 and s6 in IPspace Default .

    cluster1::> network subnet create -ipspace Default -broadcast-domain bd1 -subnet-name s1
        -subnet 192.168.1.0/24 -gateway 192.168.1.1 -ip-ranges "192.168.1.1-192.168.1.100, 192.168.1.112, 192.168.1.145"
    cluster1::> network subnet create -ipspace Default -broadcast-domain bd1 -subnet-name s6
        -subnet 3FFE::/64 -gateway 3FFE::1 -ip-ranges "3FFE::10-3FFE::20"
    Top of Page