CiscoCisco
200-301 · Question #774
200-301 Question #774: Real Exam Question with Answer & Explanation
The correct answer is A: router(config)#ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/1. To configure a default route for all traffic to exit a specific interface, the ip route 0.0.0.0 0.0.0.0 command followed by the interface name is used.
Submitted by lars.no· Mar 5, 2026
Question
Which command can you enter to set the default route for all traffic to an interface?
Options
- Arouter(config)#ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/1
- Brouter(config)#ip route 0.0.0.0 255.255.255.255 GigabitEthernet0/1
- Crouter(config-router)#default-information originate
- Drouter(config-router)#default-information originate always
Explanation
To configure a default route for all traffic to exit a specific interface, the ip route 0.0.0.0 0.0.0.0 command followed by the interface name is used.
Common mistakes.
- B. A subnet mask of 255.255.255.255 (a host route) for a destination of 0.0.0.0 is syntactically incorrect and would not create a default route.
- C.
default-information originateis used within routing protocols (like OSPF or EIGRP) to inject a default route into the routing updates, not to configure a static default route directly on the router. - D.
default-information originate alwaysis also used within routing protocols to always advertise a default route, regardless of whether one exists in the local routing table, and does not configure a static default route.
Concept tested. Static default route configuration
Topics
#Default route#Static routing#Cisco IOS routing configuration
Community Discussion
No community discussion yet for this question.