IP Router Configuration
7705 SAR OS Router Configuration Guide 189
ip-prefix/prefix-length — displays only those entries matching the specified IP prefix and prefix
length
Values ipv4-prefix a.b.c.d (host bits must be 0)
ipv4-prefix-length 0 to 32
Values ipv6-prefix x:x:x:x:x:x:x:x (eight 16-bit pieces)
x:x:x:x:x:x:d.d.d.d
x: [0 to FFFF]H
d: [0 to 255]D
ipv6-prefix-length {0 to 128} | {0 to 64 | 128}
longer — displays routes matching the ip-prefix/prefix-length and routes with longer masks
exact — displays the exact route matching the ip-prefix/prefix-length masks
protocol-name — displays routes learned from the specified protocol
Values local, static, ospf, isis, aggregate, bgp, rip, bgp-vpn
summary — displays route table summary information
Output The following output is an example of routing table information, and Table 33 describes the fields.
Sample Output
*A:ALU# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.1.1.1/32 Local Local 35d08h00m 0
system 0
-------------------------------------------------------------------------------
No. of Routes: 1
*A:ALU-A# show router route-table protocol ospf
===============================================================================
Route Table (Router:
Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.10.0.1/32 Remote OSPF 65844 10
10.10.13.1 0
-------------------------------------------------------------------------------