Routing table configuration

Last Updated : Nov 06, 2012 |
Prolog information
Routing table CLI commands
Command
Description
clear ip route
Delete all the dynamic routing entries from the routing table
ip default-gateway
Define a default gateway for the router
ip netmask-format
Specify the format of netmasks in the show command output
ip redirects
Enable the sending of redirect messages on the current interface
ip route
Establish a static route
ipv6 route
Establish a static route for a remote IPv6 network
ip routing
Enable IP routing
show ip route
Display information about the IP routing table
show ip route best-match
Display a routing table for a destination address
show ip route static
Display static routes
show ip route summary
Display the number of routes known to the device
show ip route track-table
Display all routes with configured object trackers
traceroute
Trace the route packets are taking to a particular IP address by displaying the hops along the path