Setting Ethernet And Fast Ethernet Port Duplex Modes - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 4
Configuring Ethernet and Fast Ethernet Switching
Make sure that the device on the other end of the link is also configured for autonegotiation, or a port
Caution
speed or duplex mismatch will result.
If the port speed is set to auto on a 10/100-Mbps Fast Ethernet port, both speed and duplex are
Note
autonegotiated.
To set the port speed for a 10/100-Mbps port, perform this task in privileged mode:
Task
Step 1
Set the port speed of a 10/100-Mbps Fast Ethernet
port.
Step 2
Verify that the speed of the port is configured
correctly.
This example shows how to set the port speed to 100 Mbps on port 2/2:
Console> (enable) set port speed 2/2 100
Port 2/2 speed set to 100 Mbps.
Console> (enable)
This example shows how to make port 2/1 autonegotiate speed and duplex with the neighbor port:
Console> (enable) set port speed 2/1 auto
Port 2/1 speed set to auto-sensing mode.
Console> (enable)

Setting Ethernet and Fast Ethernet Port Duplex Modes

You can set the port duplex mode to full or half duplex for Ethernet and Fast Ethernet ports.
If the port speed is set to auto on a 10/100-Mbps Fast Ethernet port, both speed and duplex are
Note
autonegotiated. You cannot change the duplex mode of ports that are configured for autonegotiation. For
information on enabling and disabling autonegotiation on 10/100 Fast Ethernet ports, see the
Ethernet and Fast Ethernet Port Speeds" section on page
To set the duplex mode of a port, perform this task in privileged mode:
Task
Step 1
Set the duplex mode of a port.
Step 2
Verify that the duplex mode of the port is
configured correctly.
This example shows how to set the duplex mode to half duplex on port 2/1:
Console> (enable) set port duplex 2/1 half
Port 2/1 set to half-duplex.
Console> (enable)
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Configuring Ethernet and Fast Ethernet Ports
Command
set port speed mod num/port num {10 | 100 |
auto}
show port [mod_num [/port_num]]
4-4.
Command
set port duplex mod num/port num {full | half}
show port [mod_num [/port_num]]
"Setting
4-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents