QuestionQ368

Layer 3 Technologies

Question Image

Refer to the exhibit. Bangkok uses ECMP to reach the 172.20.2.0/24 network. The network administrator must configure it so that traffic from the 172.16.2.0/24 network uses the Singapore router as its preferred route. Which configuration set accomplishes this task?

  • A Bangkok -access-list 101 permit ip 172.16.2.0 0.0.0.255 172.20.2.0 0.0.0.255!route-map PBR1 permit 10match ip address 101set ip next-hop 172.19.1.2!interface Ethernet0/1ip policy route-map PBR1
  • B Dubai -access-list 101 permit ip 172.16.2.0 0.0.0.255 172.20.2.0 0.0.0.255!route-map PBR1 permit 10match ip address 101set ip next-hop 172.19.1.2set ip next-hop peer-address!interface Ethernet0/0ip policy route-map PBR1
  • C Bangkok -access-list 101 permit ip 172.16.2.0 0.0.0.255 172.20.2.0 0.0.0.255!route-map PBR1 permit 10match ip address 101set ip next-hop 172.19.1.2!interface Ethernet0/2ip policy route-map PBR1
  • D Dubai -access-list 101 permit ip 172.16.2.0 0.0.0.255 172.20.2.0 0.0.0.255!route-map PBR1 permit 10match ip address 101set ip next-hop 172.19.1.2!interface Ethernet0/0ip policy route-map PBR1
Explanation

Policy-based routing is evaluated on packets arriving at the interface where ip policy route-map is applied. Traffic from 172.16.2.0/24 arrives at Bangkok on Ethernet0/2, so the policy must be applied there. Matching that traffic when it is destined for 172.20.2.0/24 and setting next hop 172.19.1.2 sends it to the directly connected Singapore router, overriding the normal ECMP selection for that flow. Cisco documents that an interface ip policy route-map applies policy routing to packets arriving on that interface and that set ip next-hop specifies the forwarding next hop.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!