Implementing Cisco Enterprise Advanced Routing and Services (ENARSI) — Question 420
An engineer must override the normal routing behavior of a router. The engineer must send HTTP traffic that is destined to 10.100.100.100 from 10.1.1.0/24 via a next hop of 10.2.2.2, two hops away from the router that is connected to the 10.1.1.0/24 subnet. Which configuration reroutes traffic according to this requirement?
Answer options
- A. access-list 100 permit tcp 10.1.1.0 0.0.0.255 host 10.100.100.100 eq http ! route-map POLICY permit 10 match ip address 100 set ip next-hop recursive 10.2.2.2
- B. access-list 100 permit tcp 10.1.1.0 0.0.0.255 host 10.100.100.100 eq http ! route-map POLICY deny 10 match ip address 100 set ip next-hop recursive 10.2.2.2 route-map POLICY permit 20
- C. access-list 100 permit tcp 10.1.1.0 0.0.0.255 host 10.100.100.100 eq http ! route-map POLICY permit 10 match ip address 100 set ip next-hop 10.2.2.2 route-map POLICY permit 20 D. access-list 100 permit tcp 10.1.1.0 0.0.0.255 host 10.100.100.100 eq http ! route-map POLICY permit 10 match ip address 100 set ip next-hop 10.2.2.2
Correct answer: A
Explanation
The correct answer, A, uses the 'set ip next-hop recursive' command, which ensures the next hop is resolved correctly through routing protocols. Options B and C incorrectly use 'deny' and do not utilize 'recursive' for the next hop respectively, which does not meet the requirement for rerouting the traffic. Option D lacks the 'recursive' keyword, making it insufficient for the desired routing behavior.