Professional Documents
Culture Documents
Basics of switching Virtual Local Area Networks (VLAN) Function of reliability and performance increase Quality of service (QoS) Security and network access functions Multicast Switch management functions Review of D-Link switches
PRACTICAL WORKS
1. Basic switch commands 2. Commands of switch firmware updating and switch configuration loading/backup 3. Commands of MAC and IP addresses forwarding tables, ARP tables management 4. Configuration of VLAN on the basis of IEEE 802.1Q 5. GVRP protocol configuration 6. Self-work to create LAN on the basis of IEEE 802.1Q standard 7. Configuration of asymmetric VLAN 8. Configuration of Traffic Segmentation 9. Configuration of Q-in-Q (Double VLAN) function 10. Configuration of STP, RSTP, MSTP protocols 11. Configuration of LoopBack Detection function 12. Link Aggregation 13. Access Control Lists 14. Management of nodes connection to switch ports. Port Security function 15. Switch ports connection management. IP-MAC-Port Binding function 16. QoS configuration. Traffic prioritization. Bandwidth management 17. Port Mirroring
Basics of switching
switch
Switch is
operated on OSI data link layer. could simultaneously establish several connections (microsegmentation). allowed each workstation to transfer and to accept data simultaneously, using the whole bandwidth in both directions (full duplex).
When a switch receives a frame sent by computer A to computer B, it reads MAC address of receiver and looks for this MAC address in its forwarding table. As soon as the record associating MAC address of receiver (computer) with one of the switch ports (except for source port) is found, the frame is transferred through appropriate egress port. This process is called frame forwarding. If egress port is appeared to coincide with the source port, a frame will be discarded by a switch. This process is called filtering. If MAC address of a receiver in an arrived frame is unknown (there is no appropriate record in a forwarding table), switch creates multiple copies of this frame and transfers these copies through all ports, except that it arrived to. This process is called flooding.
Switching methods
The first step made by switch before making the decision on frame transmission, is frame receiving and content analysis. One of three operation modes can be implemented in a switch to define its behavior when receiving a frame: Store-and-forward switching; Cut-through switching; Fragment-free switching.
A ring stack is built as follows: each device is connected to overlying and underlying, thus the lowermost and uppermost switches in a stack are also interconnected. During data transmission a packet is transferred from one device of a stack to another sequentially until it reaches the port of destination. The system automatically defines an optimal way of transmission for traffic that allows gaining full usage of bandwidth. Advantage of ring topology is that if an output of one device is out of operation or there is a communication breakaway, then remaining devices will continue to operate in a normal mode. In chain stack (linear topology) each device is connected with overlying and underlying. The uppermost and lowermost switches are not interconnected.
Switches interfaces
For easy connection possibility many switches are equipped with special slots for compact replaceable:
GBIC (Gigabit Interface Converter); SFP (Small Form Factor Pluggable); SFP+ (Enhanced Small Form Factor Pluggable); XFP (10 Gigabit Small Form Factor Pluggable).
GBIC
SFP
XFP
SFP+
Architecture of switches
One of the main components of all switching equipment is a switch fabric. A switch fabric is a chipset connecting inputs with outputs on the basis of fundamental technologies and principles of switching. A switch fabric has three functions: to switch traffic from one port of a fabric to another, providing their equivalence; to provide quality of service (QoS); to provide fault tolerance.
Crossbar architecture
Two types of switches with a crossbar switch fabric can be singled out: buffered crossbar; arbitrated crossbar.
In buffered crossbar switches buffers are installed at three main stages: at input, output, and switch fabric directly. Due to the queues appearing at three stages, this architecture allows to avoid the complexities caused by centralized arbiter. Queues management implemented by one of the dispatching algorithms is used at output of each stage. Arbitrated crossbar switches architecture has buffer-less switching elements and an arbiter that controls traffic transmission between fabric inputs and outputs. Absence of buffers in switching elements is compensated by buffers at ingress and egress ports. Usually developers use one of three buffering methods: - output buffers, - input buffers, - combined input and output buffers.
Memory of each ingress port is organized as FIFO (First Input First Output) queue which is used for packets buffering before the process of switching begins. One of the problems of such switch fabric is Head-Of-Line blocking (HOL). It happens when switch tries to transfer packets from several input queues to one egress port simultaneously.
Packets are buffered only at egress ports after the end of switching process.
Buffers are connected both to ingress and egress ports. Memory of every ingress port is organized as N virtual FIFO output queues, one per egress port. The switching system is based on a pipeline principle when each stage is called a time slot.
Switch performance can be characterized by following parameters: frames filtering rate; frames forwarding rate; throughput; forwarding delay. Besides, there are several switch characteristics which strongly affect specified performance characteristics. They are: switching type; size of frame buffer(s); switching capacity; processor(s) performance; size of forwarding table.