Configuring Multiple Ip Addresses - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring IPv4
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
Step 4
show ip interface
Example:
switch(config-if)# show ip interface
Step 5
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
This example shows how to assign an IPv4 address:
switch# config t
switch(config)# interface ethernet 2/3
switch(config-if)# ip address 192.2.1.1 255.0.0.0
switch(config-if)# copy running-config startup-config

Configuring Multiple IP Addresses

You can only add secondary IP addresses after you configure primary IP addresses.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
5.
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
interface ethernet number
Example:
switch(config)# interface ethernet 2/3
switch(config-if)#
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
2-8
config t
interface ethernet number
ip address ip-address/length
show ip interface
copy running-config startup-config
Purpose
(Optional) Displays interfaces configured for IPv4.
(Optional) Saves this configuration change.
Purpose
Enters configuration mode.
Enters interface configuration mode.
Chapter 2
Configuring IPv4
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents