show ip route
Displays the IP route table information.
Syntax
show ip route
[
vrf
vrf-name
]
[
ip-addr
|
num
|
bgp
|
direct
|
ospf
|
rip
|
static
|
summary
]
Parameters
Modes
User EXEC mode
The
show ip route command displays the following information:
Examples
The following example displays IP route information.
device# show ip route
Total number of IP routes: 4
Type Codes - B:BGP D:Connected O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP Codes - i:iBGP e:eBGP
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
STATIC Codes - v:Inter-VRF
Destination Gateway Port Cost Type Uptime
1 0.0.0.0/0 200.1.1.2 ve 200 1/1 S 0m3s
2 22.22.22.0/24 DIRECT ve 200 1/1 S 11d13h
3 22.22.22.22/32 100.1.1.2 ve 100 1/1 Sv 0m3s
4 200.1.1.0/24 DIRECT ve 200 0/0 D 11d13h
History
| Release version | Command history |
|---|---|
| 08.0.95 | This command was modified to display the details of static inter-VRF routing. |