Documente Academic
Documente Profesional
Documente Cultură
What Is Switching Layer 2 & Layer 3 Switching. Difference Between Layer 2 Switching and Layer 3 Switching
Switch Operations
MAC-to-switch port mapping Content-addressable memory (CAM) Learns MAC addresses automatically
Source address from arriving frame
Set a limit on the number of MAC addresses Define the action when a security violation occurs
Switching Methods
Four methods for processing and forwarding frames Store-and-forward
Read the entire frame
Fragment-free
Reads first 64 bytes Lower latency than store-and-forward Also known as modified cut-through Minor error detection
Adaptive cut-through
Error sensing Uses cut-through and store-and-forward
Topology changes
Virtual LANs
Logical grouping of network devices and nodes Broadcast domain Management VLAN
Also known as default VLAN Cannot be deleted Every port is on VLAN 1 by default
Benefits of VLANs
VLANS provide the following benefits
It is easier to add and move stations on the LAN It is easier to reconfigure the LAN There is better traffic control There is increased security
MAC Address
AAAA.1111.BBBB 3215.2511.AFFC 0001.2345.6789 3005.6798.AA05 0002.ABCD.EF12 0005.3ADB.1112
Output Interface
Ethernet 10 Ethernet 5 Ethernet 0 Ethernet 0 Ethernet 6 Ethernet 6
Packet
E6
IP Address: 1.1.1.2
MAC Address: 0002.ABCD.EF12
Data link layer (Layer 2) forwarding Forwards based on MAC layer address Wire-speed multiport bridge Transparent to upper layers
2.1.1.1
D S S R T C
Data
E2 IP Address: 2.1.1.1
Network layer (Layer 3) forwarding Forwards packets using ASICs based on network layer address Wire-speed routing for the LAN Network reachability learned by routing protocols
Ethernet Frame
F C S
D S S R
IP Packet D S S R
Data
T T L
T T L
F C S
T C XA
T C
T C BY
T C
MAC Addresses
Layer 3 switches and routers perform the same functions to a packet being switched
Advanced network services such as QoS, IP multicasting, intranets, extranets, and VPNs are better handled at Layer 3
ASICs:
High-performance, hardware-based Layer 3 switching and services with consistent low latency
Routing software:
Routing protocols to provide scalability:
Backbone redundancy Dynamic load balancing and fast convergence in the backbone Reachability information