Black Box LES114BA Server User Manual


 
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
TFTP server Enabled
# config -s config.services.http.enabled=on
# config -d config.services.https.enabled
# config -d config.services.telnet.enabled
# config -s config.services.ssh.enabled=on
# config -d config.services.snmp.enabled
# config -d config.services.pingreply.enabled
# config -s config.services.tftp.enabled=on
To set secondary port ranges for any service
# config -s config.services.telnet.portbase='port base number' Default: 2000
# config -s config.services.ssh.portbase='port base number' Default: 3000
# config -s config.services.tcp.portbase='port base number' Default: 4000
_____________________________________________________________________
724-746-5500 | blackbox.com Page 234