Static IP addresses

Static IP address

Static or fixed IPv4 address.

Properties

Enable

Enable this IPv4 Address for use.

  • Data type: boolean
  • Default: true
  • Configuration

CLI: (cli)> config network switch <key> ipv4 static <index> enable

Address

The static IPv4 Address/Network prefix using CIDR notation.

Specify the IPv4 address using the usual dotted quad (A.B.C.D) followed by the network prefix, for example 192.168.0.1/24.

FormatDescription
IPv4 networkAn IPv4 network address and prefix length.
  • Data type: string
  • Configuration
  • Required

CLI: (cli)> config network switch <key> ipv4 static <index> address

Gateway

The upstream IPv4 address for the default routing of packets.

FormatDescription
IPv4 host addressAn IPv4 host address in dotted-quad notation.
  • Data type: string
  • Configuration
  • Optional

CLI: (cli)> config network switch <key> ipv4 static <index> gateway

Metric

The network metric used for routing this network.

  • Data type: integer
  • Default: 0
  • Minimum: 0
  • Configuration
  • Required

CLI: (cli)> config network switch <key> ipv4 static <index> metric