Black Box Gigabit Smart Switch Eco Fanless, LGB2118A, LGB2124A manual Virtual LAN

Page 38

Chapter 4: Basic Concepts and Management

How does a switch operate?

A Layer 2 switch uses some features of the Data Link layer in the OSI model to forward the packet to the destination port(s). Here we introduce some important features of switches and how they work.

MAC address table: When a packet is received on a switch port, the switch first checks if the packet is good or bad and

extracts the source MAC address (SA) and destination MAC address (DA) to find if SA exists in the MAC address table: if no, it puts it in the MAC address table; if yes, it looks up the DA and its associated port to which the traffic is forwarded. If the DA does not exist, the packet is broadcasted.

Because the number of MAC addresses is limited, the switch applies the MAC address aging function. When the MAC address has resided and keeps no update in the table for a long time, the traffic using that entry has been inactive. If this time period is more than the aging time, the entry will be marked invalid. The vacancy is now available for other new MACs.

Both learning and forwarding are the most important functions in a switch. VLAN can be one of the rules to forward the packet. Ingress rules and egress rules apply. The ingress rule is used to filter the incoming packet by VLAN ID and to decide whether the packet is allowed to enter the switch or not. The egress rule is used to forward the packet to the proper port.

Mac address aging: There is a field in the MAC address table used to put the entry’s Age time, which determines how long a MAC entry can reside in a switch. The age time is refreshed when a packet with source MAC address (SA) is sent. Usually, the age time is programmable.

Transmission schedule: In most layer 2 switches, QoS is supported. QoS in a switch must associate a transmission schedule to transmit the packet. This function depends on the priority level that a packet has. With the given priority, the scheduler will perform the proper action. The scheduler has many ways to implement, and different chips may support different schedule algorithms. Most common schedulers are:

FCFS: First Come First Service.

Strictly Priority: All High before Low.

Weighted Round Robin:

Set a weight figure to the packet with a priority level, say 5–7, and next, set another weight to the packet with a priority level, say 2–4, and so on. The WRR will transmit the packet with the weight. So the packet of each priority level can be allocated a fixed bandwidth.

Bandwidth rating

Bandwidth rating is the limitation set by administrator, and it can be applied to those with SLA. Bandwidth rating can be total bandwidth, types of service of a port with many steps. The switch supports by-port Ingress and Egress total bandwidth rate control capacity. The bandwidth rate resolution is 0.1 Mbps (100 Kbps) and ranges from 0 to 100 Mbps.

4.6 Virtual LAN

What is a VLAN?

It is a subset of a LAN. Before we discuss VLAN, we must understand what LAN is. In general, a LAN is composed of different physical network segments bridged by switches or bridges that attach to end stations in the same broadcast domain. The traffic can reach any station on the same LAN. Beyond this domain, the traffic cannot go without a router’s help. This also implies that a LAN is limited. If you need to communicate with the station outside the LAN, a router is needed and always is located on the edge of the LAN.

A layer 2 VLAN, uses a logical subset of a physical LAN separated by specific rules such as tag, port, MAC address, and so on. In other words, they can communicate with each other between separated small physical LANs within a LAN, but cannot between any two separated logical LANs.

Page 38

724-746-5500 blackbox.com

Image 38
Contents Supports http and Snmp interface for switch management Trademarks Used in this Manual Trademarks Used in this ManualFCC and IC RFI Statements NOM Statement Table of Contents Table of Contents Specifications Specifications GeneralManagement Software Specifications Vlan Supports Port-based Vlan and Tag-based Ieee 802.1Q VlanOverview Introduction FeaturesOverview What’s Included LGB2118A components Not shown in -1 or2 24-Port Gigabit Smart Switch Eco Fanless LGB2124A LGB2118A LED functionsLGB2124A components Not shown in -3 or LGB2124A LED functionsOptional Modules for LGB2118A and LGB2124A Front view of 1000BASE-SX/LX LC, SFP Fiber TransceiverHardware and Cable Installation InstallationInstallation Starting Up the Switch Cabling Requirements Fiber supported by the switch 100BASE-TX TPVlan Attribute-based Vlan diagram Installation Login screen for the Web Address AssignmentInstallation Prefix Length Typical Applications Media Gigabit Smart SwitchCopper cables Fiber cable RJ-45 ConverterCopper cables RJ-45 Gigabit Smart Switch Copper cables RJ-45 FinancialEthernet Basic Concepts and ManagementBasic Concepts and Management Logical Link Control LLC MAC sub layer in physical layer in OSI modelMedia Access Control MAC MAC Addressing Ssap address field OptionsEthernet Frame Format 0x0835 0x8137Gigabit Ethernet Frame Ethernet parameters for half-duplex mode Flow ControlBasic Concepts and Management Collision Basic Concepts and Management How Does a Switch Work? Virtual LAN Ethernet switch MiniMini Computer frame Ethernet switch Printer WorkstationsEthernet switch Router 1a2aBasic Concepts and Management VID Link Aggregation LGB2118A Only Basic Concepts and Management Web Management Home Overview Operation of Web-based ManagementOperation of Web-based Management Main menu function tree for Web interface Configuration System InformationOperation of Web-based Management Port Configuration Operation of Web-based Management Function name Vlan Mode Setting Vlan Mode ConfigurationVlan Group Configuration Media supportedTag-VLAN Mode 10. Port-Based Vlan Configuration Vlan Port Isolation Configuration Function name Port Isolation ConfigurationAggregation LGB2118A Only Igmp Snooping Mirroring ConfigurationFunction name Igmp Snooping Configuration 15. Mirror ports configuration SnmpOperation of Web-based Management Loop Detection Broadcast Storm Protection Operation of Web-based Management Quality of Service QoS Configuration Operation of Web-based Management Monitoring Statistics OverviewDetailed Statistics Operation of Web-based Management Igmp Status Ping Status Maintenance Warm RestartConfiguration File Transfer Factory DefaultSoftware Upgrade Logout Questions and Answers TroubleshootingTroubleshooting Resolving a No Link Condition Contacting Black BoxAppendix MIB Specifications Appendix MIB SpecificationsBlackbox.com Blackbox.com Black Box Tech Support FREE! Live /7