set dhcp

Use the set dhcp command to:

Root privileges are required to change DHCP settings.

Command Syntax

Configuration Syntax

Enter the set dhcp command as shown below to configure DHCP settings.

set dhcp [run={on|off}]|[renew]

Display Syntax

Enter the set dhcp command with no parameters to display the lease information for the current IP address.

set dhcp

Parameters

Command 

Description

run=on

Enables DHCP.

run=off

Disables DHCP.

renew

Renew the IP address of the device/terminal server.

Command Examples

Enabling DHCP

set dhcp run=on

Renewing the IP address

set dhcp renew