Skip to content
Ask AI

uRPF Configuration

[Command] show interface urpf

[Purpose] View interface URPF configuration

[View] System View

[Use Cases]

Terminal window
sonic# show interface urpf
+-----------------+----------+
| Interfaces | Status |
+=================+==========+
| Ethernet1 | strict |
+-----------------+----------+
| Vlan123 | strict |
+-----------------+----------+
| PortChannel0001 | loose |
+-----------------+----------+

[Command] ip urpf {strict|loose} no ip urpf

[Purpose] Configure interface URPF function

[Parameter]

ParameterDescription
strictStrict mode, not only checks whether the traffic has a return route, but also verifies whether the return interface is the same as the initial incoming interface of the traffic
looseLoose mode, only checks whether the traffic has a return route; if it exists, the traffic is permitted; if not, it is discarded

[View] Interface View、LAG View、VLANIF View

[Usage Scenario] Enable the URPF function on the traffic incoming interface to verify whether the traffic has a return route, ensuring that the server is not impacted by unknown traffic.

[Use Cases]

Terminal window
sonic(config)# interface ethernet 1
sonic(config-if-1)# ip urpf strict