text stringlengths 0 6.55k |
|---|
Reviewing each link, left to right: |
■ PC1: The switch receives no autonegotiation messages, so it senses the electrical signal to learn that PC1 is sending data at 100 Mbps. The switch uses the IEEE default duplex based on the 100 Mbps speed (half duplex). |
■ PC2: The switch uses the same steps and logic as with the link to PC1, except that the 7 switch chooses to use full duplex because the speed is 1000 Mbps. |
■ PC3: The user picks poorly, choosing the slower speed (10 Mbps) and the worse duplex setting (half). However, the Cisco switch senses the speed without using IEEE autonego-tiation and then uses the IEEE duplex default for 10-Mbps links (half duplex). |
PC1 shows a classic and unfortunately common end result: a duplex mismatch. The two nodes (PC1 and SW1’s port G0/1) both use 100 Mbps, so they can send data. However, PC1, using full duplex, does not attempt to use carrier sense multiple access with collision detec-tion (CSMA/CD) logic and sends frames at any time. Swi... |
Autonegotiation and LAN Hubs |
LAN hubs also impact how autonegotiation works. Basically, hubs do not react to autonego-tiation messages, and they do not forward the messages. As a result, devices connected to a hub must use the IEEE rules for choosing default settings, which often results in the devices using 10 Mbps and half duplex. |
Figure 7-3 shows an example of a small Ethernet LAN that uses a 20-year-old 10BASE-T hub. In this LAN, all devices and switch ports are 10/100/1000 ports. The hub supports only 10BASE-T. |
|||||||||||||||||||| |
|||||||||||||||||||| |
162 CCNA 200-301 Official Cert Guide, Volume 1 |
1 1000 Full |
2 1000 Full SW1 |
Result: 10 Half |
Hub 1 |
Result: 10 Half |
Result: 10 Half |
3 |
4 |
Figure 7-3 IEEE Autonegotiation with a LAN Hub |
Note that the devices on the right need to use half duplex because the hub requires the use of the CSMA/CD algorithm to avoid collisions. |
NOTE If you would like to learn more about collision domains and the impact of these older LAN hubs, look to the companion website for Appendix K, “Analyzing Ethernet LAN Designs,” to the section titled “Ethernet Collision Domains.” |
Analyzing Switch Interface Status and Statistics |
Now that you have seen some of the ways to configure switch interfaces, the rest of the chapter takes a closer look at how to verify the interfaces work correctly. This section also looks at those more unusual cases in which the interface is working but not working well, as revealed by different interface status codes ... |
Interface Status Codes and Reasons for Nonworking States |
Cisco switches actually use two different sets of interface status codes—one set of two codes (words) that use the same conventions as do router interface status codes, and another set with a single code (word). Both sets of status codes can determine whether an interface is working. |
The switch show interfaces and show interfaces description commands list the two-code status named the line status and protocol status. The line status generally refers to whether Layer 1 is working, with protocol status generally referring to whether Layer 2 is working. |
NOTE This book refers to these two status codes in shorthand by just listing the two codes with a slash between them, such as up/up. |
The single-code interface status corresponds to different combinations of the traditional two-code interface status codes and can be easily correlated to those codes. For example, the show interfaces status command lists a single-word state of connected state for working interfaces, with the same meaning as the two-wor... |
interfaces and show interfaces description commands. Table 7-2 lists the code combinations and some root causes that could have caused a particular interface status. |
|||||||||||||||||||| Technet24 |
|||||||||||||||||||| |
Chapter 7: Configuring and Verifying Switch Interfaces 163 |
Table 7-2 LAN Switch Interface Status Codes |
Line Status Protocol Status |
Interface Typical Root Cause Status |
administratively down down |
disabled The shutdown command is configured on the interface. |
down down |
up down |
down down (err-disabled) |
up up |
notconnect |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.