Cisco 7604-RSP720C-R Configuration Manual page 62

Nx-os interfaces
Table of Contents

Advertisement

Configuring the Basic Interface Parameters
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
interface interface
Example:
switch(config)# interface ethernet 2/1
switch(config-if)#
switch(config)# interface mgmt0
switch(config-if)#
Step 3
shutdown
Example:
switch(config-if)# shutdown
switch(config-if)#
Step 4
show interface interface
Example:
switch(config-if)# show interface ethernet 2/1
switch(config-if)#
Step 5
no shutdown
Example:
switch(config-if)# no shutdown
switch(config-if)#
Step 6
show interface interface
Example:
switch(config-if)# show interface ethernet 2/1
switch(config-if)#
Step 7
exit
Example:
switch(config-if)# exit
switch(config)#
Step 8
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
This example shows how to change the administrative status for Ethernet port 3/1 from disabled to
enabled:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# shutdown
switch(config-if)# no shutdown
switch(config-if)#
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
2-38
Chapter 2
Configuring Basic Interface Parameters
Purpose
Enters the global configuration mode.
Specifies the interface that you are configuring.
You can specify the interface type and identity.
For an Ethernet port, use "ethernet slot/port."
For the management interface, use "mgmt0."
Example 1 shows how to specify the slot 2, port
1 Ethernet interface.
Example 2 shows how to specify the
management interface.
Disables the interface.
Displays the interface status, which includes
the administrative status.
Reenables the interface.
Displays the interface status, which includes
the administrative status.
Exits the interface mode.
(Optional) Copies the running configuration to
the startup configuration.
OL-23435-03

Advertisement

Table of Contents
loading

Table of Contents