The ip urpf command enables the URPF check on the specified interface.
The undo ip urpf command disables the URPF check on the specified interface.
Parameter |
Description |
Value |
|---|---|---|
| loose | Indicates that URPF performs loose check. | - |
| strict | Indicates that URPF performs strict check. | - |
| allow-default-route | Indicates that default routes are allowed to be processed
specially. That is, the default route is matched when the reverse
route lookup is implemented based on the source IP address of the
packet. The packet is processed as follows:
|
- |
| acl-number | Specifies the ACL number. If the URPF denies the packet, the FW continues to match the ACL. If the packet matches the permit rule of the ACL, the device forwards the packet. | You can specify either of the following ACLs:
|
Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, VLANIF interface view, Tunnel interface view, Virtual-Template interface view
By default, the URPF check is disabled.
The URPF check is performed as follows:
If the source IP address of the packet exists in the FIB of the router:
If the source IP address of the packet does not exist in the FIB of the router, check the default route and the allow-default-route parameter of URPF.
If the default route is configured, but the allow-default-route parameter is not specified:
As the source IP address of the packet does not exist in the FIB of the router, the packet is denied regardless of whether the URPF check is in strict or loose mode.
If the default route is configured, and the allow-default-route parameter is specified: