_____________________________________________________________________
724-746-5500 | b lackb o x.co m
Page 186
Supported stop-bits values are '1', '1.5' and '2'.
Supported flow-control values are 'Hardware', 'Software' and 'None'.
If you do not want to use out-of-band dial-in access, note that the procedure for enabling start-up
messages on the console port is covered in Chapter 15—Accessing the Console Port.
The following command will synchronize the live system with the new configuration:
# config -a
14.21 DHCP server
To enable the DHCP server on the console management LAN, with settings:
Default lease time
200000 seconds
Maximum lease time
300000 seconds
DNS server1
192.168.2.3
DNS server2
192.168.2.4
Domain name
company.com
Default gateway
192.168.0.1
IP pool 1 start address
192.168.0.20
IP pool 1 end address
192.168.0.100
Reserved IP address
192.168.0.50
MAC to reserve IP for
00:1e:67:82:72:d9
Name to identify this host
John-PC
Issue the commands:
# config -s config.interfaces.lan.dhcpd.enabled=on
# config -s config.interfaces.lan.dhcpd.defaultlease=200000
# config -s config.interfaces.lan.dhcpd.maxlease=300000
# config -s config.interfaces.lan.dhcpd.dns1=192.168.2.3
# config -s config.interfaces.lan.dhcpd.dns2=192.168.2.4
# config -s config.interfaces.lan.dhcpd.domain=company.com
# config -s config.interfaces.lan.dhcpd.gateway=192.168.0.1
# config -s config.interfaces.lan.dhcpd.pools.pool1.start=192.168.0.20
# config -s config.interfaces.lan.dhcpd.pools.pool1.end=192.168.0.100
# config -s config.interfaces.lan.dhcpd.pools.total=1
# config -s config.interfaces.lan.dhcpd.staticips.staticip1.ip=192.168.0.50
# config -s config.interfaces.lan.dhcpd.staticips.staticip1.mac=00:1e:67:82:72:d9
# config -s config.interfaces.lan.dhcpd.staticips.staticip1.host=John-PC
# config -s config.interfaces.lan.dhcpd.staticips.total=1
The following command will synchronize the live system with the new configuration:
# config -a
14.22 Services
You can manually enable or disable network servers from the command line. For example, if you wanted
to guarantee the following server configuration:
HTTP Server
Enabled
HTTPS Server
Disabled
Telnet Server
Disabled
SSH Server
Enabled
SNMP Server
Disabled
Ping Replies (Respond to ICMP echo requests)
Disabled