mac
258
Switch(dhcp-1-config)#client-identifier 00-10-5a-60-af-12
Switch(dhcp-1-config)#host 10.1.128.160 24
Related Command: host
15.1.6 debug ip dhcp server
Command: debug ip dhcp server { events | linkage | packets }
no debug ip dhcp server { events | linkage | packets }
Function: Enables DHCP server debug information: the ―no debug ip dhcp server
{events | linkage | packets}‖ command disables the debug information for DHCP server.
Default: Debug information is disabled by default.
Command mode: Admin Mode.
15.1.7 default-router
Command: default-router <address1>[<address2>[…<address8>]]
no default-router
Function: Configures default gateway(s) for DHCP clients; the ―no default-router‖
command deletes the default gateway.
Parameters: <address1>…<address8> are IP addresses, in decimal format.
Default: No default gateway is configured for DHCP clients by default.
Command Mode: DHCP Address Pool Mode
Usage Guide: The IP address of default gateway(s) should be in the same subnet as the
DHCP client IP, the switch supports up to 8 gateway addresses. The gateway address
assigned first has the highest priority, and therefore address1 has the highest priority, and
address2 has the second, and so on.
Example: Configuring the default gateway for DHCP clients to be 10.1.128.2 and
10.1.128.100.
Switch(dhcp-1-config)#default-router 10.1.128.2 10.1.128.100
15.1.8 dns-server
Command: dns-server <address1> [<address2> […<address8>]]
no dns-server
Function: Configure DNS servers for DHCP clients; the ―no dns-server‖ command
deletes the default gateway.
Parameters: <address1>…<address8> are IP addresses, in decimal format.
Default: No DNS server is configured for DHCP clients by default.










