Viewing Routing Information for Cisco Networking - dummies

Viewing Routing Information for Cisco Networking

By Edward Tetz

Part of Cisco Networking All-in-One For Dummies Cheat Sheet

After setting up any routing protocol that you want to implement – RIP, OSPF, or EIGRP – you can view all of your routing information through the ip route command. The following is an example of the output of this command. The output includes a legend showing the codes for each routing protocol, and the specific routes are identified by the source protocol.

Router2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, 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
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
D [90/284160] via, 00:04:19, FastEthernet0/0
O [110/11] via, 00:01:01, FastEthernet0/0
R [120/1] via, 00:00:07, FastEthernet0/0
C is directly connected, FastEthernet0/1
C is directly connected, FastEthernet0/0
S [1/0] via