Cisco 7604-RSP720C-R Configuration Manual page 53

Nx-os interfaces
Table of Contents

Advertisement

Chapter 2
Configuring 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 1:
switch(config)# interface ethernet 2/1
switch(config-if)#
Example 2:
switch(config)# interface mgmt0
switch(config-if)#
Step 3
speed {{10 | 100 | 1000 | {auto [10 100
[1000]]}} | {10000 | auto}}
Example:
switch(config-if)# speed 1000
switch(config-if)#
Step 4
duplex {full | half | auto}
Example:
switch(config-if)# duplex full
Step 5
show interface interface
Example:
switch(config)# show interface mgmt0
Step 6
exit
Example:
switch(config-if)# exit
switch(config)#
Step 7
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
This example shows how to set the speed of Ethernet port 1 on the 48-port 10/100/1000 module in slot
3 to 1000 Mb/s and full-duplex mode:
OL-23435-03
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.
For Ethernet ports on the 48-port 10/100/1000
modules, sets the speed at 10 Mb/s, 100 Mb/s,
or 1000 Mb/s, or sets the port to autonegotiate
its speed with the other 10/100/1000 port on
the same link.
For Ethernet ports on the 32-port 10-Gigabit
Ethernet modules, sets the speed at 10,000
Mb/s (10 Gb/s) or sets the port to
autonegotiate its speed with the other
10-Gigabit Ethernet port on the link.
For management interfaces, sets the speed as
1000 Mb/s or sets the port to autonegotiate its
speed.
Specifies the duplex mode as full, half, or
autonegotiate.
Displays the interface status, which includes
the speed and duplex mode parameters.
Exits the interface mode.
(Optional) Copies the running configuration to
the startup configuration.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Configuring the Basic Interface Parameters
2-29

Advertisement

Table of Contents
loading

Table of Contents