Black Box 1101, Secure Device Servers, 1102 manual Dhcp Server, Services, # config -r time

Models: 1101 1102 Secure Device Servers

1 164
Download 164 pages 30.63 Kb
Page 134
Image 134

1101 and 1102 Secure Device Servers

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

#config -r time

14.19DHCP 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.20Services

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

 

# 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

 

 

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

# config -s config.services.rfc2217.portbase='port base number'

Default: 5000

# config -s config.services.unauthtel.portbase='port base number

Default: 6000

134

724-746-5500 blackbox.com

Page 134
Image 134
Black Box 1101, Secure Device Servers, 1102 manual Dhcp Server, Services, # config -r time