© Chris Carthern and William Wilson and Noel Rivera 2021
C. Carthern et al.Cisco Networkshttps://doi.org/10.1007/978-1-4842-6672-4_2

2. The Physical Medium

Chris Carthern1  , William Wilson2 and Noel Rivera3
(1)
Bangkok, Krung Thep, Thailand
(2)
FPO, AP, USA
(3)
APO, AE, USA
 

Have you ever troubleshot a network issue for hours, racking your brain, only to find out that someone pulled a cable slightly out of the port while working in a rack? This chapter focuses on problems at layer 1—the physical layer—and how this layer is overlooked when network problems are experienced. A common example is a cable with a loose connection. I once left a network down for two days before actually looking at the port to determine the issue, which was a cable with a loose connection. It is very easy for you to blame your commercial carrier, but before you do so, you should exhaust all fault possibilities. This chapter discusses the importance of the physical medium in network design. Topics begin with the physical medium, including transmission media such as copper, coaxial cable, and fiber-optic cable and the standards associated with each. Next, the Ethernet, duplex communication systems, autonegotiation, Unidirectional Link Detection (UDLD), and common issues associated with layer 1 are covered.

Layer 1

The physical medium , or transmission medium, refers to the way in which data is transferred across networks. Think of the physical medium as a highway connecting cities, states, countries, and continents. The physical medium allows data to travel along a series of highways to reach its destination. Transmission media provide a way for data to be transmitted from sender to destination, but they do not guarantee the delivery of data. Media can be solid or wireless. Copper cable and optical fiber are examples of transmission media. Data can be transmitted through an optical fiber, a coaxial cable, waveguides, or a twisted pair wire.

When data is transmitted from sender to receiver, it is coded as binary numbers by the sender. Next, a carrier signal is modulated as stated in the specification of the binary representation of the data. At the destination, the signal received is demodulated into binary numbers. Finally, the binary numbers are decoded. A simple definition for the transmission medium is the path that signals propagate for data communications. Transmission media can be categorized as guided or wireless:
  • Guided: Data is transmitted and received as waves guided along a solid medium. Also known as bounded.

  • Wireless: Data is transmitted and received by using an antenna. Also known as unbounded.

Copper wire is one of the most common transmission media used in computer networks. Copper carries data and signals over long distances while using low amounts of power. Fiber-optic cable is another common transmission medium that is used for long-distance communications. Fiber-optic cable, or optical fiber, is a thin tube of glass; and light is reflected off the interior of the tube to its destination. Fiber-optic cable has benefits over copper wire because it has higher data rates and, therefore, it can be used over greater distances. Optical fiber can carry much more data than copper, and it can be run for hundreds of miles without needing repeaters, which improves the reliability of the transmission since repeaters commonly fail. Fiber is also not susceptible to electromagnetic interference (EMI); thus, it is less susceptible to corruption of data by other electronics, power cables, or other sources of EMI.

Multi-mode (MM) and single-mode (SM) are two common types of fiber-optic cable. Multi-mode fiber can be either 62.5 microns or 50 microns in diameter, and single-mode fiber is 9 microns. Multi-mode fiber is used for shorter distances up to 2 kilometers. Single-mode fiber is used for long distances; it can carry signals over several kilometers. Examples of wireless signals include microwave, radio, and infrared.

The following are the three types of transmission:
  • Simplex : Signals can only be transmitted in one direction; one side is the sender and the other is the receiver. It is like driving on a one-way street.

  • Half duplex: Both sides may transmit data but can only do so one at a time. Imagine a traffic cop directing traffic in one direction at a time.

  • Full duplex: Both sides may transmit and receive data at the same time simultaneously. The medium carries signals in both directions simultaneously. An example of this would be a two-way street.

Standards

Physical medium standards are defined by
  • The American National Standards Institute (ANSI)

  • The International Telecommunication Union (ITU)

  • National telecommunications authorities (e.g., the FCC)

  • The Electronics Industries Alliance/Telecommunications Industry Association (EIA/TIA)

  • The Institute of Electrical and Electronics Engineers (IEEE)

  • The International Organization for Standardization (ISO)

These organizations help define
  • The mechanical properties of connectors

  • The signals represented by bits

  • Control information signals

  • The electrical and physical properties of media

Standards at the physical layer define hardware components such as network adapters, cable materials and designs, connectors, and interfaces. If these standards did not exist, common Ethernet cables would not be created with RJ45 connectors, and cables would not fit universally, such as in computer network interface cards (NICs) . Figure 2-1 displays an RJ45 connector; its properties are defined by standards to include the pinouts for the appropriate cable.
../images/336497_2_En_2_Chapter/336497_2_En_2_Fig1_HTML.jpg
Figure 2-1.

RJ45 connector with pinout. (Photo copyright: Georgios Alexandris | Dreamstime.​com)

Cables

The backbone of any network is the network cabling. This section discusses many different types of cabling, as well as the purposes they serve in a network. The major transmission medium types are twisted pair, coaxial, and fiber-optic cables. Determining the cabling to be used on a network depends on the traffic requirements, network topology, cost considerations, network maintenance, and the size of the network.

Twisted Pair Cable

A twisted pair cable contains two or more pairs of conductors that are twisted together within a cable. It is typically less expensive than fiber-optic cable and coaxial cable. An Ethernet cable has four pairs of twisted wires color-coded in blue, brown, green, and orange. Twisted pair cabling can be attached to registered jack (RJ) connectors or hardwired to endpoints. RJ45 connectors like the one seen in Figure 2-1 are the most common connectors used today. They are larger versions of the RJ11 connector used for analog telephones. Your laptop or workstation is made to accept an RJ45 connector in its Ethernet port. Each pair has one striped and one solid wire. The following are the wire colors:
  • Blue

  • White/blue

  • Orange

  • White/orange

  • Brown

  • White/brown

  • Green

  • White/green

The following are the two main types of twisted pair cabling:
  • Unshielded twisted pair (UTP): This type of cabling (see Figure 2-2) is one of the most widely used types of copper cabling in computer networks today. UTP cable is relatively cheap, but it does not offer support for electrical interference protection. Bandwidth is also limited when compared to other types of cables.

../images/336497_2_En_2_Chapter/336497_2_En_2_Fig2_HTML.jpg
Figure 2-2.

Example of unshielded twisted pair cable. (Photo copyright: P B | Dreamstime.​com)

  • Shielded twisted pair (STP): This type of cabling (see Figure 2-3) is used in networks where faster data rates are needed. STP cable is similar to UTP cable, with the exception that it has extra metal shield wrapping around the pairs to help protect from EMI. The conductors can be shielded individually or as a group.

../images/336497_2_En_2_Chapter/336497_2_En_2_Fig3_HTML.jpg
Figure 2-3.

Shielded twisted pair cable. (Photo copyright: Sergio Bertino | Dreamstime.​com)

Table 2-1 displays the different twisted pair category (CAT) ratings along with the maximum data rates they can support. It also shows the applications used with each cabling category. CAT 5E supports 1 Gbps. CAT 7 supports up to 100 Gbps at 15 meters and 40 Gbps at 50 meters.
Table 2-1.

Twisted Pair Category Ratings

Category

Maximum Data Rate

Applications Used

CAT 1

<1 Mbps

Analog voice (POTS), basic rate ISDN

CAT 2

4 Mbps

Token ring networks

CAT 3

16 Mbps

Voice and data and basic telephone service

CAT 4

20 Mbps

Used for 16 Mbps token ring

CAT 5

100 Mbps–1 Gbps

10BASE-T, 100BASE-T (Fast Ethernet), GigE, FDDI, 155 Mbps ATM

CAT 5E

1 Gbps

FDDI, ATM

CAT 6

1 Gbps

Broadband applications

CAT 7

10–100 Gbps

Data center design

CAT 8

Emerging technology

Details to be released later

Coaxial Cable

Coaxial cable has a single inner conductor or group of conductors twisted with one another to form one core within the cable. The core is wrapped in a plastic sleeve, and on top of that is a braided metal shielding, wrapped in a heavy plastic coating (see Figure 2-4). Today, coaxial cable is mostly used for television connections; however, it is increasingly used to provide Internet services for cable service providers supporting a maximum data rate of 100 Mbps.
../images/336497_2_En_2_Chapter/336497_2_En_2_Fig4_HTML.jpg
Figure 2-4.

Coaxial cable. (Photo copyright: Ra3rn | Dreamstime.​com)

Fiber-Optic Cabling

As mentioned, fiber-optic cabling is comprised of thin strands of glass that can carry data over very long distances. Multistrand fibers are grouped together to form the cable core, which is wrapped in a cladding that reflects light to the core, as shown in Figure 2-5. The cable also has an outer wrap known as a coating that helps protect the core from being damaged. Advances in fiber cabling have allowed for increases in the distance that data can travel between endpoints, with speeds as fast as light. Light signals can be transmitted up to speeds of 40 Gbps and are not affected by electromagnetic interference. Fiber-optic cables operate by transmitting reflected light from sender to destination.
../images/336497_2_En_2_Chapter/336497_2_En_2_Fig5_HTML.jpg
Figure 2-5.

Fiber-optic cable. (Photo copyright: Bluebay2014 | Dreamstime.​com)

The two main types of fiber-optic cable are single-mode (SM) fiber and multi-mode (MM) fiber:
  • Single-mode fiber : These cables only carry a single beam of light. This makes SM fiber more reliable than MM fiber, and it can support longer distances and more bandwidth. SM cable can transmit longer due to the propagation mode, in which the smaller angle of the beam can travel farther before it hits the edge of the core. The bulk cost of SM cabling is less expensive than MM cabling.

  • Multi-mode fiber : MM cabling is used for shorter distances. There are multiple beams of light, hence the name multi-mode fiber. MM fiber requires less precise light sources but travels shorter distances than SM fiber; thus, the cable supports lower speeds than SM fiber. MM fiber can support data rates up to 40 Gbps and can support distances up to 860 meters. The distances supported depend on the type of cable. For instance, OM1 fiber can support up to 275 meters at 1 Gb and 33 meters at 10 Gb. OM2 can support up to 550 meters at 1 Gb and 82 meters at 10 Gb. OM3 can support up to 860 meters at 1 Gb, 300 meters at 10 Gb, and 100 meters at 40 Gb. OM4 can support up to 860 meters at 1 Gb, 400 meters at 10 Gb, and 100 meters at 40 Gb.

Fiber-Optic Transmission Rates

Optical carrier rates are defined by specifications and are transmitted over Synchronous Optical Networking (SONET) and Synchronous Digital Hierarchy (SDH) fiber networks. SONET was developed by Telcordia and ANSI, while SDH was developed by the European Telecommunications Standards Institute (ETSI). Transmission rates are defined by the rate of the bitstream of the signal, where the number is a multiple of the base unit of 51.84 Mbps. Speed can be defined as OCn where n = n × 51.84. SONET transmission rates are represented by Synchronous Transport Signal 1 (STS-1). STS-1 (OC-1) is the base of the SONET network at 51.82 Mbps. The base of SDH is STM-1 (OC-3), which operates at 155.52 Mbps. Companies purchase fiber-optic lines for the following benefits:
  • Leased lines are more reliable because of higher-grade hardware and because they do not suffer from electrical interference.

  • Providers monitor your lines, and problems are identified sooner.

  • Leased lines usually include service-level agreements (SLAs) and service-level guarantees (SLGs) that contain requirements for uptime. For example, an SLA may state that within 2 hours of identifying a problem, the provider will have your communication lines back online.

Table 2-2 lists optical carrier specifications for fiber-optic standards, along with transmission rates.
Table 2-2.

Fiber-Optic Standards

Optical Carrier Specifications

Transmission Rate

OC-1

51.84 Mbps

OC-3

155.52 Mbps

OC-12

622.08 Mbps

OC-24

1.244 Gbps

OC-48

2.488 Gbps

OC-192

10 Gbps

OC-256

13.271 Gbps

OC-768

40 Gbps

Wireless Communication

Wireless networks have become the norm today. Even though many networks are wireless, wireless controllers need physical connectivity at their backbone. It is very common these days to sit in a coffee shop and connect to the Wi-Fi network. In fact, most places today offer wireless networks including airplanes. Wireless communication happens when signals are transmitted and received using antennas, microwave stations, infrared light, and satellites. Data is transmitted through the air in wireless networks. Most companies today offer wireless corporate networks to include bring your own devices to connect to the network. We will discuss wireless network configuration in Chapter 20.

Ethernet

Ethernet is a local area network architecture developed by the Xerox Corporation. The Ethernet specification is the basis of the IEEE 802.3 standard, which specifies physical and data link layers. Fast Ethernet and Gigabit Ethernet support data rates of 100 Mbps up to 1 gigabit. Ethernet is the most widely used network standard in the world. Typically, Ethernet is used to support local network deployments, but distances supported by the Ethernet have increased by kilometers.

Duplex

As mentioned earlier, a duplex communication system consists of two endpoint devices that communicate with one another in both directions. Full duplex and half duplex were mentioned earlier. Now let’s take a deeper look at them and a simplex system:
  • Full duplex: Both systems can communicate with one another simultaneously. An example of this would be an instant messenger or cellphone. Both systems can send messages and speak at the same time, as well as be seen and heard simultaneously.

    Two-way radios can be designed to transmit on one frequency and receive on another, making it a full-duplex system. This is referred to as frequency division duplex. Full-duplex connections via the Ethernet use two physical pairs of twisted cable: one pair is used to receive data and the other to transmit data for simultaneous communication.

  • Half duplex: One system can communicate with the other only when the other is not communicating. Communication takes place one direction at a time and cannot occur simultaneously. An example of this is a push-to-talk radio similar to Sprint mobile phones or walkie-talkies. When one person wants to speak, they push the talk button, which allows the device to transmit but does not allow it to receive. If they would like the receiver to be on, then they must release the talk button to listen to the other person.

  • Simplex: Systems that are not duplex are simplex, which means that only one device can transmit while the others listen. Examples include baby monitors, video monitoring, microphones, radio, televisions, and public announcement systems.

The following are the advantages of a full-duplex system:
  • The cable is collision-free and doubles the data capacity on the connection.

  • Time is not wasted because no frames need to be retransmitted since there are no collisions.

  • End units do not have to wait for each other to finish transmitting, as sending and receiving data are split between different twisted pairs.

  • The data capacity is doubled and increased due to the fact that sending and receiving traffic are separated. The following text displays the duplex being set on a router:

IOU1(config)#int ethernet 0/0
IOU1(config-if)#dupl
IOU1(config-if)#duplex ?
  auto  Enable AUTO duplex configuration
  full  Force full duplex operation
  half  Force half-duplex operation
IOU1(config-if)#duplex full

Time Division Duplexing

Time division duplexing uses time division to break up transmit and receive signals. It emulates full-duplex communication on half-duplex communication links. Time division duplexing is asymmetric on receive and transmit data rates. The rates of each can be changed dynamically if the amount of data is increased or decreased for receiving or transmitting. Examples include DSL, TDMA, and carrier sense multiple access packet switched networks.

Frequency Division Duplexing

Frequency division duplexing operates by having the sender and receiver use different carrier frequencies. This allows an endpoint to receive and transmit data at the same time by not sending data on the same frequency that it receives data on.

The following are the benefits of frequency division duplexing:
  • It is more efficient because the communications are symmetric and simultaneous.

  • Bandwidth is not wasted and has less latency than that in time division duplexing.

  • The communications do not interfere with one another because signals are transmitted and received on different frequencies.

Autonegotiation

Imagine you need to set up a meeting with a prospective employer from Japan and you live in Alaska. You need to agree on a method of communication, and you declare that you have options such as Skype, Zoom, Microsoft Teams, FaceTime, and a cellular phone. Your employer says that they have Skype, an international cellular phone, and a landline. You agree on Skype as the preferred communication. This is similar to autonegotiation. Autonegotiation is a process of the Ethernet where two connected devices choose a common set of transmission parameters that include speed, duplex mode, and flow control. The two network devices that are connected send each other messages to share which parameters they are capable of supporting and then choose the highest-performance transmission mode that both devices support. Autonegotiation occurs at the first layer of the OSI model, the physical layer.

Autonegotiation allows devices to choose different transmission rates and duplex modes, including half duplex and full duplex. Higher speeds are always preferred, and full duplex is always preferred over half duplex based on the shared capabilities offered by each network device. Parallel detection is used when one of the connected devices does not have autonegotiation enabled or does not support it. In these cases, the device with autonegotiation enabled determines and chooses a speed that matches the device it is connected to. Full duplex cannot be assumed, which is why half duplex is always chosen. Standards for 1000BASE-T, 1000BASE-TX, and 10GBASE-T state that autonegotiation must be enabled.

Now let’s look at an example of setting the speed and duplex on the router. The following is an example of configuring a router for full duplex with a speed of 100 Mbps:
R2(config-if)#int f0/0
R2(config-if)#no shut
R2(config-if)#duplex ?
 auto Enable AUTO duplex configuration
 full Force full duplex operation
 half Force half-duplex operation
R2(config-if)#duplex full
R2(config-if)#speed ?
 10  Force 10 Mbps operation
 100  Force 100 Mbps operation
 auto Enable AUTO speed configuration
R2(config-if)#speed 100
R2#sh int f0/0
FastEthernet0/0 is up, line protocol is up
 Hardware is Gt96k FE, address is c402.484c.0000 (bia c402.484c.0000)
 MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
   reliability 255/255, txload 1/255, rxload 1/255
 Encapsulation ARPA, loopback not set
 Keepalive set (10 sec)
 Full-duplex, 100Mb/s, 100BaseTX/FX
Let’s look at an example of setting up autonegotiation on the other router, and the router negotiates to half duplex and 10 Mbps:
R1(config-if)#int f0/0
R1(config-if)#duplex auto
R1(config-if)#speed auto
*Mar 1 00:08:55.523: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:08:59.967: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
R1#sh int f0/0
FastEthernet0/0 is up, line protocol is up
 Hardware is Gt96k FE, address is c401.4f4c.0000 (bia c401.4f4c.0000)
 MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
   reliability 255/255, txload 1/255, rxload 1/255
 Encapsulation ARPA, loopback not set
 Keepalive set (10 sec)
 Half-duplex, 10Mb/s, 100BaseTX/FX
 ARP type: ARPA, ARP Timeout 04:00:00
 Last input 00:00:18, output 00:00:04, output hang never
 Last clearing of "show interface" counters never
 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Physical medium: Autonegotiation
Note

In both of the preceding examples, the routers should be set to autonegotiation or duplex, and speed must be set to the same parameters for both routers to negotiate to full duplex and 100 Mbps.

Unidirectional Link Detection

Unidirectional Link Detection (UDLD) is a data link layer protocol by Cisco that works with layer 1 to monitor the status of a physical link and detect a unidirectional link. UDLD was made to complement the Spanning Tree Protocol (STP), which is used to prevent layer 2 switching loops in a network. STP creates a loop-free topology by blocking one or more ports from participating in the network. STP is covered later in the book.

UDLD detects the identities of neighbors and shuts down misconnected ports. UDLD works with autonegotiation to prevent physical and logical unidirectional connections and protocol malfunctions. A neighboring switch must have UDLD enabled on its ports to exchange protocol packets. Each device sends UDLD protocol packets that have the device/port ID.

An echo of the switch should be received on the port that sent out the UDLD protocol packets, allowing the switch to receive packets with its device ID. If a port does not receive a UDLD packet for a specified duration, the switch considers the link unidirectional. After the link is labeled as unidirectional, the port is disabled until it is manually reenabled or until the timeout expires.

Common Issues

This section focuses on some of the issues that you may encounter when dealing with layer 1, including duplex mismatches and poorly made cables and bad connectors.

Duplex Mismatch

Duplex mismatches can occur when network devices are manually set to full duplex while the other is set to half duplex or autonegotiation fails. Duplex mismatches can be difficult to diagnose if the network is sending and receiving simple traffic. If your network is bogged down or running slower than usual, make sure that all of your connections are set or have negotiated to full duplex.

Duplex mismatch can also occur when one device is set to autonegotiation while the other is set to full duplex. The network device with autonegotiation set can set the speed appropriately, but it cannot determine the correct duplex mode. Your network device will also let you know in its log messages if there is a duplex mismatch. Most manufacturers of Ethernet equipment recommend enabling autonegotiation on your network devices.

Even if there is a duplex mismatch, traffic will still flow over the connection. For this reason, simple packets such as a ping cannot detect duplex mismatches. If an application that sends a large amount of data is being used, the network speed will slow down to very low speeds. The side of the link that is set to full duplex can send and receive data simultaneously, but the side set to half duplex can only send traffic when it is not receiving traffic. The side that is set to half duplex forces the TCP to resend packets that have not been acknowledged, which forces the network to function poorly.

Bad Connector Terminations

It is extremely important to test cable terminations; otherwise, performance will degrade. You will incur noise and loss of the signal if connectors are bad or part of the cable is bad. Use cable testers to verify that cables were made correctly and use signal testers to test for loss across the cable. Broken fibers are very common issues when dealing with physical cable issues. Be sure your cable lengths do not exceed the supported length of the technology. Easy ways to troubleshoot bad cables are to swap out suspected bad cables with known good cables.

Summary

Remember when thinking of physical media, it is easy to represent the lines of communication as a highway to transport data from one point to another. The type of signal representing data as bits depends on the type of medium used. When using fiber, the signals are patterns of light; when using copper cable media, the signals are patterns of electrical pulses; and for wireless media, the signals are patterns of radio waves.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.76.7