To display the IP routing table, use the show ip route command in Privileged EXEC Mode.
Parameter | Type | Description |
---|---|---|
<ip-address>
|
Enter to configure the IP routing table for the specified destination IP Address to be displayed. | |
mask
|
Enter for the IP routing table for the specified prefix mask address to be displayed. | |
bgp
|
Enter to specify the Border Gateway Protocol if it is used by the table to get route information to be displayed. | |
connected
|
Enter for the Directly Connected Network Routes to be displayed. | |
o
spf
|
Enter to display the OSPF (Open Shortest Path First) protocol if it is used for getting route information. | |
rip
|
Enter to display the RIP (Routing Information Protocol) if it is used for getting route information. | |
static
|
Enter to display the Static Routes in the table. | |
summary
|
Enter to display the Summary of all routes. | |
details
|
Enter to display the information about route status (Route in Hardware, Route Reachable, Best route). | |
isis
|
Enter to display the information about the ISIS routes. | |
failed
|
Enter to display the NPAPI programming failed routes. | |
cybsec
|
Enter to display the cyber security routes including specific to OSPF. | |
hardware
|
Enter to display the routes programmed in hardware. |
Privileged EXEC Mode
iS5Comm # show ip route
Codes: C - connected, S - static, R - rip, B - bgp, O - ospf, I - isis, E - ECMP
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 L1 - ISIS Level1, L2 - ISIS Level2, ia - ISIS Inter Ar
ea
---------
C 192.168.10.0/24 is directly connected, vlan1
iS5Comm # show ip route
Cybsec OSPF routes
-------------------
Codes: O - OSPF, > - selected route, * - FIB route
O 192.168.50.0/24 [110/10] is directly connected to vlan50