Information Technology Reference
In-Depth Information
Configure autonegotiation for port 1/1 on both switches.
Determine whether the speed and duplex mode are set to autonegotiate.
Change the speed on port 1/1 in Switch A to 10 Mb.
Understand the meaning of the “a-” prefix on the Duplex and Speed status fields.
View the duplex status of port 1/1 on Switch B.
Understand the duplex mismatch error.
Understand the spanning-tree error messages.
Change the duplex mode to half on port 1/1 on Switch A.
Set the duplex mode and speed of port 1/1 on Switch B.
Restore the default duplex mode and speed to ports 1/1 on both switches.
View the changes of the port status on both switches.
The following steps are performed on the console of a Catalyst 5K switch.
Step 1
The show port capabilities 1/1 command displays the capabilities of a Ethernet 10/100BaseTX 1/1 port
on Switch A.
Enter this command for both of the ports that you are troubleshooting. Both ports must support the speed
and duplex capabilities shown here if they are supposed to be using autonegotiation.
The italic text in the output shows where the information on the speed and duplex mode capabilities will
be found.
Switch-A> (enable) show port capabilities 1/1
Model WS-X5530
Port 1/1
Type 10/100BaseTX
Speed auto,10,100
Duplex half,full
Step 2
Autonegotiation is configured for both speed and duplex mode on port 1/1 of both switches by entering
the set port speed 1/1 auto command (auto is the default for ports that support autonegotiation).
Switch-A> (enable) set port speed 1/1 auto
Port(s) 1/1 speed set to auto detect.
Switch-A (enable)
The set port speed {mod_num/port_num} auto command also sets the duplex
mode to auto. There is no set port duplex {mod_num/port_num} auto command .
Note
The show port 1/1 command below displays the status of ports 1/1 on switches A and B.
Step 3
Switch-A> (enable) show port 1/1
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
1/1 connected 1 normal a-full a-100 10/100BaseTX
Switch-B> (enable) show port 1/1
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- -----------
1/1 connected 1 normal a-full a-100 10/100BaseTX
The italic text in this output shows where the information on the current status of a port can be found.
Note that most of the normal output from the show port {mod_num/port_num} command has been
omitted.
Search WWH ::




Custom Search