![Black Box LES1516A User Manual Download Page 275](http://html1.mh-extra.com/html/black-box/les1516a/les1516a_user-manual_2762893275.webp)
275
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 15: CONFIGURATION FROM THE COMMAND LINE
# config -s config.interfaces.wan.address=192.168.0.23
# config -s config.interfaces.wan.netmask=255.255.255.0
# config -s config.interfaces.wan.gateway=192.168.0.1
# config -s config.interfaces.wan.dns1=192.168.0.1
# config -s config.interfaces.wan.dns2=192.168.0.2
# config -s config.interfaces.wan.mode=static
# config -s config.interfaces.wan.media=<value>
In the last command, the available options for <value> are: Auto, 100baseTx-FD, 100baseTx-HD, 10baseT-HD, and 10baseT-FD.
To configure the management LAN interface, use the same commands as above but replace config.interfaces.wan with config.
interfaces.lan.
To enable bridging between all interfaces:
# config -s config.system.bridge.enabled=on
To enable IPv6 for all interfaces:
# config -s config.system.ipv6.enabled=on
To enable the management LAN interface run the following command:
# config -d config.interfaces.lan.disabled
# config -r ipconfig
NOTE: Not all devices have a management LAN interface.
To configure a failover device in case of an outage:
# config -s config.interfaces.wan.failover.address1=ip-address
# config -s config.interfaces.wan.failover.address2=ip-address
# config -s config.interfaces.wan.failover.interface=<interface>
In the last command, the available options for <interface> are: eth1, console, modem
Network interfaces can also be configured automatically:
# config -s config.interfaces.wan.mode=dhcp
# config -s config.interfaces.lan.mode=dhcp
Either of the following commands will synchronize the live system with the new configuration:
# /bin/config –-run=ipconfig
# config -r ipconfig
15.1.17 DATE AND TIME SETTINGS
To enable NTP using a server at pool.ntp.org, issue the following commands:
# config -s config.ntp.enabled=on
# config -s config.ntp.server=pool.ntp.org
Alternatively, you can manually change the clock settings.
To change running system time:
# date MMDDhhmm[CC]YY.ss
# /bin/hwclock --systohc