Black Box Hardened Managed Ethernet Switche Computer Hardware User Manual


 
724-746-5500 | blackbox.com
Page 198
Chapter 7: Command-Line Management
4. Example:
The following example sets the default gateway for the DHCP Server:
switch_a(config)#dhcp-server gateway 192.168.1.254
switch_a(config)#
DHCP Server DNS:
1. Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2. Usage:
Use this command to set the default DNS for the DHCP Server.
Use the no form of this command to remove this setting.
3. Command Syntax:
dhcp-server dns 1 | 2 A.B.C.D
no dhcp-server dns 1 | 2
A.B.C.D The default DNS for the DHCP Server.
4. Example:
The following example sets the default DNS for the DHCP Server:
switch_a(config)#dhcp-server dns 1 192.168.1.20
switch_a(config)#
DHCP Server Lease Time:
1. Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2. Usage:
Use this command to set the default lease time for the DHCP Server. Use the value 0 to reset this setting.
3. Command Syntax:
dhcp-server lease-time <0-86400>
<0–86400> The default lease time for the DHCP Server (default: 86400).
4. Example:
The following example sets the default lease time for the DHCP Server:
switch_a(config)#dhcp-server lease-time 86400
switch_a(config)#