PurposeCommand or Action
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch(config-if)# copy
running-config startup-config
Step 5
This example shows how to set the interface description to Ethernet port 24 on module 3:
switch# configure terminal
switch(config)# interface ethernet 3/24
switch(config-if)# description Ethernet port 24 on module 3
switch(config-if)#
Configuring the Interface Speed and Duplex Modes
You can configure the interface speed and duplex modes.
Before You Begin
•
Log in to the CLI in EXEC mode.
•
The interface speed and duplex modes are interrelated, so you should configure both at the same time.
To see the speeds and duplex modes that you can configure together for Ethernet and management
interfaces, see Speed and Duplex Modes, on page 11.
The interface speed that you specify can affect the duplex mode used for an interface,
so you should set the speed before setting the duplex mode. If you set the speed for
autonegotiation, the duplex mode is automatically set to be autonegotiated. If you specify
a speed of 10 Mbps or 100 Mbps, the port is automatically configured to use half-duplex
mode, but you can specify full-duplex mode instead. If you specify a speed of 1000
Mbps (1 Gbps) or faster, full duplex is automatically used.
Note
•
Make sure that the remote port has a speed setting that supports your changes for the local port. If you
want to set the local port to use a specific speed, you must set the remote port for the same speed or set
the local port to automatically negotiate the speed.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the specified
interface.
switch(config)# interface
interface
Step 2
Designates the port speed as follows:switch(config-if)# speed {{10 |
100 | 1000 | {auto [10 100
[1000]]}} | {10000 | auto}}
Step 3
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
15
Configuring Interface Parameters
Configuring the Interface Speed and Duplex Modes