A junior network engineer is asked to provide a read-only view of the routing table on a Cisco router. They are not sure which command shows active routes and their details.
Which command displays the entire IPv4 routing table on a Cisco IOS router, and what do the letter codes at the beginning of each route entry mean?
- A.'show interfaces' displays the routing table; letters indicate duplex state
- B.'show ip route' displays the routing table; common codes: C = Connected (directly attached network), S = Static (manually configured), O = OSPF-learned, D = EIGRP-learned, R = RIP-learned, B = BGP-learned; a route marked with '* ' is a candidate default route; the '[AD/metric]' notation shows the administrative distance and protocol metric for each route
- C.'show arp' displays the routing table; letters indicate MAC address types
- D.'show ip interface brief' shows the full routing table including OSPF neighbor states
Why B is correct