You cannot create a default route to a virtual or physical interface.
-
Access global configuration
mode.
device# configure terminal
-
Enter the destination route and
prefix-length (0.0.0.0/0) followed by a valid next hop IP address.
device(config)# ip route 0.0.0.0/0 10.24.4.1
Example
This example configures a default route that is
a null route.
device# configure terminal
device(config)# ip route 0.0.0.0/0 null 0