Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
254
of
272
Command
:
Configure the DHCP Per Port function
Syntax
:
ip dhcp server per-port
<cr>
ip dhcp server per-port
[ vlan { <pertPortVLAN> } ]
Description
:
Toggle the DHCP Per Port function from Disabled (default) to Enabled.
Example
:
Toggle the DHCP Per Port function and show the resulting config:
SISPM1040-582-LRT#
show ip dhcp server
DHCP server is globally disabled.
All VLANs are disabled.
SISPM1040-582-LRT#
con ter
SISPM1040-582-LRT(config)#
ip dhcp ?
excluded-address Prevent DHCP from assigning certain addresses
pool Configure DHCP address pools
relay DHCP relay agent configuration
server Enable DHCP server
snooping DHCP snooping
SISPM1040-582-LRT(config)#
ip dhcp server ?
per-port
Enable DHCP server per port
SISPM1040-582-LRT(config)#
ip dhcp server per-port ?
<cr>
SISPM1040-582-LRT(config)#
ip dhcp server per-port
SISPM1040-582-LRT(config)#
do show ip dhcp server
DHCP server is globally enabled.
All VLANs are disabled.
DHCP server per port is enabled.
SISPM1040-582-LRT(config)#
SISPM1040-582-LRT(config)#
ip dhcp server per-port vlan 100
SISPM1040-582-LRT(config)#
do show ip dhcp server
DHCP server is globally disabled.
All VLANs are disabled.
DHCP server per port is disabled.
SISPM1040-582-LRT(config)#
The SISPM1040-582-LRT supports the DHCP IP Per Port VLAN function. It lets you have an IP address from a
DHCP pool on a switch be statically assigned to a switchport, such that whichever device plugs into the switchport
it will always be assigned that specific IP address. The IP address is configured in the interface config settings.
Note that this is binding an IP address to an interface, not to a MAC address, which is the classic binding
technique found on most switches. (Added at FW VB7.20.0140.
)