Configure Network Settings Using CLI

Note: This feature can also be managed from the SX II Remote Console. See Configure SX II Network Settings from the Remote Console.

The network menu commands allow you to configure SX II network settings.

Enter admin > config > network to access the menu.

Command

Description

Parameters

dns

Get and configure the DNS parameters for the network.

  • mode <auto/manual> - DNS server IP mode
  • primary <ipaddress> - Primary DNS server IP address
  • secondary <ipaddress> - Secondary DNS server IP address

ethernetfailover

Used to enable and disable the ability to failover from one LAN to another.

  • enable <true/false> - Ethernet failover enable (true), disable (false)

interface

Configure network settings for dual-LAN failover.

By default, dual LAN failover mode is disabled.

  • ipauto <none | dhcp> - Enable DHCP as ip configuration
  • <lan1 | lan2> - Select LAN interface you are configuring.
  • ip <IPv4 address> - IP Address of SX II assigned for access from the IP network
  • mask <subnetmask> - Subnet Mask obtained from the IP administrator
  • gw ipaddress <IPv4 address> - Gateway IP Address obtained from the IP administrator
  • mode <auto | 10hdx | 10fdx | 100hdx | 100fdx | 1000fdx> - Set Ethernet Mode to auto detect or force a specified mode.
  • rate <none | 100mb | 10mb | 5mb | 2mb | 512kb | 256kb | 128kb> - Set a bandwidth limit for the interface.

IPv6_interface

Set IPv6 network parameters and retrieve existing IPv6 parameters.

  • ipauto <none | routerdisc> - Enable IPV6 auto configuration
  • if <lan1 | lan2> - Select LAN interface you are configuring.
  • ip ipaddress <ipaddress> - IPv6 address of SX II assigned for access from the IP network.
  • prefixlen <prefix length> - IPV6 Address prefix length (is the number of bits in the prefix, in range of 0-128 (decimal))
  • gw ipaddress <IPv6 address> - Gateway IP Address obtained from the IP administrator.
  • mode <enable or disable> - IPV6 network operational mode, enable (true), disable (false)

name

Name the SX II appliance.

  • devicename <value> - name assigned to SX II
  • hostname <value> - Preferred host name (DHCP only)

staticroute

Configure static routes.

  • enable <enable> - enable (true), disable (false)

staticrouteadd

Add a static route.

  • dest <dest> - Destination
  • if <lan1 | lan2> - Interface (lan1/lan2)
  • prefix <prefix> - IPv6 prefix length
  • mask <mask> - IPv4 mask
  • gateway <gateway> - Gateway
  • mtu <mtu> - MTU (64..65536)
  • flags <host|net> - Flags (host/net)

staticrouteshow

Show a list of static routes.

NA

staticroutedelete

Used to remove a route from the kernel routing table.

  • id <id> - id number or all

See Also

Administering SX II Using command line interface

Change Your Password Using CLI

Configure Power Strips Using CLI

Configure and Manage Users and User Groups Using CLI

Configure User Authorization and Authentication Services Using CLI

Configure a Modem Using CLI

Run an Autoconfiguration Script Using CLI

Configure Device Settings Using CLI

Configure SNMP Traps and Alerts Using CLI

Configure Date and Time Settings Using CLI

Change the Default GUI Language Setting Using CLI

Configure SMTP Events and Notifications Using CLI

Configure Port Logging Settings Using CLI

Configure Ports Using CLI

Configure the Local Port Using CLI

Configure Security Settings Using CLI

Configure Maintenance Settings Using CLI

Configure Diagnostic Settings Using CLI