set protocols dhcp relay interface disable


The set protocols dhcp relay interface disable command enables or disables DHCP relay on a specified L3 interface.


Command Syntax

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


Parameters

Parameter

Description

interface <l3-interface-name>

Specifies an L3 interface name. The value could be the VLAN interface name, the loopback interface name, the routed interface or the sub-interface name.

disable <true | false>

Enables or disables DHCP relay on an L3 interface, the value could be true or false:

  • true: Disables DHCP relay.
  • false: Enables DHCP relay.

By default, DHCP relay is disabled.


Usage Guidelines

Generally, DHCP relay should be enabled on the L3 interface that connects to the host’s network.


Example

  • Enable DHCP relay on the L3 VLAN interface vlan100.
admin@Switch# set protocols dhcp relay interface vlan100 disable false

Copyright © 2024 Pica8 Inc. All Rights Reserved.