set l3-interface vlan-interface dhcp
DHCP can be enable or disable on this VLAN interface as dhcp client. The VLAN interface will get ip address by DHCP server if DHCP is enable on this VLAN interface.
Command Syntax
set l3-interface vlan-interface <interface-name> dhcp <boolean>
Parameter
•<interface-name> Vlan interface name is defined.
•<boolean> enable or disable dhcp on vlan-interface as client. The value include:
- true Enable DHCP client on this vlan interface.
- False Default configuration. Disable DHCP client on this VLAN interface.
Example
- This example manually enables DHCP on the VLAN interface.
admin@XorPlus#set l3-interface vlan-interface vlan2 dhcp true admin@XorPlus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.