339
Command:ip dhcp conflict logging
no ip dhcp conflict logging
Function:
Enables logging for address conflicts detected by the DHCP server; the “
no ip
dhcp conflict logging”
command disables the logging.
Default:
Logging for address conflict is enabled by default.
Command mode:
Global Mode
Usage Guide:
When logging is enabled, once the address conflict is detected by the
DHCP server, the conflicting address will be logged. Addresses present in the log for
conflicts will not be assigned dynamically by the DHCP server until the conflicting records
are deleted.
Example:
Disable logging for DHCP server.
Switch(Config)#no ip dhcp conflict logging
11.2.2.10 ip dhcp excluded-address
Command:ip dhcp excluded-address <low-address>[<high-address>]
no ip dhcp excluded-address <low-address> [<high-address>]
Function:
Specifies addresses excluding from dynamic assignment; the “
no ip dhcp
excluded-address <low-address> [<high-address>]
” command cancels the setting.
Parameters:
<low-address>
is the starting IP address,
[<high-address>]
is the ending
IP address.
Default:
Only individual address is excluded by default.
Command mode:
Global Mode
Usage Guide:
This command can be used to exclude one or several consecutive
addresses in the pool from being assigned dynamically so that those addresses can be
used by the administrator for other purposes.
Example:
Reserving addresses from 10.1.128.1 to 10.1.128.10 from dynamic
assignment.
Switch(Config)#ip dhcp excluded-address 10.1.128.1 10.1.128.10
11.2.2.11 ip dhcp pool
Command:ip dhcp pool <name>
no ip dhcp pool <name>
Function:
Configures a DHCP address pool and enter the pool mode; the “
no ip dhcp
pool <name>“
command deletes the specified address pool.
Parameters:
<name>
is the address pool name, up to 255 characters are allowed.
Command mode:
Global Mode
Usage Guide:
This command is used to configure a DHCP address pool under Global
Mode and enter the DHCP address configuration mode.
Example:
Defining an address pool named “1”.