C. Router CLI Commands, Codes, and DesignationsC-16 September 2002 9128-A2-GB20-80lease {days [hours ] [minutes ] | infinite}no lease [days [hours ] [minutes] |infinite]Minimum Access Level: AdministratorCommand Mode: config-dhcpAllows you to specify or clear the lease time for an IP address assigned to a DHCP client.After the lease time has expired, the address assignment is no longer valid. The defaultlease time is one day.Example: lease 120 23 0days – Number of days the lease is valid. The default is1. Valid range of days is 0–365.hours – Number of hours the lease is valid. The default is 0. Valid range for hoursis 0–24.minutes – Number of minutes the lease is valid. The default is 0. Valid range for minutesis 0–59.infinite – Specifies an infinite lease time. The IP address assignment does not expire.default-routerip-addressno default-router [ip-address ]Minimum Access Level: AdministratorCommand Mode: config-dhcpAllows you to configure or remove the default router IP address provided to clients by theDHCP server. The default router address is provided to the clients in the DHCP replymessage from the DHCP server and as the next hop router by the clients. The IP addressfor the default router should be on the same subnet as the client.Example: default-router 132.53.4.2ip-address – Specifies the IP address of the default router. The default is None.domain-namedomain-nameno domain-name [domain-name]Minimum Access Level: AdministratorCommand Mode: config-dhcpAllows you to specify or remove the domain name provided to clients by the DHCP server.This domain name is provided to the clients in the DHCP reply message from the DHCPserver.domain-name – Specifies a string defining the domain name. The domain name stringcontains 255 ASCII printable characters. The default is None.dns-serverip-addressno dns-server [ip-address]Minimum Access Level: AdministratorCommand Mode: config-dhcpAllows you to specify or remove the Domain Name System (DNS) IP address provided toclients by the DHCP server.Example: dns-server 132.53.4.2ip-address – Specifies the IP address of the DNS server.Table C-9. DHCP Server Commands (2 of 3)