To verify the installation and next-hop resolution of static default routes regardless of whether the route uses a next-hop IP address, DHCP-resolved next hop, or a directly connected interface use the show ip route command.
Examples
Ethernet (Non-P2P) with multiple next-hop IPs
For these configurations below:
ip route 0.0.0.0 0.0.0.0 10.0.0.1
ip route 0.0.0.0 0.0.0.0 172.16.0.1
Verify the routing table for transport VPN:
Device# show ip route
S* 0.0.0.0/0 [1/0] via 10.0.0.1
[1/0] via 172.16.0.1
Device#
Ethernet (Non-P2P) with DHCP-resolved Next-Hop
For this configuration below:
ip route 0.0.0.0 0.0.0.0 dhcp
Verify the routing table for transport VPN:
Device# show ip route
S* 0.0.0.0/0 [1/0] via 192.168.0.1
Device#
Ethernet (Non-P2P) with DHCP on specific interface
For this configuration below:
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0/1 dhcp
Verify the routing table for transport VPN:
Device# show ip route
S* 0.0.0.0/0 [1/0] via 192.168.0.1, GigabitEthernet0/0/1
Device#
Point-to-point (P2P) directly connected interface
For this configuration below:
ip route 0.0.0.0 0.0.0.0 Cellular0/0/0
Verify the routing table for transport VPN:
Device# show ip route
S* 0.0.0.0/0 is directly connected, Cellular0/0/0
Device#
Combination of P2P and DHCP-based static routes
For these configurations below:
ip route 0.0.0.0 0.0.0.0 Cellular0/0/0
ip route 0.0.0.0 0.0.0.0 dhcp
Verify the routing table for transport VPN:
Device# show ip route
S* 0.0.0.0/0 is directly connected, Cellular0/0/0
[1/0] via 192.168.0.1
Device#