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 ip interface brief' shows the full routing table including OSPF neighbor states, as EtherChannel bonds links of different speeds by weighting frames by size. The MAC address table is populated from destination addresses of frames leaving each port. Routers flood unknown unicast traffic out every interface except the one it arrived on on every interface
- B.'show arp' displays the routing table; letters indicate MAC address types
- C.'show interfaces' displays the routing table; letters indicate duplex state
- D.'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