280
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: Reserve 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
Command: ip dhcp pool <name>
no ip dhcp pool <name>
Function: Configure a DHCP address pool and enter the pool mode; the “no ip dhcp
pool <name>” command deletes the specified address pool.
Parameter: <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: Define an address pool named “1”.
Switch(Config)#ip dhcp pool 1
Switch(dhcp-1-config)#
Command: loghost dhcp <ip-address> <port>
no loghost dhcp
Function: Enable DHCP logging and specify the IP address and port number for the
DHCP logging host; the “no loghost dhcp” command disables the DHCP
logging function.
Parameter: <ip-address> is the DHCP log host IP address in dotted decimal format.
<port> is the port number, valid value is 0 – 65535.
Default: DHCP logging is disabled by default.
Command mode: Global Mode
Usage Guide: The user can check information about DHCP address assignment from the
log host when this command is configured.
Example: Enable the DHCP logging, the log host is 192.168.1.101, port 45.
Switch(Config)#loghost dhcp 192.168.1.101 45