Beruflich Dokumente
Kultur Dokumente
www.huawei.com
Objectives
Know the technical background of the Ethernet and its basic concepts
Page2
Contents
1. Ethernet Concept 2. Ethernet Port Technology 3. VLAN Basis
Page3
00.e0.fc.39.80.34
MAC address includes 48 bits and it is shown as 12 dotted hexadecimal notations MAC address is exclusive globally which is allotted and managed by IEEE. Every MAC address is composed of two parts. The first 24 bits part is the vendor code and the other 24 bits part is serial number
00000001
Page4
DMAC
SMAC
Length/T
DATA/PAD
FCS
64---1518 bytes
Length/Type Mean Type of the frame
Ethernet_II
802.3
Page5
Ethernet Principle---CSMA/CD
Sense before sending data to ensure the cable is idle and reduce collision.
The data from every station can be received by other multiple stations.
Detect collision while sending data and stop it when the station find collision then continue to send after waiting for a random time.
Page6
OUT IN
OUT
OUT
OUT
Page7
Collision Domain
LAN
LAN
LAN
HUB
LAN
LAN
HUB only repeats all the signals coming from connected LAN and all the physical equipment construct a collision domain.
Page8
No security
Use HUBs to construct the LAN as a sharing Ethernet
Page9
L2 Work Mode
(BRIDGE/Ethernet switch/L2) equipment work mode
Application layer Presentation layer Conversation layer Transport layer Network layer Data link layer Physical layer Data link layer Physical layer Data link layer Physical layer Application layer Presentation layer
L2 switch
Conversation layer Transport layer Network layer Data link layer Physical layer
Page10
L2 Work Principle
Segment 1 Segment 2
A
PORT 1 B switch
typical use of the switch
C PORT 2
MAC ADD.
MAC A MAC B
port
1 1
MAC C
MAC D
2
2
Page11
MACD
MACA
Port 1
MAC C MAC D
Port 2
L2 Switch
MACA
MACD
Page12
L2 Switch Principle
Receive all the data frames from the network segment Save the source MAC addresses of the received frames to establish MAC
Check the MAC address table to find out the port corresponding to the destination address. If it is the receiving port, it will take the frame; if it is not the receiving port, the data will be broadcasted to all the other ports (except the source port)
Forward broadcast and multicast frames to all other ports (except the
source port)
Page13
Cut-Through
Switch forward the frame immediately after it receive destination address Short time delay Switch dont check the error
Store-and-Forward
Fragment-free
Switch forward the frame after it receive 64 bytes( the shortest frame length)
Page14
Broadcast Domain
Broadcast domain
LAN
collision domain
LAN LAN
SWITCH
collision domain collision domain
LAN
LAN
collision domain
collision domain
L2 will forward the received frames according to the MAC address so collision domain is limited to one port. But it can not limit the broadcast domain.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page15
Contents
1. Ethernet Concept 2. Ethernet Port Technology 3. VLAN Basis
Page16
Bandwidth
Delay
Page17
4 pairs EIA/TIA Type 3, 4 and 5 (UTP) Unshielded Twisted Pair Multi-Mode Fiber (MMF) cable Copper shielded twisted-pair Copper EIA/TIA Category 5 (UTP) Unshielded twisted-pair, 4 pair Multi-mode fiber, 50/62.5um fiber, use 850nm laser
Ethernet Technology---AutoNegotiation
Page19
The basic mechanism of the auto-negotiation function is to encapsulate the negotiation message into the link integration test pulse.
16ms
Fast link pulse includes a series of clock/digital sequence comprised of link integration test pulse.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page20
Auto-Negotiation
Half-Duplex
10M 100M 1000M 10G
Full-Duplex
Support Support Support Support
Support Support -
If one device can not support auto-negotiation, the other device that can support auto-negotiation will work at the default work method.
Page21
The operation modes at two ends of the link must be manually configured (speed, duplex modes, flow-control and etc.)
Page22
Flow Control
The function of flow control is to prevent frames from being lost in case of congestion
Under half duplex mode, the flow control is achieved by backpressure technology
Under full duplex mode, the flow control generally abides by standard IEEE 802.3x
Page23
backpressure
Page24
IEEE802.3x standard defines a new method named PAUSE frame, to realize the flow control in the full duplex environment.
PAUSE frame uses a reserved multicast address which wouldn't be repeated by bridge or switch
Stop
PAUSE Frame
Congestion
DATA Frame
Page25
Contents
1. Ethernet Concept 2. Ethernet Port Technology 3. VLAN Basis
Page26
Full duplex and L2 make Ethernet progress, resolve the conflict problem and improve the Ethernet performance. Furthermore the security is enhanced to some extent. But the following disadvantages are still in the Ethernet:
Page27
broadcast
Page28
Marketing Department
Financial Department
Engineering Department
Switch
Port 10
Port 7 Port 3
MAC A
MAC B
MAC C
MAC D
PC A
PC B
PC C
PC D
MAC
MAC A MAC B MAC C MAC D
VLAN
5 10 5 10
Port
Port 1 Port 3 Port 7 Port 10
VLAN
5 10 5 10
Page30
IPX
IP
UDP
IP
1.1.1.1/24
1.1.2.1/24
1.1.3.1/24 2.1.1.1/24
Protocol
IPX UDP IP .
VLAN
5 10 2 11
IP
1.1.1.1/24 1.1.2.1/24 1.1.3.1/24 .
VLAN
5 10 2 11
Page31
DA
SA
tag
Type
Data TCI
CRC
TPID
Priority
CFI
VLAN ID
Page32
VLAN 2
VLAN 1
Ethernet frame without VLAN flag Ethernet frame with VLAN tag 2
VLAN 1
VLAN 2
Page33
Access (Out)
Hybrid (In)
Page34
VLAN technology resolves the broadcast problem and enhances the communication security.
Disadvantage of VLAN:
Improve the bandwidth utilization rate by dividing a physically interconnected network into several small logic networks. But what should we do if different VLANs need to communicate with each other?
Page35
Questions
Page36
Summary
Page37
Thank you
www.huawei.com