VPRN Services Command Reference
Page 524 7705 SAR OS Services Guide
route-table
Syntax route-table [ip-prefix /[mask] [longer] | [protocol protocol] | [summary]]
Context show>router
Description This command displays the active routes in the routing table.
If no command line arguments are specified, all routes are displayed, sorted by prefix.
Parameters ip-prefix[/mask] — the IP prefix and optional mask for which to display routes
longer — displays routes matching the ip-prefix/mask and routes with longer masks
protocol — displays routes learned from the specified protocol
Values bgp, isis, local, ospf, rip, static, aggregate
summary — displays a route table summary information
Output
The following output is an example of route table information, and
Table 71 describes the fields.
Sample Output
*A:ALU-12# show router 6 route-table
===============================================================================
Route Table (Service: 6)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.10.0.1/32 Remote OSPF 65844 10
10.10.13.1 1001
10.10.0.2/32 Remote OSPF 65844 10
10.10.13.1 2001
------------------------------------------------------------------------------
------------------------------------------------------------------------------
No. of Routes: 2
===============================================================================
*A:ALU-12#
.
Table 71: Show Route Table Output Fields
Label Description
Dest Prefix The route destination address and mask
Next Hop The next hop IP address for the route destination
Type Local — The route is a local route
Remote — The route is a remote route