Send document comments to nexus7k-docfeedback@cisco.com
4-13
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 4 Configuring Layer 3 Interfaces
Configuring Layer 3 Interfaces
DETAILED STEPS
This example shows how to create an inband management in the Cisco Nexus 7000 chassis:
switch# configure terminal
switch(config)# feature interface-vlan
switch(config)# interface vlan 5
switch(config)# no shutdown
switch(config)# management
switch(config-if)# ip address 192.0.2.1/8
switch(config-if)# copy running-config startup-config
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
feature interface-vlan
Example:
switch(config)# feature interface-vlan
Creates a loopback interface. The range is from 0 to
1023.
Step 3
interface vlan number
Example:
switch(config)# interface vlan 10
switch(config-if)#
Creates a VLAN interface. The number range is from
1 to 4094.
Note Configure the VLAN and add the interfaces.
Step 4
no shutdown
Example:
switch(config-if)# no shutdown
Brings an interface administratively up (enable/disable
an interface).
Step 5
management
Example:
switch(config-if)# management
Allows in-band management access to a VLAN
interface IP address.
Step 6
ip address ip-address/length
Example:
switch(config-if)# ip address
192.0.2.1/8
Configures an IP address for this VLAN interface. See
the Cisco Nexus 7000 Series NX-OS Unicast Routing
Configuration Guide, Release 5.x, for more
information on IP addresses.
Step 7
show interface vlan number
Example:
switch(config-if)# show interface vlan
10
(Optional) Displays the Layer 3 interface statistics.
Step 8
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
(Optional) Saves this configuration change.