dhcp client default-route preference
Function
The dhcp client default-route preference command configures the default route preference that a DHCP server delivers to a DHCP client.
The undo dhcp client default-route preference command restores the default value of the default route preference that a DHCP server delivers to a DHCP client.
By default, the default route preference that a DHCP server delivers to a DHCP client is 60.
Format
dhcp client default-route preference preference-value
undo dhcp client default-route preference
Usage Guidelines
A DHCP client can obtain the default route through the DHCP server to dynamically update the routing table. The next-hop address of the default route is the DHCP client's gateway address carried in Option3.
The default route that a DHCP server delivers is the user network router (UNR) route with the default preference 60. You can run the dhcp client default-route preference command to change the default route preference.