COPYRIGHT & TRADEMARKS 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.
Safety Information When product has power button, the power button is one of the way to shut off the product; When there is no power button, the only way to completely shut off power is to disconnect the product or the power adapter from the power source. ...
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 5
4.4.2 SSL Config .......................23 4.4.3 SSH Config ......................24 Chapter 5 Switching........................30 Port ..........................30 5.1.1 Port Config .......................30 5.1.2 Port Mirror ......................31 5.1.3 Port Security ....................34 5.1.4 Port Isolation ....................36 5.1.5 Loopback Detection ..................37 LAG ..........................38 5.2.1 LAG Table ......................39 5.2.2 Static LAG ......................40 5.2.3 LACP Config ....................41...
Page 6
STP Config .........................81 7.1.1 STP Config.......................81 7.1.2 STP Summary....................83 Port Config........................83 MSTP Instance ......................85 7.3.1 Region Config ....................85 7.3.2 Instance Config ....................86 7.3.3 Instance Port Config..................87 STP Security.......................89 7.4.1 Port Protect ......................89 7.4.2 TC Protect......................92 Application Example for STP Function ...............92 Chapter 8 Multicast........................96 IGMP Snooping ......................98 8.1.1...
One console cable Two mounting brackets and other fittings Installation Guide Resource CD for TL-SG3210/TL-SG3216/TL-SG3424 switch, including: This User Guide Other Helpful Information Note: Make sure that the package contains the above items. If any of the listed items are damaged or...
Tips: The TL-SG3210/TL-SG3216/TL-SG3424 switchs are sharing this User Guide. For simplicity, we will take TL-SG3216 for example throughout this Guide. They just differ in the number of LED indicators and ports and all figures in this guide are of TL-SG3216.
Page 12
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 ...
Page 13
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 ...
Page 14
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. ...
Chapter 2 Introduction Thanks for choosing the TL-SG3210/TL-SG3216/TL-SG3424 JetStream L2 Managed Switch! 2.1 Overview of the Switch Designed for workgroups and departments, TL-SG3210/TL-SG3216/TL-SG3424 from TP-LINK provides wire-speed performance and full set of layer 2 management features. It provides a variety of service features and multiple powerful functions with high security.
SFP transceiver slots that are shared with the associated RJ45 ports. The associated two ports are referred to as “Combo” ports, which means they cannot be used simultaneously, otherwise only SFP ports work. TL-SG3210 features two individual SFP ports. Note:...
2.3.2 Rear Panel The rear panel of the switch features a power socket and a Grounding Terminal (marked with ). Figure 2-2 Rear Panel Grounding Terminal: The switch 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.
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 19
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.
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, Daylight Saving Time and System IP pages.
Page 21
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 ...
Bandwidth Utilization 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 23
Figure 4-5 System Time The following entries are displayed on this screen: Time Info Current System Displays the current date and time of the switch. Date: Current Time Displays the current time Source of the switch. Source: Time Config ...
4.1.4 Daylight Saving Time Here you can configure the Daylight Saving Time of the switch. Choose the menu System→System Info→Daylight Saving Time to load the following page. Figure 4-6 Daylight Saving Time The following entries are displayed on this screen: DST Config ...
Date Mode: Specify the DST configuration in Date mode. This configuration is one-off in use. Offset: Specify the time adding in minutes when Daylight Saving Time comes. Start/End Time: Select starting time and ending time of Daylight Saving Time. Note: When disable the DST, the predefined mode, recurring mode and date mode cannot be configured.
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 27
Figure 4-9 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 ...
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.
Figure 4-11 Config Backup The following entries are displayed on this screen: Config Backup Backup Config: Click the Backup Config button to save the current configuration as a file to your computer. You are suggested to take this measure before upgrading.
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 losing the configuration unsaved Choose the menu System→System Tools→System Reboot to load the following page.
Page 31
Figure 4-15 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 ...
Session 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;...
Figure 4-16 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 ...
Page 34
an insecure network environment. It can encrypt all the transmission data and prevent the 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.
Page 35
Key Download 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 36
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 37
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 38
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.
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, Port Isolation and Loopback detection pages.
Speed and Duplex mode. For 100M module, please select 100MFD while select 1000MFD for gigabit module. By default, the Speed and Duplex mode of SFP port is 1000MFD. For TL-SG3210, it only supports 1000MFD mode.
Page 41
Figure 5-2 Mirroring Port The following entries are displayed on this screen. Mirror Group List Group: Displays the mirror group number. Mirroring: Displays the mirroring port number. Mode: Displays the mirror mode, the value will be "Ingress" or "Egress". Mirrored Port: Displays the mirrored ports.
Page 42
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 Mirroring Port: Select the mirroring port number. Mirrored Port Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered.
Egress: Select Enable/Disable the Egress feature. When the Egress is enabled, the outgoing packets sent by the mirrored port will be copied to the mirroring port. LAG: Displays the LAG number which the port belongs to. The LAG member can not be selected as the mirrored port or mirroring port.
Page 44
Figure 5-4 Port Security The following entries are displayed on this screen: Port Security Select: Select the desired port for Port Security configuration. It is multi-optional. Port: Displays the port number. Max Learned MAC: Specify the maximum number of MAC addresses that can be learned on the port.
Note: The Port Security function is disabled for the LAG port member. Only the port is removed from the LAG, will the Port Security function be available for the port. The Port Security function is disabled when the 802.1X function is enabled. 5.1.4 Port Isolation Port Isolation provides a method of restricting traffic flow to improve the network security by forbidding the port to forward packets to the ports that are not on its forward portlist.
Port Isolation List Port: Display the port number. Forward Portlist: Display the Forward Portlist. 5.1.5 Loopback Detection With loopback detection feature enabled, the switch can detect loops using loopback detection packets. When a loop is detected, the switch will display an alert or further block the corresponding port according to the port configuration.
Global Config LoopbackDetection Here you can enable or disable Loopback Detection function Status: globally. Detection Interval: Set a Loopback Detection interval between 1 and 1000 seconds. By default, it’s 30 seconds. Automatic Recovery Time after which the blocked port would automatically recover to Time: normal status.
If the ports, which are enabled for the GVRP, 802.1Q VLAN, Voice VLAN, STP, QoS, DHCP Snooping and Port Configuration (Speed and Duplex, Flow Control), are in a LAG, their configurations should be the same. The ports, which are enabled for the Port Security, Port Mirror, MAC Address Filtering, ...
SRC MAC + DST MAC: When this option is selected, the Aggregate Arithmetic will apply to the source and destination MAC addresses of the packets. SRC IP + DST IP: When this option is selected, the Aggregate Arithmetic will apply to the source and destination IP addresses of the packets.
Figure 5-8 Static LAG Config The following entries are displayed on this screen: LAG Config Group Number: Select a Group Number for the LAG. Description: Give a description to the LAG for identification. LAG Table Member Port: Select the port as the LAG member. Clearing all the ports of the LAG will delete this LAG.
Page 51
preferred one. If the two port priorities are equal; the port with smaller port number is preferred. After an aggregation group is established, the selected ports can be aggregated together as one port to transmit packets. On this page, you can configure the LACP feature of the switch. Choose the menu Switching→LAG→LACP Config to load the following page.
Select: Select the desired port for LACP configuration. It is multi-optional. Port: Displays the port number. Admin Key: Specify an Admin Key for the port. The member ports in a dynamic aggregation group must have the same Admin Key. Port Priority: Specify a Port Priority for the port.
The following entries are displayed on this screen: Auto Refresh Auto Refresh: Allows you to Enable/Disable refreshing the Traffic Summary automatically. Refresh Rate: Enter a value in seconds to specify the refresh interval. Traffic Summary Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered.
Page 54
Figure 5-11 Traffic Statistics The following entries are displayed on this screen: Auto Refresh Auto Refresh: Allows you to Enable/Disable refreshing the Traffic Summary automatically. 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.
(Alignment Error). The length of the packet is between 64 bytes and 1518 bytes. UndersizePkts: Displays the number of the received packets (excluding error packets) that are less than 64 bytes long. Pkts64Octets: Displays the number of the received packets (including error packets) that are 64 bytes long.
Page 56
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.
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.
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 ...
Page 59
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.
Dynamic Address Table 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 61
Figure 5-15 Filtering Address 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 62
Note: The MAC address in the Filtering Address Table can not be added to the Static Address Table or bound to a port dynamically. This MAC address filtering function is not available if the 802.1X feature is enabled. Return to CONTENTS...
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.
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 65
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. (3)...
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 67
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.
Egress Rule: Select the Egress Rule for the VLAN port member. The default egress rule is UNTAG. TAG: All packets forwarded by the port are tagged. The packets contain VLAN information. UNTAG: Packets forwarded by the port are untagged. LAG: Displays the LAG to which the port belongs.
Select the Link Type from the pull-down list for the port. Link Type: ACCESS: The ACCESS port can be added in a single VLAN, and the egress rule of the port is UNTAG. The PVID is same as the current VLAN ID. If the current VLAN is deleted, the PVID will be set to 1 by default.
Modify/View VLAN. Optional. On the VLAN→802.1Q VLAN→VLAN Config page, click the Edit/Detail button to modify/view the information of the corresponding VLAN. Delete VLAN Optional. On the VLAN→802.1Q VLAN→VLAN Config page, select the desired entry to delete the corresponding VLAN by clicking the Delete button.
MAC Address: Enter the MAC address. Description: Give a description to the MAC address for identification. VLAN ID: Enter the ID number of the MAC VLAN. This VLAN should be one of the 802.1Q VLANs the ingress port belongs to. MAC VLAN Table ...
Page 72
Encapsulation Format of Ethernet Data This section simply introduces the common used encapsulation format of Ethernet data to understand the procedure for the switch to identify the protocol of packets. At present there are two encapsulation formats of Ethernet data, Ethernet II encapsulation and 802.2/802.3 encapsulation, shown as follows: ...
Page 73
The Procedure for the Switch to Identify Packet Protocol 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.
VLAN packets are processed in the following way: 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.
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 ...
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 ...
Page 77
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. ...
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; ...
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. ports Create VLAN10 Required. On VLAN→802.1Q VLAN→VLAN Config page, create a VLAN with its VLANID as 10, owning Port 21 and Port 22, and configure the egress rule of Port 21 as Untag.
Page 80
Network Diagram 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 Protocol Required. On VLAN→Protocol VLAN→Protocol Template page, Template configure the protocol template practically. E.g. the IP network packets are encapsulated in Ethernet II format and its Ether Type is 0800; the AppleTalk network packets are encapsulated in SNAP format and its PID is 809B.
Page 82
Join Timer: To transmit the Join messages reliably to other entities, a GARP entity sends each Join message two times. The Join timer is used to define the interval between the two sending operations of each Join message. Leave Timer: When a GARP entity expects to deregister a piece of attribute information, it sends out a Leave message.
Page 83
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 ...
Page 84
Forbidden: In this mode, a port cannot register/deregister VLANs. It only propagates VLAN 1 information. LeaveAll Timer: Once the LeaveAll Timer is set, the port with GVRP enabled can send a LeaveAll message after the timer times out, so that other GARP ports can re-register all the attribute information.
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 86
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 87
Comparing BPDUs Each switch sends out configuration BPDUs and receives a configuration BPDU on one of its ports from another switch. The following table shows the comparing operations. Step Operation If the priority of the BPDU received on the port is lower than that of the BPDU if of the port itself, the switch discards the BPDU and does not change the BPDU of the port.
Page 88
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. The condition for the designated port to transit its port state rapidly: The designated port is ...
Page 89
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 tree is called an instance. As well as STP, MSTP uses BPDUs to generate spanning tree. The only difference is that the BPDU for MSTP carries the MSTP configuration information on the switches.
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 91
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. ...
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 93
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.
Designated Port: Indicates the port that forwards packets to a downstream network segment or switch. Master Port: Indicates the port that connects a MST region to the common root. The path from the master port to the common root is the shortest path between this MST region and the common root.
Figure 7-7 Region 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.
The following entries are displayed on this screen: Instance Table Instance ID Select: Click the Select button to quick-select the corresponding Instance ID based on the ID number you entered. Select: Select the desired Instance ID for configuration. It is multi-optional. Instance: Displays Instance ID of the switch.
Page 97
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.
Note: The port status of one port in different spanning tree instances can be different. Global configuration Procedure for Spanning Tree function: Step Operation Description Make clear roles the switches Preparation. play spanning tree instances: root bridge designated bridge Globally configure MSTP Required.
Page 99
Root Protect A CIST and its secondary root bridges are usually located in the high-bandwidth core region. Wrong configuration or malicious attacks may result in configuration BPDU packets with higher priorities being received by the legal root bridge, which causes the current legal root bridge to lose its position and network topology jitter to occur.
Page 100
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.
7.4.2 TC Protect When TC Protect is enabled for the port on Port Protect page, the TC threshold and TC protect cycle need to be configured on this page. Choose the menu Spanning Tree→STP Security→TC Protect to load the following page. Figure 7-11 TC Protect The following entries are displayed on this screen: TC Protect...
Page 102
Configuration Procedure Configure Switch A: Step Operation Description Configure ports On VLAN→802.1Q VLAN page, configure the link type of the related ports as Trunk, and add the ports to VLAN101-VLAN106. The detailed instructions can be found in the section 802.1Q VLAN. Enable STP function On Spanning Tree→STP Config→STP Config page, enable STP function and select MSTP version.
Page 103
Configure Switch C: Step Operation Description Configure ports On VLAN→802.1Q VLAN page, configure the link type of the related ports as Trunk, and add the ports to VLAN101-VLAN106. The detailed instructions can be found in the section 802.1Q VLAN. Enable STP function On Spanning Tree→STP Config→STP Config page, enable STP function and select MSTP version.
Page 104
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. ...
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 106
Multicast Address 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.
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.
3. IGMP Leave Message 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.
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 ...
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 111
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.
Router Port: Displays the router port of the VLAN. Note: The settings here will be invalid when multicast VLAN is enabled 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.
Page 113
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 114
Configure parameters for Optional. Enable and configure a multicast VLAN on the multicast VLAN Multicast→IGMP Snooping→Multicast VLAN page. It is recommended to keep the default time parameters. Look over the configuration If it is successfully configured, the VLAN ID of the multicast VLAN will be displayed in the IGMP Snooping Status table on the Multicast→IGMP Snooping→Snooping Config page.
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.
The following entries are displayed on this screen: Search Option Multicast IP: Enter the multicast IP address the desired entry must carry. VLAN ID: Enter the VLAN ID the desired entry must carry. Port: Select the port number the desired entry must carry. Type: Select the type the desired entry must carry.
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. Search Option ...
Figure 8-10 Multicast Filter The following entries are displayed on this screen: Create IP-Range IP Range ID: Enter the IP-range ID. Start Multicast IP: Enter start multicast IP of the IP-range you set. End Multicast IP: Enter end multicast IP of the IP-range you set. IP-Range Table ...
Page 119
Figure 8-11 Port Filter The following entries are displayed on this screen: Port Filter 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 multicast filtering. It is multi-optional. Port: Displays the port number.
Multicast Filter feature has no effect on static multicast IP. Up to 5 IP-Ranges can be bound to one port. Configuration Procedure: Step Operation Description Configure IP-Range Required. Configure IP-Range filtered Multicast→Multicast Filter→IP-Range page. Configure multicast filter Optional. Configure multicast filter rules for ports on rules for ports Multicast→Multicast Filter→Port Filter page.
Page 121
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. Port: Displays the port number of the switch. Query Packet: Displays the number of query packets the port received.
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 123
2. 802.1P Priority 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 124
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.
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.
Configuration Procedure: 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/CoS mapping relation between the CoS page, configure the mapping relation between the CoS priority and TC and TC. Select a schedule mode Required.
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.
The following entries are displayed on this screen: Priority and CoS-mapping Config Tag-id/Cos-id: Indicates the precedence level defined by IEEE802.1P and the CoS ID. Queue TC-id: Indicates the priority level of egress queue the packets with tag and CoS-id are mapped to. The priority levels of egress queue are labeled as TC0, TC1, TC2 and TC3.
SP+WRR-Mode: Strict-Priority + Weight Round Robin Mode. In this mode, this switch provides two scheduling groups, SP group and WRR group. Queues in SP group and WRR group are scheduled strictly based on strict-priority mode while the queues inside WRR group follow the WRR mode.
The following entries are displayed on this screen: Rate Limit 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 Rate configuration. It is multi-optional. Port: Displays the port number of the switch.
Page 131
Figure 9-11 Storm Control The following entries are displayed on this screen: Storm Control 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 Storm Control configuration. It is multi-optional.
9.3 Voice VLAN Voice VLANs are configured specially for voice data stream. By configuring Voice VLANs and adding the ports with voice devices attached to voice VLANs, you can perform QoS-related configuration for voice data, ensuring the transmission priority of voice data stream and voice quality.
Page 133
Port Voice VLAN Voice Link type of the port and processing mode Mode Stream Type Automatic Mode voice ACCESS: Not supported. stream TRUNK: Supported. The default VLAN of the port can not be voice VLAN. GENERAL: Supported. The default VLAN of the port can not be voice VLAN and the egress rule of the access port in the voice VLAN should be TAG.
Note: Don’t transmit voice stream together with other business packets in the voice VLAN except for some special requirements. The Voice VLAN function can be implemented on Global Config, Port Config and OUI Config pages. 9.3.1 Global Config On this page, you can configure the global parameters of the voice VLAN, including VLAN ID, aging time, the transmission priority of the voice packets and so on.
Page 135
Figure 9-13 Port Config Note: To enable voice VLAN function for the LAG member port, please ensure its member state accords with its port mode. If a port is a member port of voice VLAN, changing its port mode to be “Auto” will make the port leave the voice VLAN and will not join the voice VLAN automatically until it receives voice streams.
Security Mode: Configure the security mode for forwarding packets. Disable: All packets are forwarded. Enable: Only voice data are forwarded. Member State: Displays the state of the port in the current voice VLAN. LAG: Displays the LAG number which the port belongs to. 9.3.3 OUI Config The switch supports OUI create and add the MAC address of the special voice device to the OUI table of the switch.
Page 137
Description: Displays the description of the OUI. Configuration Procedure of Voice VLAN: Step Operation Description Configure the link Required. On VLAN→802.1Q VLAN→Port Config page, type of the port configure the link type of ports of the voice device. Required. On VLAN→802.1Q VLAN→Port Config page,, click Create VLAN the Create button to create a VLAN.
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.
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 ...
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. Choose the menu ACL→Time-Range→Holiday Config to load the following page.
10.2.1 ACL Summary On this page, you can view the current ACLs configured in the switch. Choose the menu ACL→ACL Config→ACL Summary to load the following page. Figure 10-4 ACL Summary The following entries are displayed on this screen: Search Option ...
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. Choose the menu ACL→ACL Config→MAC ACL to load the following page. Figure10-6 Create MAC Rule The following entries are displayed on this screen: Create MAC ACL...
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. Choose the menu ACL→ACL Config→Standard-IP ACL to load the following page. Figure10-7 Create Standard-IP Rule The following entries are displayed on this screen: Create Standard-IP ACL...
Page 144
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.
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. The operations here include stream mirror, stream condition, QoS remarking and redirect.
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. Choose the menu ACL→Policy Config→Action Create to load the following page.
S-Condition: Select S-Condition to limit the transmission rate of the data packets in the policy. Rate: Specify the forwarding rate of the data packets those match the corresponding ACL. Out of Band: Specify the disposal way of the data packets those are transmitted beyond the rate.
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. Direction: Displays the binding direction. 10.4.2 Port Binding On this page you can bind a policy to a port. Choose the menu ACL→Policy Binding→Port Binding to load the following page.
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 ...
Page 150
3. The staff of the marketing department can access to the Internet all day but can not visit the forum during the working time. 4. The R&D department and marketing department can not communicate with each other. Network Diagram Configuration Procedure ...
Page 151
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.
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.
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 154
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.
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.
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 157
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 158
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 159
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 160
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 ...
Page 161
DHCP Snooping: Enable/Disable the DHCP Snooping function globally. Global Flow Control: Select the value to specify the maximum amount of DHCP 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.
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 163
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 164
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 165
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.
The IP-MAC Binding function allows the switch to bind the IP address, MAC address, VLAN ID 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.
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.
The following entries are displayed on this screen: ARP Defend Port Select: Click the Select button to quick-select the corresponding port based on the port number you entered. Select: Select your desired port for configuration. It is multi-optional. Port: Displays the port number.
Figure 11-15 ARP Statistics The following entries are displayed on this screen: Auto Refresh 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.
Page 170
DoS Attack Type Description Land Attack The attacker sends a specific fake SYN packet to the destination Host. Since both the source IP address and the destination IP address of the SYN packet are set to be the IP address of the Host, the Host will be trapped in an endless circle for building the initial connection.
Page 171
Figure 11-16 DoS Defend The following entries are displayed on this screen: Configure DoS Defend: Enable/Disable DoS Defend function. Defend Table Select: Select the entry to enable the corresponding Defend Type. Defend Type: Displays the Defend Type name. Tips: You are suggested to take the following further steps to ensure the network security.
Page 172
Architecture of 802.1X Authentication 802.1X adopts a client/server architecture with three entities: a supplicant system, an authenticator system, and an authentication server system, as shown in the following figure. Figure 11-17 Architecture of 802.1X authentication (1) Supplicant System: The supplicant system is an entity in LAN and is authenticated by the authenticator system.
Page 173
802.1X Authentication Procedure An 802.1X authentication can be initiated by supplicant system or authenticator system. When the authenticator system detects an unauthenticated supplicant in LAN, it will initiate the 802.1X authentication by sending EAP-Request/Identity packets to the supplicant. The supplicant system can also launch an 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...
Page 174
Upon receiving the user name from the switch, the RADIUS server retrieves the user name, finds the corresponding password by matching the user name in its database, encrypts the password using a randomly-generated key, and sends the key to the switch through an RADIUS Access-Challenge packet.
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. 802.1X Timer In 802.1 x authentication, the following timers are used to ensure that the supplicant system, the switch, and the RADIUS server interact in an orderly way: (1)...
Page 176
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.
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.
port. Guest VLAN: Select Enable/Disable the Guest VLAN feature for the port. 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 179
Primary IP: Enter the IP address of the authentication server. Secondary IP: Enter the IP address of the alternate authentication server. Authentication Port: Set the UDP port of authentication server(s). The default port is 1812 Authentication KEY: Set the shared password for the switch and the authentication servers to exchange messages.
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 181
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.
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.
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.
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...
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 186
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.
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 188
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.
If SNMPv1 or SNMPv2c is employed, please take the following steps: Step Operation Description Enable SNMP function globally. Required. On the SNMP→SNMP Config→Global Config page, enable SNMP function globally. Create SNMP View. Required. On the SNMP→SNMP Config→SNMP View page, create SNMP View of the management agent.
Page 190
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.
Notification Table 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.
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...
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 194
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 from the pull-down list. Port: Select the port on which the Alarm entry acts.
Page 195
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.
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.
The commander switch becomes to be the candidate switch only when the cluster is deleted. Note: TL-SG3210/TL-SG3216/TL-SG3424 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).
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 ...
Page 199
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.
Click the Detail button to view the complete information collected Detail: for the port. 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 Config ...
Enable: Click the Enable button to enable NDP for the port you select. Disable: Click the Disable button to disable NDP for the port you select. Note: NDP function is effective only when NDP function is enabled globally and for the port. The aging time should be set over the hello time value, otherwise the neighbor information table of NDP ports will be unstable.
Cluster Name: Displays the cluster name of this device. Role: Displays the role this device plays in the cluster. Commander: Indicates the device that can configure and manage all the devices in a cluster. Member: Indicates the device that is managed in a cluster. ...
Figure 13-7 NTDP Summary 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 204
Figure 13-8 NTDP Config The following entries are displayed on this screen: Global Config 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.
Enable: Click the Enable button to enable NTDP feature for the port you select. Disable: Click the Disable button to disable NTDP feature for the port you select. Note: NTDP function is effective only when NTDP function is enabled globally and for the port. 13.3 Cluster A commander switch can recognize and add the candidate switch to a cluster automatically based on NDP and NTDP.
Figure 13-10 Cluster Summary for Member 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. Cluster Name: Displays the name of the current cluster the switch belongs to.
Page 207
Figure 13-12 Cluster Configuration for Candidate Switch The following entries are displayed on this screen: Current Role Role: Displays the role the current switch plays in the cluster. Role Change Individual: Select this option to change the role of the switch to be individual switch.
Figure 13-14 Cluster Configuration for Individual Switch The following entries are displayed on this screen: Current Role Role: Displays the role the current switch plays in the cluster. Role Change Candidate: Select this option to change the role of the switch to be candidate switch.
Page 209
Figure 13-15 Network diagram Configuration Procedure Configure the member switch Step Operation Description Enable NDP function on the On Cluster→NDP→NDP Config page, enable NDP switch and for port 1 function. Enable NTDP function on the On Cluster→NTDP→NTDP Config page, enable switch and for port 1 NTDP function.
Page 210
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.
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)...
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.
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.
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.
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.
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.
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.
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.
Choose the menu Maintenance→Network Diagnose→Ping to load the following page. 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 220
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...
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 223
Figure B-2 The following TCP/IP Properties window will display and the IP Address tab is open on this window by default.
Page 224
Figure B-3 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.
Appendix C: Load Software using FTP If there is something wrong with the firmware of the switch and the switch cannot be launched, you can load firmware 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 226
Figure C-2 Open Hyper Terminal 2) The Connection Description Window will prompt shown as Figure C-3. Enter a name into the Name field and click OK. Figure C-3 Connection Description 3) Select the port to connect in the following figure and then click OK.
Page 227
Figure C-4 Select 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.
Page 228
Figure C-6 bootUtil Menu As the prompt is displayed for a short time, you are suggested not to release the CTRL-B key until you enter into bootUtil menu after powering on the switch. 3) After entering into bootUtil menu, please firstly configure the IP parameters of the switch. The format is: ifconfig ip xxx.xxx.xxx.xxx mask 255.255.255.0 gateway xxx.xxx.xxx.xxx.
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-SG3216 works as the authenticator system, please take the following instructions to install the TpSupplicant provided on the attached CD for the supplicant Client.
Page 231
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 232
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 233
Figure D-7 InstallShield Wizard Complete Note: Please pay attention to the tips on the above screen. If you have not installed WinPcap 4.0.2 or the higher version on your computer, the 802.1X Client Software TpSupplicant can not work. It’s recommended to go to http://www.winpcap.org to download the latest version of WinPcap for installation.
Page 234
Figure D-9 Preparing Setup 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.
Page 235
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 236
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 237
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. Q2: Is this TP-LINK 802.1X Client Software compliable with the switches of the other manufacturers? A2: No.
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 239
Generic Multicast Registration Protocol (GMRP) 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 240
Layer 2 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 241
Secure Shell (SSH) A secure replacement for remote access functions, including Telnet. SSH can authenticate users with a cryptographic key, and encrypt data connections between management clients and the switch. Simple Network Management Protocol (SNMP) The application protocol in the Internet suite of protocols which offers network management services.