beautypg.com

2 ip urpf enable – PLANET XGS3-24040 User Manual

Page 279

background image

17-37

17.4.2 ip urpf enable

Command:

ip urpf enable {loose | strict} {allow-default-route}

no ip urpf enable

Function:

Enable the URPF function on the port.

Parameters:

loose:the loose mode;

strict:the strict mode;

allow-default-route:allow the default route.

Command mode:

Port Mode

Default:

The URPF function is disabled on the port by default.

Usage Guide:

Users should specify the mode: loose or strict.

Example:

Switch(config)#interface ethernet 1/4

Switch(Config-If-Ethernet1/4)#ip urpf enable strict

Switch(Config-If-Ethernet1/4)#interface ethernet 1/5

Switch(Config-If-Ethernet1/5)#ip urpf enable loose

Switch(Config-If-Ethernet1/5) #interface ethernet 1/6

Switch(Config-If-Ethernet1/6)#ip urpf enable loose allow-default-route

Switch(Config-If-Ethernet1/6)#interface ethernet 1/7

Switch(Config-If-Ethernet1/7)#ip urpf enable strict allow-default-route