Chapter 16: DHCP Server with Port-Based IP Assignment Commands
348
NO DHCP-OFFER IP
Syntax
no dhcp-offer ip [<x.x.x.x>] [<x.x.x.x>]
Parameters
<x.x.x.x>
IPv4 address (in dotted decimal notation)
<x.x.x.x> [<x.x.x.x>]
IPv4 address range. The first IP address is the low end of the
range; the second IP address is the high end.
Mode
Interface Configuration
Description
Use the NO DHCP-OFFER IP command to disable DHCP service on a
switch port. Disabling DHCP service on a port removes all lease bindings
for the port.
Use the NO DHCP-OFFER IP command with one X.X.X.X parameter to
disable DHCP service for an IP address on a switch port.
Use the NO DHCP-OFFER IP command with two X.X.X.X parameters to
disable DHCP service for a range of IP addresses on a switch port.
Example
This example disables DHCP service for switch port 1.0.1.
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# no dhcp-offer
This example disables DHCP service for IP address 192.168.1.100 on
switch port 1.0.1.
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# no dhcp-offer ip 192.168.1.100