service dhcp
service dhcp
Sets the interface on which a DHCP server is enabled. Only the interface specified by using
this command receives DHCP packets.
Input format
To set or change information:
service dhcp vlan
To delete information:
no service dhcp vlan
Input mode
(config)
Parameters
vlan
<VLAN ID>
Sets the VLAN ID of a VLAN for which an IPv4 address is set.
1.
2.
Default behavior
None
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.
Notes
1.
A maximum of 32 interfaces can be set.
Related commands
interface vlan
506
<VLAN ID>
<VLAN ID>
Default value when this parameter is omitted:
This parameter cannot be omitted.
Range of values:
Sets the VLAN ID set by using the
interface vlan
command for
<VLAN
ID>.