set protocols dhcp server interface disable

In a direct connection scenario between the client and server, this command does not need to be configured.
In a non-direct connection scenario between the client and server, this command must be configured.

The set protocols dhcp server interface disable command enables DHCP server on the Layer 3 interface.

The delete protocols dhcp server interface disable command deletes the configuration.

 

Command Syntax

set protocols dhcp server interface <interface-name> disable <true | false>

delete protocols dhcp server interface <interface-name> disable

 

Parameter

Parameter

Description

interface <interface-name>

Specifies the Layer 3 interface name. The value could be the VLAN interface name, the routed interface or the sub-interface name. The value is a string.

disable <true | false>

Enables or disables DHCP server on the Layer 3 interface. The value could be true or false.

  • true: Enables DHCP server on the Layer 3 interface.

  • False: Disables DHCP server on the Layer 3 interface.

The default value is False.

 

Example

  • Enable DHCP server on VLAN interface vlan10.

admin@PICOS# set protocols dhcp server interface vlan10 disable false admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.