Purpose
Command or Action
switch(config-if)# exit
switch(config)#
Displays the IP information for an interface and verifies if
Unicast RPF is enabled.
(Optional)
show ip interface ethernet slot/port
Example:
Step 7
switch(config)# show ip interface ethernet 1/54 |
grep -i "unicast reverse path forwarding"
IP unicast reverse path forwarding: none
Displays the configuration for an interface in the running
configuration.
(Optional)
show running-config interface ethernet
slot/port
Example:
Step 8
switch(config)# show running-config interface
ethernet 2/3
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 9
switch(config)# copy running-config startup-config
Configuration Examples for Unicast RPF
The following example shows how to configure loose unicast RPF for IPv4 packets on a Cisco Nexus 9500
Series switch with an -R line card:
interface Ethernet2/3
ip address 172.23.231.240/23
ip verify unicast source reachable-via any
The following example shows how to configure loose unicast RPF for IPv6 packets on a Cisco Nexus 9500
Series switch with an -R line card:
interface Ethernet2/1
ipv6 address 2001:0DB8:c18:1::3/64
ipv6 verify unicast source reachable-via any
The following example shows how to configure loose unicast RPF for IPv4 packets on a Cisco Nexus 9300
platform switch:
no system urpf disable
interface Ethernet2/3
ip address 172.23.231.240/23
ip verify unicast source reachable-via any
The following example shows how to configure loose unicast RPF for IPv6 packets on a Cisco Nexus 9300
platform switch:
no system urpf disable
interface Ethernet2/1
ipv6 address 2001:0DB8:c18:1::3/64
ipv6 verify unicast source reachable-via any
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
446
Configuring Unicast RPF
Configuration Examples for Unicast RPF