•
Do not configure the allow-default-route keyword for loose uRPF check. Otherwise, uRPF
might fail to work.
To enable uRPF on an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable uRPF on the
interface.
Displaying and maintaining uRPF
Execute display commands in any view.
Task
Display uRPF configuration (centralized
devices in standalone mode).
Display uRPF configuration (distributed
devices in standalone mode/centralized
devices in IRF mode).
Display uRPF configuration (distributed
devices in IRF mode).
uRPF configuration example
Network requirements
As shown in
packets from network 10.1.1.0/24.
Configure strict uRPF check on GigabitEthernet 2/0/1 of Router A and allow using the default route
for uRPF check.
Figure 173 Network diagram
Configuration procedure
1.
Configure Router B:
# Define ACL 2010 to permit traffic from network 10.1.1.0/24.
<RouterB> system-view
[RouterB] acl basic 2010
[RouterB-acl-ipv4-basic-2010] rule permit source 10.1.1.0 0.0.0.255
[RouterB-acl-ipv4-basic-2010] quit
Figure
173, configure strict uRPF check on GigabitEthernet 2/0/1 of Router B and permit
Command
system-view
interface interface-type
interface-number
ip urpf { loose
[ allow-default-route ] [ acl
acl-number ] | strict
[ allow-default-route ] [ acl
acl-number ] [ link-check ] }
Command
display ip urpf [ interface interface-type interface-number ]
display ip urpf [ interface interface-type interface-number ]
[ slot slot-number ]
display ip urpf [ interface interface-type interface-number ]
[ chassis chassis-number slot slot-number ]
547
Remarks
N/A
N/A
By default, uRPF is disabled.