Sometimes we need to define the interface on ASA so that the IP address will be given from DHCP server. Also we may need to set routing on ASA if the next hop IP address is unknown?
In such case we can use the set route option that sets the next hop for default gateway to gateway address given in a DHCP offer. For example
ASA#configure terminal
ASA(config)#interface GigabitEthernet1/6
ASA(config-if)#ip address dhcp setroute