SWITCH ARCHITECTURE AND DOMAINS Flashcards
What is an ingress and egress port?
– Ingress port -describes the port where a frame enters the device.
– Egress port- describes the port that frames use when leaving the device
Which of the following does a LAN switch consider during frame forwarding: ingress port, egress port or destination MAC address. Explain
• A LAN switch forwards traffic based on the ingress port and the destination MAC address of an Ethernet frame. It maintains a table that is referenced
when forwarding traffic.
• There is only one master switching table that describes a strict association between MAC addresses and ports; therefore, an Ethernet frame with a given destination address always exits the same egress port, regardless of the ingress port it enters.
What are the different switch frame forwarding methods?
- Store and forward
- Cut-through
Describe the store and forward method
• The store-and-forward method makes a forwarding decision on a frame after it has received the entire frame and checked the frame for errors using a mathematical error-checking mechanism known as a cyclic redundancy check (CRC).
What are the two main characteristics that distinguish store and forward method from the cut through method? Include diagrams
- Error Checking :
A switch using store-and-forward switching performs an error check on an incoming frame. After receiving the entire frame on the ingress port, the switch compares the frame-check-sequence (FCS) value in
the last field of the datagram against its own FCS calculations. If the frame is error-free, the switch forwards the frame. Otherwise the frame is dropped. - Automatic Buffering:
The ingress port buffering process used by store-and forward switches provides the flexibility to support any mix of Ethernet speeds. For example, handling an incoming frame traveling into a 100 Mb/s Ethernet port that must be sent out a 1 Gb/s interface would require
using the store-and-forward
*See Netacad for diagrams
Describe the cut-through method
A cut-through switch begins the forwarding process after the destination MAC address of an incoming frame and the egress port has been determined. I.e. it forwards the frame before it is entirely received
Give an advantage and disadvantage of the cut-through method over the store-and-forward
An advantage to cut-through switching is the ability of the switch to start forwarding a frame earlier than store-and-forward switching making it faster.
A disadvantage is if there is a high error rate (invalid frames) in the network, cut-through switching can have a negative impact on bandwidth; thus, clogging up
bandwidth with damaged and invalid frames.
What are the two primary characteristics of the cut-through method?
- Rapid Frame Forwarding:
A switch using the cut-through method can make
a forwarding decision as soon as it has looked up the destination MAC address of the frame in its MAC address table. The switch does not have to
wait for the rest of the frame to enter the ingress port before making its forwarding decision. - Fragment Free:
Fragment free switching is a modified form of cut-through switching in which the switch waits for the collision window (64 bytes) to pass before forwarding the frame. This means each frame will be checked
into the data field to make sure no fragmentation has occurred
What is the advantage of fragment free forwarding
Fragment free switching provides better error checking than cut-through, with practically no increase in latency.
In what situations is cut-through frame forwarding the best option?
The lower latency speed of cut-through switching makes it more appropriate for extremely demanding, high-performance computing (HPC) applications that require process-to-process latencies of 10 µs or less.
Briefly describe CAM and how it works
CAM (Content Addressable Memory) is special type of memory used by Cisco switches. In the case of ordinary RAM the IOS uses a memory address to get the data stored at this memory location, while with CAM the IOS does the inverse; It uses the data and the CAM returns the address where the data is stored
Why is the CAM considered to be faster than the RAM?
In CAM, returning the address is done in a single CPU cycle vs. the traditional programming of searching through a table, which will cost many CPU cycles. Thus the CAM is considered to be faster than the RAM since the CAM searches the entire memory in one operation.
What is the CAM table and what is its function?
-The CAM table, also variably referred to as switch, switching table or MAC table, is used by the Ethernet switch logic to store information such as MAC addresses available on physical ports with their associated VLAN Parameters).
-Switch filtering and forwarding are done with a CAM
table.
-The CAM table is present in all switches for layer 2 switching allowing the switches to facilitate communications between connected nodes at high speed and in full-duplex regardless of how many devices are connected.
How is the CAM table used to make Layer 2 forwarding decisions
In the case of Layer 2 switching tables, the switch
must find an exact match to a destination MAC address or the switch floods the packet out all ports in the VLAN. A CAM tables provide only two results: 0 (true) or 1 (false).
How is a CAM table built? Include a topology and a
CAM table to Illustrate.
The table is built by recording the source address and inbound port of all frames. As frames arrive on switch ports, the source MAC addresses are learned and recorded in the CAM table. The port of arrival and the VLAN are both recorded in the table, along with a timestamp.
*See Netacad for illustrations