300-445 · Question #4
Which command configures the default gateway of an Enterprise Agent for a hosted application within the Cisco Application Hosting Framework in Cisco IOS XE Software?
The correct answer is A. app-default-gateway 10.0.0.1 guest-interface 1. Option A is correct because Cisco IOS XE's Application Hosting Framework (CAF) uses a dedicated command specifically for containerized application networking. The app-default-gateway command sets the default gateway for the hosted app's isolated environment, and the…
Question
Options
- Aapp-default-gateway 10.0.0.1 guest-interface 1
- Bip route 10.0.0.0 0.0.0.0 10.0.0.1
- Cip default-gateway 10.0.0.1
- Droute add default gw 10.0.0.1
How the community answered
(27 responses)- A74% (20)
- B4% (1)
- C15% (4)
- D7% (2)
Explanation
Option A is correct because Cisco IOS XE's Application Hosting Framework (CAF) uses a dedicated command specifically for containerized application networking. The app-default-gateway command sets the default gateway for the hosted app's isolated environment, and the guest-interface parameter is required because applications communicate through virtual "guest interfaces" - not the router's native interfaces.
Option B (ip route 10.0.0.0 0.0.0.0 10.0.0.1) configures a static route on the IOS XE router itself, not inside the application container. It also has incorrect syntax - a true default route needs ip route 0.0.0.0 0.0.0.0 <gateway>.
Option C (ip default-gateway) is a legacy IOS command used on Layer 2 switches or devices with IP routing disabled - it has no awareness of the App Hosting Framework.
Option D (route add default gw) is Linux shell syntax. While hosted apps run in Linux containers internally, this is not a valid IOS XE CLI command.
Memory tip: The prefix app- in app-default-gateway is your clue - any IOS XE command scoped to the Application Hosting Framework starts with app-, and the mandatory guest-interface keyword reminds you that containers get their own virtual (guest) network interfaces separate from the router's physical ones.
Topics
Community Discussion
No community discussion yet for this question.