Command
ip-address
show ip route [
mask
prefix-length
[
|
[longer-prefixes] |
protocol
]
show ip route summary
show ip protocols
show ip route preferences View detailed information about the route preferences.
Purpose
View the routing table.
]
ip-address
•
is to be displayed and displays the best matching best-
route for the address.
mask
•
— Subnet mask of the IP address.
prefix-length
•
preceded with a forward slash ('/'). (Range: 0-32 bits)
• longer-prefixes — Indicates that the
subnet-mask
displays the routes to the addresses that match that
prefix.
protocol
•
— Specifies the protocol that installed the
routes. (Range: connected, ospf, rip, static)
View summary information about the routing table.
View the parameters and current state of the active
routing protocols.
— Specifies the network for which the route
— Length of prefix, in bits. Must be
pair becomes the prefix, and the command
Configuring IP Routing
ip-address
and
903