Black Box 1102, Secure Device Servers, 1101 manual Date and Time Settings

Models: 1101 1102 Secure Device Servers

1 164
Download 164 pages 30.63 Kb
Page 133
Image 133

Chapter 14: Configuration from the Command Line

#config -s config.interfaces.wan.mode=static

#config -s config.interfaces.wan.media=[ Auto 100baseTx-FD 100baseTx-HD 10baseT-HD ] 10baseT-FD

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 configure the management LAN interface, use the same commands as above but replace:

config.interfaces.wan, with config.interfaces.lan

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=[ eth1 console modem ]

The network interfaces can also be configured automatically:

#config -s config.interfaces.wan.mode=dhcp

#config -s config.interfaces.lan.mode=dhcp

The following command will synchronize the live system with the new configuration:

# /bin/config –-run=ipconfig

The following command will synchronize the live system with the new configuration:

#config -r ipconfig

14.18Date 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 092216452005.05

Format is MMDDhhmm[[CC]YY][.ss]

Then the following command will save this new system time to the hardware clock:

# /bin/hwclock -systohc

Alternatively, to change the hardware clock:

# /bin/hwclock -- set --date=092216452005.05

Format is MMDDhhmm[[CC]YY][.ss]

Then the following command will save this new hardware clock time as the system time:

# /bin/hwclock -hctosys

To change the timezone:

# config -s config.system.timezone=US/Eastern

724-746-5500 blackbox.com

133

Page 133
Image 133
Black Box 1102, Secure Device Servers, 1101 manual Date and Time Settings