/
set protocols dhcp relay interface disable

set protocols dhcp relay interface disable


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


Command Syntax

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


Parameters

Parameter

Description

interface <vlan-interface-name>

Specifies an L3 VLAN interface name. The value is a string.

disable <true | false>

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

l   true: Disables DHCP relay.

l   false: Enables DHCP relay.

By default, DHCP relay is disabled.


Usage Guidelines

Generally, DHCP relay should be enabled on the L3 VLAN 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 © 2025 Pica8 Inc. All Rights Reserved.