ONTAP 9.15.1 commands

network subnet show

Display subnet information

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

Description

Display subnet information.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-ipspace <IPspace>] - IPspace Name

Selects the subnets that match the given IPspace name.

[-subnet-name <subnet name>] - Subnet Name

Selects the subnets that match the given subnet name.

[-broadcast-domain <Broadcast Domain>] - Broadcast Domain

Selects the subnets that match the given broadcast domain name.

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

Selects the subnets that match the given address and mask.

[-gateway <IP Address>] - Gateway

Selects the subnets that match the given gateway address.

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

Selects the subnets that match the given IP range.

[-total-count <integer>] - Total Address Count

Selects the subnets that match the given total address count.

[-used-count <integer>] - Used Address Count

Selects the subnets that match the given number of addresses allocated.

[-available-count <integer>] - Available Address Count

Selects the subnets that match the given number of addresses available.

Examples

The following example displays general information about the subnets.

cluster1::> network subnet show
IPspace: Default
     Subnet                     Broadcast                   Avail/
     Name      Subnet           Domain    Gateway           Total   Ranges
     --------- ---------------- --------- --------------- --------- ---------------
     s4        192.168.4.0/24   bd4       192.168.4.1        5/5    192.168.5.6-192.168.5.10
     s6        192.168.6.0/24   bd4       192.168.6.1        5/5    192.168.6.6-192.168.6.10
IPspace: ips1
     Subnet                     Broadcast                   Avail/
     Name      Subnet           Domain    Gateway           Total   Ranges
     --------- ---------------- --------- --------------- --------- ---------------
     s10       192.168.6.0/24   bd10      192.168.6.1        0/0    -
     3 entries were displayed.
Top of Page