Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

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 vlan-interface 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 vlan-interface interface vlan2 dhcp true
admin@XorPlus# commit 
  • No labels