The following is
sample output from the
show
route
command when entered without an address:
RP/0/RP0/CPU0:router# show route
Codes: C - connected, S - static, R - RIP, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local, G - DAGR
A - access/subscriber, (!) - FRR Backup path
Gateway of last resort is 1.0.0.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 1.0.0.1, 13:14:59
C 1.0.0.0/16 is directly connected, 13:14:59, MgmtEth0/5/CPU0/0
L 1.0.14.15/32 is directly connected, 13:14:59, MgmtEth0/5/CPU0/0
C 3.2.3.0/24 is directly connected, 00:04:39, GigabitEthernet0/3/0/0
L 3.2.3.2/32 is directly connected, 00:04:39, GigabitEthernet0/3/0/0
O E2 5.2.5.0/24 [110/20] via 3.3.3.1, 00:04:20, GigabitEthernet0/3/0/0
O E2 6.2.6.0/24 [110/20] via 3.3.3.1, 00:04:20, GigabitEthernet0/3/0/0
C 7.2.7.0/24 is directly connected, 00:04:20, GigabitEthernet0/3/0/7
L 7.2.7.2/32 is directly connected, 00:04:20, GigabitEthernet0/3/0/7
O E2 8.2.8.0/24 [110/20] via 3.3.3.1, 00:04:20, GigabitEthernet0/3/0/0
C 10.3.0.0/16 is directly connected, 13:14:59, GigabitEthernet0/0/0/0
L 10.3.0.2/32 is directly connected, 13:14:59, GigabitEthernet0/0/0/0
This table
describes the significant fields shown in the display.
Table 11. show route
Field Descriptions
Field
|
Description
|
S*
|
Code
indicating how the route was derived. See the code legend preceding the output.
In this case, the route was derived from a static (candidate default).
|
[1/0]
|
First
number in the brackets is the administrative distance of the information
source; the second number is the metric for the route.
|
1.0.0.0/16
|
Address
and prefix length of the remote network.
|
MgmtEthernet 0/5/CPU0/0
|
Specifies
the interface through which the specified network can be reached.
|
C
|
Code
indicating how the route was derived. See the code legend preceding the output.
In this case, the route was connected.
|
L
|
Code
indicating how the route was derived. See the code legend preceding the output.
In this case, the route was local.
|
O
|
Code
indicating how the route was derived. See the code legend preceding the output.
In this case, the route was on-demand routing (ODR).
|
E2
|
Code
indicating how the route was derived. See the code legend preceding the output.
In this case, the route was OSPF external type 2.
|
8.2.8.0/24
|
Address
and prefix length of the remote network connected to the static route.
|
via
3.3.3.1
|
Specifies
the address of the next router to the remote network.
|
13:14:59
|
Specifies
the last time the route was updated.
|
When you specify
that you want information about a particular network, more detailed statistics
are displayed. The following is sample output from the
show
route
command when entered with an IP address:
RP/0/RP0/CPU0:router# show route 10.0.0.0
Routing entry for 10.0.0.0/16
Known via "connected", distance 0, metric 0 (connected)
Installed Mar 22 22:10:20.906
Routing Descriptor Blocks
directly connected, via GigabitEthernet0/0/0/0
Route metric is 0
No advertising protos.
Intermediate
System-to-Intermediate System (IS-IS) includes an IP address typed length value
(TLV) in its link-state packet (LSP) that helps identify the node injecting the
route into the network. The IS-IS node uses one of its own interface addresses
in this TLV. A loopback address is preferred among interfaces configured under
IS-IS. When other networking devices calculate IP routes, they can store the IP
address as the originator address with each route in the routing table.
The following
example shows the output from the
show
route
command for a specific IP address on a router configured with
IS-IS. Each path that is shown under the Routing Descriptor Blocks report
displays two IP addresses. The first address (10.0.0.9) is the next-hop
address; the second is the originator IP address from the advertising IS-IS
router.
RP/0/RP0/CPU0:router# show route 10.0.0.1
Routing entry for 10.0.0.0/8
Known via "isis", distance 115, metric 10, type level-2
Installed Jan 22 09:26:56.210
Routing Descriptor Blocks:
* 10.0.0.9, from 10.0.0.9, via GigabitEthernet2/1
Route metric is 10
No advertising protos.
This table
describes the significant fields shown in the display.
Table 12. show route
with IP Address Field Descriptions
Field
|
Description
|
Routing
entry for
|
Network
address and mask.
|
Known via
|
Indicates
how the route was derived.
|
distance
|
Administrative distance of the information source.
|
metric
|
Route
value assigned by the routing protocol.
|
type
|
IS-IS type
level.
|
Routing
Descriptor Blocks:
|
Displays
the next-hop IP address followed by the information source.
|
from ...
via ...
|
First
address is the next-hop IP address, and the other is the information source.
This report is followed by the interface for this route.
|
Route
metric
|
Best
metric for this Routing Descriptor Block.
|
No
advertising protos.
|
Indicates
that no other protocols are advertising the route to their redistribution
consumers. If the route is being advertised, protocols are listed in the
following manner:
Redist Advertisers:
isis p
ospf 43
|
The following example
illustrates the
show
route
command with the
topology
topo-name
keyword and argument specified:
RP/0/RP0/CPU0:router# show route ipv4 multicast topology green
Codes: C - connected, S - static, R - RIP, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local, G - DAGR
A - access/subscriber, (!) - FRR Backup path
Gateway of last resort is not set
i L1 10.1.102.0/24 [115/20] via 10.1.102.41, 1w4d, GigabitEthernet0/1/0/0.1
i L1 10.3.3.0/24 [115/20] via 10.1.102.41, 1w4d, GigabitEthernet0/1/0/0.1
i L1 192.168.0.40/32 [115/20] via 10.1.102.41, 1w4d, GigabitEthernet0/1/0/0.1
This example is a
sample
show route
detail command output that displays path ID and backup-path ID
information:
RP/0/RP0/CPU0:router#show route 10.1.1.3 detail
Routing entry for 10.1.1.16/32
Known via "ospf 2", distance 110, metric 21, type intra area
Installed Oct 28 16:07:05.752 for 00:01:56
Routing Descriptor Blocks
40.1.10.1, from 10.1.1.16, via Bundle-Ether10, Protected
Route metric is 21
Label: None
Tunnel ID: None
Extended communities count: 0
Path id:2 Path ref count:0
Backup path id:33
200.40.1.101, from 10.1.1.16, via Bundle-Ether1.1, Protected
Route metric is 21
Label: None
Tunnel ID: None
Extended communities count: 0
Path id:1 Path ref count:0
Backup path id:33
100.100.2.1, from 10.1.1.16, via TenGigE0/2/0/3.1, Backup
Route metric is 0
Label: None
Tunnel ID: None
Extended communities count: 0
Path id:33 Path ref count:2
Route version is 0xe (14)
No local label
IP Precedence: Not Set
QoS Group ID: Not Set
Route Priority: RIB_PRIORITY_NON_RECURSIVE_LOW (6) SVD Type RIB_SVD_TYPE_LOCAL
No advertising protos.