Cisco 7604-RSP720C-R Configuration Manual page 121

Nx-os interfaces
Table of Contents

Advertisement

Chapter 4
Configuring Layer 3 Interfaces
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
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
feature interface-vlan
Example:
switch(config)# feature interface-vlan
Step 3
interface vlan number
Example:
switch(config)# interface vlan 10
switch(config-if)#
Step 4
no shutdown
Example:
switch(config-if)# no shutdown
Step 5
management
Example:
switch(config-if)# management
Step 6
ip address ip-address/length
Example:
switch(config-if)# ip address
192.0.2.1/8
Step 7
show interface vlan number
Example:
switch(config-if)# show interface vlan
10
Step 8
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
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
OL-23435-03
Purpose
Enters configuration mode.
Creates a loopback interface. The range is from 0 to
1023.
Creates a VLAN interface. The number range is from
1 to 4094.
Note
Configure the VLAN and add the interfaces.
Brings an interface administratively up (enable/disable
an interface).
Allows in-band management access to a VLAN
interface IP address.
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.
(Optional) Displays the Layer 3 interface statistics.
(Optional) Saves this configuration change.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Configuring Layer 3 Interfaces
4-13

Advertisement

Table of Contents
loading

Table of Contents