Documente Academic
Documente Profesional
Documente Cultură
Ethernet Basics
Auto-MDIX (automatic medium-dependent interface crossover) detects the wrong cable and causes the switch to swap the pair it uses for transmitting and receiving, which solves the cabling problem. (As of publication, this feature is not supported on all Cisco switch models.) By default, each Cisco switch port uses Ethernet auto-negotiation to determine the speed and duplex setting (half or full). The switches can also set their duplex setting with the duplex interface subcommand, and their speed withyou guessed itthe speed interface subcommand. Cisco switches (and many other devices) can sense the speed using the Fast Link Pulses (FLP) of the auto-negotiation process. However, if auto-negotiation is disabled on either end of the cable, the switch detects the speed anyway based on the incoming electrical signal.
CSMA/CD
The original Ethernet specifications defined the Carrier Sense Multiple Access with Collision Detection (CSMA/CD) algorithm to deal with the inevitable collisions. CSMA/CD minimizes the number of collisions, but when they occur, CSMA/CD defines how the sending stations can recognize the collisions and retransmit the frame. The following list outlines the steps in the CSMA/CD process: 1. A device with a frame to send listens until the Ethernet is not busy (in other words, the device cannot sense a carrier signal on the Ethernet segment).
2. When the Ethernet is not busy, the sender begins sending the frame. 3. The sender listens to make sure that no collision occurred. 4. If there was a collision, all stations that sent a frame send a jamming signal to ensure that all stations recognize the collision. 5. After the jamming is complete, each sender of one of the original collided frames randomizes a timer and waits that long before resending. (Other stations that did not create the collision do not have to wait to send.) 6. After all timers expire, the original senders can begin again with Step 1.
Switches have the same cabling and signal regeneration benefits as hubs, but switches do a lot moreincluding sometimes reducing or even eliminating collisions by buffering frames. When switches receive multiple frames on different switch ports, they store the frames in memory buffers to prevent collisions. The only devices that could create a collision are the switch port and the one connected deviceand they each have a separate twisted pair on which to transmit. Because collisions cannot occur, such segments can use full-duplex logic. When a switch port connects to a hub, it needs to operate in HDX mode(Loopback Circuitry), because collisions might occur due to the logic used by the hub.
Two most significant bits in an Ethernet address: The Individual/Group (I/G) bit The Universal/Local (U/L) bit
The destination port for a SPAN session can be on the local switch, as in SPAN operation. Or it can be a port on another switch in the network. This mode is known as Remote SPAN, or RSPAN. In RSPAN, a specific VLAN must be configured across the entire switching path from the source port or VLAN to the RSPAN destination port. This requires that the RSPAN VLAN be included in any trunks in that path, too.
2. We configure a switch to send the following traffic to interface fa0/24, preserving the encapsulation from the sources: Received on interface fa0/18 Sent on interface fa0/9 Sent and received on interface fa0/19 (which is a trunk) We also filter (remove) VLANs 1, 2, 3, and 229 from the traffic coming from the fa0/19 trunk port.
RSPAN Configuration
1. We configure two switches, IDF-SYR1 and IDF-SYR2, to send traffic to RSPAN VLAN 199, which is delivered to port fa0/24 on switch MDF-SYR9 as follows: From IDF-SYR1, all traffic received on VLANs 6668 From IDF-SYR2, all traffic received on VLAN 9 From IDF-SYR2, all traffic sent and received on VLAN 11 Note that all three switches use a different session ID, which is permissible in RSPAN. The only limitation on session numbering is that the session number must be 1 to 66.
ETHERNET STANDARD
Switches forward frames when necessary, and do not forward when there is no need to do so, thus reducing overhead. To accomplish this, switches perform three actions: Learn MAC addresses by examining the source MAC address of each received frame Decide when to forward a frame or when to filter (not forward) a frame, based on the destination MAC address Create a loop-free environment with other bridges by using the Spanning Tree Protocol