Ruby Tech GS-1224L manual How does a MAC work?

Page 39

User Manual

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.

Publication date: March, 2007

Revision A1

29

Image 39
Contents Page Page GS-1224L Duration of Hardware Warranty Iii Table of Contents 100 02/10/2007 03/13/2007 Revision HistoryVii Federal Communications Commission FCC Statement Electronic Emission NoticesAbout this user’s manual Overview of 24-Port GbE Web Smart Switch Key Features in the DeviceVlan Management ChecklistFeatures HardwarePublication date March 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 ModulesStarting 24-Port GbE Web Smart Switch Up Hardware and Cable InstallationConnecting the SFP Module to the Chassis 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 Publication date March Port GBE WEB Smart Switch 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 Publication date March 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 Snap STP BpduARP SAP Format Media Access Control MACFCS PRE SFDPublication date March How does a MAC work? Bytes DTE Flow Control Publication date March Revision A1 Bits How does a switch work? Collision Domain Publication date March Revision A1 Publication date March Virtual LAN Publication date March Tag Format CFIPublication date March Publication date March Revision A1 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 ConfigurationPublication date March Publication date March Revision A1 ON/OFF Ports ConfigurationPort Configuration Vlan Mode ConfigurationSelect Vlan Mode VID Vlan Group ConfigurationAdd or Remove Vlan Member Port-Based Vlan Configuration Aggregation 10 Aggregation/Trunking ConfigurationLacp 11 Lacp Port ConfigurationRstp Rstp Port Configuration Publication date March Publication date March Revision A1 Publication date March 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 ConfigurationPublication date March Parameters description Snmp27 Snmp Configuration Statistics Overview Monitoring28 Statistics Overview for all ports Detailed Statistics Publication date March 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 LEDPower Requirement Ambient TemperatureManagement Software Specifications OBJECT-TYPE PRIVATE-GS1224L-MIB Definitions = Begin ImportsFrom RFC1213-MIB From RFC1155-SMI