Send document comments to nexus7k-docfeedback@cisco.com.
2-9
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 2 Configuring IPv4
Configuring IPv4
Configuring a Static ARP Entry
You can configure a static ARP entry on the device to map IP addresses to MAC hardware addresses,
including static multicast MAC addresses.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. interface ethernet number
3. ip arp ipaddr mac_addr
4. copy running-config startup-config
DETAILED STEPS
Step 3
ip address
ip-address/length
[secondary]
Example:
switch(config-if)# ip address 192.2.1.1
255.0.0.0 secondary
Specifies the configured address as a secondary IPv4
address.
Step 4
show ip interface
Example:
switch(config-if)# show ip interface
(Optional) Displays interfaces configured for IPv4.
Step 5
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
Command Purpose
Step 1
config t
Enters configuration mode.
Step 2
interface ethernet
number
Example:
switch(config)# interface ethernet 2/3
switch(config-if)#
Enters interface configuration mode.