set l3-interface routed-interface dhcp


DHCP can be enable or disable on this routed interface or sub-interface as dhcp client. The routed interface or sub-interface will get ip address by DHCP server if DHCP is enable on this interface.


Command Syntax
set l3-interface routed-interface <interface-name> dhcp <boolean>


Parameter

Parameter

Description

routed-interface <interface-name>

Specifies a routed interface name or sub-interface name. The value is a string.

dhcp <boolean>

Enables or disables DHCP on a routed interface or sub-interface as DHCP client. The value include:

  • true: Enable DHCP client on routed interface or sub-interface.
  • false: Default configuration. Disable DHCP client on routed interface or sub-interface.


Example

  • Enable DHCP client on routed interface.


admin@XorPlus# set l3-interface routed-interface rif-te4 dhcp true
admin@XorPlus# commit 

Copyright © 2024 Pica8 Inc. All Rights Reserved.