63
ip urpf
Syntax
View
Parameter
Description
Example
URPF C
ONFIGURATION
ip urpf { loose | strict } [ allow-default-route ] [ acl acl-number ]
undo ip urpf
Interface view
loose: Specifies the loose URPF check.
strict: Specifies the strict URPF check.
allow-default-route: Allows special treatment to default route.
acl-number: ACL number, in the range of 2000 to 3999.
For a basic ACL, the value ranges from 2000 to 2999.
■
For an advanced ACL, the value ranges from 3000 to 3999.
■
Use the
command to enable URPF check on the interface.
ip urpf
Use the
undo ip urpf
By default, URPF check is disabled.
# Enable strict URPF check on interface Ethernet 1/0, allowing special treatment to
default route, and referencing ACL 2999.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] ip urpf strict allow-default-route acl 2999
# Enable loose URPF check on interface Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ip urpf loose
command to disable this function.
C
OMMANDS