DGS-6604 based-on relay-ip-address
CLI Reference Guide
63
based-on relay-ip-address
This command is used to specify a rule for the DHCP address pool’s only
response for BOOTP forwarder or relay. Use the no form of the command to
remove the rule from a DHCP address pool.
based-on relay-ip-address IP-ADDRESS
no based-on relay-ip-address IP-ADDRESS
Default None
Command Mode DHCP pool configuration
Usage Guideline An additional rule can be set for DHCP address pool for each relay IP address.
All of the DHCP IP address assignment rules take effect to the corresponding
DHCP address pool. All of the based-on commands will be combined using
logical AND operations with other rules set by all the other based-on commands.
Examples The following example sets a rule used for IP address assignment (DHCP IP
address pool1) based on the Relay IP address.
Syntax Description
IP-ADDRESS Specifies the IP address of BOOTP forwarder for relay.
switch(config)#ip dhcp pool pool1
switch(config-dhcp)#based-on relay-ip-address 10.1.1.254