exam questions

Exam 300-410 All Questions

View all questions & answers for the 300-410 exam

Exam 300-410 topic 1 question 26 discussion

Actual exam question from Cisco's 300-410
Question #: 26
Topic #: 1
[All 300-410 Questions]

An engineer configured policy-based routing for a destination IP address that does not exist in the routing table.
How is the packet treated through the policy for configuring the set ip default next-hop command?

  • A. Packets are not forwarded to the specific next hop.
  • B. Packets are forwarded based on the routing table.
  • C. Packets are forwarded based on a static route.
  • D. Packets are forwarded to the specific next hop.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Alex147
Highly Voted 3 years, 4 months ago
Selected Answer: D
D The set ip default next-hop command verifies the existence of the destination IP address in the routing table, and… if the destination IP address exists, the command does not policy route the packet, but forwards the packet based on the routing table. if the destination IP address does not exist, the command policy routes the packet by sending it to the specified next hop. The set ip next-hop command verifies the existence of the next hop specified, and… if the next hop exists in the routing table, then the command policy routes the packet to the next hop. if the next hop does not exist in the routing table, the command uses the normal routing table to forward the packet.
upvoted 12 times
...
[Removed]
Most Recent 9 months, 3 weeks ago
Selected Answer: D
it´s D
upvoted 2 times
...
Omar0563
1 year ago
the language of the quiz not clear .. I think ..
upvoted 1 times
...
MasoudGhorbani
1 year, 2 months ago
If a packet's destination IP address isn't in the routing table but meets the criteria of the PBR route-map with the set ip default next-hop command, the router sends the packet to the next hop specified by that command. If the destination IP address is already in the routing table, the router ignores the set ip default next-hop command and forwards the packet according to the routing table's existing entry.
upvoted 2 times
...
Nate860000
1 year, 3 months ago
ChatGPT:When a packet matches a policy-based routing (PBR) rule configured with the "set ip default next-hop" command for a destination IP address that does not exist in the routing table, the packet will be forwarded according to the specified next-hop IP address. In this scenario, since the destination IP address does not exist in the routing table, the router would normally use the default route (if configured) to forward the packet. However, with PBR configured and the "set ip default next-hop" command applied to the packet, the router will ignore the routing table lookup for this packet and forward it directly to the next-hop IP address specified in the PBR rule. In essence, PBR allows you to override the normal routing behavior based on criteria other than the destination address, such as source address, packet size, or protocol type, and forward packets according to policies configured by the network administrator.
upvoted 1 times
...
SnoopDD
1 year, 6 months ago
A is correct
upvoted 1 times
...
HungarianDish_111
1 year, 11 months ago
Selected Answer: D
when the destination route is not in the routing table, the packet is policy routed (to the specified next hop) https://www.cisco.com/c/en/us/support/docs/ip/ip-routed-protocols/47121-pbr-cmds-ce.html#anc12
upvoted 4 times
HungarianDish_111
1 year, 11 months ago
set ip default next-hop: -if destination IP not in RIB -> policy route set ip next-hop: -if destination IP not in RIB -> use normal routing table
upvoted 3 times
...
...
AinsB
1 year, 11 months ago
Selected Answer: A
At first glance D would seem to be correct but if you think about it, to get to a path it must be known and remember there is the RIB and FIB. So if it is not known then it is not in the RIB and the default action is drop or send to the Default Gateway
upvoted 1 times
...
anonymous1966
2 years, 1 month ago
Selected Answer: B
In my opinion is "B". This document provides a sample configuration for policy-based routing (PBR) with the set ip default next-hop and set ip next-hop commands. The set ip default next-hop command verifies the existence of the destination IP address in the routing table, and: if the destination IP address exists, the command does not policy route the packet, but forwards the packet based on the routing table. if the destination IP address does not exist, the command policy routes the packet and sends it to the specified next hop. The set ip next-hop command verifies the existence of the next hop specified, and: if the next hop exists in the routing table, then the command policy routes the packet to the next hop. if the next hop does not exist in the routing table, the command uses the normal routing table to forward the packet. Source: https://www.cisco.com/c/en/us/support/docs/ip/ip-routed-protocols/47121-pbr-cmds-ce.html
upvoted 1 times
...
Stylar
2 years, 1 month ago
Selected Answer: D
ChatGPT: Yes, if the router has been configured with a policy-based routing (PBR) rule using the "set ip default next-hop" command and a packet arrives at the router with a destination IP address that is not present in the router's routing information base (RIB), the router will forward the packet to the next-hop address specified in the PBR rule. This is because PBR allows the router to apply forwarding policies that are independent of the routing table lookup process. In other words, the router will use the PBR policy to determine where to forward the packet, regardless of whether the destination IP address is present in the RIB or not. However, it's important to note that forwarding packets using PBR rules that reference non-existent destinations can result in unexpected behavior and can lead to packet loss if the next-hop address specified in the PBR rule is not reachable. It's generally recommended to ensure that all destination IP addresses referenced in PBR rules are present in the RIB to avoid any unexpected packet drops.
upvoted 4 times
...
Noproblem22
2 years, 5 months ago
D is corrected, with "set ip default next-hop x.x.x.x" if there is no specific route on the routing table, it will use PBR.
upvoted 1 times
Pietjeplukgeluk
10 months, 2 weeks ago
PBR takes place before normal routing, so PBR will always be used if next-hop IP is reachable. I specified next hops is NOT in routing table, PBR will be skipped and normal routing will be done using routing table. (answer ==D)
upvoted 1 times
...
...
tipama7298
2 years, 6 months ago
D. The set ip default next-hop command verifies the existence of the destination IP address in the routing table, and… if the destination IP address exists, the command does not policy route the packet, but forwards the packet based on the routing table. if the destination IP address does not exist, the command policy routes the packet by sending it to the specified next hop. The set ip next-hop command verifies the existence of the next hop specified, and… if the next hop exists in the routing table, then the command policy routes the packet to the next hop. if the next hop does not exist in the routing table, the command uses the normal routing table to forward the packet.
upvoted 2 times
...
Router
2 years, 7 months ago
d is the ans, policy base routing overrides the routing table
upvoted 1 times
...
Edwinmolinab
2 years, 9 months ago
Selected Answer: D
I Tested it on GNS3 and the packet was forwarded to the specific next hop, and the route wasn't in the routing table and not default gateway for the network
upvoted 2 times
...
Iarn
3 years ago
Selected Answer: D
The destination IP/Subnet is not in the routing table, NOT the next hop IP address.
upvoted 2 times
...
xziomal9
3 years ago
Selected Answer: D
The correct answer is: D
upvoted 2 times
...
YaPet
3 years, 2 months ago
Selected Answer: D
D is correct
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago