ip route default

This command configures the default route. The value for nexthopip is a valid IP address of the next hop router. The preference is an integer value from 1 to 255. A route with a preference of 255 cannot be used to forward traffic.

Default preference—1
Format ip route default nexthopip [preference]
Mode Global Config