Command Line Reference
Ethernet Switching
URPF Configuration
3 min
show interface urpf show interface urpf \[command] show interface urpf \[purpose] check the urfp enable mode for the interface \[view] system view \[use cases] sonic# show interface urpf interfaces status \ ip urpf {strict|loose} ip urpf {strict|loose} \[command] ip urpf {strict|loose} \[purpose] enable urpf mode on the interface \[parameter] parameter description strict not only requires verifying whether the traffic has a return route, but also verifying that the return interface matches the original ingress interface loose only checks whether there is a return route for the traffic; if one exists, the traffic is allowed through; if not, it is discarded \[view] interface configuration view \[usage scenario] enable the urpf feature at the traffic ingress interface to detect whether traffic has a return path, ensuring that the server is not overwhelmed by unknown traffic \[notes] after enabling the urpf feature in strict mode on an interface, direct connections to the router cannot be pinged, and ospf and bgp neighbors cannot establish connections normally after configuring the ecmp feature, enabling urpf on the interface does not take effect the urpf feature is only effective on the interface through which traffic enters \[use cases] sonic# configure sonic(config)# interface ethernet 1 sonic(config if 1)# ip urpf strict
