unicast reverse path forwarding (uRPF)
In Juniper Router, typically there are involves
- the
loose
or strict
options- rather than
feasible-path
.
Here's an example of how you might configure uRPF in a Juniper device:
# Enter configuration mode
configure
# Set uRPF to strict mode on an interface (e.g., ge-0/0/0)
set interfaces ge-0/0/0 unit 0 family inet rpf-check mode strict
# Commit the configuration
commit
In this example, the command sets uRPF to strict mode on the specified interface. Strict mode checks that the source address of a packet received on an interface exists in the routing table and has the same interface as the route.
You can also use loose
mode, which checks only if the source address is reachable via any route in the routing table, regardless of the interface. Here's an example:
# Enter configuration mode
configure
# Set uRPF to loose mode on an interface (e.g., ge-0/0/0)
set interfaces ge-0/0/0 unit 0 family inet rpf-check mode loose
# Commit the configuration
commit
Remember to replace ge-0/0/0
with the appropriate interface on your device.
Comments
Post a Comment