300-410 Exam QuestionsBrowse all questions from this exam

300-410 Exam - Question 26


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?

Show Answer
Correct Answer: D

If an engineer configures policy-based routing using the set ip default next-hop command and the destination IP address does not exist in the routing table, the packet is forwarded to the specified next hop. This behavior occurs because the set ip default next-hop command instructs the router to route the packet to the defined next-hop IP address if the destination IP is not found in the routing table.

Discussion

17 comments
Sign in to comment
Alex147Option: D
Dec 15, 2021

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.

StylarOption: D
Mar 27, 2023

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.

YaPetOption: D
Feb 19, 2022

D is correct

HungarianDishOption: D
May 27, 2023

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

HungarianDish
Jun 6, 2023

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

xziomal9Option: D
Apr 25, 2022

The correct answer is: D

IarnOption: D
May 6, 2022

The destination IP/Subnet is not in the routing table, NOT the next hop IP address.

EdwinmolinabOption: D
Jul 25, 2022

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

tipama7298Option: D
Oct 25, 2022

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.

RouterOption: D
Sep 12, 2022

d is the ans, policy base routing overrides the routing table

Noproblem22Option: D
Nov 16, 2022

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.

Pietjeplukgeluk
Jun 19, 2024

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)

anonymous1966Option: B
Apr 1, 2023

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

AinsBOption: A
May 23, 2023

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

SnoopDDOption: A
Oct 22, 2023

A is correct

Nate860000Option: D
Feb 2, 2024

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.

MasoudGhorbaniOption: D
Feb 26, 2024

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.

Omar0563
Apr 26, 2024

the language of the quiz not clear .. I think ..

SeMo0o0o0Option: D
Jul 16, 2024

it´s D