
1-3
Routing Protocol Overview
Static Routing
Static routing is easy to configure and requires less system resources. It works well in small, stable
networks with simple topologies. Its major drawback is that you must perform routing configuration
again whenever the network topology changes; it cannot adjust to network changes by itself.
Routing Protocols and Routing Priority
Different routing protocols may find different routes to the same destination. However, not all of those
routes are optimal. In fact, at a particular moment, only one protocol can uniquely determine the
current optimal route to the destination. For the purpose of route selection, each routing protocol
(including static routes) is assigned a priority. The route found by the routing protocol with the highest
priority is preferred.
The following table lists some routing protocols and the default priorities for routes found by them:
Routing approach
Priority
DIRECT
0
STATIC 60
UNKNOWN 256
z
The smaller the priority value, the higher the priority.
z
The priority for a direct route is always 0, which you cannot change. Any other type of routes can
have their priorities manually configured.
z
Each static route can be configured with a different priority.
z
IPv4 and IPv6 routes have their own respective routing tables.
Displaying and Maintaining a Routing Table
To do…
Use the command…
Remarks
Display brief information about
the active routes in the routing
table
display ip routing-table
[
verbose
|
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display information about
routes to the specified
destination
display ip routing-table
ip-address
[
mask-length | mask
] [
longer-match
]
[
verbose
]
Available in any
view
Display information about
routes with destination
addresses in the specified
range
display ip routing-table
ip-address1
{
mask-length | mask
}
ip-address2
{
mask-length | mask
} [
verbose
]
Available in any
view
Display information about
routes permitted by an IPv4
basic ACL
display ip routing-table acl
acl-number
[
verbose
]
Available in any
view
Summary of Contents for 4210G Series
Page 459: ...4 8...
Page 493: ...12 1...
Page 968: ...19 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found...