Setting The Interface Speed And Duplex Parameters - Cisco WS-C3020 Software Configuration Manual

Catalyst blade switch for hp
Table of Contents

Advertisement

Configuring Ethernet Interfaces

Setting the Interface Speed and Duplex Parameters

Beginning in privileged EXEC mode, follow these steps to set the speed and duplex mode for a physical
interface:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
speed {10 | 100 | 1000 | auto [10 | 100 |
1000] | nonegotiate}
Step 4
duplex {auto | full | half}
Step 5
end
Step 6
show interfaces interface-id
Step 7
copy running-config startup-config
Use the no speed and no duplex interface configuration commands to return the interface to the default
speed and duplex settings (autonegotiate). To return all interface settings to the defaults, use the default
interface interface-id interface configuration command.
This example shows how to set the interface speed to 100 Mb/s on a 10/100/1000 Mb/s port:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/21
Switch(config-if)# speed 100
For interfaces gi0/1 to gi0/16, speed and duplex settings do not apply, as they are only internal
Note
server-facing interfaces. For interfaces 17 to 20, speed and duplex do not apply when they are operating
in SFP module mode. For interfaces gi0/23 and gi0/24, speed and duplex do not apply when configured
for media-type internal. For more information, see the
page
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
9-16
9-3.
Purpose
Enter global configuration mode.
Specify the physical interface to be configured, and enter interface
configuration mode.
Enter the appropriate speed parameter for the interface:
Enter 10, 100, or 1000 to set a specific speed for the interface.
The 1000 keyword is available only for 10/100/1000 Mb/s ports.
Enter auto to enable the interface to autonegotiate speed with the
connected device. If you use the 10, 100, or the 1000 keywords
with the auto keyword, the port autonegotiates only at the
specified speeds.
The nonegotiate keyword is available only for SFP module ports.
SFP module ports operate only at 1000 Mb/s but can be
configured to not negotiate if connected to a device that does not
support autonegotiation.
For more information about speed settings, see the
Configuration Guidelines" section on page
Enter the duplex parameter for the interface.
Enable half-duplex mode (for interfaces operating only at 10 or
100 Mb/s). You cannot configure half-duplex mode for interfaces
operating at 1000 Mb/s.
For more information about duplex settings, see the
Duplex Configuration Guidelines" section on page
Return to privileged EXEC mode.
Display the interface speed and duplex mode configuration.
(Optional) Save your entries in the configuration file.
"Internal Gigabit Ethernet Ports" section on
Chapter 9
Configuring Interface Characteristics
"Speed and Duplex
9-15.
"Speed and
9-15.
OL-8915-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3020

Table of Contents