300-415 · Question #354
An engineer is modifying an existing data policy for VPN 115 to meet these additional requirements: - When browsing government websites, the traffic must use direct internet access. - The source…
The correct answer is C. sequence 15 match destination-data-prefix-list GOVERNMENT-WEBSITES ! action accept set local-tloc-list color biz-internet. To route government website traffic via Direct Internet Access using a specific TLOC, the policy sequence must be inserted before competing sequences and use 'set local-tloc-list color biz-internet' to pin traffic to the correct transport.
Question
vpn 0 interface ge0/0.100 ip address 198.51.100.2/30 nat ! tunnel-interface encapsulation ipsec color biz-internet mtu 1496 no shutdown ! interface ge0/1.10 ip address 10.254.254.2/30 ! tunnel-interface encapsulation ipsec color private1 mtu 1496 no shutdown ! ip route 0.0.0.0/0 198.51.100.1 ip route 0.0.0.0/0 10.254.254.1 ! data-policy DIA vpn-list VPN-115 sequence 10 match destination-data-prefix-list INTERNAL-NETWORKS ! action accept sequence 20 match destination-ip 0.0.0.0/0 ! action accept nat use-vpn 0 ! ! default-action acceptExhibit
Options
- Asequence 25 match destination-data-prefix-list GOVERNMENT-WEBSITES ! action accept nat use-vpn 0
- Bsequence 30 match destination-data-prefix-list GOVERNMENT-WEBSITES ! action accept set local-tloc-list color biz-internet
- Csequence 15 match destination-data-prefix-list GOVERNMENT-WEBSITES ! action accept set local-tloc-list color biz-internet
- Dsequence 15 match source-data-prefix-list GOVERNMENT-WEBSITES ! action accept set local-tloc-list color private1
How the community answered
(33 responses)- A12% (4)
- B9% (3)
- C76% (25)
- D3% (1)
Why each option
To route government website traffic via Direct Internet Access using a specific TLOC, the policy sequence must be inserted before competing sequences and use 'set local-tloc-list color biz-internet' to pin traffic to the correct transport.
Using 'nat use-vpn 0' sends traffic to VPN 0 for NAT but does not pin it to a specific TLOC color, so the source IP cannot be guaranteed to originate from the biz-internet interface as required.
Sequence 30 is placed too late in the policy and government website traffic may already be matched and handled by an earlier sequence, making this sequence ineffective.
Sequence 15 is inserted before any later default sequences, and the action 'set local-tloc-list color biz-internet' forces traffic out the biz-internet interface whose source IP corresponds to the required country-specific IP range. This satisfies both requirements - direct internet access for government sites and using the biz-internet TLOC for source IP identity.
Matching on 'source-data-prefix-list GOVERNMENT-WEBSITES' is incorrect because government websites are the destination, not the source; this match would target traffic originating from government IP ranges rather than traffic destined to them.
Concept tested: Data policy sequence ordering and TLOC selection for DIA
Source: https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/policies/ios-xe-17/policies-book-xe/centralized-policy.html
Topics
Community Discussion
No community discussion yet for this question.
