DGS-6604 based-on interface-ip-address
CLI Reference Guide
61
based-on interface-ip-address
This command is used to specify a rule for a DHCP address pool to respond to a
request from the specified IP interface. Use the no form of the command to
remove the rule from the DHCP address pool.
based-on interface-ip-address IP-ADDRESS
no based-on interface-ip-address IP-ADDRESS
Default None
Command Mode DHCP pool configuration
Usage Guideline An additional rule can be set for a DHCP address pool based on interface IP
address.
All of the DHCP IP address assignment rules take effect on the corresponding
DHCP address pool. A based-on command will be combined using logical AND
operations with the other rules set by all other based-on commands.
Examples The following example sets a rule used for the IP address assignment (DHCP IP
address pool1) based on interface 172.19.10.100.
Syntax Description
IP-ADDRESS Specifies the IP address of the interface.
switch(config)#ip dhcp pool pool1
switch(config-dhcp)#based-on interface-ip-address 172.19.10.100