TL-SL3428 JetStream L2 Managed Switch Rev: 1.1.
TL-SL3428 JetStream L2 Managed Switch CLI Guide 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.
TL-SL3428 JetStream L2 Managed Switch CLI Guide CONTENTS Preface .............................................................................................................. 1 Chapter 1 Using the CLI ....................................................................................... 4 1.1 Accessing the CLI ...........................................................................................................4 1.1.1 Logon by a console port ....................................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide show protocol-vlan template..................................................................................................23 show protocol-vlan vlan .........................................................................................................23 show protocol-vlan interface..................................................................................................23 Chapter 5 Voice VLAN Commands ...........................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide user modify status .................................................................................................................42 user modify type ....................................................................................................................43 user modify password............................................................................................................43 user access-control disable ..................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide show arp detection statistic ...................................................................................................63 show arp detection statistic reset ..........................................................................................63 Chapter 12 DoS Defend Command...................................................................... 64 dos-prevent .........................................................................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide show logging local-config ......................................................................................................83 show logging loghost .............................................................................................................83 show logging buffer ...............................................................................................................84 show logging flash................................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide user-config load...................................................................................................................103 user-config save ..................................................................................................................104 firmware upgrade ................................................................................................................104 ping ........................................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide show qos dscp.....................................................................................................................124 show qos scheduler.............................................................................................................124 Chapter 21 Port Mirror Commands ....................................................................126 mirror add ...................................................................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide spanning-tree mcheck .........................................................................................................150 show spanning-tree global-info............................................................................................151 show spanning-tree global-config ........................................................................................151 show spanning-tree port-config ....................................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide snmp-rmon history enable ...................................................................................................174 snmp-rmon event user.........................................................................................................175 snmp-rmon event description ..............................................................................................176 snmp-rmon event type.............................................................
TL-SL3428 JetStream L2 Managed Switch CLI Guide Preface This Guide is intended for network administrator to provide referenced information about CLI (Command Line Interface). The device mentioned in this Guide stands for TL-SL3428 JetStream L2 Managed Switch. Overview of this Guide Chapter 1: Using the CLI Provide information about how to use the CLI, CLI Command Modes, Security Levels and some Conventions.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 12: DoS Defend Command Provide information about the commands used for DoS defend and detecting the DoS attack. Chapter 13: IEEE 802.1X Commands Provide information about the commands used for configuring IEEE 802.1X function. Chapter 14: Log Commands Provide information about the commands used for configuring system log. Chapter 15: SSH Commands Provide information about the commands used for configuring and managing SSH (Security Shell).
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 26: SNMP Commands Provide information about the commands used for configuring the SNMP (Simple Network Management Protocol) functions. Chapter 27: Cluster Commands Provide information about the commands used for configuring the Cluster Management function.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 1 1.1 Using the CLI Accessing the CLI You can log on to the switch and access the CLI by the following two methods: 1. Log on to the switch by the console port on the switch. 2. Log on to the switch remotely by a Telnet or SSH connection through an Ethernet port. 1.1.1 Logon by a console port To log on to the switch by the console port on the switch, please take the following steps: 1.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Figure 1-2 Connection Description 4. Select the port to connect in figure 1-3, and click OK. Figure 1-3 Select the port to connect 5. Configure the port selected in the step above as the following figure1-4 shown. 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.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Figure 1-4 Port Settings 6. Type the User name and Password in the Hyper Terminal window, the factory default value for both of them is admin. The DOS prompt” TP-LINK>” will appear after pressing the Enter button as figure1-5 shown. It indicates that you can use the CLI now. Figure 1-5 Log in the Switch 1.1.2 Logon by Telnet To log on to the switch by a Telnet connection, please take the following steps: 1.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Figure 1-6 Open the Run window 3. Type cmd in the prompt Run window as figure 1-7 and click OK. Figure 1-7 Run Window 4. Type telnet 192.168.0.1 in the command prompt shown as figure1-8, and press the Enter button.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Figure 1-8 Connecting to the Switch 5. Type the User name and Password (the factory default value for both of them is admin) and press the Enter button, then you can use the CLI now, which is shown as figure1-9. Figure 1-9 Log in the Switch 1.2 CLI Command Modes The CLI is divided into different command modes: User EXEC Mode, Privileged EXEC Mode, Global Configuration Mode, Interface Configuration Mode and VLAN Database (VLAN Configuration Mode).
TL-SL3428 JetStream L2 Managed Switch CLI Guide The following table gives detailed information about the Accessing path, Prompt of each mode and how to exit the current mode and access the next mode. Accessing Mode User EXEC Mode Path Logout or Access the next Prompt mode Primary mode once it is Use the exit command to disconnect the connected switch with the TP-LINK> switch. (except that the switch is connected through the Console port).
TL-SL3428 JetStream L2 Managed Switch CLI Guide Interface Configuration Mode Use the interface type Use the end command or press Ctrl+Z number command to to return to Privileged EXEC mode. enter this mode from Global Configuration TP-LINK(config-if )# mode. Enter exit command to return to Global Configuration mode. A port number must be specified in the interface command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide 1.3 history: Display the commands history. Security Levels This switch’s security is divided into two levels: User level and Admin level. User level only allows users to do some simple operations in User EXEC Mode; Admin level allows you to monitor, configure and manage the switch in Privileged EXEC Mode, Global Configuration Mode, Interface Configuration Mode and VLAN Configuration Mode.
TL-SL3428 JetStream L2 Managed Switch CLI Guide If a blank is contained in a character string, single or double quotation marks should be used, for example ’hello world’, ”hello world”, and the words in the quotation marks will be identified as a string. Otherwise, the words will be identified as several strings. 1.4.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 2 User Interface enable Description The enable command is used to access Privileged EXEC Mode from User EXEC Mode. Syntax enable Command Mode User EXEC Mode Example If you have set the password to access Privileged EXEC Mode from User EXEC Mode: TP-LINK>enable Enter password: TP-LINK# enable password Description The enable password command is used to set the password for users to access Privileged EXEC Mode from User EXEC Mode.
TL-SL3428 JetStream L2 Managed Switch CLI Guide disable Description The disable command is used to return to User EXEC Mode from Privileged EXEC Mode. Syntax disable Command Mode Privileged EXEC Mode Example Return to User EXEC Mode from Privileged EXEC Mode: TP-LINK# disable TP-LINK> configure Description The configure command is used to access Global Configuration Mode from Privileged EXEC Mode.
TL-SL3428 JetStream L2 Managed Switch CLI Guide exit Command Mode Any Configuration Mode Example Return to Global Configuration Mode from Interface Configuration Mode, and then return to Privileged EXEC Mode: TP-LINK(config-if)# exit TP-LINK(config)#exit TP-LINK# end Description The end command is used to return to Privileged EXEC Mode.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 3 IEEE 802.1Q VLAN Commands VLAN (Virtual Local Area Network) technology is developed for the switch to divide the LAN into multiple logical LANs flexibly. Hosts in the same VLAN can communicate with each other, regardless of their physical locations. VLAN can enhance performance by conserving bandwidth, and improve security by limiting traffic to specific domains.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Create several VLANs with the vid as 2-5, 7: TP-LINK(config)# vlan database TP-LINK(config-vlan)#vlan 2-5,7 interface vlan Description The interface vlan command is used to access VLAN Interface Mode to configure the specified VLAN. Syntax interface vlan vlan-id Parameter vlan-id ——VLAN ID, ranging from 1 to 4094.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config)# interface vlan 2 TP-LINK(config-if)#description vlan2 switchport type Description The switchport type command is used to configure the Link Types for the ports. Syntax switchport type { access | trunk | general } Parameter access | trunk | general —— Link Types. There are three Link Types for the ports.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config)# interface ethernet 2 TP-LINK(config-if)# switchport allowed vlan add 2 switchport pvid Description The switchport pvid command is used to configure the PVID for the switch ports. Syntax switchport pvid vlan-id Parameter vlan-id —— VLAN ID, ranging from 1 to 4094.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config)# interface ethernet 2 TP-LINK(config-if)# switchport general egress-rule 3 tagged show vlan Description The show vlan command is used to display the information of IEEE 802.1Q VLAN . Syntax show vlan [vlan-id] Parameter vlan-id —— VLAN ID, ranging from 1 to 4094. By default , display all the information of IEEE 802.1Q VLAN.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 4 Protocol VLAN Commands Protocol VLAN (Virtual Local Area Network) is the way to classify VLANs based on Protocols. A Protocol is relative to a single VLAN ID. The untagged packets and the priority-tagged packets matching the protocol template will be tagged with this VLAN ID. protocol-vlan template Description The protocol-vlan template command is used to create or delete Protocol VLAN template.
TL-SL3428 JetStream L2 Managed Switch CLI Guide protocol-vlan vlan vid template index no protocol-vlan entry-id Parameter vid ——VLAN ID,ranging from 1-4094. index ——The number of the Protocol template. You can get the template corresponding to the number by the show protocol-vlan template command. entry-id ——The number of the Protocol VLAN . You can get the Protocol VLAN entry corresponding to the number by the show protocol-vlan vlan command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show protocol-vlan template Description The show protocol-vlan template command is used to display the information of the Protocol VLAN templates.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Any Configuration Mode Example Display the configuration of the protocol-vlan interface: TP-LINK(config)# show protocol-vlan interface 24
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 5 Voice VLAN Commands 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. voice-vlan enable Description The voice-vlan enable command is used to enable Voice VLAN function.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Parameter aging-time ——Aging time (in minutes) to be set for the Voice VLAN. It ranges from 1 to 43200 and the default value is 1440. Command Mode Global Configuration Mode Example Set the aging time for the Voice VLAN as 2880 minutes: TP-LINK(config)# voice-vlan aging-time 2880 voice-vlan oui Description The voice-vlan oui command is used to create or delete Voice VLAN OUI.
TL-SL3428 JetStream L2 Managed Switch CLI Guide switchport voice-vlan mode Description The switchport voice-vlan mode command is used to configure the Voice VLAN mode for the Ethernet port. Syntax switchport voice-vlan mode { manual | auto } Parameter manual / auto —— Port mode.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show voice-vlan oui Description The show voice-vlan oui command is used to display the configuration information of Voice VLAN OUI. Syntax show voice-vlan oui Command Mode Any Configuration Mode Example Display the configuration information of Voice VLAN OUI: TP-LINK(config)# show voice-vlan oui show voice-vlan switchport Description The show voice-vlan switchport command is used to displays the configuration information of the port in the Voice VLAN.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 6 GVRP Commands GVRP (GARP VLAN registration protocol) is an implementation of GARP (generic attribute registration protocol). GVRP allows the switch to automatically add or remove the VLANs via the dynamic VLAN registration information and propagate the local VLAN registration information to other switches, without having to individually configure each VLAN. gvrp Description The gvrp command is used to enable the GVRP function globally.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Enable the GVRP function for ports 2-6: TP-LINK(config)# interface range ethernet 2-6 TP-LINK(config-if)# gvrp gvrp registration Description The gvrp registration command is used to configure the GVRP registration type on the desired port. To restore to the default value, please use no gvrp registration command. Syntax gvrp registration { normal | fixed | forbidden } no gvrp registration Parameter normal | fixed | forbidden —— Registration mode.
TL-SL3428 JetStream L2 Managed Switch CLI Guide no gvrp timer [leaveall | join | leave] Parameter leaveall | join | leave —— They are the three timers: leave All、join and leave. 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. After that, the LeaveAll timer will start to begin a new cycle.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Display the global GVRP status: TP-LINK(config)# show gvrp global show gvrp interface Description The show gvrp interface command is used to display the GVRP configuration information of the specified Ethernet ports. Syntax show gvrp interface [ethernet port-num] Parameter port-num ——The Ethernet port number. By default, the GVRP configuration information of all the Ethernet ports is displayed.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 7 LAG Commands LAG (Link Aggregation Group) is to combine a number of ports together to make a single high-bandwidth data path, which can highly extend the bandwidth. The bandwidth of the LAG is the sum of bandwidth of its member port. interface link-aggregation Description The interface link-aggregation command is used to access the Interface Link-aggregation Mode. To delete the aggregation group, please use no interface link-aggregation command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Syntax interface range link-aggregation group-list no interface range link-aggregation group-list Command Mode Global Configuration Mode Parameter group-list ——The aggregation group list. You can configure some aggregation groups at the same time.
TL-SL3428 JetStream L2 Managed Switch CLI Guide link-aggregation hash-algorithm Description The link-aggregation hash-algorithm command is used to configure the Aggregate Arithmetic for LAG. Syntax link-aggregation hash-algorithm {src_dst_mac | src_dst_ip } Parameter src_dst_mac —— The source and destination MAC addresses. src_dst_ip ——The source and destination IP addresses.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config)# interface link-aggregation 1 TP-LINK(config-if)# description “movie server” show interface link-aggregation Description The show interface link-aggregation command is used to display the configuration information of the Aggregate Arithmetic and the aggregation groups. Syntax show interface link-aggregation [group-num] Parameter group-num ——The LAG number, ranging from1 to 14.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 8 LACP Commands LACP (Link Aggregation Control Protocol) is defined in IEEE802.3ad and enables the dynamic link aggregation and disaggregation by exchanging LACP packets with its partner. The switch can dynamically group similarly configured ports into a single logical link, which will highly extend the bandwidth and flexibly balance the load.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Interface Configuration Mode(interface ethernet / interface range ethernet) Example Enable LACP protocol on the port 1: TP-LINK(config)# interface ethernet 1 TP-LINK(config-if)# lacp lacp admin-key Description The lacp admin-key command is used to configure the admin key. To restore the default value, please use no lacp admin-key command. Syntax lacp admin-key value no lacp admin-key Parameter value —— admin key, ranging from 0 to 65535.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Parameter value —— Port priority, ranging from 0 to 65535. By default, the value is 32768. Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Set the port priority of port 1 to 1024: TP-LINK(config)# interface ethernet 1 TP-LINK(config-if)# lacp port-priority 1024 show lacp interface Description The show lacp interface command is used to display the port configuration information of LACP.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Syntax show lacp system-priority Command Mode Any Configuration Mode Example Display the global system priority value of LACP: TP-LINK(config)# show lacp system-priority 40
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 9 User Manage Commands User Manage Commands are used to configure the user name and password for users to log on to the Web management page with a certain access level so as to protect the settings of the switch from being randomly changed. user add Description The user add command is used to add a new user.
TL-SL3428 JetStream L2 Managed Switch CLI Guide user remove Description The user remove command is used to delete an existing user. The current user can't be deleted by itself. Syntax user remove user-name Parameter user-name —— An existing user name. Command Mode Global Configuration Mode Example Delete the user named tplink: TP-LINK(config)# user remove tplink user modify status Description The user modify status command is used to modify the status of the existing user.
TL-SL3428 JetStream L2 Managed Switch CLI Guide user modify type Description The user modify type command is used to modify the access level for the existing user. The current user can't be modified by itself. Syntax user modify type user-name {guest | admin} Parameter user-name —— The existing user name. guest | admin —— Access level. Guest: limited user; admin: manager.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Modify the password of tplink as newpwd: TP-LINK(config)# user modify password tplink password newpwd newpwd user access-control disable Description The user access-control disable command is used to cancel the user access-control.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Enable the access-control of the user whose Ip address is 192.168.0.148: TP-LINK(config)# user access-control ip-based 192.168.0.148 255.255.255.255 user access-control mac-based Description The user access-control mac-based command is used to limit the MAC Address of the users for login.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Enable the access-control of the ports 2, port4, port5, port6,and port10: TP-LINK(config)# user access-control port-based 2,4-6,10 user max-number Description The user max-number command is used to configure the number of the users logging on at the same time. To cancel the limit to the numbers of the users logging in, please use no user max-number command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide switch. To restore to the default timeout time, please use no user idle-timeout command. Syntax user idle-timeout minutes no user idle-timeout Parameter minute ——The timeout time, ranging from 5 to 30 in minutes. By default, the value is 10.
TL-SL3428 JetStream L2 Managed Switch CLI Guide information of the users, including access-control, max-number and the idle-timeout, etc.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 10 Binding Table Commands You can bind the IP address, MAC address, VLAN and the connected Port number of the Host together, which can be the condition for the ARP Inspection to filter the packets. binding-table user-bind Description The binding-table user-bind command is used to bind the IP address, MAC address, VLAN ID and the Port number together manually.
TL-SL3428 JetStream L2 Managed Switch CLI Guide binding-table remove Description The binding-table remove command is used to delete the IP-MAC –VID-PORT entry from the binding table. Syntax binding-table remove index idx Parameter idx —— The entry number needed to be deleted. You can use the show binding-table command to get the idx. Pay attention to that, the entry number is the actual number in the binding table not arranged in an order.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Enable the DHCP-snooping function globally: TP-LINK(config)# dhcp-snooping dhcp-snooping global Description The dhcp-snooping global command is used to configure the DHCP snooping globally. To restore to the default value, please use no dhcp-snooping global command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide dhcp-snooping information enable Description The dhcp-snooping information enable command is used to enable the Option 82 function of DHCP Snooping. To disable the Option 82 function, please use no dhcp-snooping information enable command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Replace the Option 82 field of the packets with the switch defined one and then send out: TP-LINK(config)# dhcp-snooping information strategy replace dhcp-snooping information user-defined Description The dhcp-snooping information user-defined command is used to permit users to define the Option 82. To disable the function, please use no dhcp-snooping information user-defined command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Configure the sub-option Remote ID for the customized Option 82 as tplink: TP-LINK(config)# dhcp-snooping information remote-id tplink dhcp-snooping information circuit-id Description The dhcp-snooping information circuit-id command is used to configure the sub-option Circuit ID for the customized Option 82.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Interface Configuration Mode(interface ethernet / interface range ethernet) Example Configure the port 2 to be a Trusted Port: TP-LINK(config)# interface ethernet 2 TP-LINK(config-if)# dhcp-snooping trusted dhcp-snooping mac-verify Description The dhcp-snooping mac-verify command is used to enable the MAC Verify feature. To disable the MAC Verify feature, please use no dhcp-snooping mac-verify command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide dhcp-snooping rate-limit value no dhcp-snooping rate-limit Parameter value ——The value of Flow Control. The options are 0/5/10/15/20/25/30 (packet/second). The default value is 0, which stands for disable.
TL-SL3428 JetStream L2 Managed Switch CLI Guide The show binding-table command is used to display the IP-MAC-VID-PORT binding table. Syntax show binding-table Command Mode Any Configuration Mode Example Display the IP-MAC-VID-PORT binding table: TP-LINK(config)# show binding-table show dhcp-snooping global Description The show dhcp-snooping global command is used to display the global configuration of DHCP Snooping.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Any Configuration Mode Example Display the Option 82 configuration of DHCP Snooping: TP-LINK(config)# show dhcp-snooping information show dhcp-snooping interface Description The show dhcp-snooping interface command is used to display the interface configuration of DHCP Snooping. Syntax show dhcp snooping interface [ethernet port-num] Parameter port-num ——The number of the switch port. By default, it will display the configuration of all the ports.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 11 ARP Inspection Commands ARP (Address Resolution Protocol) Detect function is to protect the switch from the ARP cheating, such as the Network Gateway Spoofing and Man-In-The-Middle Attack, etc. arp detection (global) Description The arp detection (global) command is used to enable the ARP Detection function globally. To disable the ARP Detection function, please use no arp detection command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Parameter port-list ——The specified Trusted Port list. Command Mode Global Configuration Mode Example Configure the ports 2-5,11-15 as the Trusted Port: TP-LINK(config)# arp detection trust-port 2-5,11-15 arp detection (interface) Description The arp detection (interface) command is used to enable the ARP Defend function. To disable the arp detection function, please use no arp detection command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide switch can terminate receiving the ARP packets for 300 seconds when the transmission speed of the legal ARP packet on the port exceeds the defined value. To restore to the default speed, please use no arp detection limit-rate command. Syntax arp detection limit-rate value no arp detection limit-rate Parameter value ——The value to specify the maximum amount of the received ARP packets per second, ranging from 10 to 100 in pps(packet/second).
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config-if)# arp detection recover show arp detection global Description The show arp detection global command is used to display the ARP detection global configuration including the enable/disable status and the Trusted Port list.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show arp detection statistic Description The show arp detection statistic command is used to display the number of the illegal ARP packets received.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 12 DoS Defend Command DoS (Denial of Service) Attack is to occupy the network bandwidth maliciously by the network attackers or the evil programs sending a lot of service requests to the Host. With the DoS Defend enabled, the switch can analyze the specific field of the received packets and provide the defend measures to ensure the normal working of the local network.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Parameter scan-synfin —— Scan SYNFIN attack. xma-scan —— Xma Scan attack. null-scan —— NULL Scan attack. port-less-than-1024 ——The SYN packets whose Source Port less than 1024. ping-flood —— Ping flooding attack. syn-flood —— SYN/SYN-ACK flooding attack.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 13 IEEE 802.1X Commands IEEE 802.1X function is to provide an access control for LAN ports via the authentication. Only the supplicant passing the authentication can access the LAN. dot1x Description The dot1x command is used to enable the IEEE 802.1X function globally. To disable the IEEE 802.1X function, please use no dot1x command. Syntax dot1x no dot1x Command Mode Global Configuration Mode Example Enable the IEEE 802.
TL-SL3428 JetStream L2 Managed Switch CLI Guide transmission of EAP packets is terminated at the switch and the EAP packets are converted to the other protocol (such as RADIUS) packets for transmission EAP-MD5: IEEE 802.1X authentication system uses extensible authentication protocol (EAP) to exchange information between the switch and the client.
TL-SL3428 JetStream L2 Managed Switch CLI Guide dot1x quiet-period Description The dot1x quiet-period command is used to enable the quiet-period function. To disable the function, please use no dot1x quiet-period command. Syntax dot1x quiet-period no dot1x quiet-period Command Mode Global Configuration Mode Example Enable the quiet-period function: TP-LINK(config)# dot1x quiet-period dot1x timer Description The dot1x timer command is used to configure the Quiet Period and the SupplicantTimeout.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Configure the Quiet Period and the SupplicantTimeout as 12 seconds and 6 seconds: TP-LINK(config)# dot1x timer quiet-period 12 supp-timeout 6 dot1x retry Description The dot1x retry command is used to configure the maximum transfer times of the repeated authentication request. To restore to the default value, please use no dot1x retry command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide dot1x no dot1x Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Enable the IEEE 802.1X function for the port 1: TP-LINK(config)# interface ethernet 1 TP-LINK(config-if)# dot1x dot1x guest-vlan Description The dot1x guest-vlan command is used to enable the Guest VLAN function for a specified port. To disable the Guest VLAN function for a specified port, please use no dot1x guest-vlan command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide please use no dot1x port-control command. Syntax dot1x port-control { auto | authorized-force | unauthorized-force } no dot1x port-control Parameter auto | authorized-force | unauthorized-force —— The Control Mode for the port. Auto: In this mode, the port will normally work only after passing the 802.1X Authentication. Authorized-force: In this mode, the port can work normally without passing the 802.1X Authentication.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Authentication for access. Port-based: All the clients connected to the port can access the network on the condition that any one of the clients has passed the 802.1X Authentication. By default, the Control Type is mas-based.
TL-SL3428 JetStream L2 Managed Switch CLI Guide radius authentication secondary-ip Description The radius authentication secondary-ip command is used to configure the IP address of the alternate authentication server. To restore to the default configuration, please use no radius authentication secondary-ip command. Syntax radius authentication secondary-ip ip-addr no radius authentication secondary-ip Parameter ip-addr ——The IP address of the alternate authentication server. By default, it is 0.0.0.0.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Configure the authentication port of the alternate authentication server as 1815: TP-LINK(config)# radius authentication port 1815 radius authentication key Description The radius authentication key command is used to configure the shared password for the switch and the authentication servers to exchange messages. To clear the radius authentication key, please use no radius authentication key command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide radius accounting enable no radius accounting enable Command Mode Global Configuration Mode Example Enable the accounting feature: TP-LINK(config)# radius accounting enable radius accounting primary-ip Description The radius accounting primary-ip command is used to configure the IP address of the accounting server. Syntax radius accounting primary-ip ip-addr Parameter ip-addr —— The IP address of the accounting server.
TL-SL3428 JetStream L2 Managed Switch CLI Guide no radius accounting secondary-ip Parameter ip-addr ——The IP address of the alternate accounting server. By default, it is 0.0.0.0. Command Mode Global Configuration Mode Example Configure the IP address of the alternate accounting server as 10.20.1.101: TP-LINK(config)# radius accounting secondary-ip 10.20.1.101 radius accounting port Description The radius accounting port command is used to set the UDP port of accounting server(s).
TL-SL3428 JetStream L2 Managed Switch CLI Guide The radius accounting key command is used to configure the shared password for the switch and the accounting servers to exchange messages. To clear the shared password for the switch and the accounting servers, please use no radius accounting key command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Configure the maximum time for the switch to wait for the response from the RADIUS authentication and the accounting server as 5 seconds: TP-LINK(config)# radius response-timeout 5 show dot1x global Description The show dot1x global command is used to display the global configuration of 801.X. Syntax show dot1x global Command Mode Any configuration Mode Example Display the configuration of 801.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Display the port configuration of 801.X: TP-LINK(config)# show dot1x interface show radius authentication Description The show radius authentication command is used to display the configuration of the RADIUS authentication server.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 14 Log Commands The log information will record the settings and operation of the switch respectively for you to monitor operation status and diagnose malfunction. logging local buffer Description The logging local buffer command is used to configure the severity level and the status of the configuration input to the log buffer. To restore to the default configuration, please use no logging local buffer command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide logging local flash Description The logging local flash command is used to configure the level and the status of the log file input. To restore to the default configuration, please use no logging local flash command. The log file indicates the flash sector for saving system log. The information in the log file will not be lost after the switch is restarted and can be got by the show logging flash command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide buffer | flash —The output channels: buffer and flash. Clear the information of the two channels, by default. Command Mode Global Configuration Mode Example Clear the information in the log file: TP-LINK(config)# logging clear buffer logging loghost Description The logging loghost command is used to configure the Log Host. To clear the configuration of the specified Log Host, please use no logging loghost command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config)# logging loghost index 2 192.168.0.148 5 enable show logging local-config Description The show logging local-config command is used to display the configuration of the Local Log including the log buffer and the log file.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show logging buffer Description The show logging buffer level command is used to display the log information in the log buffer according to the severity level. Syntax show logging buffer level [level] Parameter level ——Severity level. There are 8 severity levels marked with values 0-7. The information will be displayed only when the log with the same or smaller severity level value. Display all the log information in the log buffer by default.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Display the log information with the level marked 0~3 in the log file: TP-LINK(config)# show logging flash level 3 85
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 15 SSH Commands SSH (Security Shell) can provide the unsecured remote management with security and powerful authentication to ensure the security of the management information. ssh server enable Description The ssh server enable command is used to enable SSH function. To disable the SSH function, please use no ssh server enable command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Enable SSH v2: TP-LINK(config)# ssh version v2 ssh idle-timeout Description The ssh idle-timeout command is used to specify the idle-timeout time of SSH. To restore to the factory defaults, please use no ssh idle-timeout command. Syntax ssh idle-timeout value no ssh idle-timeout Parameter value — — The Idle-timeout time. During this period, the system will automatically release the connection if there is no operation from the client.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Specify the maximum number of the connections to the SSH server as 3: TP-LINK(config)# ssh max-client 3 ssh download Description The ssh max-client command is used to download the SSH key file from TFTP server. Syntax ssh download {v1 | v2 } key-file ip-address ip-addr Parameter v1 | v2 —— Select the type of SSH key to download, v1 represents SSH-1, v2 represents SSH-2.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Display the global configuration of SSH: TP-LINK(config)# show ssh 89
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 16 SSL Commands SSL(Secure Sockets Layer), a security protocol, is to provide a secure connection for the application layer protocol(e.g. HTTP) based on TCP. Adopting asymmetrical encryption technology, SSL uses key pair to encrypt/decrypt information. A key pair refers to a public key (contained in the certificate) and its corresponding private key. By default the switch has a certificate (self-signed certificate) and a corresponding private key.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Certificate must be BASE64 encoded. ip-addr —— The IP address of the TFTP server. Command Mode Global Configuration Mode Example Download a SSL Certificate named ssl-cert from TFTP server with the IP Address of 192.168.0.148: TP-LINK(config)# ssl download certificate ssl-cert ip-address 192.168.0.148 ssl download key Description The ssl download key command is used to download a SSL key to the switch from TFTP server.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Command Mode Any Configuration Mode Example Display the global configuration of SSL: TP-LINK(config)# show ssl 92
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 17 Address Commands Address configuration can improve the network security by configuring the Port Security and maintaining the address information by managing the Address Table. bridge address port-security Description The bridge address port-security command is used to configure port security. To return to the default configuration, please use no bridge address port-security command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Enable Port Security function for port1, select Static mode as the learn mode, and specify the maximum number of MAC addresses that can be learned on this port as 30: TP-LINK(config)# interface ethernet 1 TP-LINK(config-if)# bridge address port-security max-number 30 mode static status enable bridge address static Description The bridge address static command is
TL-SL3428 JetStream L2 Managed Switch CLI Guide bridge aging-time Description The bridge aging-time command is used to configure aging time for the dynamic address. To return to the default configuration, please use no bridge aging-time command. Syntax bridge aging-time aging-time no bridge aging-time Parameter aging-time —— The aging time for the dynamic address. The value of it can be 0 or ranges from 10 to 630 seconds. When 0 is entered, the Auto Aging function is disabled.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Add a filtering address entry whose VLAN ID is 1 and MAC address is 00:1e:4b:04:01:5d: TP-LINK(config)# bridge address filtering 00:1e:4b:04:01:5d 1 show bridge port-security Description The show bridge port-security command is used to configure the Port Security for each port, such as configure the Max number of MAC addressed that can be learned on the port and the Learn Mode.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Any Configuration Mode Example Display the information of all Address entries: TP-LINK(config)# show bridge address all show bridge aging-time Description The show bridge aging-time command is used to display the Aging Time of the MAC address.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 18 System Commands System Commands can be used to configure the System information and System IP, reboot and reset the switch, upgrade the switch system and other operations. system-descript Description The system-descript command is used to configure the Device Name, Device Location and System Contact. To clear all the information, please use no system-descript command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide system-time gmt {time-zone} {ntp-server} {backup-ntp-server} Parameter time-zone —— Your local time-zone, and it ranges from -12 to 13. ntp-server —— The IP Address for the Primary NTP Server. Backup-ntp-server —— The IP Address for the Secondary NTP Server. Command Mode Global Configuration Mode Example Configure the system time mode as gmt, the time zone is -12, the primary ntp server is 133.100.9.2 and the secondary ntp server is 139.78.100.
TL-SL3428 JetStream L2 Managed Switch CLI Guide no system-time dst Parameter start-date —— The start date of DST you set. start-time —— The start time of DST you set. end-date —— The end date of DST you set. end-time —— The end time of DST you set. Command Mode Global Configuration Mode Example Configure the dst, dst is from April 1 00:00 to November 1 23:00.
TL-SL3428 JetStream L2 Managed Switch CLI Guide ip management-vlan Description The ip management-vlan command is used to configure the IP management VLAN, through which you can log on to the switch. Syntax ip management-vlan {vlan-id} Parameter vlan-id —— VLAN ID, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Set the VLAN6 as IP management VLAN: TP-LINK(config)# ip management-vlan 6 ip dhcp-alloc Description The ip dhcp-alloc command is used to enable the DHCP Client function.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Enable the BOOTP Protocol to obtain IP address from BOOTP Server: TP-LINK(config)# ip bootp-alloc reset Description The reset command is used to reset the switch’s software. After resetting, all configuration of the switch (except the IP Address) will restore to the factory defaults and your current settings will be lost.
TL-SL3428 JetStream L2 Managed Switch CLI Guide user-config backup Description The user-config backup command is used to backup the configuration file by TFTP server. Syntax user-config backup filename name ip-address ip-addr Parameter name — — Specify the name for the configuration file which would be backuped. ip-addr —— IP Address of the TFTP server. Command Mode Privileged EXEC Mode Example Backup the configuration files by TFTP server with the IP 192.168.0.148 and name this file config.
TL-SL3428 JetStream L2 Managed Switch CLI Guide 192.168.0.148 and name this file config.cfg: TP-LINK# user-config load filename config.cfg ip-address 192.168.0.148 user-config save Description The user-config save command is used to save current settings. Syntax user-config save Command Mode Privileged EXEC Mode Example Save current settings: TP-LINK# user-config save firmware upgrade Description The firmware upgrade command is used to upgrade the switch system via the TFTP server.
TL-SL3428 JetStream L2 Managed Switch CLI Guide ping Description The ping command is used to test the connectivity between the switch and one node of the network. Syntax ping {ip_addr} [-n {count}] [-l {count}] [-i {count}] Parameter ip_addr —— The IP address of the destination node for ping test. count (-n) —— The amount of times to send test data during Ping testing. It ranges from 1 to 10. By default, this value is 4. count (-l) —— The size of the sending data during ping testing.
TL-SL3428 JetStream L2 Managed Switch CLI Guide though. It ranges from 1 to 30. By default, this value is 4. Command Mode User EXEC Mode and Privileged EXEC Mode Example Test the connectivity between the switch and the network device with the IP 192.168.0.131. If the destination device has not been found after 20 maxHops, the connection between the switch and the destination device is failed to establish: TP-LINK# tracert 192.168.0.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Syntax show system-info Command Mode Any Configuration Mode Example Display the system information: TP-LINK# show system-info show ip address Description The show ip address command is used to display MAC Address, IP Address, Subnet Mask and Default Gateway of the system, whether the DHCP Client function is enabled or not and some other information.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show system-time dst Description The show system-time dst command is used to display the DST time information of the switch. Syntax show system-time dst Command Mode Any Configuration Mode Example Display the DST time information of the switch TP-LINK# show system-time dst show system-time source Description The show system-time source command is used to display the source of current time of the switch.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Any Configuration Mode Example Display the configured mode for the switch to get system time TP-LINK# show system-time mode 109
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 19 Ethernet Configuration Commands Ethernet Configuration Commands can be used to configure the Bandwidth Control, Negotiation Mode and Storm Control for Ethernet ports. interface ethernet Description The interface ethernet command is used to enter the Interface Configuration Mode and configure one Ethernet port. Syntax interface ethernet interface Parameter interface —— The Ethernet port to be configured.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Command in the Interface Range Ethernet Mode is executed independently on all ports in the range. It does not effect the execution on the other ports at all if the command results in an error on one port. Example Enter the Interface Configuration Mode, add ports 1-3, 6-9 to the port-list and configure them: TP-LINK(config)# interface range ethernet 1-3,6-9 description Description The description command is used to add a description to the Ethernet port.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Disable Ethernet port3: TP-LINK(config)# interface ethernet 3 TP-LINK(config-if)# shutdown flow-control Description The flow-control command is used to enable the flow-control function for a port. To disable the flow-control function for this corresponding port, please use no flow-control command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Parameter auto —— Auto negotiation (default). 10h —— 10Mbps half-duplex. 10f —— 10Mbps full-duplex. 100h —— 100Mbps half-duplex. 100f —— 100Mbps full-duplex. 1000f —— 1000Mbps full-duplex.
TL-SL3428 JetStream L2 Managed Switch CLI Guide exceeding the bandwidth will be discarded. The value of it can be 128k | 256k | 512k or 1m | 2m | 4m | 5m | 10m | 20m | 40m | 50m.
TL-SL3428 JetStream L2 Managed Switch CLI Guide ingress-rate limit. Syntax port rate-limit disable ingress Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Disable the ingress-rate limit for port5: TP-LINK(config)# interface ethernet 5 TP-LINK(config-if)# port rate-limit disable ingress port rate-limit disable egress Description The port rate-limit disable egress command is used to disable the egress-rate limit.
TL-SL3428 JetStream L2 Managed Switch CLI Guide configuration information of all ports is displayed. Command Mode Any Configuration Mode Example Display the configurations of port5: TP-LINK# show interface configuration ethernet 5 show interface status Description The show interface status command is used to display the connective-status of an Ethernet port. Syntax show interface status {ethernet [interface]} Parameter Interface —— The port selected to display the connective-status.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Any Configuration Mode Example Display the statistic information of Ethernet port3: TP-LINK(config)# show interface counters ethernet 3 show storm-control ethernet Description The show storm-control ethernet command is used to display the storm-control information of an Ethernet port. Syntax show storm-control ethernet [port] Parameter port —— The port-number of the port selected to display the storm-control information. It ranges from 1 to 28.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Any Configuration Mode Example Display the rate-limit information of all Ethernet ports: TP-LINK(config)# show port rate-limit 118
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 20 QoS Commands QoS (Quality of Service) function is used to optimize the network performance. It provides you with network service experience of a better quality. qos Description The qos command is used to configure CoS (Class of Service) based on port. To return to the default configuration, please use no qos command. Syntax qos cos-id no qos Parameter cos-id —— The priority of port.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Syntax qos dot1p enable no qos dot1p enable Command Mode Global Configuration Mode Example Enable the mapping relation between IEEE 802.1P Priority and Egress Queue: TP-LINK(config)# qos dot1p enable qos dot1p config Description The qos dot1p config command is used to configure the mapping relation between IEEE 802.1P Priority and Egress Queue. To return to the default configuration, please use no qos dot1p config command. IEEE 802.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Map tag value 0 to TC3: TP-LINK(config)# qos dot1p config 0 3 qos dscp enable Description The qos dscp enable command is used to enable the mapping relation between DSCP Priority and Egress Queue. To disable the mapping relation, please use no qos dscp enable command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide dscp-list —— List of DSCP value. One or several DSCP values can be typed using comma to separate. Use a hyphen to designate a range of values, for instance, 1,4-7,11 indicates choosing 1,4,5,6,7,11. The DSCP value ranges from 0 to 63. tc-id —— The priority level the packets with tag are mapped to. It ranges from 0 to 3, which represent TC0, TC1, TC2, TC3 respectively. Command Mode Global Configuration Mode User Guidelines 1.
TL-SL3428 JetStream L2 Managed Switch CLI Guide wrr —— Weight Round Robin Mode. In this mode, packets in all the queues are sent in order based on the weight value for each queue. The weight value ratio of TC0, TC1, TC2 and TC3 is 1:2:4:8. sp+wrr —— Strict-Priority + Weight Round Robin Mode. In this mode, the switch provides two scheduling groups, SP group and WRR group.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show qos dot1p Description The show qos dot1p command is used to display the configuration of IEEE 802.1P Priority. Syntax show qos dot1p Command Mode Any Configuration Mode Example Display the configuration of IEEE 802.1P Priority: TP-LINK# show qos dot1p show qos dscp Description The show qos dscp command is used to display the configuration of DSCP Priority.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Any Configuration Mode Example Display the schedule rule of the egress queues: TP-LINK# show qos scheduler 125
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 21 Port Mirror Commands Port Mirror refers to the process of forwarding copies of packets from one port to a mirroring port. Usually, the mirroring port is connected to data diagnose device, which is used to analyze the mirrored packets for monitoring and troubleshooting the network. mirror add Description The mirror add command is used to enable Port Mirror function.
TL-SL3428 JetStream L2 Managed Switch CLI Guide 2. Mirrored ports number is not limited, but it can’t be the mirroring port at the same time. 3. Whether the mirroring port and mirrored ports are in the same VLAN or not is not demanded strictly. 4. The mirroring port and mirrored ports cannot be link-aggregation member. mirror remove group Description The mirror remove group command is used to remove mirror group.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config)# mirror remove mirrored 1,2-4 1 show mirror Description The show mirror command is used to display the configuration of mirror group. Syntax show mirror [group-num] Parameter group-num —— The group number of mirror group.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 22 Port isolation Commands 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 forwarding port list. port isolation Description The port isolation command is used to configure the forward portlist of a port, so that this port can only communicate with the ports on its portlist.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Any Configuration Mode Example Display the forward-list of port 6: TP-LINK# show port isolation 6 130
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 23 ACL Commands ACL (Access Control List) is used to filter data packets by configuring a series of match conditions, operations and time ranges. It provides a flexible and secured access control policy and facilitates you to control the network security. acl time-segment Description The acl time-segment command is used to add Time-Range. To delete the corresponding Time-Range, please use no acl time-segment command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide holiday —— Enable/ Disable Holiday Mode. By default, it is disabled. Command Mode Global Configuration Mode Example Add a time-range named tSeg1, with time from 8:30 to 12:00 at working day: TP-LINK(config)# acl time-segment tSeg1 start-time 08:30 end-time 12:00 week-day working-day acl edit time-segment Description The acl edit time-segment command is used to edit Time-Range.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Edit the time-range named tSeg1, with time from 8:30 to 12:00 at working day: TP-LINK(config)# acl edit time-segment tSeg1 start-time 08:30 end-time 12:00 week-day working-day acl holiday Description The acl holiday command is used to create holiday in Holiday Mode in the acl time-segment command. To delete the corresponding holiday, please use no acl holiday command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide no acl create id Parameter id —— ACL ID, ranging from 0 to 299. 0-99 must be MAC ACL, 100-199 must be Standard-IP ACL, and 200-299 must be Extend-IP ACL. Command Mode Global Configuration Mode Example Create a MAC ACL whose ID is 20: TP-LINK(config)# acl create 20 acl rule mac-acl Description The acl rule mac-acl command is used to add MAC ACL rule. To delete the corresponding rule, please use no acl rule mac-acl command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide if you typed the destination MAC address. vlan-id —— The VLAN ID contained in the rule, ranging from 1 to 4094. Ethernet-type —— EtherType contained in the rule, in the format of 4-hex number. user-pri —— The user priority contained in the rule, ranging from 0 to 7. By default, it is not limited. time-segment —— The time-range for the rule to take effect. By default, it is not limited.
TL-SL3428 JetStream L2 Managed Switch CLI Guide source-mac —— The source MAC address contained in the rule. source-mac-mask —— The source MAC address mask. It is required if you typed the source MAC address. destination-mac —— The destination MAC address contained in the rule. destination-mac-mask —— The destination MAC address mask. It is required if you typed the destination MAC address. vlan-id —— The VLAN ID contained in the rule, ranging from 1 to 4094.
TL-SL3428 JetStream L2 Managed Switch CLI Guide source-ip-mask}] [[dip destination-ip] {dmask destination-ip-mask}] [tseg time-segment] no acl rule std-acl {acl-id} {rule-id} Parameter acl-id —— The desired Standard-IP ACL for configuration. rule-id —— The rule ID. op —— The operation for the switch to process packets which match the rules. There are two options, discard and permit. Discard means discarding packets, and permit means forwarding packets. By default, the option is permit.
TL-SL3428 JetStream L2 Managed Switch CLI Guide {smask source-ip-mask}] [[dip destination-ip] {dmask destination-ip-mask}] [tseg time-segment] [index idx] Parameter acl-id —— The desired Standard-IP ACL for configuration. rule-id —— The rule ID. op —— The operation for the switch to process packets which match the rules. There are two options, discard and permit. Discard means discarding packets, and permit means forwarding packets. By default, the option is permit.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Syntax acl policy policy-add name no acl policy policy-add name Parameter name —— The Policy Name, ranging from 1 to 16 characters. Command Mode Global Configuration Mode Example Add a Policy named policy1: TP-LINK(config)# acl policy policy-add policy1 acl policy action-add Description The acl policy action-add command is used to add ACLs and create actions for the policy. To delete the corresponding actions, please use no acl policy action-add command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide mirror —— The Mirror Port of Stream Mirror, ranging from 1 to 28. By default, it is 1. Command Mode Global Configuration Mode Example Create a Policy named policy1.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Example Edit the actions for the policy1. For the data packets those match ACL 120 in the policy, if the rate beyond 1000kbps, will be discarded by the switch: TP-LINK(config)# acl edit action policy1 120 rate 1000 osd discard acl bind to-port Description The acl bind to-port command is used to bind a policy to a port. To cancel the bind relation, please use no acl bind to-port command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Bind policy1 to VLAN 2: TP-LINK(config)# acl bind to-vlan policy1 2 show acl time-segment Description The show acl time-segment command is used to display the configuration of Time-Range.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Syntax show acl config acl-id Parameter acl-id —— The ID of the ACL selected to display the configuration. Command Mode Any Configuration Mode Example Display the configuration of the MAC ACL whose ID is 20: TP-LINK> show acl config 20 show acl bind Description The show acl bind command is used to display the configuration of Policy bind.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 24 MSTP Commands MSTP (Multiple Spanning Tree Protocol), compatible with both STP and RSTP and subject to IEEE 802.1s, can disbranch a ring network. STP is to block redundant links and backup links as well as optimize paths. spanning-tree global Description The spanning-tree global command is used to configure STP globally. To return to the default configuration, please use no spanning-tree global command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Age. hold-count — — TxHold Count, which is the maximum number of BPDU packets transmitted per Hello Time interval. TxHold Count ranges from 1 to 20 in pps. By default, it is 5. max-hops —— Max Hops, which is the maximum number of hops that occur in a specific region before the BPDU is discarded. Max Hops ranges from 1 to 40 in hop. By default, it is 20.
TL-SL3428 JetStream L2 Managed Switch CLI Guide determining if the port connected to this port will be chosen as the root port. In the same condition, the port with the highest priority will be chosen as the root port. The lower value has the higher priority. expath-consum —— ExtPath Cost, which is used to choose the path and calculate the path costs of ports in different MST regions. It is an important criterion on determining the root port. The lower value has the higher priority.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Syntax spanning-tree region {name} {revision} Parameter name —— The region name, used to identify MST region. It ranges from 1 to 32 characters. revision —— The revision for MST region identification, ranging from 0 to 65535.
TL-SL3428 JetStream L2 Managed Switch CLI Guide the corresponding instance ID, in the format of 1,2-4. Command Mode Global Configuration Mode Example Enable Instance 1, add VLAN 2, 3, 4, 5, 8 for it, and configure MSTI Priority as 4096: TP-LINK(config)# spanning-tree msti 1 status enable pri 4096 mapped 2-5,8 spanning-tree msti Description The spanning-tree msti command is used to configure MSTP Instance Port.
TL-SL3428 JetStream L2 Managed Switch CLI Guide spanning-tree tc-defend Description The spanning-tree tc-defend command is used to configure the TC Protect of Spanning Tree globally. To return to the default configuration, please use no spanning-tree tc-defend command. A switch removes MAC address entries upon receiving TC-BPDUs.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Parameter loop —— Enable/ Disable Loop Protect. By default, it is disabled. Loop Protect is to prevent the loops in the network brought by recalculating STP because of link failures and network congestions. root —— Enable/ Disable Root Protect. By default, it is disabled. Root Protect is to prevent wrong network topology change caused by the role change of the current legal root bridge. TC —— Enable/ Disable TC Protect. By default, it is disabled.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show spanning-tree global-info Description The show spanning-tree global-info command is used to display the current status of Spanning Tree.
TL-SL3428 JetStream L2 Managed Switch CLI Guide port —— The port selected to display the configuration, ranging from 1 to 28. By default, the configuration of all ports is displayed. Command Mode Any Configuration Mode Example Display the configuration of port 5: TP-LINK(config)# show spanning-tree port-config 5 show spanning-tree region Description The show spanning-tree region command is used to display the Region configuration of MSTP.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Display the configuration of instance 1: TP-LINK(config)# show spanning-tree msti config 1 show spanning-tree msti port Description The show spanning-tree msti port command is used to display the Instance Port configuration of Spanning Tree. Syntax show spanning-tree msti port {id} [port] Parameter id —— Instance ID, ranging from 1 to 8. port —— The port selected to display the configuration, ranging from 1 to 28.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show spanning-tree security port-defend Description The show spanning-tree security port-defend command is used to display the Port Protect configuration of Spanning Tree. Syntax show spanning-tree security port-defend [port] Parameter port —— The port selected to display the configuration, ranging from 1 to 28. By default, the Port Protect configuration of all ports is displayed.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 25 IGMP Commands IGMP Snooping (Internet Group Management Protocol Snooping) is a multicast control mechanism running on Layer 2 switch. It can effectively prevent multicast groups being broadcasted in the network. igmp-snooping global Description The igmp-snooping global command is used to configure IGMP globally. To return to the default configuration, please use no igmp global-snooping command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide please use no igmp-snooping config command. Syntax igmp-snooping config status {disable | enable} fast-leave {disable | enable} no igmp-snooping config Parameter status —— Enable/ Disable IGMP Snooping for the desired port. fast-leave —— Enable/ Disable Fast Leave feature for the desired port. If Fast Leave is enabled for a port, the switch will immediately remove this port from the multicast group upon receiving IGMP leave messages.
TL-SL3428 JetStream L2 Managed Switch CLI Guide default, it is 300. member-time —— Member Port Time. Within this time, if the switch does not receive IGMP report message from the member port, it will consider this port is not a member port any more. Member Port Time ranges from 60 to 600 in seconds. By default, it is 260. leave-time —— Leave Time, which is the interval between the switch receiving a leave message from a host and the switch removing the host from the multicast groups.
TL-SL3428 JetStream L2 Managed Switch CLI Guide default, it is 300. member-time —— Member Port Time. Within this time, if the switch does not receive IGMP report message from the member port, it will consider this port is not a member port any more. Member Port Time ranges from 60 to 600 in seconds. By default, it is 260. leave-time —— Leave Time, which is the interval between the switch receiving a leave message from a host and the switch removing the host from the multicast groups.
TL-SL3428 JetStream L2 Managed Switch CLI Guide member-time —— Member Port Time. Within this time, if the switch does not receive IGMP report message from the member port, it will consider this port is not a member port any more. Member Port Time ranges from 60 to 600 in seconds. By default, it is 260. leave-time —— Leave Time, which is the interval between the switch receiving a leave message from a host and the switch removing the host from the multicast groups. Leave Time ranges from 1 to 30 in seconds.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Add static multicast IP address 225.0.0.1, which correspond to VLAN 2, and configure the forward port as port 1: TP-LINK(config)# igmp-snooping static-entry-add 225.0.0.1 2 1 igmp-snooping filter-add Description The igmp-snooping filter-add command is used to configure the multicast IP-range desired to filter. To delete the corresponding IP-range, please use no igmp-snooping filter-add command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide The igmp-snooping filter-config command is used to modify the multicast filtering IP-range. Syntax igmp-snooping filter-config {id} {start-ip} {end-ip} Parameter id —— IP-range ID, ranging from 1 to 30. start-ip —— The start multicast IP of the IP-range. end-ip —— The end multicast IP of the IP-range. Command Mode Global Configuration Mode Example Modify the multicast IP-range whose ID is 20 as 225.0.0.10~225.0.0.
TL-SL3428 JetStream L2 Managed Switch CLI Guide IP-range will be processed. By default, the option is accept. filter-addr-id —— The IP-range ID the port will be bound to, in the format of 1-3, 4, 6. Up to 15 IP-Ranges can be bound to one port. max-group —— The maximum number of multicast groups for the port to join in. It is used to prevent some ports taking up too much bandwidth.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show igmp-snooping port-config [port] Parameter port —— The port selected to display the configuration, ranging from 1 to 28. By default, the configuration of all ports is displayed. Command Mode Any Configuration Mode Example Display the IGMP configuration of port 2: TP-LINK> show igmp-snooping port-config 2 show igmp-snooping vlan-config Description The show igmp-snooping vlan-config command is used to display the VLAN configuration of IGMP.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK> show igmp-snooping multi-vlan show igmp-snooping multi-ip-list Description The show igmp-snooping multi-ip-list command is used to display the Multicast IP table.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show igmp-snooping port-filter [port-num] Parameter port-num —— The port selected to display the configuration of Multicast Filter, ranging from 1 to 28. By default, the configuration of all ports is displayed.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK> show igmp-snooping packet-stat-clear 166
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 26 SNMP Commands SNMP (Simple Network Management Protocol) functions are used to manage the network devices for a smooth communication, which can facilitate the network administrators to monitor the network nodes and implement the proper operation. snmp global Description The snmp global command is used to configure the SNMP function globally. To return to the default configuration, please use no snmp global command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide snmp view-add Description The snmp view-add command is used to add View. To delete the corresponding View, please use no snmp view-add command. 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.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Read View, Write View and Notify View. And the authentication mode and the privacy mode guarantee the high security for the communication between the management station and the managed device.
TL-SL3428 JetStream L2 Managed Switch CLI Guide snmp user-add Description The snmp user-add command is used to add User. To delete the corresponding User, please use no snmp user-add command. The User in a SNMP Group can manage the switch via the management station software. The User and its Group have the same security level and access right.
TL-SL3428 JetStream L2 Managed Switch CLI Guide options. None indicates no privacy method is used, and DES indicates DES encryption method is used. By default, the Privacy Mode is none. encrypt-pwd —— Privacy Password, ranging from 1 to 16 characters.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config)# snmp community-add community1 read-write view1 snmp notify-add Description The snmp notify-add command is used to add Notification. To delete the corresponding Notification, please use no snmp notify-add command. With the Notification function enabled, the switch can initiatively report to the management station about the important events that occur on the Views, which allows the management station to monitor and process the events in time.
TL-SL3428 JetStream L2 Managed Switch CLI Guide timeout —— The maximum time for the switch to wait for the response from the management station before resending a request, ranging from 1 to 3600 in seconds. Command Mode Global Configuration Mode Example Add a Notification entry, and configure the IP Address of the management Host as 192.168.0.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Global Configuration Mode Example Configure the sample port as 1, and the sample interval as 100 seconds for the entries 1-3: TP-LINK(config)# snmp-rmon history sample-cfg 1-3 1 100 snmp-rmon history owner Description The snmp-rmon history owner command is used to configure the owner of the history sample entry. To return to the default configuration, please use no snmp-rmon history owner command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide no snmp-rmon history enable {index} Parameter index —— The index number of the entry desired to enable, ranging from 1 to 12, in the format of 1-3,5. Command Mode Global Configuration Mode Example Enable the history sample entries 1,2,3,4 and 8: TP-LINK(config)# snmp-rmon history enable 1-4,8 snmp-rmon event user Description The snmp-rmon event user command is used to configure the user name of SNMP-RMON Event.
TL-SL3428 JetStream L2 Managed Switch CLI Guide snmp-rmon event description Description The snmp-rmon event description command is used to configure the description of SNMP-RMON Event. To return to the default configuration, please use no snmp-rmon event description command. Syntax snmp-rmon event description {index} {description} no snmp-rmon event description {index} Parameter index —— The index number of the event entry, ranging from 1 to 12. You can only select one entry for each command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide logging the event and sending trap messages to the management station. Command Mode Global Configuration Mode Example Configure the event type of entries 1,2,3,4 and 8 as log: TP-LINK(config)# snmp-rmon event type 1-4,8 log snmp-rmon event owner Description The snmp-rmon event owner command is used to configure the owner of SNMP-RMON Event. To return to the default configuration, please use no snmp-rmon event owner command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide snmp-rmon event enable {index} no snmp-rmon event enable {index} Parameter index —— The index number of the entry desired to enable, ranging from 1 to 12, in the format of 1-3,5. Command Mode Global Configuration Mode Example Enable the SNMP-RMON Event entries 1,2,3,4 and 8: TP-LINK(config)# snmp-rmon event enable 1-4,8 snmp-rmon alarm config Description The snmp-rmon alarm config command is used to configure SNMP-RMON Alarm Management.
TL-SL3428 JetStream L2 Managed Switch CLI Guide the thresholds at the end of the sampling interval. Increment indicates subtracting the last sampled value from the current value, and then comparing the difference in the values with the threshold. By default, the Sample Type is absolute. r-hold —— The rising counter value that triggers the rising threshold alarm, ranging from 1 to 65535. By default, it is 100.
TL-SL3428 JetStream L2 Managed Switch CLI Guide snmp-rmon alarm owner {index} [owner] no snmp-rmon alarm owner {index} Parameter index —— The index number of the entry, ranging from 1 to 12. You can only select one entry for each command. owner —— The owner of the entry, ranging from 1 to 16 characters. By default, it is monitor.
TL-SL3428 JetStream L2 Managed Switch CLI Guide The show snmp global-config command is used to display SNMP configuration globally. Syntax show snmp global-config Command Mode Any Configuration Mode Example Display SNMP configuration globally: TP-LINK> show snmp global-config show snmp view Description The show snmp view command is used to display the View table.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show snmp user Description The show snmp user command is used to display the User table. Syntax show snmp user Command Mode Any Configuration Mode Example Display the User table: TP-LINK> show snmp user show snmp community Description The show snmp community command is used to display the Community table.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Display the Notification table: TP-LINK> show snmp destination-host show snmp-rmon history Description The show snmp-rmon history command is used to display the configuration of the history sample entry. Syntax show snmp-rmon history [index] Parameter index —— The index number of the entry selected to display the configuration, ranging from 1 to 12. You can only select one entry for each command. By default, the configuration of all entries is displayed.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Display the Event configuration of entry 2: TP-LINK> show snmp-rmon event 2 show snmp-rmon alarm Description The show snmp-rmon alarm command is used to display the configuration of the Alarm Management entry. Syntax show snmp-rmon alarm [index] Parameter index —— The index number of the entry selected to display the configuration, ranging from 1 to 12. You can only select one entry for each command.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Chapter 27 Cluster Commands Cluster Management function enables a network administrator to manage the scattered devices in the network via a management device. After a commander switch is configured, management and maintenance operations intended for the member devices in a cluster is implemented by the commander device. cluster ndp Description The cluster ndp command is used to configure NDP globally.
TL-SL3428 JetStream L2 Managed Switch CLI Guide cluster ntdp Description The cluster ntdp command is used to configure NTDP globally. To return to the default configuration, please use no cluster ntdp command. NTDP (Neighbor Topology Discovery Protocol) is used to collect the NDP information and neighboring connection information of each device in a specific network range.
TL-SL3428 JetStream L2 Managed Switch CLI Guide TP-LINK(config)# cluster ntdp status enable interval 20 hop 5 hop-delay 300 port-delay 50 cluster explore Description The cluster explore command is used to enable the topology information collecting function manually. Syntax cluster explore Command Mode Global Configuration Mode Example Enable the topology information collecting function manually: TP-LINK(config)# cluster explore cluster Description The cluster command is used to configure Cluster Port.
TL-SL3428 JetStream L2 Managed Switch CLI Guide cluster manage role-change Description The cluster manage role-change command is used to change the role of the current switch. According to their status and functions, switches in the cluster play different roles. You can specify the role the switch plays appropriate to your needs.
TL-SL3428 JetStream L2 Managed Switch CLI Guide show cluster ndp port-status Description The show cluster ndp port-status command is used to display NDP configuration of the certain port. Syntax show cluster ndp port-status [port] Parameter port —— The port selected to display the configuration of NDP, ranging from 1 to 28. By default, the configuration of all ports is displayed.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Syntax show cluster ntdp global Command Mode Any Configuration Mode Example Display the global configuration of NTDP: TP-LINK> show cluster ntdp global show cluster ntdp port-status Description The show cluster ntdp port-status command is used to display NTDP configuration of the certain port. Syntax show cluster ntdp port-status [port] Parameter port —— The port selected to display the configuration of NTDP, ranging from 1 to 28.
TL-SL3428 JetStream L2 Managed Switch CLI Guide Display the device table of NTDP: TP-LINK> show cluster ntdp device show cluster manage role Description The show cluster manage role command is used to display the role of the current switch.