Command descriptions
set network
ConnectPort® LTS Command Reference
71
[
advanced ip options] are:
[reuse_old_op={off|on}]
[autoip={off|on}]
[sbr={off|on}]
Display current network configuration options
set network
Options
index=1-4
Select index for Ethernet interface to configure. "index=1” is for setting Ethernet interface 1(eth0) and
"index=2” is for setting Ethernet interface 2(eth1). "index=3” and "index=4” are reserved for future
use.
[
ipv4 address options
]
Set IP v4 address-related options for the ConnectPort LTS product, including:
mode_v4={none|static|dhcp}
Sets the mode of device IP v4 address
none
Disable IPv4 address.
static
When selected, the device uses the specified IP address, gateway address, and subnet
mask.
dhcp
When selected, the device attempts to use the DHCP protocol to find an IP address,
gateway address, and submask.
Default is “static” for Ethernet interface 1 and “none” for Ethernet interface 2.
ip_v4=
device ipv4 address
Sets the device IP v4 address when DHCP is off. This option is only applicable if the
“mode_v4” option is set to “static”
submask_v4=
subnet mask for ipv4 address
Sets the device submask address when DHCP is off. This option is only applicable if the
“mode_v4” option is set to “static”
gateway_v4=
gateway ipv4 address
Sets the network gateway IP address.
[ipv6
address options
]
Set IPv6 address-related options for the ConnectPort LTS product, including:
mode_v6={none|static|dhcp|auto}