KTI Networks KGS-2404 manual How does a MAC work?

Page 35

How does a MAC work?

The MAC sub-layer has two primary jobs to do:

1.Receiving and transmitting data. When receiving data, it parses frame to detect error; when transmitting data, it performs frame assembly.

2.Performing Media access control. It prepares the initiation jobs for a frame transmission and makes recovery from transmission failure.

Frame transmission

As Ethernet adopted Carrier Sense Multiple Access with Collision Detect (CSMA/CD), it detects if there is any carrier signal from another network device running over the physical medium when a frame is ready for transmission. This is referred to as sensing carrier, also “Listen”. If there is signal on the medium, the MAC defers the traffic to avoid a transmission collision and waits for a random period of time, called backoff time, then sends the traffic again.

After the frame is assembled, when transmitting the frame, the preamble (PRE) bytes are inserted and sent first, then the next, Start of frame Delimiter (SFD), DA, SA and through the data field and FCS field in turn. The followings summarize what a MAC does before transmitting a frame.

1.MAC will assemble the frame. First, the preamble and Start-of- Frame delimiter will be put in the fields of PRE and SFD, followed DA, SA, tag ID if tagged VLAN is applied, Ethertype or the value of the data length, and payload data field, and finally put the FCS data in order into the responded fields.

2.Listen if there is any traffic running over the medium. If yes, wait.

3.If the medium is quiet, and no longer senses any carrier, the MAC waits for a period of time, i.e. inter-frame gap time to have the MAC ready with enough time and then start transmitting the frame.

4.During the transmission, MAC keeps monitoring the status of the medium. If no collision happens until the end of the frame, it transmits successfully. If there is a collision happened, the MAC will send the patterned jamming bit to guarantee the collision event propagated to all involved network devices, then wait for a random period of time, i.e. backoff time. When backoff time expires, the MAC goes back to the beginning state and attempts to transmit again. After a collision happens, MAC increases the transmission attempts. If the count of the transmission attempt reaches 16 times, the frame in MAC’s queue will be discarded.

29

Image 35
Contents KGS-2404 Page Release Table of Contents 100 Federal Communications Commission FCC Statement 06/28/2007 03/13/2007 02/10/2007About this user’s manual Vlan Overview of 24-Port GbE Web Smart SwitchKey Features in the Device Management ChecklistFeatures HardwarePage User Interfaces on the Front Panel Button, LEDs and Plugs View of 24-Port GbE Web Smart Switch10/100/1000Ethernet TP Port 1 to 24 LED LED IndicatorsUser Interfaces on the Rear Panel System LEDFront View of 1000Base-SX/LX LC, SFP Fiber Transceiver View of the Optional ModulesConnecting the SFP Module to the Chassis Starting 24-Port GbE Web Smart Switch UpHardware and Cable Installation Firmware Loading TP Port and Cable InstallationPower On Cabling RequirementsCabling Requirements for 1000SX/LX SFP Module Cabling Requirements for TP PortsTypical Network Topology in Deployment 1000Base-X TP, Fiber 100Base-TX TP 100Base-FX FiberNo Vlan Configuration Diagram Case 2b Port-based Vlan See -4 Page Management through Ethernet Port Managing 24-Port GbE Web Smart Switch through Ethernet PortIP Address Assignment Login Screen for Web110 10000000.00000001.00000010.1 Prefix Length No. of IP matched No. of Addressable IP Page 10 Network Connection between Remote Site and Central Site Typical Applications11 Peer-to-peer Network Connection What’s the Ethernet Basic Concept ManagementIEEE802.3 CSMA/CD MAC ARP SnapSTP Bpdu SAP Format Media Access Control MACFCS PRE SFDPage How does a MAC work? Bytes DTE Flow Control Page Bits How does a switch work? Collision Domain Page Page Virtual LAN Page Tag Format CFIPage Page VID Link Aggregation 10 Example of Link Aggregation Application Operation of Web-based Management Web Management Home Overview Information of Page Layout Snmp Lacp RstpFunction description System ConfigurationPage Page ON/OFF Port ConfigurationPort Configuration Vlan Mode ConfigurationSelect Vlan Mode VID Vlan Group ConfigurationAdd or Remove Vlan Member Page Aggregation 10 Aggregation/Trunking ConfigurationLacp 11 Lacp Port ConfigurationRstp Rstp Port Configuration Page Page Page Port Mode Port Control Authentication Port Status Radius IP 16 802.1X Configuration 802.1x Parameters Vlan ID Igmp Snooping20 Mirror ports configuration Mirror Configuration21 QoS Configuration QoSQuality of Service ConfigurationQoS Configuration Dscp Setting Dhcp Filter24 Filter Configuration Rate Limit 25 Rate Limit ConfigurationStorm Control 26 Storm Control ConfigurationPage Parameters description Snmp27 Snmp Configuration Statistics Overview Monitoring28 Statistics Overview for all ports Detailed Statistics Page 29 Detailed Statistics for each port 30 Lacp Status Lacp StatusRstp Status 31 Rstp Status Igmp Status 32 Igmp Status Ping Status33 Ping Maintenance 34 Warm Restart Warm RestartFactory Default 36 Software Upgrade Software UpgradeFunction description Configuration File TransferLogout Q&A Resolving No Link ConditionAppendix a Technical Specifications ƒ Cable and Maximum Length ƒ Network InterfaceSFP ƒ MAC Address and Self-learning 8K MAC addressDimensions ƒ Diagnostic LEDƒ Power Requirement Ambient TemperatureManagement Software Specifications OBJECT-TYPE PRIVATE-GESM-SW24L-MIB Definitions = Begin ImportsFrom RFC1213-MIB From RFC1155-SMI