TP-Link JetStream L2 Lite TL-SG3210 User Manual

TP-Link JetStream L2 Lite TL-SG3210 User Manual

Managed switch
Hide thumbs Also See for JetStream L2 Lite TL-SG3210:
Table of Contents

Advertisement

TL-SG3210
JetStream L2 Lite Managed Switch
Rev: 1.0.0
1910010508

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the JetStream L2 Lite TL-SG3210 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for TP-Link JetStream L2 Lite TL-SG3210

  • Page 1 TL-SG3210 JetStream L2 Lite Managed Switch Rev: 1.0.0 1910010508...
  • Page 2: Fcc Statement

    Specifications are subject to change without notice. is a registered trademark of TP-LINK TECHNOLOGIES CO., LTD. Other brands and product names are trademarks or registered trademarks of their respective holders. No part of the specifications may be reproduced in any form or by any means or used to make any derivative such as translation, transformation, or adaptation without permission from TP-LINK TECHNOLOGIES CO., LTD.
  • Page 3: Table Of Contents

    CONTENTS Package Contents ..........................1 Chapter 1 About this Guide......................2 Intended Readers ......................2 Conventions........................2 Overview of This Guide ....................2 Chapter 2 Introduction ........................6 Overview of the Switch ....................6 Main Features.......................6 Appearance Description ....................7 2.3.1 Front Panel ......................7 2.3.2 Rear Panel ......................8 Chapter 3 Login to the Switch.......................9 Login..........................9 Configuration ........................9...
  • Page 4 5.1.2 Port Mirror ......................30 5.1.3 Port Security ....................31 5.1.4 Port Isolation ....................33 LAG ..........................34 5.2.1 LAG Table ......................34 5.2.2 Static LAG ......................36 5.2.3 LACP Config ....................37 Traffic Monitor ......................39 5.3.1 Traffic Summary....................39 5.3.2 Traffic Statistics ....................40 MAC Address......................41 5.4.1 Address Table ....................42 5.4.2 Static Address ....................44 5.4.3...
  • Page 5 STP Security.......................84 7.4.1 Port Protect ......................84 7.4.2 TC Protect......................86 Application Example for STP Function ...............87 Chapter 8 Multicast........................91 IGMP Snooping ......................93 8.1.1 Snooping Config ....................94 8.1.2 Port Config .......................95 8.1.3 VLAN Config ....................96 8.1.4 Multicast VLAN ....................98 Multicast IP .......................101 8.2.1 Multicast IP Table ...................102 8.2.2...
  • Page 6 10.2.2 ACL Create ....................126 10.2.3 MAC ACL .......................127 10.2.4 Standard-IP ACL ....................128 10.2.5 Extend-IP ACL ....................128 10.3 Policy Config......................130 10.3.1 Policy Summary .....................130 10.3.2 Policy Create....................131 10.3.3 Action Create ....................131 10.4 Policy Binding ......................132 10.4.1 Binding Table ....................132 10.4.2 Port Binding ....................133 10.4.3 VLAN Binding....................133 10.5...
  • Page 7 12.3.1 History Control ....................176 12.3.2 Event Config ....................176 12.3.3 Alarm Config ....................177 Chapter 13 Cluster........................180 13.1 NDP ..........................181 13.1.1 Neighbor Info ....................181 13.1.2 NDP Summary ....................182 13.1.3 NDP Config ....................184 13.2 NTDP........................184 13.2.1 Device Table ....................185 13.2.2 NTDP Summary .....................186 13.2.3 NTDP Config....................187 13.3...
  • Page 8: Package Contents

    The following items should be found in your box: One JetStream L2 Lite Managed Switch One power cord One console cable Two mounting brackets and other fittings Installation Guide Resource CD for TL-SG3210 switch, including: • This User Guide • Other Helpful Information Note: Make sure that the package contains the above items.
  • Page 9: Chapter 1 About This Guide

    Chapter 1 About this Guide This User Guide contains information for setup and management of TL-SG3210 JetStream L2 Lite Managed Switch. Please read this guide carefully before operation. 1.1 Intended Readers This Guide is intended for network managers familiar with IT concepts and network terminologies.
  • Page 10 Chapter Introduction Chapter 4 System This module is used to configure system properties of the switch. Here mainly introduces: System Info: Configure the description, system time and network parameters of the switch. User Manage: Configure the user name and password for users to log on to the Web management page with a certain access level.
  • Page 11 Chapter Introduction Chapter 9 QoS This module is used to configure QoS function to provide different quality service various network applications requirements. Here mainly introduces: DiffServ: Configure priorities, port priority, 802.1P priority and DSCP priority. Bandwidth Control: Configure rate limit feature to control the traffic rate on each port;...
  • Page 12 Chapter Introduction Chapter 14 Maintenance This module is used to assemble the commonly used system tools to manage the switch. Here mainly introduces: System Monitor: Monitor the memory and CPU of the switch. Log: View configuration parameters on the switch. Device Diagnose: Test the connection status of the cable connected to the switch, test if the port of the switch and the connected device are available.
  • Page 13: Chapter 2 Introduction

    Chapter 2 Introduction Thanks for choosing the TL-SG3210 JetStream L2 Lite Managed Switch! 2.1 Overview of the Switch Designed for workgroups and departments, TL-SG3210 from TP-LINK provides wire-speed performance and abundant layer 2 management features. It provides a variety of service features and multiple powerful functions with high security.
  • Page 14: Appearance Description

    2.3 Appearance Description 2.3.1 Front Panel Figure 2-1 Front Panel The following parts are located on the front panel of the Switch: 10/100/1000Mbps Ports: Designed to connect to the device with a bandwidth of 10Mbps, 100Mbps or 1000Mbps. Each has a corresponding 1000Mbps LED. SFP Ports: Designed to install the SFP module.
  • Page 15: Rear Panel

    2.3.2 Rear Panel The rear panel of TL-SG3210 features a power socket and a Grounding Terminal (marked with ). Figure 2-2 Rear Panel Grounding Terminal: TL-SG3210 already comes with Lightning Protection Mechanism. You can also ground the Switch through the PE (Protecting Earth) cable of AC cord or with Ground Cable.
  • Page 16: Chapter 3 Login To The Switch

    Chapter 3 Login to the Switch 3.1 Login 1) To access the configuration utility, open a web-browser and type in the default address http://192.168.0.1 in the address field of the browser, then press the Enter key. Figure 3-1 Web-browser Tips: To log in to the Switch, the IP address of your PC should be set in the same subnet addresses of the Switch.
  • Page 17 Figure 3-3 Main Setup-Menu Note: Clicking Apply can only make the new configurations effective before the switch is rebooted. If you want to keep the configurations effective even the switch is rebooted, please click Saving Config. You are suggested to click Saving Config before cutting off the power or rebooting the switch to avoid losing the new configurations.
  • Page 18: Chapter 4 System

    Chapter 4 System The System module is mainly for system configuration of the switch, including four submenus: System Info, User Manage, System Tools and Access Security. 4.1 System Info The System Info, mainly for basic properties configuration, can be implemented on System Summary, Device Description, System Time and System IP pages.
  • Page 19 Indicates the SFP port is not connected to a device. Indicates the SFP port is at the speed of 1000Mbps. Indicates the SFP port is at the speed of 100Mbps. When the cursor moves on the port, the detailed information of the port will be displayed. Figure 4-2 Port Information Port Info Port:...
  • Page 20: Device Description

    Select Rx to display the bandwidth utilization of receiving packets on this port. Select Tx to display the bandwidth utilization of sending packets on this port. 4.1.2 Device Description On this page you can configure the description of the switch, including device name, device location and system contact.
  • Page 21 Figure 4-5 System Time The following entries are displayed on this screen: Time Info Current System Date: Displays the current date and time of the switch. Current Time Source: Displays the current time source of the switch. Time Config Manual: When this option is selected, you can set the date and time manually.
  • Page 22: System Ip

    Note: When Get GMT is selected and the switch failed to get time from the configured time server, the switch will change to get time from the latest time server from which you got time successfully or from the public time server in its default network. 4.1.4 System IP Each device in the network possesses a unique IP Address.
  • Page 23: User Manage

    Subnet Mask: Enter the subnet mask of the switch. Default Gateway: Enter the default gateway of the switch. Note: Changing the IP address to a different IP segment will interrupt the network communication, so please keep the new IP address in the same IP segment with the local network. The switch only possesses an IP address.
  • Page 24 Figure 4-8 User Config The following entries are displayed on this screen: User Info User Name: Create a name for users’ login. Access Level: Select the access level to login. Admin: Admin can edit, modify and view all the settings of different functions.
  • Page 25: System Tools

    4.3 System Tools The System Tools function, allowing you to manage the configuration file of the switch, can be implemented on Config Restore, Config Backup, Firmware Upgrade, System Reboot and System Reset pages. 4.3.1 Config Restore On this page you can upload a backup configuration file to restore your switch to this previous configuration.
  • Page 26: Firmware Upgrade

    4.3.3 Firmware Upgrade The switch system can be upgraded via the Web management page. To upgrade the system is to get more functions and better performance. Go to http://www.tp-link.com to download the updated firmware. Choose the menu System→System Tools→Firmware Upgrade to load the following page.
  • Page 27: System Reboot

    After upgrading, the device will reboot automatically. You are suggested to backup the configuration before upgrading. 4.3.4 System Reboot On this page you can reboot the switch and return to the login page. Please save the current configuration before rebooting to avoid loosing the configuration unsaved Choose the menu System→System Tools→System Reboot to load the following page.
  • Page 28 Figure 4-14 Access Control The following entries are displayed on this screen: Access Control Config Control Mode: Select the control mode for users to log on to the Web management page. IP-based: Select this option to limit the IP-range of the users for login.
  • Page 29: Ssl Config

    Session Timeout: If you do nothing with the Web management page within the timeout time, the system will log out automatically. If you want to reconfigure, please login again. Access User Number Select Enable/Disable the Number Control function. Number Control; Admin Number: Enter the maximum number of the users logging on to the Web management page as Admin.
  • Page 30: Ssh Config

    Figure 4-15 SSL Config The following entries are displayed on this screen: Global Config SSL: Select Enable/Disable the SSL function on the switch. Certificate Download Certificate File: Select the desired certificate to download to the switch. The certificate must be BASE64 encoded. Key Download Key File: Select the desired SSL Key to download to the switch.
  • Page 31 information in a remote management being leaked. Comprising server and client, SSH has two versions, V1 and V2 which are not compatible with each other. In the communication, SSH server and client can auto-negotiate the SSH version and the encryption algorithm. After getting a successful negotiation, the client sends authentication request to the server for login, and then the two can communicate with each other after successful authentication.
  • Page 32 Key Type: Select the type of SSH Key to download. The switch supports three types: SSH-1 RSA, SSH-2 RSA and SSH-2 DSA. Key File: Select the desired key file to download. Download: Click the Download button to download the desired key file to the switch.
  • Page 33 Application Example 2 for SSH: Network Requirements 1. Log on to the switch via password authentication using SSH and the SSH function is enabled on the switch. 2. PuTTY client software is recommended. Configuration Procedure 1. Select the key type and key length, and generate SSH key. Note: 1.
  • Page 34 3. On the Web management page of the switch, download the public key file saved in the computer to the switch. Note: 1. The key type should accord with the type of the key file. 2. The SSH key downloading can not be interrupted. 4.
  • Page 35 5. After the public key and private key are downloaded, please log on to the interface of PuTTY and enter the IP address for login. After successful authentication, please enter the login user name. If you log on to the switch without entering password, it indicates that the key has been successfully downloaded.
  • Page 36: Chapter 5 Switching

    Chapter 5 Switching Switching module is used to configure the basic functions of the switch, including four submenus: Port, LAG, Traffic Monitor and MAC Address. 5.1 Port The Port function, allowing you to configure the basic features for the port, is implemented on the Port Config, Port Mirror,Port Security and Port Isolation pages.
  • Page 37: Port Mirror

    selected, the port can forward the packets normally. Speed and Duplex: Select the Speed and Duplex mode for the port. The device connected to the switch should be in the same Speed and Duplex mode with the switch. When “Auto” is selected, the Speed Duplex mode...
  • Page 38: Port Security

    Click Edit to display the following figure. Figure 5-3 Mirroring Port The following entries are displayed on this screen. Mirror Group Number: Select the mirror group number you want to configure. Mirroring Port Config Number: Select the mirroring port number. Mirror Mode: Select the mirror mode.
  • Page 39 network information illegally. The attacker uses tools to generate the cheating MAC address and quickly occupy the MAC Address Table. When the MAC Address Table is full, the switch will broadcast the packets to all the ports. At this moment, the attacker can obtain the network information via various sniffers and attacks.
  • Page 40: Port Isolation

    time. • Static: When Static mode is selected, the learned MAC address will be out of the influence of the aging time and can only be deleted manually. The learned entries will be cleared after the switch is rebooted. • Permanent: When Permanent mode is selected, the learned MAC address will be out of the influence of the aging time and can only be deleted manually.
  • Page 41: Lag

    Forward Portlist: Select the port that to be forwarded to. Port Isolation List Port: Display the port number. Forward Portlist: Display the forwardlist. 5.2 LAG LAG (Link Aggregation Group) is to combine a number of ports together to make a single high-bandwidth data path, so as to implement the traffic load sharing among the member ports in the group and to enhance the connection reliability.
  • Page 42 Figure 5-6 LAG Table The following entries are displayed on this screen: Global Config Aggregate Arithmetic: Select the applied scope of Aggregate Arithmetic, which results in choosing a port to transfer the packets. • SRC MAC + DST MAC: When this option is selected, the Aggregate Arithmetic will apply to the source and destination MAC addresses of the packets.
  • Page 43: Static Lag

    Figure 5-7 Detail Information 5.2.2 Static LAG On this page, you can manually configure the LAG. The LACP feature is disabled for the member ports of the manually added Static LAG. Choose the menu Switching→LAG→Static LAG to load the following page. Figure 5-8 Manually Config The following entries are displayed on this screen: LAG Config...
  • Page 44: Lacp Config

    LAG Table Member Port: Select the port as the LAG member. Clearing all the ports of the LAG will delete this LAG. Tips: The LAG can be deleted by clearing its all member ports. A port can only be added to a LAG. If a port is the member of a LAG or is dynamically aggregated as the LACP member, the port number will be displayed in gray and can not be selected.
  • Page 45 Figure 5-9 LACP Config The following entries are displayed on this screen: Global Config System Priority: Specify the system priority for the switch. The system priority and MAC address constitute the system identification (ID). A lower system priority value indicates a higher system priority. When exchanging information between systems, the system with higher priority determines which link aggregation a link belongs to, and the system with lower priority adds the proper links to the ling aggregation...
  • Page 46: Traffic Monitor

    Status: Enable/Disable the LACP feature for your selected port. LAG: Displays the LAG number which the port belongs to. 5.3 Traffic Monitor The Traffic Monitor function, monitoring the traffic of each port, is implemented on the Traffic Summary and Traffic Statistics pages. 5.3.1 Traffic Summary Traffic Summary screen displays the traffic information of each port, which facilitates you to monitor the traffic and analyze the network abnormity.
  • Page 47: Traffic Statistics

    Port: Displays the port number. Packets Rx: Displays the number of packets received on the port. The error packets are not counted in. Packets Tx: Displays the number of packets transmitted on the port. Octets Rx: Displays the number of octets received on the port. The error octets are counted in.
  • Page 48: Mac Address

    Refresh Rate: Enter a value in seconds to specify the refresh interval. Statistics Port: Enter a port number and click the Select button to view the traffic statistics of the corresponding port. Received: Displays the details of the packets received on the port. Sent: Displays the details of the packets transmitted on the port.
  • Page 49: Address Table

    The address filtering feature allows the switch to filter the undesired packets and forbid its forwarding so as to improve the network security. The types and the features of the MAC Address Table are listed as the following: Being kept after reboot Relationship between bound Type...
  • Page 50 Figure 5-12 Address Table The following entries are displayed on this screen: Search Option MAC Address: Enter the MAC address of your desired entry. VLAN ID: Enter the VLAN ID of your desired entry. Port: Select the corresponding port number of your desired entry. Type: Select the type of your desired entry.
  • Page 51: Static Address

    VLAN ID: Displays the corresponding VLAN ID of the MAC address. Port: Displays the corresponding Port number of the MAC address. Type: Displays the Type of the MAC address. Aging Status: Displays the Aging status of the MAC address. 5.4.2 Static Address The static address table maintains the static address entries which can be added or removed manually, independent of the aging time.
  • Page 52: Dynamic Address

    button to find your desired entry in the Static Address Table. • MAC: Enter the MAC address of your desired entry. • VLAN ID: Enter the VLAN ID number of your desired entry. • Port: Enter the Port number of your desired entry. Static Address Table Select: Select the entry to delete or modify the corresponding port number.
  • Page 53 Figure 5-14 Dynamic Address The following entries are displayed on this screen: Aging Config Auto Aging: Allows you to Enable/Disable the Auto Aging feature. Aging Time: Enter the Aging Time for the dynamic address. Search Option Search Option: Select a Search Option from the pull-down list and click the Search button to find your desired entry in the Dynamic Address Table.
  • Page 54: Filtering Address

    Select: Select the entry to delete the dynamic address or to bind the MAC address to the corresponding port statically. It is multi-optional. MAC Address: Displays the dynamic MAC Address. VLAN ID: Displays the corresponding VLAN ID of the MAC address. Port: Displays the corresponding port number of the MAC address.
  • Page 55 The following entries are displayed on this screen: Create Filtering Address MAC Address: Enter the MAC Address to be filtered. VLAN ID: Enter the corresponding VLAN ID of the MAC address. Search Option Search Option: Select a Search Option from the pull-down list and click the Search button to find your desired entry in the Filtering Address Table.
  • Page 56: Chapter 6 Vlan

    Chapter 6 VLAN The traditional Ethernet is a data network communication technology based on CSMA/CD (Carrier Sense Multiple Access/Collision Detect) via shared communication medium. Through the traditional Ethernet, the overfull hosts in LAN will result in serious collision, flooding broadcasts, poor performance or even breakdown of the Internet.
  • Page 57: Q Vlan

    packets of different VLANs. The switch can analyze the received untagged packets on the port and match the packets with the MAC VLAN, Protocol VLAN and 802.1Q VLAN in turn. If a packet is matched, the switch will add a corresponding VLAN tag to it and forward it in the corresponding VLAN.
  • Page 58 (2) TRUNK: The TRUNK port can be added in multiple VLANs, and the egress rule of the port is TAG. The TRUNK port is generally used to connect the cascaded network devices for it can receive and forward the packets of multiple VLANs. When the packets are forwarded by the TRUNK port, its VLAN tag will not be changed.
  • Page 59: Vlan Config

    IEEE 802.1Q VLAN function is implemented on the VLAN Config and Port Config pages. 6.1.1 VLAN Config On this page, you can view the current created 802.1Q VLAN. Choose the menu VLAN→802.1Q VLAN→VLAN Config to load the following page. Figure 6-3 VLAN Table To ensure the normal communication of the factory switch, the default VLAN of all ports is set to VLAN1.
  • Page 60 Figure 6-4 Create or Modify 802.1Q VLAN The following entries are displayed on this screen: VLAN Config VLAN ID: Enter the ID number of VLAN. Description: Give a description to the VLAN for identification. Check: Click the Check button to check whether the VLAN ID you entered is valid or not.
  • Page 61: Port Config

    LAG: Displays the LAG to which the port belongs. 6.1.2 Port Config Before creating the 802.1Q VLAN, please acquaint yourself with all the devices connected to the switch in order to configure the ports properly. Choose the menu VLAN→802.1Q VLAN→Port Config to load the following page. Figure 6-5 802.1Q VLAN –...
  • Page 62: Mac Vlan

    LAG: Displays the LAG to which the port belongs. VLAN: Click the Detail button to view the information of the VLAN to which the port belongs. Click the Detail button to view the information of the corresponding VLAN Figure 6-6 View the Current VLAN of Port The following entries are displayed on this screen: VLAN of Port VLAN ID Select:...
  • Page 63 is bound to VLAN, the device can be connected to another member port in this VLAN and still takes its member role effect without changing the configuration of VLAN members. The packet in MAC VLAN is processed in the following way: When receiving an untagged packet, the switch matches the packet with the current MAC VLAN.
  • Page 64: Protocol Vlan

    MAC Address: Displays the MAC address. Description: Displays the user-defined description of the MAC address. VLAN ID: Displays the corresponding VLAN ID of the MAC address. Operation: Click the Edit button to modify the settings of the entry. And click the Modify button to apply your settings.
  • Page 65 DA and SA respectively refer to destination MAC address and source MAC address. The number indicates the length of the field in bytes, for example, the length of source MAC address is 12 bytes. As the maximum length of Ethernet data is 1500 bytes, that is, 0x05DC in hexadecimal, the Length field in 802.2/802.3 encapsulation ranges from 0x0000 to 0x05DC, but the Type field in Ethernet II encapsulation ranges from 0x0600 to 0xFFF.
  • Page 66 The Implementation of Protocol VLAN This Switch can match packets through protocol template and transmit packets in the specific VLAN according to the protocol. Protocol template, comprising encapsulation format and protocol type, is the standard to determine the protocol which a packet belongs to. The following table shows the common used encapsulation formats supported in network layer protocol and the protocol templates are for reference.
  • Page 67: Protocol Group Table

    When receiving an untagged packet, the switch matches the packet with the current Protocol VLAN. If the packet is matched, the switch will add a corresponding Protocol VLAN tag to it. If no Protocol VLAN is matched, the switch will add a tag to the packet according to the PVID of the received port.
  • Page 68: Protocol Template

    Figure 6-9 Create Protocol VLAN The following entries are displayed on this screen: Protocol Group Config Protocol: Select the defined protocol template. VLAN ID: Enter the ID number of the Protocol VLAN. This VLAN should be one of the 802.1Q VLANs the ingress port belongs to. Protocol Group Member Select your desired port for Protocol VLAN Group.
  • Page 69: Application Example For 802.1Q Vlan

    The following entries are displayed on this screen: Create Protocol Template Protocol Name: Give a name for the Protocol Template. Ether Type: Enter the Ethernet protocol type field in the protocol template. Frame Type: Select a Frame Type for the Protocol Template. Protocol Template Table Select: Select the desired entry.
  • Page 70 Switch B is connecting to PC B and Server A; PC A and Server A is in the same VLAN; PC B and Server B is in the same VLAN; PCs in the two VLANs cannot communicate with each other. Network Diagram Configuration Procedure Configure Switch A...
  • Page 71: Application Example For Mac Vlan

    VLAN with its VLANID as 20, owning Port 6 and Port 7. 6.5 Application Example for MAC VLAN Network Requirements Switch A and Switch B are connected to meeting room A and meeting room B respectively, and the two rooms are for all departments; Notebook A and Notebook B, special for meeting room, are of two different departments;...
  • Page 72: Application Example For Protocol Vlan

    VLAN 10 address as 00-19-56-8A-4C-71. Configure MAC On VLAN→MAC VLAN page, create MAC VLAN10 with the MAC VLAN 20 address as 00-19-56-82-3B-70. Configure Switch B Step Operation Description Configure Required. On VLAN→802.1Q VLAN→Port Config page, configure the Link Type of the link type of Port 21 and Port 22 as GENERAL and TRUNK respectively.
  • Page 73 Configuration Procedure Configure Switch A Step Operation Description Configure Required. On VLAN→802.1Q VLAN→Port Config page, configure the Link Type of the link type of Port 11 and Port 13 as ACCESS, and configure the link type ports of Port 12 as GENERAL. Create VLAN10 Required.
  • Page 74: Gvrp

    Create Protocol On VLAN→Protocol VLAN→Protocol Group page, create protocol VLAN 10 VLAN 10 with Protocol as IP and tick Port 3. Create Protocol On VLAN→Protocol VLAN→Protocol Group page, create protocol VLAN 20 VLAN 20 with Protocol as AppleTalk and tick Port 3. 6.7 GVRP GVRP (GARP VLAN Registration Protocol) is an implementation of GARP (generic attribute registration protocol).
  • Page 75 and deregisters the attribute information if it does not receives a Join message again before the timer times out. • LeaveAll Timer: Once a GARP entity starts up, it starts the LeaveAll timer, and sends out a LeaveALL message after the timer times out, so that other GARP entities can re-register all the attribute information on this entity.
  • Page 76 Figure 6-11 GVRP Config Note: If the GVRP feature is enabled for a member port of LAG, please ensure all the member ports of this LAG are set to be in the same status and registration mode. The following entries are displayed on this screen: Global Config GVRP: Allows you to Enable/Disable the GVRP function.
  • Page 77: Configuration Procedure

    LeaveAll timer will start to begin a new cycle. The LeaveAll Timer ranges from 1000 to 30000 centiseconds. Join Timer: To guarantee the transmission of the Join messages, a GARP port sends each Join message two times. The Join Timer is used to define the interval between the two sending operations of each Join message.
  • Page 78: Chapter 7 Spanning Tree

    Chapter 7 Spanning Tree STP (Spanning Tree Protocol), subject to IEEE 802.1D standard, is to disbranch a ring network in the Data Link layer in a local network. Devices running STP discover loops in the network and block ports by exchanging information, in that way, a ring network can be disbranched to form a tree-topological ring-free network to prevent packets from being duplicated and forwarded endlessly in the network.
  • Page 79 port of switch C. Figure 7-1 Basic STP diagram STP Timers Hello Time: Hello Time ranges from 1 to 10 seconds. It specifies the interval to send BPDU packets. It is used to test the links. Max. Age: Max. Age ranges from 6 to 40 seconds. It specifies the maximum time the switch can wait without receiving a BPDU before attempting to reconfigure.
  • Page 80 In the beginning In the beginning, each switch regards itself as the root, and generates a configuration BPDU for each port on it as a root, with the root path cost being 0, the ID of the designated bridge being that of the switch, and the designated port being itself.
  • Page 81 RSTP (Rapid Spanning Tree Protocol), evolved from the 802.1D STP standard, enable Ethernet ports to transit their states rapidly. The premises for the port in the RSTP to transit its state rapidly are as follows. The condition for the root port to transit its port state rapidly: The old root port of the switch stops forwarding data and the designated port of the upstream switch begins to forward data.
  • Page 82 Figure 7-2 Basic MSTP diagram MSTP MSTP divides a network into several MST regions. The CST is generated between these MST regions, and multiple spanning trees can be generated in each MST region. Each spanning tress is called an instance. As well as STP, MSTP uses BPDUs to generate spanning tree. The only difference is that the BPDU for MSTP carry the MSTP configuration information on the switches.
  • Page 83: Stp Config

    Figure 7-3 Port roles The Spanning Tree module is mainly for spanning tree configuration of the switch, including four submenus: STP Config, Port Config, MSTP Instance and STP Security. 7.1 STP Config The STP Config function, for global configuration of spanning trees on the switch, can be implemented on STP Config and STP Summary pages.
  • Page 84 The following entries are displayed on this screen: Global Config STP: Select Enable/Disable STP function globally on the switch. Version: Select the desired STP version on the switch. STP: Spanning Tree Protocol. RSTP: Rapid Spanning Tree Protocol. MSTP: Multiple Spanning Tree Protocol. Parameters Config CIST Priority: Enter a value from 0 to 61440 to specify the priority of the switch...
  • Page 85: Stp Summary

    If the TxHold Count parameter is too large, the number of MSTP packets being sent in each hello time may be increased with occupying too much network resources. The default value is recommended. 7.1.2 STP Summary On this page you can view the related parameters for Spanning Tree function. Choose the menu Spanning Tree→STP Config→STP Summary to load the following page.
  • Page 86 Figure 7-6 Port Config The following entries are displayed on this screen: Port Config Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered. Select: Select the desired port for STP configuration. It is multi-optional. Port: Displays the port number of the switch.
  • Page 87: Mstp Instance

    is the shortest path between this MST region and the common root. Alternate Port: Indicates the port that can be a backup port of a root or master port. Backup Port: Indicates the port that is the backup port of a designated port.
  • Page 88: Instance Config

    The following entries are displayed on this screen: Region Config Region Name: Create a name for MST region identification using up to 32 characters. Revision: Enter the revision from 0 to 65535 for MST region identification. 7.3.2 Instance Config Instance Configuration, a property of MST region, is used to describe the VLAN to Instance mapping configuration.
  • Page 89: Instance Port Config

    Priority: Enter the priority of the switch in the instance. It is an important criterion on determining if the switch will be chosen as the root bridge in the specific instance. VLAN ID: Enter the VLAN ID which belongs to the corresponding instance ID. After modification here, the previous VLAN ID will be cleared and mapped to the CIST.
  • Page 90 Figure 7-9 Instance Port Config The following entries are displayed on this screen: Port Config Instance ID: Select the desired instance ID for its port configuration. Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered. Select: Select the desired port to specify its priority and path cost.
  • Page 91: Stp Security

    Step Operation Description Make clear roles the switches Preparation. play spanning tree instances: root bridge designated bridge Globally configure MSTP Required. Enable Spanning Tree function on the switch parameters configure MSTP parameters Spanning Tree→STP Config→STP Config page. Configure MSTP parameters Required.
  • Page 92 To avoid this, MSTP provides root protect function. Ports with this function enabled can only be set as designated ports in all spanning tree instances. When a port of this type receives BDPU packets with higher priority, it transits its state to blocking state and stops forwarding packets (as if it is disconnected from the link).
  • Page 93: Tc Protect

    Figure 7-10 Port Protect The following entries are displayed on this screen: Port Protect Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered. Select: Select the desired port for port protect configuration. It is multi-optional.
  • Page 94: Application Example For Stp Function

    Figure 7-11 TC Protect The following entries are displayed on this screen: TC Protect TC Threshold: Enter a number from 1 to 100. It is the maximum number of the TC-BPDUs received by the switch in a TC Protect Cycle. The default value is 20.
  • Page 95 On Spanning Tree→STP Config→Port Config page, enable MSTP function for the port. Configure the region name and On Spanning Tree→MSTP Instance→Region Config the revision of MST region page, configure the region as TP-LINK and keep the default revision setting. Configure VLAN-to-Instance Spanning Tree→MSTP...
  • Page 96 On Spanning Tree→STP Config→Port Config page, enable MSTP function for the port. Configure the region name and On Spanning Tree→MSTP Instance→Region Config the revision of MST region page, configure the region as TP-LINK and keep the default revision setting. Configure VLAN-to-Instance Spanning Tree→MSTP...
  • Page 97 For Instance 2 (VLAN 102, 104 and 106), the blue paths in the following figure are connected links; the gray paths are the blocked links. Suggestion for Configuration Enable TC Protect function for all the ports of switches. Enable Root Protect function for all the ports of root bridges. Enable Loop Protect function for the non-edge ports.
  • Page 98: Chapter 8 Multicast

    Chapter 8 Multicast Multicast Overview In the network, packets are sent in three modes: unicast, broadcast and multicast. In unicast, the source server sends separate copy information to each receiver. When a large number of users require this information, the server must send many pieces of information with the same content to the users.
  • Page 99 1. Multicast IP Address: As specified by IANA (Internet Assigned Numbers Authority), Class D IP addresses are used as destination addresses of multicast packets. The multicast IP addresses range from 224.0.0.0~239.255.255.255. The following table displays the range and description of several special multicast IP addresses.
  • Page 100: Igmp Snooping

    IGMP Snooping In the network, the hosts apply to the near Router for joining (leaving) a multicast group by sending IGMP (Internet Group Management Protocol) messages. When the up-stream device forwards down the multicast data, the switch is responsible for sending them to the hosts. IGMP Snooping is a multicast control mechanism, which can be used on the switch for dynamic registration of the multicast group.
  • Page 101: Snooping Config

    The host, running IGMPv1, does not send IGMP leave message when leaving a multicast group, as a result, the switch can not get the leave information of the host momentarily. However, after leaving the multicast group, the host does not send IGMP report message any more, so the switch will remove the port from the corresponding multicast address table when its member port time times out.
  • Page 102: Port Config

    Figure 8-4 Basic Config The following entries are displayed on this screen: Global Config IGMP Snooping: Select Enable/Disable IGMP Snooping function globally on the Switch. Unknown Multicast: Select the operation for the switch to process unknown multicast, Forward or Discard. IGMP Snooping Status Description: Displays IGMP Snooping status.
  • Page 103: Vlan Config

    Figure 8-5 Port Config The following entries are displayed on this screen: Port Config Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered. Select: Select the desired port for IGMP Snooping feature configuration. It is multi-optional.
  • Page 104 Figure 8-6 VLAN Config The following entries are displayed on this screen: VLAN Config VLAN ID: Enter the VLAN ID to enable IGMP Snooping for the desired VLAN. Router Port Time: Specify the aging time of the router port. Within this time, if the switch doesn’t receive IGMP query message from the router port, it will consider this port is not a router port any more.
  • Page 105: Multicast Vlan

    VLAN ID: Displays the VLAN ID. Router Port Time: Displays the router port time of the VLAN. Member Port Time: Displays the member port time of the VLAN. Leave Time: Displays the leave time of the VLAN. Router Port: Displays the router port of the VLAN. Note: The settings here will be invalid when multicast VLAN is enabled Configuration procedure:...
  • Page 106 Figure 8-7 Multicast VLAN The following entries are displayed on this screen: Multicast VLAN Multicast VLAN: Select Enable/Disable Multicast VLAN feature. VLAN ID: Enter the VLAN ID of the multicast VLAN. Router Port Time: Specify the aging time of the router port. Within this time, if the switch doesn’t receive IGMP query message from the router port, it will consider this port is not a router port any more.
  • Page 107 Configuration procedure: Step Operation Description Enable IGMP Snooping Required. Enable IGMP Snooping globally on the switch function port Multicast→IGMP Snooping→Snooping Config and Port Config page. Create a multicast VLAN Required. Create a multicast VLAN and add all the member ports and router ports to the VLAN on the VLAN→802.1Q VLAN page.
  • Page 108: Multicast Ip

    Configuration Procedure Step Operation Description Create VLANs Create three VLANs with the VLAN ID 3, 4 and 5 respectively, and specify the description of VLAN3 as Multicast VLAN on VLAN→802.1Q VLAN page. Configure ports On VLAN→802.1Q VLAN function pages. For port 3, configure its link type as GENERAL and its egress rule as TAG, and add it to VLAN3, VLAN4 and VLAN5.
  • Page 109: Multicast Ip Table

    8.2.1 Multicast IP Table On this page you can view the multicast IP table on the switch. Choose the menu Multicast→Multicast IP→Multicast IP Table to load the following page. Figure 8-8 Multicast IP Table The following entries are displayed on this screen: Search Option Multicast IP: Enter the multicast IP address the desired entry must carry.
  • Page 110: Multicast Filter

    Choose the menu Multicast→Multicast IP→Static Multicast IP to load the following page. Figure 8-9 Static Multicast IP Table The following entries are displayed on this screen: Create Static Multicast Multicast IP: Enter static multicast IP address. VLAN ID: Enter the VLAN ID of the multicast IP. Forward Port: Enter the forward port of the multicast group.
  • Page 111: Ip-Range

    to restrict users ordering multicast programs via configuring multicast filter rules. When applying for a multicast group, the host will send IGMP report message. After receiving the report message, the switch will firstly check the multicast filter rules configured for the receiving port.
  • Page 112: Port Filter

    8.3.2 Port Filter On this page you can configure the multicast filter rules for port. Take the configuration on this page and the configuration on IP-Range page together to function to implement multicast filter function on the switch. Choose the menu Multicast→Multicast Filter→Port Filter to load the following page. Figure 8-11 Port Filter The following entries are displayed on this screen: Port Filter Config...
  • Page 113: Packet Statistics

    Max Groups: Specify the maximum number of multicast groups to prevent some ports taking up too much bandwidth. LAG: Displays the LAG number which the port belongs to. Note: Multicast Filter feature can only have effect on the VLAN with IGMP Snooping enabled. Multicast Filter feature has no effect on static multicast IP.
  • Page 114 Figure 8-12 Packet Statistics The following entries are displayed on this screen: Auto Refresh Auto Refresh: Select Enable/Disable auto refresh feature. Refresh Period: Enter the time from 3 to 300 in seconds to specify the auto refresh period. IGMP Statistics Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered.
  • Page 115: Chapter 9 Qos

    Chapter 9 QoS QoS (Quality of Service) functions to provide different quality of service for various network applications and requirements and optimize the bandwidth resource distribution so as to provide a network service experience of a better quality. This switch classifies the ingress packets, maps the packets to different priority queues and then forwards the packets according to specified scheduling algorithms to implement QoS function.
  • Page 116 Figure 9-2 802.1Q frame As shown in the figure above, each 802.1Q Tag has a Pri field, comprising 3 bits. The 3-bit priority field is 802.1p priority in the range of 0 to 7. 802.1P priority determines the priority of the packets based on the Pri value.
  • Page 117 Figure 9-4 SP-Mode WRR-Mode: Weight Round Robin Mode. In this mode, packets in all the queues are sent in order based on the weight value for each queue and every queue can be assured of a certain service time. The weight value indicates the occupied proportion of the resource. WRR queue overcomes the disadvantage of SP queue that the packets in the queues with lower priority can not get service for a long time.
  • Page 118: Diffserv

    The QoS module is mainly for traffic control and priority configuration, including three submenus: DiffServ, Bandwidth Control and Voice VLAN. 9.1 DiffServ This switch classifies the ingress packets, maps the packets to different priority queues and then forwards the packets according to specified scheduling algorithms to implement QoS function. This switch implements three priority modes based on port, on 802.1P and on DSCP, and supports four queue scheduling algorithms.
  • Page 119: Schedule Mode

    Step Operation Description Select the port priority Required. On QoS→DiffServ→Port Priority page, configure the port priority. Configure mapping Required. On QoS→DiffServ→802.1P Priority page, relation between the 802.1P configure the mapping relation between the 802.1P priority and TC priority and TC. Select a schedule mode Required.
  • Page 120: P Priority

    9.1.3 802.1P Priority On this page you can configure 802.1P priority. 802.1P gives the Pri field in 802.1Q tag a recommended definition. This field is used to divide packets into 8 priorities. When 802.1P Priority is enabled, the packets with 802.1Q tag are mapped to different priority levels based on 802.1P priority mode.
  • Page 121 Figure 9-9 DSCP Priority The following entries are displayed on this screen: DSCP Priority Config DSCP Priority: Select Enable or Disable DSCP Priority. Priority Level DSCP: Indicates the priority determined by the DS region of IP datagram. It ranges from 0 to 63. Priority: Indicates the 802.1P priority the packets with tag are mapped to.
  • Page 122: Bandwidth Control

    9.2 Bandwidth Control Bandwidth function, allowing you to control the traffic rate and broadcast flow on each port to ensure network in working order, can be implemented on Rate Limit and Storm Control pages. 9.2.1 Rate Limit Rate limit functions to control the ingress/egress traffic rate on each port via configuring the available bandwidth of each port.
  • Page 123: Storm Control

    Egress Rate(Kbps): Configure the bandwidth for sending packets on the port. You can select a rate from the dropdown list or select "Manual" to set Ingress/Egress rate, the system will automatically select integral multiple of 64Kbps that closest to the rate you entered as the real Egress rate.
  • Page 124: Voice Vlan

    Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered. Select: Select the desired port for Storm Control configuration. It is multi-optional. Port: Displays the port number of the Switch. Broadcast Rate Select the bandwidth for receiving broadcast packets on the port.
  • Page 125 00-D0-1E-00-00-00 Pingtel phone 00-E0-75-00-00-00 Polycom phone 00-E0-BB-00-00-00 3com phone Table 9-1 OUI addresses on the switch Port Voice VLAN Mode A voice VLAN can operate in two modes: automatic mode and manual mode. Automatic Mode: In this mode, the switch automatically add a port which receives voice packets to voice VLAN and determine the priority of the packets through learning the source MAC of the UNTAG packets sent from IP phone when it is powered on.
  • Page 126: Global Config

    Table 9-2 Port voice VLAN mode and voice stream processing mode Security Mode of Voice VLAN When voice VLAN is enabled for a port, you can configure its security mode to filter data stream. If security mode is enabled, the port just forwards voice packets, and discards other packets whose source MAC addresses do not match OUI addresses.
  • Page 127: Port Config

    The following entries are displayed on this screen: Global Config Voice VLAN: Select Enable/Disable Voice VLAN function. VLAN ID: Enter the VLAN ID of the voice VLAN. Aging Time: Specifies the living time of the member port in auto mode after the OUI address is aging out.
  • Page 128: Oui Config

    Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered. Select: Select the desired port for voice VLAN configuration. It is multi-optional. Port: Displays the port number of the Switch. Port Mode: Select the mode for the port to join the voice VLAN.
  • Page 129 Create OUI OUI: Enter the OUI address of the voice device. Mask: Enter the OUI address mask of the voice device. Description: Give a description to the OUI for identification. OUI Table Select: Select the desired entry to view the detailed information. OUI: Displays the OUI address of the voice device.
  • Page 130: Chapter 10 Acl

    Chapter 10 ACL ACL (Access Control List) is used to filter packets by configuring match rules and process policies of packets in order to control the access of the illegal users to the network. Besides, ACL functions to control traffic flows and save network resources. It provides a flexible and secured access control policy and facilitates you to control the network security.
  • Page 131: Time-Range Create

    10.1.2 Time-Range Create On this page you can create time-ranges. Choose the menu ACL→Time-Range→Time-Range Create to load the following page. Figure 10-2 Time-Range Create Note: To successfully configure time-ranges, please firstly specify time-slices and then time-ranges. The following entries are displayed on this screen: Create Time-Range Name: Enter the name of the time-range for time identification.
  • Page 132: Holiday Config

    Start Time: Displays the start time of the time-slice. End Time: Displays the end time of the time-slice. Delete: Click the Delete button to delete the corresponding time-slice. 10.1.3 Holiday Config Holiday mode is applied as a different secured access control policy from the week mode. On this page you can define holidays according to your work arrangement.
  • Page 133: Acl Summary

    the performance of the switch. Packets are classified based on match rules in order of the rules. Once a rule is matched, The ACL Config function can be implemented on ACL Summary, ACL Create, MAC ACL, Standard-IP ACL and Extend-IP ACL pages. 10.2.1 ACL Summary On this page, you can view the current ACLs configured in the switch.
  • Page 134: Mac Acl

    Create ACL ACL ID: Enter ACL ID of the ACL you want to create. Rule Order: User Config order is set to be match order in this ACL. 10.2.3 MAC ACL MAC ACLs analyze and process packets based on a series of match conditions, which can be the source MAC addresses, destination MAC addresses, VLAN ID, and EtherType carried in the packets.
  • Page 135: Standard-Ip Acl

    User Priority: Select the user priority contained in the rule for the tagged packets to match. Time-Range: Select the time-range for the rule to take effect. 10.2.4 Standard-IP ACL Standard-IP ACLs analyze and process data packets based on a series of match conditions, which can be the source IP addresses and destination IP addresses carried in the packets.
  • Page 136 Choose the menu ACL→ACL Config→Extend-IP ACL to load the following page. Figure10-8 Create Extend-IP Rule The following entries are displayed on this screen: Create Extend-IP ACL ACL ID: Select the desired Extend-IP ACL for configuration. Rule ID: Enter the rule ID. Operation: Select the operation for the switch to process packets which match the rules.
  • Page 137: Policy Config

    IP ToS: Enter the IP-ToS contained in the rule. IP Pre: Enter the IP Precedence contained in the rule. Time-Range: Select the time-range for the rule to take effect. 10.3 Policy Config A Policy is used to control the data packets those match the corresponding ACL rules by configuring ACLs and actions together for effect.
  • Page 138: Policy Create

    10.3.2 Policy Create On this page you can create the policy. Choose the menu ACL→Policy Config→Policy Create to load the following page. Figure 10-10 Create Policy The following entries are displayed on this screen: Create Policy Policy Name: Enter the name of the policy. 10.3.3 Action Create On this page you can add ACLs and create corresponding actions for the policy.
  • Page 139: Policy Binding

    Select Policy: Select the name of the policy. Select ACL: Select the ACL for configuration in the policy. S-Mirror: Select S-Mirror to mirror the data packets in the policy to the specific port. S-Condition: Select S-Condition to limit the transmission rate of the data packets in the policy.
  • Page 140: Port Binding

    Search Option Show Mode: Select a show mode appropriate to your needs. Policy Bind Table Select: Select the desired entry to delete the corresponding binding policy. Index: Displays the index of the binding policy. Policy Name: Displays the name of the binding policy. Interface: Displays the port number or VLAN ID bound to the policy.
  • Page 141: Application Example For Acl

    Figure10-14 Bind the policy to the VLAN The following entries are displayed on this screen: VLAN-Bind Config Policy Name: Select the name of the policy you want to bind. VLAN ID: Enter the ID of the VLAN you want to bind. VLAN-Bind Table Index: Displays the index of the binding policy.
  • Page 142 4. The R&D department and marketing department can not communicate with each other. Network Diagram Configuration Procedure Step Operation Description Configure On ACL→Time-Range page, create a time-range named work_time. Time-range Select Week mode and configure the week time from Monday to Friday. Add a time-slice 08:00~18:00.
  • Page 143 Configure On ACL→ACL Config→ACL Create page, create ACL 100. requirement On ACL→ACL Config→Standard-IP ACL page, select ACL 100, and 4 create Rule 1, configure operation as Deny, configure S-IP as 172.31.70.1 and mask as 255.255.255.0, configure D-IP as 172.31.50.1 and mask as 255.255.255.0, configure the time-range as No Limit.
  • Page 144: Chapter 11 Network Security

    Chapter 11 Network Security Network Security module is to provide the multiple protection measures for the network security, including four submenus: IP-MAC Binding, ARP Inspection, DoS Defend and 802.1X. Please configure the functions appropriate to your need. 11.1 IP-MAC Binding The IP-MAC Binding function allows you to bind the IP address, MAC address, VLAN ID and the connected Port number of the Host together.
  • Page 145: Manual Binding

    The following entries are displayed on this screen: Search Option Source: Select a Source from the pull-down list and click the Search button to view your desired entry in the Binding Table. • All: All the bound entries will be displayed. •...
  • Page 146 Figure 11-2 Manual Binding The following entries are displayed on this screen: Manual Binding Option Host Name: Enter the Host Name. IP Address: Enter the IP Address of the Host. MAC Address: Enter the MAC Address of the Host. VLAN ID: Enter the VLAN ID.
  • Page 147: Arp Scanning

    11.1.3 ARP Scanning ARP (Address Resolution Protocol) is used to analyze and map IP addresses to the corresponding MAC addresses so that packets can be delivered to their destinations correctly. IP address is the address of the Host on Network layer. MAC address, the address of the Host on Data link layer, is necessary for the packet to reach the very device.
  • Page 148: Dhcp Snooping

    Figure 11-4 ARP Scanning The following entries are displayed on this screen: Scanning Option Start IP Address: Specify the Start IP Address. End IP Address: Specify the End IP Address. VLAN ID: Enter the VLAN ID. If blank, the switch will send the untagged packets for scanning.
  • Page 149 network configuration protocol optimized and developed based on the BOOTP, functions to solve the above mentioned problems. DHCP Working Principle DHCP works via the “Client/Server” communication mode. The Client applies to the Server for configuration. The Server assigns the configuration information, such as the IP address, to the Client, so as to reach a dynamic employ of the network source.
  • Page 150 Figure 11-6 Interaction between a DHCP client and a DHCP server (1) DHCP-DISCOVER Stage: The Client broadcasts the DHCP-DISCOVER packet to find the DHCP Server. (2) DHCP-OFFER Stage: Upon receiving the DHCP-DISCOVER packet, the DHCP Server selects an IP address from the IP pool according to the assigning priority of the IP addresses and replies to the Client with DHCP-OFFER packet carrying the IP address and other information.
  • Page 151 Option 82 can contain 255 sub-options at most. If Option 82 is defined, at least a sub-option should be defined. This Switch supports two sub-options: Circuit ID and Remote ID. Since there is no universal standard about the content of Option 82, different manufacturers define the sub-options of Option 82 to their need.
  • Page 152 Choose the menu Network Security→IP-MAC Binding→Binding Table to load the following page. Figure 11-8 DHCP Snooping Note: If you want to enable the DHCP Snooping feature for the member port of LAG, please ensure the parameters of all the member ports are the same. The following entries are displayed on this screen: DHCP Snooping Config DHCP Snooping:...
  • Page 153 messages that can be forwarded by the switch per second. The excessive massages will be discarded. Decline Threshold: Select the value to specify the minimum transmission rate of the Decline packets to trigger the Decline protection for the specific port. Decline Flow Control: Select the value to specify the Decline Flow Control.
  • Page 154: Arp Inspection

    11.2 ARP Inspection According to the ARP Implementation Procedure stated in 11.1.3 ARP Scanning, it can be found that ARP protocol can facilitate the Hosts in the same network segment to communicate with one another or access to external network via Gateway. However, since ARP protocol is implemented with the premise that all the Hosts and Gateways are trusted, there are high security risks during ARP Implementation Procedure in the actual complex network.
  • Page 155 Figure 11-10 ARP Attack – Cheating Gateway As the above figure shown, the attacker sends the fake ARP packets of Host A to the Gateway, and then the Gateway will automatically update its ARP table after receiving the ARP packets. When the Gateway tries to communicate with Host A in LAN, it will encapsulate this false destination MAC address for packets, which results in a breakdown of the normal communication.
  • Page 156 Figure 11-11 ARP Attack – Cheating Terminal Hosts As the above figure shown, the attacker sends the fake ARP packets of Host A to Host B, and then Host B will automatically update its ARP table after receiving the ARP packets. When Host B tries to communicate with Host A, it will encapsulate this false destination MAC address for packets, which results in a breakdown of the normal communication.
  • Page 157 Figure 11-12 Man-In-The-Middle Attack Suppose there are three Hosts in LAN connected with one another through a switch. Host A: IP address is 192.168.0.101; MAC address is 00-00-00-11-11-11. Host B: IP address is 192.168.0.102; MAC address is 00-00-00-22-22-22. Attacker: IP address is 192.168.0.103; MAC address is 00-00-00-33-33-33. First, the attacker sends the false ARP response packets.
  • Page 158: Arp Detect

    and the connected Port number of the Host together when the Host connects to the switch. Based on the predefined IP-MAC Binding entries, the ARP Inspection functions to detect the ARP packets and filter the illegal ARP packet so as to prevent the network from ARP attacks. The ARP Inspection function is implemented on the ARP Detect, ARP Defend and ARP Statistics pages.
  • Page 159: Arp Defend

    Configuration Procedure: Step Operation Description Bind the IP address, MAC Required. On the IP-MAC Binding page, bind the IP address, VLAN ID and the address, MAC address, VLAN ID and the connected Port connected Port number of number of the Host together via Manual Binding, ARP the Host together.
  • Page 160: Arp Statistics

    based on the port number you entered. Select: Select your desired port for configuration. It is multi-optional. Port: Displays the port number. Defend: Select Enable/Disable the ARP Defend feature for the port. Speed: Enter a value to specify the maximum amount of the received ARP packets per second.
  • Page 161: Dos Defend

    Auto Refresh: Enable/Disable the Auto Refresh feature. Refresh Interval: Specify the refresh interval to display the ARP Statistics. Illegal ARP Packet Port: Displays the port number. Trusted Port: Indicates the port is an ARP Trusted Port or not. Illegal ARP Packet: Displays the number of the received illegal ARP packets.
  • Page 162 SYN-ACK packets. Since the IP address is fake, no response will be returned. The Server will keep on sending SYN-ACK packets. If the attacker sends overflowing fake request packets, the network resource will be occupied maliciously and the requests of the legal clients will be denied. Table 11-1 Defendable DoS Attack Types On this page, you can enable the DoS Defend type appropriate to your need.
  • Page 163 (2) Authenticator System: The authenticator system is usually an 802.1X-supported network device, such as this TP-LINK switch. It provides the physical or logical port for the supplicant system to access the LAN and authenticates the supplicant system. (3) Authentication Server System: The authentication server system is an entity that provides authentication service to the authenticator system.
  • Page 164 802.1X client program to initiate an 802.1X authentication through the sending of an EAPOL-Start packet to the switch, This TP-LINK switch can authenticate supplicant systems in EAP relay mode or EAP terminating mode. The following illustration of these two modes will take the 802.1X authentication procedure initiated by the supplicant system for example.
  • Page 165 Upon receiving the authentication request packet, the switch sends an EAP-Request/Identity packet to ask the 802.1X client program for the user name. The 802.1X client program responds by sending an EAP-Response/Identity packet to the switch with the user name included. The switch then encapsulates the packet in a RADIUS Access-Request packet and forwards it to the RADIUS server.
  • Page 166: Global Config

    In PAP mode, the switch encrypts the password and sends the user name, the randomly-generated key, and the supplicant system-encrypted password to the RADIUS server for further authentication. Whereas the randomly-generated key in EAP-MD5 relay mode is generated by the authentication server, and the switch is responsible to encapsulate the authentication packet and forward it to the RADIUS server.
  • Page 167 Figure 11-20 Global Config The following entries are displayed on this screen: Global Config 802.1X: Enable/Disable the 802.1X function. Authentication Method: Select the Authentication Method from the pull-down list. • EAP-MD5: IEEE 802.1X authentication system uses extensible authentication protocol (EAP) to exchange information between the switch and the client.
  • Page 168: Port Config

    failed to the 802.1X Authentication, then the switch will not respond to the authentication request from the same supplicant during the Quiet Period. Retry Times: Specify the maximum transfer times of the repeated authentication request. Supplicant Timeout: Specify the maximum time for the switch to wait for the response from supplicant before resending a request to the supplicant.
  • Page 169: Radius Server

    Control Mode: Specify the Control Mode for the port. • Auto: In this mode, the port will normally work only after passing the 802.1X Authentication. • Force-Authorized: In this mode, the port can work normally without passing the 802.1X Authentication. •...
  • Page 170 Authentication KEY: Set the shared password for the switch and the authentication servers to exchange messages. Accounting Config Accounting: Enable/Disable the accounting feature. Primary IP: Enter the IP address of the accounting server. Secondary IP: Enter the IP address of the alternate accounting server. Accounting Port: Set the UDP port of accounting server(s).
  • Page 171: Chapter 12 Snmp

    Chapter 12 SNMP SNMP Overview SNMP (Simple Network Management Protocol) has gained the most extensive application on the UDP/IP networks. SNMP provides a management frame to monitor and maintain the network devices. It is used for automatically managing the various network devices no matter the physical differences of the devices.
  • Page 172 SNMP v1: SNMP v1 adopts Community Name authentication. The community name is used to define the relation between SNMP Management Station and SNMP Agent. The SNMP packets failing to pass community name authentication are discarded. The community name can limit access to SNMP Agent from SNMP NMS, functioning as a password.
  • Page 173: Snmp Config

    management station. The specified User Name and the Auth/Privacy Password are used for SNMP Management Station to access the SNMP Agent, functioning as the password. SNMP module is used to configure the SNMP function of the switch, including three submenus: SNMP Config, Notification and RMON.
  • Page 174: Snmp View

    Note: The amount of Engine ID characters must be even. 12.1.2 SNMP View The OID (Object Identifier) of the SNMP packets is used to describe the managed objects of the switch, and the MIB (Management Information Base) is the set of the OIDs. The SNMP View is created for the SNMP management station to manage MIB objects.
  • Page 175: Snmp Group

    12.1.3 SNMP Group On this page, you can configure SNMP Group to control the network access by providing the users in various groups with different management rights via the Read View, Write View and Notify View. Choose the menu SNMP→SNMP Config→SNMP Group to load the following page. Figure 12-5 SNMP Group The following entries are displayed on this screen: Group Config...
  • Page 176: Snmp User

    Write View: Select the View to be the Write View. The management access is writing only and changes can be made to the assigned SNMP View. The View defined both as the Read View and the Write View can be read and modified. Notify View: Select the View to be the Notify View.
  • Page 177 Figure 12-6 SNMP User The following entries are displayed on this screen: User Config User Name: Enter the User Name here. User Type: Select the type for the User. • Local User: Indicates that the user is connected to a local SNMP engine.
  • Page 178: Snmp Community

    User Table Select: Select the desired entry to delete the corresponding User. It is multi-optional. User Name: Displays the name of the User. User Type: Displays the User Type. Group Name: Displays the Group Name of the User. Security Model: Displays the Security Model of the User.
  • Page 179 • read-only: Management right of the Community is restricted to read-only, and changes cannot be made to the corresponding View. • read-write: Management right of the Community is read-write and changes can be made to the corresponding View. MIB View: Select the MIB View for the community to access.
  • Page 180: Notification

    Create SNMP View. Required. On the SNMP→SNMP Config→SNMP View page, create SNMP View of the management agent. The default View Name is viewDefault and the default OID is 1. Create SNMP Required alternatively. Community Create SNMP Community directly. directly. SNMP→SNMP Config→SNMP Community page, create SNMP Community based on SNMP v1 and SNMP v2c.
  • Page 181 Figure 12-8 Notification Config The following entries are displayed on this screen: Create Notification IP Address: Enter the IP Address of the management Host. UDP Port: Enter the number of the UDP port used to send notifications. The UDP port functions with the IP address for the notification sending.
  • Page 182: Rmon

    Select: Select the desired entry to delete the corresponding management station. IP Address: Displays the IP Address of the management host. UDP Port: Displays the UDP port used to send notifications. User: Displays the User name of the management station. Security Model: Displays the Security Model of the management station.
  • Page 183: History Control

    The RMON Groups can be configured on the History Control, Event Config and Alarm Config pages. 12.3.1 History Control On this page, you can configure the History Group for RMON. Choose the menu SNMP→RMON→History Control to load the following page. Figure 12-9 History Control The following entries are displayed on this screen: History Control Table...
  • Page 184: Alarm Config

    Figure 12-10 Event Config The following entries are displayed on this screen: Event Table Select: Select the desired entry for configuration. Index: Displays the index number of the entry. User: Enter the name of the User or the community to which the event belongs.
  • Page 185 Figure 12-11 Alarm Config The following entries are displayed on this screen: Alarm Table Select: Select the desired entry for configuration. Index: Displays the index number of the entry. Variable: Select the alarm variables form the pull-sown list. Port: Select the port on which the Alarm entry acts. Sample Type: Specify the sampling method for the selected variable and comparing the value against the thresholds.
  • Page 186 Interval: Enter the alarm interval time in seconds. Owner: Enter the name of the device or user that defined the entry. Status: Select Enable/Disable the corresponding alarm entry. Note: When alarm variables exceed the Threshold on the same direction continuously for several times, an alarm event will only be generated on the first time, that is, the Rising Alarm and Falling Alarm are triggered alternately for that the alarm following to Rising Alarm is certainly a Falling Alarm and vice versa.
  • Page 187: Chapter 13 Cluster

    Chapter 13 Cluster With the development of network technology, the network scale is getting larger and more network devices are required, which may result in a more complicated network management system. As a large number of devices need to be assigned different network addresses and every management device needs to be respectively configured to meet the application requirements, manpower are needed.
  • Page 188: Ndp

    The commander switch becomes to be the candidate switch only when the cluster is deleted. Note: TL-SG3210 Switch cannot be configured as commander switch to manage the cluster. Introduction to Cluster Cluster functions to configure and manage the switches in the cluster based on three protocols, NDP, NTDP and CMP (Cluster Management Protocol).
  • Page 189: Ndp Summary

    Figure 13-2 Neighbor Information The following entries are displayed on this screen: Neighbor Search Option: Select the information the desired entry should contain and then click the Search button to display the desired entry in the following Neighbor Information table. Neighbor Info Native Port: Displays the port number of the switch.
  • Page 190 Figure 13-3 NDP Summary The following entries are displayed on this screen: Global Config NDP: Displays the global NDP status (enabled or disabled) for the switch. Aging Time: Displays the period for the neighbor switch to keep the NDP packets from this switch. Hello Time: Displays the interval to send NDP packets.
  • Page 191: Ndp Config

    13.1.3 NDP Config On this page you can configure the NDP function for the switch. Choose the menu Cluster→NDP→NDP Config to load the following page. Figure 13-4 NDP Config The following entries are displayed on this screen: Global Cofig NDP: Select Enable/Disable NDP function globally.
  • Page 192: Device Table

    information. NTDP transmits and forwards NTDP topology collection request based on NDP neighbor information table, and collects the NDP information and neighboring connection information of each device in a specific network range. The commander switch can collects the specified topology in the network regularly and you can also enable topology collection manually on the commander switch.
  • Page 193: Ntdp Summary

    Collect Topology: Click the Collect Topology button to collect NTDP information of the switch so as to collect the latest network topology. Click the Detail button to view the complete information of this device and its neighbors. Figure 13-6 Information of the Current Device 13.2.2 NTDP Summary On this page you can view the NTDP configuration.
  • Page 194: Ntdp Config

    The following entries are displayed on this screen: Global Config NTDP: Displays the NTDP status (enabled or disabled) of the switch globally. NTDP Interval Time: Displays the interval to collect topology information. NTDP Hops: Displays the hop count the switch topology collects. NTDP Hop Delay: Displays the time between the switch receiving NTDP request packets and the switch forwarding NTDP request packets for the...
  • Page 195: Cluster

    NTDP: Select Enable/Disable NTDP for the switch globally. NTDP Interval Time: Enter the interval to collect topology information. The default is 1 minute. NTDP Hops: Enter the hop count the switch topology collects. The default is 3 hops. NTDP Hop Delay: Enter the time between the switch receiving NTDP request packets and the switch forwarding NTDP request packets for the first time.
  • Page 196 Figure 13-9 Cluster Summary for Candidate Switch The following entries are displayed on this screen: Global Cluster: Displays the cluster status (enabled or disabled) of the switch. Cluster Role: Displays the role the switch plays in the cluster. For a member switch, the following page is displayed: Figure 13-10 Cluster Summary for Member Switch The following entries are displayed on this screen: Global Config...
  • Page 197: Cluster Config

    Figure 13-11 Cluster Summary for Individual Switch The following entries are displayed on this screen: Global Config Cluster: Displays the cluster status (enabled or disabled) of the switch. Cluster Role: Displays the role the switch plays in the cluster. 13.3.2 Cluster Config On this page you can configure the status of the cluster the switch belongs to.
  • Page 198: Application Example For Cluster Function

    Select this option to change the role of the switch to be candidate switch. 13.4 Application Example for Cluster Function Network Requirements Three switches form cluster, one commander switch (Here take TP-LINK TL-SL5428E as an example) and two member switches (Here take TP-LINK TL-SG3210 as an example). The...
  • Page 199 administrator manages all the switches in the cluster via the commander switch. Port 1 of the commander switch is connecting to the external network, port 2 is connecting to member switch 1 and port 3 is connecting to member switch 2. IP pool: 175.128.0.1, Mask: 255.255.255.0.
  • Page 200 Configure the member switch On Cluster→Cluster→Member Config page, select the member switch and click the Manage button to log on to its Web management page. Cluster→Cluster→Cluster Topology page, double-click the switch icon to view its detailed information; click the switch icon and click the Manage button to log on to the Web management page.
  • Page 201: Chapter 14 Maintenance

    Chapter 14 Maintenance Maintenance module, assembling the commonly used system tools to manage the switch, provides the convenient method to locate and solve the network problem. (1) System Monitor: Monitor the utilization status of the memory and the CPU of switch. (2)...
  • Page 202: Memory Monitor

    Figure 14-1 CPU Monitor Click the Monitor button to enable the switch to monitor and display its CPU utilization rate every four seconds. 14.1.2 Memory Monitor Choose the menu Maintenance→System Monitor→Memory Monitor to load the following page.
  • Page 203: Log

    Figure 14-2 Memory Monitor Click the Monitor button to enable the switch to monitor and display its Memory utilization rate every four seconds. 14.2 Log The Log system of switch can record, classify and manage the system information effectively, providing powerful support for network administrator to monitor network operation and diagnose malfunction.
  • Page 204: Log Table

    The Log function is implemented on the Log Table, Local Log, Remote Log and Backup Log pages. 14.2.1 Log Table The switch supports logs output to two directions, namely, log buffer and log file. The information in log buffer will be lost after the switch is rebooted or powered off whereas the information in log file will be kept effective even the switch is rebooted or powered off.
  • Page 205: Local Log

    14.2.2 Local Log Local Log is the log information saved in switch. By default, all system logs are saved in log buffer and the logs with severities from level_0 to level_4 are saved in log file meanwhile. On this page, you can set the output channel for logs.
  • Page 206: Backup Log

    Figure 14-5 Log Host The following entries are displayed on this screen: Log Host Index: Displays the index of the log host. The switch supports 4 log hosts. Host IP: Configure the IP for the log host. UDP Port: Displays the UDP port used for receiving/sending log information.
  • Page 207: Device Diagnose

    The following entry is displayed on this screen: Backup Log Backup Log: Click the Backup Log button to save the log as a file to your computer. Note: It will take a few minutes to backup the log file. Please wait without any operation. 14.3 Device Diagnose This switch provides Cable Test and Loopback functions for device diagnose.
  • Page 208: Loopback

    Note: The Length displayed here is the length of pair cable not that of the physical cable. The test result is just for your reference. 14.3.2 Loopback Loopback test function, looping the sender and the receiver of the signal, is used to test whether the port of the switch is available as well as to check and analyze the physical connection status of the port to help you locate and solve network malfunctions.
  • Page 209: Tracert

    Figure 14-9 Ping The following entries are displayed on this screen: Ping Config Destination IP: Enter the IP address of the destination node for Ping test. Ping Times: Enter the amount of times to send test data during Ping testing. The default value is recommended.
  • Page 210 Figure 14-10 Tracert The following entries are displayed on this screen: Tracert Config Destination IP: Enter the IP address of the destination device. Max Hop: Specify the maximum number of the route hops the test data can pass through. Return to CONTENTS...
  • Page 211: Appendix A: Specifications

    Appendix A: Specifications IEEE802.3 10Base-T Ethernet IEEE802.3u 100Base-TX/100Base-FX Fast Ethernet IEEE802.3ab 1000Base-T Gigabit Ethernet IEEE802.3z 1000Base-X Gigabit Ethernet Standards IEEE802.3x Flow Control IEEE802.1p Priority IEEE802.1q VLAN Bridge IEEE802.1X Port-based Access Authentication Ethernet: 10Mbps HD,20Mbps FD Transmission Rate Fast Ethernet: 100Mbps HD,200Mbps FD Gigabit Ethernet: 2000Mbps FD 10Base-T: UTP/STP of Cat.
  • Page 212: Appendix B: Configuring The Pcs

    Appendix B: Configuring the PCs In this section, we’ll introduce how to install and configure the TCP/IP correctly in Windows 2000. First make sure your Ethernet Adapter is working, refer to the adapter’s manual if necessary. On the Windows taskbar, click the Start button, and then click Control Panel. Click the Network and Internet Connections icon, and then click on the Network Connections tab in the appearing window.
  • Page 213 Figure B-2 The following TCP/IP Properties window will display and the IP Address tab is open on this window by default.
  • Page 214 Select Use the following IP address. And the following items will be available. If the switch's IP address is 192.168.0.1, specify IP address as 192.168.0.x (x is from 2 to 254), and the Subnet mask as 255.255.255.0. Now: Click OK to save your settings. Return to CONTENTS...
  • Page 215: Appendix C: Load Software Using Ftp

    Appendix C: Load Software Using FTP If there is something wrong with the firmware of the switch and the switch can not be launched, you can load the software to the switch via FTP function. FTP (File Transfer Protocol), a protocol in the application layer, is mainly used to transfer files between the remote server and the local PCs.
  • Page 216 Figure C-2 Open Hyper Terminal 2) The Connection Description Window will prompt shown as the following figure. Enter a name into the Name field and click OK. Figure C-3 Connection Description 3) Select the port to connect in the figure below and click OK.
  • Page 217 Figure C-4Select the port to connect 4) Configure the port selected in the step above shown as the following figure. Configure Bits per second as 38400, Data bits as 8, Parity as None, Stop bits as 1, Flow control as None, and then click OK. Figure C-5 Port Settings 3.
  • Page 218 The detailed command is shown as the following figure. Enter the command and press Enter. [TP-LINK] : ftp host 172.31.70.146 user 123 pwd 123 file tl_sg3210_up.bin 5) Enter the upgrade command and press Enter to upgrade the firmware. After a while, the prompt “You can only use the port 1 to upgrade”...
  • Page 219 [TP-LINK] : start Start ..* * * * * * * * * * * * * * * * * * * * * * User Access Login * * * * * * * * * * * * * * * * * * * * * *...
  • Page 220: Appendix D: 802.1X Client Software

    In 802.1X mechanism, the supplicant Client should be equipped with the corresponding client software complied with 802.1X protocol standard for 802.1X authentication. When the switch TL-SG3210 works as the authenticator system, please take the following instructions to install the TpSupplicant provided on the attached CD for the supplicant Client.
  • Page 221 Figure D-3 Welcome to the InstallShield Wizard To continue, choose the destination location for the installation files and click Next on the following screen. Figure D-4 Choose Destination Location By default, the installation files are saved on the Program Files folder of system disk. Click the Change button to modify the destination location proper to your need.
  • Page 222 Figure D-5 Install the Program The InstallShield Wizard is installing TpSupplicant-V2.0 shown as the following screen. Please wait. Figure D-6 Setup Status On the following screen, click Finish to complete the installation.
  • Page 223 Uninstall Software If you want to remove the TpSupplicant, please take the following steps: On the Windows taskbar, click the Start button, point to All Programs TP-LINK TpSupplicant-V2.0, and then click Uninstall TP-LINK 802.1X, shown as the following figure.
  • Page 224 On the continued screen, click Yes to remove the application from your PC. Figure D-10 Uninstall the Application Click Finish to complete. Figure D-11 Uninstall Complete Configuration After completing installation, double click the icon to run the TP-LINK 802.1X Client Software. The following screen will appear.
  • Page 225 Figure D-12 TP-LINK 802.1X Client Enter the Name and the Password specified in the Authentication Server. The length of Name and Password should be less than 15 characters. Click the Properties button on Figure D-12 to load the following screen for configuring the connection properties.
  • Page 226 period. To continue, click Connect button after entering the Name and Password on Figure D-12. Then the following screen will appear to prompt that the Radius server is being searched. Figure D-14 Authentication Dialog When passing the authentication, the following screen will appear. Figure D-15 Successfully Authenticated Double click the icon on the right corner of desktop, and then the following connection...
  • Page 227 FAQ: Q1: Why does this error dialog box pop up when starting up the TP-LINK 802.1X Client Software? A1: It’s because the supported DLL file is missing. You are suggested to go to http://www.winpcap.org to download WinPcap 4.0.2 or the higher version for installation, and run the client software again.
  • Page 228: Appendix E: Glossary

    Appendix E: Glossary Access Control List (ACL) ACLs can limit network traffic and restrict access to certain users or devices by checking each packet for certain IP or MAC (i.e., Layer 2) information. Boot Protocol (BOOTP) BOOTP is used to provide bootup information for network devices, including IP address information, the address of the TFTP server that contains the devices system files, and the name of the boot file.
  • Page 229 GMRP allows network devices to register end stations with multicast groups. GMRP requires that any participating network devices or end stations comply with the IEEE 802.1p standard. Group Attribute Registration Protocol (GARP) See Generic Attribute Registration Protocol. IEEE 802.1D Specifies a general method for the operation of MAC bridges, including the Spanning Tree Protocol.
  • Page 230 Data Link layer in the ISO 7-Layer Data Communications Protocol. This is related directly to the hardware interface for network devices and passes on traffic based on MAC addresses. Link Aggregation See Port Trunk. Link Aggregation Control Protocol (LACP) Allows ports to automatically negotiate a trunked link with LACP-configured ports on another device.
  • Page 231 switch. Simple Network Management Protocol (SNMP) The application protocol in the Internet suite of protocols which offers network management services. Simple Network Time Protocol (SNTP) SNTP allows a device to set its internal clock based on periodic updates from a Network Time Protocol (NTP) server.

Table of Contents