Configuring Unicast RPF for Cisco Nexus 9500 Switches with
-R Line Cards
You can configure unicast RPF on an ingress interface for Cisco Nexus 9500 Series switches with an -R line
card.
SUMMARY STEPS
1.
configure terminal
2.
interface ethernet slot
/
port
3.
{
ip
|
ipv6
}
address ip-address/length
4.
{
ip
|
ipv6
}
verify unicast source reachable-via any
5.
(Optional)
show ip interface ethernet slot
/
port
6.
(Optional)
show running-config interface ethernet slot
/
port
7.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Enters interface configuration mode.
interface ethernet slot
/
port
Example:
Step 2
switch(config)# interface ethernet 2/3
switch(config-if)#
Specifies an IPv4 or IPv6 address for the interface.
{
ip
|
ipv6
}
address ip-address/length
Example:
Step 3
switch(config-if)# ip address 172.23.231.240/23
Configures unicast RPF on the interface for both IPv4 and
IPv6.
{
ip
|
ipv6
}
verify unicast source reachable-via any
Example:
Step 4
When you enable uRPF for IPv4 or IPv6 (using
the
ip
or
ipv6
keywords), uRPF is enabled for
both IPv4 and IPv6.
Note
switch(config-if)# ip verify unicast source
reachable-via any
Displays the IP information for an interface.
(Optional)
show ip interface ethernet slot
/
port
Example:
Step 5
switch(config)# show ip interface ethernet 2/3
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
443
Configuring Unicast RPF
Configuring Unicast RPF for Cisco Nexus 9500 Switches with -R Line Cards