Subnets

subnet cancel

Cancel a subnet.

subnet cancel [OPTIONS] IDENTIFIER

Arguments

IDENTIFIER

Required argument

subnet create

Add a new subnet to your account. Valid quantities vary by type.

IPv4
static - 1, 2, 4, 8, 16, 32, 64, 128, 256
public - 4, 8, 16, 32, 64, 128, 256
private - 4, 8, 16, 32, 64, 128, 256
IPv6
static - 64
public - 64
endpoint-id
static - Network_Subnet_IpAddress identifier.
public - Network_Vlan identifier
private - Network_Vlan identifier
subnet create [OPTIONS] {static|public|private} QUANTITY ENDPOINT_ID

Options

--ipv6, --v6

Order IPv6 Addresses

--test

Do not order the subnet; just get a quote

Arguments

NETWORK

Required argument

QUANTITY

Required argument

ENDPOINT_ID

Required argument

subnet detail

Get subnet details.

subnet detail [OPTIONS] IDENTIFIER

Options

--no-vs

Hide virtual server listing

--no-hardware

Hide hardware listing

Arguments

IDENTIFIER

Required argument

subnet edit

Edit note and tags of a subnet.

subnet edit [OPTIONS] IDENTIFIER

Options

-t, --tags <tags>

Comma separated list of tags, enclosed in quotes. “tag1, tag2”

-n, --note <note>

The note

Arguments

IDENTIFIER

Required argument

subnet list

List subnets.

subnet list [OPTIONS]

Options

--sortby <sortby>

Column to sort by

Options

id | identifier | type | network_space | datacenter | vlan_id | IPs | hardware | vs

-d, --datacenter <datacenter>

Filter by datacenter shortname (sng01, dal05, …)

--identifier <identifier>

Filter by network identifier

-t, --subnet-type <subnet_type>

Filter by subnet type

--network-space <network_space>

Filter by network space

--ipv4, --v4

Display only IPv4 subnets

--ipv6, --v6

Display only IPv6 subnets

subnet lookup

Find an IP address and display its subnet and device info.

subnet lookup [OPTIONS] IP_ADDRESS

Arguments

IP_ADDRESS

Required argument

subnet edit-ip

Set the note of the ipAddress

subnet edit-ip [OPTIONS] IDENTIFIER

Options

--note <note>

set ip address note of subnet

Arguments

IDENTIFIER

Required argument

subnet route

Assigns the subnet to a target.

subnet route [OPTIONS] IDENTIFIER

Options

--target <target>

choose the type. vlan, ip, hardware, vsi

Options

vlan | ip | hardware | vsi

--target-resource <target_resource>

Allows you to change the route of your secondary subnets.Subnets may be routed as either Static or Portable, and that designation is dictated by the routing destination specified.Static subnets have an ultimate routing destination of a single IP address but may not be routed to an existing subnet’s IP address whose subnet is routed as a Static.Portable subnets have an ultimate routing destination of a VLAN.A subnet can be routed to any resource within the same “routing region” as the subnet itself, usually limited to a single data center.See Also: https://sldn.softlayer.com/reference/services/SoftLayer_Network_Subnet/route/

Arguments

IDENTIFIER

Required argument

More information about types and identifiers on https://sldn.softlayer.com/reference/services/SoftLayer_Network_Subnet/route/

subnet clear-route

Remove the route of your Account Owned subnets.

subnet clear-route [OPTIONS] IDENTIFIER

Arguments

IDENTIFIER

Required argument