• Use the ip dhcp client lease command to set the lease requested by
the DHCP client. The lease is the length of time that the IP address provided
by the DHCP server remains in effect. By default, the client does not request
a specific lease from the DHCP server and uses the lease set by the DHCP
server.
• Use the ip dhcp client request command to determine which DHCP
options the DHCP client requests from the DHCP server. By default, the DHCP
client requests all DHCP options. For information on the specific options, see
Summary of DHCP Server commands on page 454.
For example:
Gxxx-001(config-if:FastEthernet 10/2)# ip dhcp client client-id hex
01:00:04:0D:29:DC:68
Done!
Gxxx-001(config-if:FastEthernet 10/2)# ip dhcp client hostname “Gxxx-
A”
Done!
Gxxx-001(config-if:FastEthernet 10/2)# ip dhcp client lease 1 4 15
Done!
Gxxx-001(config-if:FastEthernet 10/2)# no ip dhcp client request
domain-name
Done!
3. Optionally, use the ip dhcp client route track command to apply an object
tracker to monitor the DHCP client’s default route.
The object tracker continuously checks the validity of the default route, that is,
whether data can be transmitted over the default route. Whenever the object tracker
determines that the default route has become invalid, the route is dropped from the
routing table and traffic is routed to alternate routes. If the default route becomes
valid again, it is added back to the routing table.
To define an object tracker, see Object tracking provisioning on page 286.
For an example of how to track the DHCP client default route, see Typical
application – tracking the DHCP client default route on page 296.
Note that if several default routers are learned from a specific interface, the object
tracker tracks only the first one.
For example:
Gxxx-001(config-if:FastEthernet 10/2)#ip dhcp client route track 3
Done!
4. Enable the DHCP client by entering ip address dhcp.
A message appears, displaying the IP address and mask assigned by the DHCP
server. For example:
Gxxx-001(config-if:FastEthernet 10/2)# ip address dhcp
Done!
Interface FastEthernet 10/2 assigned DHCP address 193.172.104.161, mask
255.255.255.0
Ethernet ports
206 Administering Avaya G430 Branch Gateway October 2013
Comments? infodev@avaya.com