TP-Link T1600G-52PS TL-SG2452P T1600G-28PSTL-SG2424P V1 CLI Reference Guide
TP-Link T1600G-52PS TL-SG2452P Manual
View all TP-Link T1600G-52PS TL-SG2452P manuals
Add to My Manuals
Save this manual to your list of manuals |
TP-Link T1600G-52PS TL-SG2452P manual content summary:
- TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 1
T1600G-28TS (TL-SG2424) T1600G-52TS (TL-SG2452) T1600G-28PS (TL-SG2424P) T1600G-52PS (TL-SG2452P) JetStream Gigabit Smart Switch REV1.1.3 1910011526 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 2
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 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 3
14 1.4.1 Format Conventions 14 1.4.2 Special Characters 14 1.4.3 Parameter Format 14 Chapter 2 User Interface 15 2.1 enable ...15 2.2 service password-encryption 15 2.3 enable password...16 2.4 enable secret ...17 2.5 configure ...18 2.6 exit ...18 2.7 end ...19 2.8 history - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 4
4.2 mac-vlan ...26 4.3 show mac-vlan...27 4.4 show mac-vlan interface 28 Chapter 5 Protocol VLAN Commands 29 5.1 protocol-vlan template 29 5.2 protocol-vlan vlan ...30 5.3 protocol-vlan ...30 5.4 show protocol-vlan template 31 5.5 show protocol-vlan vlan 31 Chapter 6 Voice VLAN - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 5
8.7 show user account-list 50 8.8 show user configuration 50 8.9 show telnet-status...51 Chapter 9 HTTP and HTTPS Commands 52 9.1 ip http server ...52 9.2 ip http max-users ...52 9.3 ip http session timeout 53 9.4 ip http secure-server 54 9.5 ip http secure-protocol 54 9.6 ip - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 6
11.5 ip arp inspection recover 71 11.6 show ip arp inspection 72 11.7 show ip arp inspection interface 72 11.8 show ip arp inspection statistics 73 11.9 clear ip arp inspection statistics 73 Chapter 12 DoS Defend Commands 74 12.1 ip dos-prevent ...74 12.2 ip dos-prevent type 74 12.3 show ip - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 7
-table count 105 show mac address-table address 106 show mac address-table vlan 106 Chapter 17 System Configuration Commands 107 17.1 system-time manual 107 17.2 system-time ntp ...107 17.3 system-time dst predefined 109 17.4 system-time dst date 110 17.5 system-time dst recurring 111 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 8
17.9 17.10 17.11 17.12 17.13 17.14 17.15 17.16 17.17 17.18 17.19 17.20 17.21 17.22 17.23 17.24 17.25 17.26 17.27 17.28 17.29 17.30 17.31 ip address ...113 ip address-alloc ...114 reset ...115 reboot...115 copy running-config startup-config 116 copy startup-config tftp 116 copy tftp startup-config - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 9
19.4 19.5 19.6 19.7 19.8 19.9 19.10 19.11 19.12 19.13 19.14 19.15 19.16 19.17 shutdown ...133 flow-control ...134 duplex ...134 jumbo ...135 speed ...136 storm-control pps ...136 storm-control...137 bandwidth ...138 clear counters ...138 show interface status 139 show interface counters 139 show - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 10
23.2 loopback-detection interval 155 23.3 loopback-detection recovery-time 156 23.4 loopback-detection(interface 156 23.5 loopback-detection config 157 23.6 loopback-detection recover 158 23.7 show loopback-detection global 158 23.8 show loopback-detection interface 158 Chapter 24 ACL - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 11
25.15 25.16 25.17 25.18 show power inline information interface 177 show power profile 178 show power holiday 178 show power time-range 178 Chapter 26 MSTP Commands 180 26.1 26.2 26.3 26.4 26.5 26.6 26.7 26.8 26.9 26.10 26.11 26.12 26.13 26.14 26.15 26.16 26.17 26.18 26.19 26.20 26.21 26.22 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 12
27.4 27.5 27.6 27.7 27.8 27.9 27.10 27.11 27.12 27.13 27.14 27.15 27.16 27.17 27.18 27.19 27.20 27.21 27.22 27.23 27.24 27.25 27.26 27.27 ip igmp snooping mtime 198 ip igmp snooping report-suppression 199 ip igmp snooping immediate-leave 199 ip igmp snooping drop-unknown 200 ip igmp snooping - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 13
28.13 28.14 28.15 28.16 28.17 28.18 28.19 28.20 28.21 28.22 28.23 28.24 28.25 28.26 28.27 ipv6 mld snooping querier vlan (general query 221 ipv6 mld snooping max-groups 222 ipv6 mld profile...223 deny ...223 permit ...224 range...224 ipv6 mld filter...225 clear ipv6 mld snooping statistics 225 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 14
29.22 29.23 29.24 29.25 29.26 29.27 show snmp-server host 247 show snmp-server engineID 247 show rmon history 248 show rmon event ...248 show rmon alarm ...249 show rmon statistics 249 Chapter 30 LLDP Commands 250 30.1 30.2 30.3 30.4 30.5 30.6 30.7 30.8 30.9 30.10 30.11 30.12 30.13 30.14 30. - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 15
32.6 32.7 32.8 32.9 32.10 32.11 32.12 description ...266 show interface vlan 267 show ip interface...267 show ip interface brief 268 show ip route ...268 show ip route specify 269 show ip route summary 270 XIV - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 16
administrator to provide referenced information about CLI (Command Line Interface). The device mentioned in this Guide stands for T1600-28TS/T1600G-52TS/T1600G-28PS/T1600G-52PS JetStream Gigabit Smart Switch without any explanation. The commands in this guilde apply to these models if not specially - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 17
Commands Provide information about the commands used for configuring the System information and System IP, reboot and reset the switch, upgrade the switch system and commands used for cable test. Chapter 18: IPv6 Address Configuration Commands Provide information about the commands used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 18
Chapter 27: IGMP Snooping Commands Provide information about the commands used for configuring the IGMP Snooping (Internet Group Management Protocol Snooping). Chapter 28: MLD Snooping Commands Provide information about the commands used for configuring the MLD Snooping (Multicast Listener Discovery - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 19
remotely by a Telnet or SSH connection through an Ethernet port. 1.1.1 Logon by Telnet To log on to the switch by a Telnet connection, please take the following steps: 1. Click Start and type in cmd in the Search programs and files window and press the Enter - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 20
User EXEC Mode , which is shown as Figure 1-2. Figure 1-2 Log in the Switch 4. Type in enable command to enter Privileged EXEC Mode. Figure 1-3 Enter into Priviledged default. Key Authentication Mode: It requires a public key for the switch and a private key for the SSH client software. You can - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 21
Figure 1-4 Enable SSH function Password Authentication Mode 1. Open the software to log on to the interface of PuTTY. Enter the IP address of the switch into Host Name field; keep the default value 22 in the Port field; select SSH as the Connection type. Figure 1-5 SSH Connection Config 6 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 22
, and then enter enable to enter Privileged EXEC Mode, so you can continue to configure the switch. Figure 1-6 Log on the Switch Key Authentication Mode 1. Select the key type and key length, and generate SSH key. Figure 1-7 Generate SSH Key Note: 1. The key length is in the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 23
the key is successfully generated, please save the public key and private key to a TFTP server. Figure 1-8 Save the Generated Key 3. Log on to the switch by Telnet and download the public key file from the TFTP server to the switch, as the following figure shows: Figure 1-9 Download the Public Key 8 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 24
Note: 1. The key type should accord with the type of the key file. 2. The SSH key downloading can not be interrupted. 4. After the public key is downloaded, please log on to the interface of PuTTY and enter the IP address for login. Figure 1-10 SSH Connection Config 9 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 25
enter the login user name. If you log on to the switch without entering password, it indicates that the key has been successfully downloaded. Figure 1-12 Log on the Switch 1.2 CLI Command Modes The CLI is divided into different command modes: User - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 26
User EXEC mode. Global Configuration Mode Use the configure command to enter this mode from Privileged EXEC mode. T1600G-52TS> T1600G-52TS# T1600G-52TS# Use the exit command to disconnect the switch. Use the enable command to access Privileged EXEC mode. Enter the exit command to return to User - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 27
(config-if-range)# T1600G-52TS (config-vlan)# Use the end command or press Ctrl+Z to return to Privileged EXEC mode. Enter the exit or the # command to return to Global Configuration mode. A port number must be specified in the interface command. Use the switchport command to switch to the Layer - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 28
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. Users get the privilege to the User level once - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 29
1.4 Conventions 1.4.1 Format Conventions The following conventions are used in this Guide: Items in square brackets [ ] are optional Items in braces { } are required Alternative items are grouped in braces and separated by vertical bars. For example: speed { - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 30
Mode Example If you have set the password to access Privileged EXEC Mode from User EXEC Mode: T1600G-52TS>enable Enter password: T1600G-52TS# 2.2 service password-encryption Description The service password-encryption command is used to encrypt the password when the password is defined or when the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 31
Example Enable the global encryption function: T1600G-52TS(config)# service password-encryption 2.3 enable password Description The symmetric encrypted password with fixed length, which you can copy from another switch's configuration file. After the encrypted password is configured, you should use - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 32
" and unencrypted to access Privileged EXEC Mode from User EXEC Mode: T1600G-52TS(config)#enable password 0 admin 2.4 enable secret Description The enable password with fixed length, which you can copy from another switch's configuration file. After the encrypted password is configured, you should - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 33
as "admin" and unencrypted to access Privileged EXEC Mode from User EXEC Mode. The password will be displayed in the encrypted form. T1600G-52TS(config)#enable secret 0 admin 2.5 configure Description The configure command is used to access Global Configuration Mode from Privileged EXEC Mode. Syntax - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 34
20 commands you entered in the current mode since the switch is powered. Syntax history Command Mode Privileged EXEC Mode and any Configuration Mode Example Show the commands you have entered in the current mode: T1600G-52TS (config)# history 1 history 2.9 history clear Description The history clear - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 35
Syntax history clear Command Mode Privileged EXEC Mode and any Configuration Mode Example Clear the commands you have entered in the current mode: T1600G-52TS(config)#history clear 20 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 36
(Virtual Local Area Network) technology is developed for the switch to divide the LAN into multiple logical LANs flexibly. Hosts Configuration Mode Example Create VLAN 2-10 and VLAN 100: T1600G-52TS(config)# vlan 2-10,100 Delete VLAN 2: T1600G-52TS(config)# no vlan 2 3.2 interface vlan Description - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 37
contains 16 characters at most. Command Mode VLAN Configuration Mode(VLAN) Example Specify the name of VLAN 2 as "group1": T1600G-52TS(config)# vlan 2 T1600G-52TS(config-vlan)# name group1 3.4 switchport general allowed vlan Description The switchport general allowed vlan command is used to add the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 38
-52TS(config)# interface gigabitEthernet 1/0/4 T1600G-52TS(config-if)# switchport general allowed vlan 2 tagged 3.5 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 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 39
.1Q VLAN. Syntax show vlan brief Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the brief information of IEEE 802.1Q VLAN: T1600G-52TS(config)# show vlan brief 3.8 show vlan Description The show vlan command is used to display the information of IEEE 802.1Q VLAN. Syntax - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 40
displays the detailed information of all VLANs. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of vlan 5: T1600G-52TS(config)# show vlan id 5 3.9 show interface switchport Description The show interface switchport command is used to display the IEEE 802 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 41
8 characters at most. Command Mode Global Configuration Mode Example Create VLAN 2 with the MAC address 00:11:11:01:01:12 and the name "TP": T1600G-52TS(config)#mac-vlan mac-address 00:11:11:01:01:12 vlan 2 description TP 4.2 mac-vlan Description The mac-vlan command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 42
ten-gigabitEthernet / interface range ten-gigabitEthernet) Example Enable the Gigabit Ethernet port 1/0/3 for the MAC-based VLAN feature: T1600G-52TS(config)#interface gigabitEthernet 1/0/3 T1600G-52TS(config-if)#mac-vlan 4.3 show mac-vlan Description The show mac-vlan command is used to display the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 43
-based VLAN. Syntax show mac-vlan interface Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the enable state of all the ports: T1600G-52TS(config)#show mac-vlan interface 28 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 44
Chapter 5 Protocol VLAN Commands Protocol-based VLAN (Virtual Local Area Network) is the way to classify VLANs based on Protocols. A Protocol corresponds to a VLAN ID. The untagged packets and the priority-tagged packets matching the protocol template will be tagged with this VLAN ID. 5.1 protocol- - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 45
protocol-vlan vlan command. Command Mode Global Configuration Mode Example Create Protocol-based VLAN 2 and bind it with Protocol-based VLAN Template 3: T1600G-52TS(config)# protocol-vlan vlan 2 template 3 5.3 protocol-vlan Description The protocol-vlan command is used to add the port to a specified - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 46
protocol-vlan template Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the Protocol-based VLAN templates: T1600G-52TS(config)# show protocol-vlan template 5.5 show protocol-vlan vlan Description The show protocol-vlan vlan command is used to display - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 47
Example Display information of the Protocol-based VLAN entry: T1600G-52TS(config)# show protocol-vlan vlan 32 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 48
-id -- Specify IEEE 802.1Q VLAN ID, ranging from 2 to 4094. Command Mode Global Configuration Mode Example Enable the Voice VLAN function for VLAN 10: T1600G-52TS(config)# voice vlan 10 6.2 voice vlan aging Description The voice vlan aging command is used to set the aging time for a voice VLAN. To - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 49
minutes and the default value is 1440 minutes. Command Mode Global Configuration Mode Example Set the aging time for the Voice VLAN as 1 minute: T1600G-52TS(config)# voice vlan aging 1 6.3 voice vlan priority Description The voice vlan priority command is used to configure the priority for the Voice - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 50
00:11:11:11:11:11 and the mask address FF:FF:FF:00:00:00: T1600G-52TS(config)#voice vlan mac-address 00:11:11:11:11:11 mask FF:FF:FF:00 mode for the Ethernet port. Syntax switchport voice vlan mode { manual | auto } Parameter manual | auto -- Port mode. Command Mode Interface Configuration Mode ( - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 51
/ interface port-channel / interface range port-channel) Example Enable port 1/0/3 for the Voice VLAN security feature: T1600G-52TS(config)# interface gigabitEthernet 1/0/3 T1600G-52TS(config-if)# switchport voice vlan security 6.7 show voice vlan Description The show voice vlan command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 52
. Syntax show voice vlan oui Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of Voice VLAN OUI: T1600G-52TS(config)# show voice vlan oui 6.9 show voice vlan switchport Description The show voice vlan switchport command is used to display the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 53
Display the Voice VLAN configuration information of port 1/0/2: T1600G-52TS(config)# show voice vlan switchport gigabitEthernet 1/0/2 38 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 54
aggregation and disaggregation by exchanging LACP packets with its partner. The switch can dynamically group similarly configured ports into a single logical link, 1 and enable the static LAG: T1600G-52TS(config)# interface range gigabitEthernet 1/0/2-4 T1600G-52TS(config-if-range)# channel-group - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 55
the source and destination IP addresses of the packets. Command Mode Global Configuration Mode Example Configure the Aggregate Arithmetic for LAG as "src-dst-ip": T1600G-52TS(config)# port-channel load-balance src-dst-ip 40 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 56
from 0 to 65535. It is 32768 by default. Command Mode Global Configuration Mode Example Configure the LACP system priority as 1024 globally: T1600G-52TS(config)# lacp system-priority 1024 7.4 lacp port-priority Description The lacp port-priority command is used to configure the LACP port priority - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 57
52TS(config-if-range)# lacp port-priority 1024 Configure the LACP port priority as 2048 for port 4: T1600G-52TS(config)# interface gigabitEthernet 1/0/4 T1600G-52TS(config-if)# lacp port-priority 2048 7.5 show etherchannel Description The show etherchannel command is used to display the EtherChannel - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 58
-- The neighbor LACP information. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the internal LACP information of EtherChannel Group 1: T1600G-52TS(config)# show lacp 1 internal 7.8 show lacp sys-id Description The show lacp sys-id command is used to display the LACP - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 59
Syntax show lacp sys-id Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the LACP system priority: T1600G-52TS(config)# show lacp sys-id 44 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 60
by Web, Telnet or SSH, so as to protect the settings of the switch from being randomly changed. 8.1 user name (password) Description The user name command password with fixed length, which you can copy from another switch's configuration file. After the encrypted password is configured, you - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 61
is unencrypted and the global encryption function is enabled in service password-encryption, the password in the configuration file will be user named "tplink", of which the password is "admin" and unencrypted: T1600G-52TS(config)#user name tplink privilege admin password 0 admin 8.2 user name ( - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 62
is "admin". The password will be displayed in the encrypted form. T1600G-52TS(config)#user name tplink privilege admin secret 0 admin 8.3 user Only the users within the IP-range you set here are allowed to access the switch. To cancel the user access limit, please use no user access-control command. - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 63
access. Only the user with this MAC address you set here is allowed to access the switch. To cancel the user access limit, please use no user access-control command. Syntax user is 00:00:13:0A:00:01 is allowed to access the switch: T1600G-52TS(config)# user access-control mac-based 00:00:13:0A:00 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 64
. Command Mode Global Configuration Mode Example Configure that only the users connected to ports 10/2-6 are allowed to access the switch: T1600G-52TS(config)# user access-control port-based interface range gigabitEthernet 1/0/2-6 8.6 telnet Description The telnet enable command is used to enable - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 65
. Syntax show user account-list Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the current users: T1600G-52TS(config)# show user account-list 8.8 show user configuration Description The show user configuration command is used to display the security - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 66
of the Telnet function. Syntax show telnet-status Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display whether the Telnet function is enabled: T1600G-52TS(config)# show telnet-status 51 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 67
ip http server command is used to enable the HTTP server within the switch. To disable the HTTP function, please use no ip http server command http server Command Mode Global Configuration Mode Example Disable the HTTP function: T1600G-52TS(config)# no ip http server 9.2 ip http max-users Description - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 68
Mode Global Configuration Mode Example Configure the maximum number of the Admin and Guest users logging on to the HTTP server as 5 and 3: T1600G-52TS(config)# ip http max-users 5 3 9.3 ip http session timeout Description The ip http session timeout command is used to configure the connection - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 69
T1600G-52TS(config)# ip http session timeout 15 9.4 ip http secure-server Description The ip http secure-server command is used to enable the HTTPS server within the switch the HTTPS function: T1600G-52TS(config)# no -protocol command. By default, the switch supports SSLv3 and TLSv1. Syntax ip http - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 70
the protocol of SSL connection as SSL 3.0: T1600G-52TS(config)# ip http secure-protocol ssl3 9.6 ip http secure-ciphersuite Description The ip http secure-ciphersuite command is used to configure the cipherSuites over the SSL connection supported by the switch. To restore to the default ciphersuite - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 71
. Command Mode Global Configuration Mode Example Configure the maximum number of the Admin and Guest users logging on to the HTTPS server as 5 and 3: T1600G-52TS(config)# ip http secure-max-users 5 3 9.8 ip http secure-session timeout Description The ip http secure-session timeout command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 72
T1600G-52TS(config)# ip http secure-session timeout 15 9.9 ip http secure-server download certificate Description The ip http secure-server download certificate command is used to download a certificate to the switch server. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.1 or fe80 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 73
is used to download an SSL key to the switch from TFTP server. Syntax ip http secure-server of the TFTP server. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.1 or fe80::1234. Command Mode with the IP address of 192.168.0.146: T1600G-52TS(config)# ip http secure-server download key - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 74
Syntax show ip http configuration Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of the HTTP server: T1600G-52TS(config)# show ip http configuration 9.12 show ip http secure-server Description The show ip http secure-server command is used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 75
source binding Description The ip source binding command is used to bind the IP address, MAC address, VLAN ID and the Port number together manually. You can manually bind the IP address, MAC address, VLAN ID and the Port number together in the condition that you have got the related information of - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 76
, VLAN ID 2 and the Port number 5 manually. And then enable the entry for the ARP detection: T1600G-52TS(config)#ip source binding host1 192.168.0.1 00 the connected Port number of the Host for automatic binding. The switch can also propagate the control information and the network parameters via the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 77
DHCP snooping function, in the format of 1-3, 5. Command Mode Global Configuration Mode Example Enable the DHCP Snooping function on VLAN 1,4,6-7: T1600G-52TS(config)#ip dhcp snooping vlan 1,4,6-7 10.4 ip dhcp snooping information option Description The ip dhcp snooping information option command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 78
the Option 82 field Command Mode Global Configuration Mode Example Replace the Option 82 field of the packets with the switch defined one and then send out: T1600G-52TS(config)#ip dhcp snooping information strategy replace 10.6 ip dhcp snooping information remote-id Description The ip dhcp snooping - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 79
port-channel) Example Enable and configure the customized sub-option Circuit ID for the Option 82 as "tplink" on port 1/0/1: T1600G-52TS(config)#interface gigabitEthernet 1/0/1 T1600G-52TS(config-if)#ip dhcp snooping information circuit-id tplink 10.8 ip dhcp snooping trust Description The ip dhcp - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 80
/ interface port-channel / interface range port-channel) Example Configure the Gigabit Ethernet port 1/0/2 to be a Trusted Port: T1600G-52TS(config)#interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)#ip dhcp snooping trust 10.9 ip dhcp snooping mac-verify Description The ip dhcp snooping mac - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 81
gigabitEthernet / interface port-channel / interface range port-channel) Example Set the Flow Control of GigabitEthernet port 2 as 20 pps: T1600G-52TS(config)#interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)#ip dhcp snooping limit rate 20 10.11 ip dhcp snooping decline rate Description The ip - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 82
table. Syntax show ip source binding Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IP-MAC-VID-PORT binding table: T1600G-52TS(config)#show ip source binding 10.13 show ip dhcp snooping Description The show ip dhcp snooping command is used to display the running - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 83
Syntax show ip dhcp snooping Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the running status of DHCP Snooping: T1600G-52TS#show ip dhcp snooping 10.14 show ip dhcp snooping interface Description The show ip dhcp snooping interface command is used to display the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 84
Global Configuration Mode Example Enable the ARP Detection function globally: T1600G-52TS(config)#ip arp inspection 11.2 ip arp inspection set as Trusted Port. To ensure the normal communication of the switch, please configure the ARP Trusted Port before enabling the ARP Detect function. Syntax - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 85
1/0/2-5 as the Trusted Port: T1600G-52TS(config)#interface range gigabitEthernet 1/0/2-5 T1600G-52TS(config-if-range)#ip arp bandwidth and slow the network speed extremely. With the ARP Defend enabled, the switch can terminate receiving the ARP packets for 300 seconds when the transmission speed of - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 86
) Example Configure the maximum amount of the received ARP packets per second as 50 pps for Gigabit Ethernet port 5: T1600G-52TS(config)#interface gigabitEthernet 1/0/5 T1600G-52TS(config-if)#ip arp inspection limit-rate 50 11.5 ip arp inspection recover Description The ip arp inspection recover - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 87
list. Syntax show ip arp inspection Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the ARP detection configuration globally: T1600G-52TS(config)#show ip arp inspection 11.7 show ip arp inspection interface Description The show ip arp inspection interface command is used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 88
inspection statistics Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the number of the illegal ARP packets received: T1600G-52TS(config)#show ip arp inspection statistics 11.9 clear ip arp inspection statistics Description The clear ip arp inspection statistics command - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 89
evil programs sending a lot of service requests to the Host. With the DoS Defend enabled, the switch can analyze the specific field of Command Mode Global Configuration Mode Example Enable the DoS defend function globally: T1600G-52TS(config)#ip dos-prevent 12.2 ip dos-prevent type Description The - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 90
/SYN-ACK flooding attack. With the syn-flood attack enabled, the switch will limit automatically the forwarding speed of ping packets to 512K when Global Configuration Mode Example Enable the DoS Defend Type named Land attack: T1600G-52TS(config)#ip dos-prevent type land 12.3 show ip dos-prevent - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 91
be got by show logging buffer command. It will be lost when the switch is restarted. Syntax logging buffer no logging buffer Command Mode Global Configuration Mode Example Enable the system log buffer: T1600G-52TS(config)#logging buffer 13.2 logging buffer level Description The logging buffer level - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 92
Command Mode Global Configuration Mode Example Set the severity level as 5: T1600G-52TS(config)#logging buffer level 5 13.3 logging file flash Description The used to store the log messages in a file in the flash on the switch. To disable the log file flash function, please use no logging file flash - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 93
life of the flash and is not recommended. Command Mode Global Configuration Mode Example Specify the log file synchronization frequency as 10 hours: T1600G-52TS(config)#logging file flash frequency periodic 10 13.5 logging file flash level Description The logging file flash level command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 94
messages with their severities equal or higher than 7 to the flash : T1600G-52TS(config)#logging file flash level 7 13.6 logging host index Description The logging host index idx Parameter idx -- The index of the log host. The switch supports 4 log hosts at most. host-ip -- The IP for the log host. - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 95
is enabled by default. Syntax logging monitor no logging monitor Command Mode Global Configuration Mode Example Disable logging to the terminal devices: T1600G-52TS(config)# no logging monitor 13.8 logging monitor level Description The logging monitor level command is used to limit messages logged - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 96
and flash. Clear the information of the two channels, by default. Command Mode Global Configuration Mode Example Clear the information in the log file: T1600G-52TS(config)# clear logging buffer 13.10 show logging local-config Description The show logging local-config command is used to display the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 97
of all the log hosts by default. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of the log host 2: T1600G-52TS(config)# show logging loghost 2 13.12 show logging buffer Description The show logging buffer command is used to display the log information - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 98
by default. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the log information from level 0 to level 5 in the log buffer: T1600G-52TS(config)# show logging buffer level 5 13.13 show logging flash Description The show logging flash command is used to display the log - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 99
, please use no ip ssh server command. Syntax ip ssh server no ip ssh server Command Mode Global Configuration Mode Example Enable the SSH function: T1600G-52TS(config)# ip ssh server 14.2 ip ssh version Description The ip ssh version command is used to enable the SSH protocol version. To disable - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 100
-CBC | 3DES-CBC | HMAC-SHA1 | HMAC-MD5 -- Specify the SSH algorithm. Command Mode Global Configuration Mode Example Specify the SSH algorithm as AES128-CBC: T1600G-52TS(config)# ip ssh algorithm AES128-CBC 14.4 ip ssh timeout Description The ip ssh timeout command is used to specify the idle-timeout - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 101
to 5. By default, this value is 5. Command Mode Global Configuration Mode Example Specify the maximum number of the connections to the SSH server as 3: T1600G-52TS(config)# ip ssh max-client 3 14.6 ip ssh download Description The ip ssh download command is used to download the SSH key file from - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 102
IPv4 and IPv6 addresses are supported, for example 192.168 switch. Syntax remove public-key { v1 | v2 } Parameter v1 | v2 -- Select the type of SSH public key, v1 represents SSH-1, v2 represents SSH-2. Command Mode Privileged EXEC Mode Example Remove the SSH-1 type public key from the switch: T1600G - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 103
14.8 show ip ssh Description The show ip ssh command is used to display the global configuration of SSH. Syntax show ip ssh Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of SSH: T1600G-52TS(config)# show ip ssh 88 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 104
Global Configuration Mode Example Enable the IEEE 802.1X function: T1600G-52TS(config)#dot1x system-auth-control 15.2 dot1x handshake Description to detect the connection status between the TP-LINK 802.1x supplicant and the switch. Please disable the handshake feature if you are using a non-TP-LINK - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 105
802.1X authentication system uses extensible authentication protocol (EAP) to exchange information between the switch and the client. The EAP protocol packets with authentication data are encapsulated in the Authentication Method of IEEE 802.1X as "pap": T1600G-52TS(config)#dot1x auth-method pap 90 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 106
in the Guest VLAN can access the specified network sources. Command Mode Global Configuration Mode Example Enable the Guest VLAN function for VLAN 5: T1600G-52TS(config)#dot1x guest-vlan 5 15.5 dot1x quiet-period Description The dot1x quiet-period command is used to enable the quiet-period function - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 107
function and set the quiet-period as 5 seconds: T1600G-52TS(config)#dot1x quiet-period 5 15.6 dot1x timeout By default, it is 3 seconds. supplicant-timeout time --The maximum time for the switch to wait for the response from supplicant before resending a request to the supplicant., ranging from - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 108
By default, the value is 3. Command Mode Global Configuration Mode Example Configure the maximum transfer times of the repeated authentication request as 5: T1600G-52TS(config)#dot1x max-reauth-req 5 15.8 dot1x Description The dot1x command is used to enable the IEEE 802.1X function for a specified - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 109
Mode (interface gigabitEthernet / interface range gigabitEtherne) Example Enable the Guest VLAN function for Gigabit Ethernet port 1/0/2: T1600G-52TS(config)#interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)#dot1x guest-vlan 15.10 dot1x port-control Description The dot1x port-control command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 110
/ interface range gigabitEthernet) Example Configure the Control Mode for Gigabit Ethernet port 1/0/20 as "authorized-force": T1600G-52TS(config)#interface gigabitEthernet 1/0/20 T1600G-52TS(config-if)#dot1x port-control authorized-force 15.11 dot1x port-method Description The dot1x port-method - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 111
Ethernet port 1/0/20 as "port-based": T1600G-52TS(config)#interface gigabitEthernet 1/0/20 T1600G-52TS(config-if)#dot1x port-method port the encryption type is 0. "password" is the shared password for the switch and the authentication servers to exchange messages which contains 31 characters at most. - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 112
password with a fixed length, which you can copy from another switch's configuration file. The password or encrypted-password you configured here will address of the accounting server as 10.20.1.100 and password as tplink: T1600G-52TS(config)#radius auth-pri 10.20.1.100 auth-key tplink 15.13 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 113
of 802.1X. Syntax show dot1x global Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of 802.1X globally: T1600G-52TS(config)#show dot1x global 15.15 show dot1x interface Description The show dot1x interface command is used to display all ports or the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 114
show radius accounting Command Mode Privileged EXEC Mode and Any Configuration Modes Example Display the configuration of the accounting server: T1600G-52TS(config)#show radius accounting 15.17 show radius authentication Description The show radius authentication command is used to display the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 115
be added or removed manually, independent of the aging time. In the stable networks, the static MAC address entries can facilitate the switch to reduce broadcast 4f:6c:23, VLAN1 and port 1 together: T1600G-52TS(config)# mac address-table static 00:02:58:4f:6c:23 vid 1 interface gigabitEthernet - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 116
Global Configuration Mode Example Configure the aging time as 500 seconds: T1600G-52TS(config)# mac address-table aging-time 500 16.3 mac address package to be forwarded. The filtering address can be added or removed manually, independent of the aging time. Syntax mac address-table filtering mac- - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 117
which VLAN ID is 1 and MAC address is 00:1e:4b:04:01:5d: T1600G-52TS(config)# mac address-table filtering 00:1e:4b:04:01:5d vid 1 influence of the aging time and can only be deleted manually. The learned entries will be cleared after the switch is rebooted. When permanent mode is selected, the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 118
aging time and can only be deleted manually too. However, the learned entries will be saved even the switch is rebooted. status -- Enable or that can be learned on this port as 30: T1600G-52TS(config)# interface gigabitEthernet 1/0/1 T1600G-52TS(config-if)# mac address-table max-mac-count max - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 119
. Syntax show mac address-table aging-time Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Aging Time of the MAC address: T1600G-52TS(config)# show mac address-table aging-time 16.7 show mac address-table max-mac-count Description The show mac address-table max-mac - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 120
lagid -- The ID of the LAG. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the address configuration of port 1/0/1: T1600G-52TS(config)# show mac address-table interface gigabitEthernet 1/0/1 16.9 show mac address-table count Description The show mac address-table count - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 121
. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the MAC address 00:00:00:00:23:00 in VLAN 1: T1600G-52TS(config)#show mac address-table address 00:00:00:00:23:00 vid 1 16.11 show mac address-table vlan Description The show mac - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 122
is 12/20/2010 17:30:35 T1600G-52TS(config)# system-time manual 12/20/2010-17:30:35 17.2 system-time ntp Description The system-time ntp command is used to configure the time zone and the IP address for the NTP Server. The switch will get UTC automatically if it has - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 123
UTC-08:00 -- TimeZone for Pacific Time(US Canada). UTC-07:00 -- TimeZone for Mountain Time(US Canada). UTC-06:00 -- TimeZone for Central Time(US Canada). UTC-05:00 -- TimeZone for Eastern Time(US Canada). UTC-04:30 -- TimeZone for Caracas. UTC-04:00 -- TimeZone for Atlantic Time(Canada). UTC- - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 124
-12:00, the primary NTP server is 133.100.9.2 and the secondary NTP server is 139.78.100.163, the fetching-rate is 11 hours: T1600G-52TS(config)# system-time ntp UTC-12:00 133.100.9.2 139.79.100.163 11 17.3 system-time dst predefined Description The system-time dst - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 125
17.4 system-time dst date Description The system-time dst date command is used to configure the one-off daylight saving time. The start date is in the current year by default. The time range of the daylight saving time must shorter than one year, but you can configure it spanning years. To disable - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 126
T1600G-52TS(config)# system-time dst date Apr 1 00:00 2015 Oct 1 00:00 2015 30 17.5 system-time dst recurring Description The system-time dst - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 127
Configure the daylight saving time from 2:00am, the first Sunday of May to 2:00am, the last Sunday of Oct and the offset is 45 minutes: T1600G-52TS(config)# system-time dst recurring first Sun May 02:00 last Sun Oct 02:00 45 17.6 hostname Description The hostname command is used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 128
Mode Example Configure the system contact information as www.tp-link.com: T1600G-52TS(config)# contact-info www.tp-link.com 17.9 ip address Description configure the IP address and IP subnet mask for the specified interface manually. The interface type includes: routed port, port-channel interface, - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 129
2 with the primary IP address as 192.168.1.1/24 and secondary IP address as 192.168.2.1/24: T1600G-52TS(config)# interface vlan 2 T1600G-52TS(config-if)# ip address 192.168.1.1 255.255.255.0 T1600G-52TS(config-if)# ip address 192.168.2.1 255.255.255.0 secondary 17.10 ip address-alloc Description - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 130
will be lost. Syntax reset Command Mode Privileged EXEC Mode Example Reset the software of the switch: T1600G-52TS# reset 17.12 reboot Description The reboot command is used to reboot the Switch. To avoid damage, please don't turn off the device while rebooting. Syntax reboot Command Mode Privileged - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 131
startup-config Command Mode Privileged EXEC Mode Example Save current settings: T1600G-52TS# copy running-config startup-config 17.14 copy startup-config -- IP Address of the TFTP server. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.1 or fe80::1234. name -- Specify the name for - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 132
-addr -- IP Address of the TFTP server. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.1 or fe80::1234. name -- Specify the name for configuration file named as config.cfg to the switch from TFTP server with the IP 192.168.0.148: T1600G-52TS# copy tftp startup-config ip-address 192 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 133
remove backup-image Command Mode Privileged EXEC Mode Example Delete the backup image file: T1600G-52TS# remove backup-image 17.18 firmware upgrade Description The firmware upgrade command is used to upgrade the switch's backup image file via the TFTP server. The uploaded firmware file will take - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 134
supported, for example 192.168.0.1 or fe80::1234. name -- Specify the name for the firmware file. Command Mode Privileged EXEC Mode Example Upgrade the switch with the IP address fe80::1234, but do not reboot the switch: T1600G-52TS# firmware upgrade ip-address fe80::1234 filename firmware.bin It - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 135
. If the parameter ip/ipv6 is not selected, both IPv4 and IPv6 addresses are supported, for example 192.168.0.100 or fe80::1234. -n count -- The amount of 8 times' Ping test, the connection between the switch and the network device is failed to establish: T1600G-52TS# ping fe80::1234 -n 8 -l 512 17 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 136
the parameter ip/ipv6 is not selected, both IPv4 and IPv6 addresses are supported, for example 192.168.0.100 or fe80::1234. maxHops -- The maximum number after 20 maxHops, the connection between the switch and the destination device is failed to establish: T1600G-52TS# tracert fe80::1234 20 17.21 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 137
files in the system. Syntax show image-info Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the system image files' information: T1600G-52TS# show image-info 17.23 show boot Description The show boot command is used to display the boot configuration of the system. Syntax - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 138
-config 17.26 show system-time Description The show system-time command is used to display the time information of the switch. Syntax show system-time Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the time information of the switch T1600G-52TS# show system-time 123 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 139
EXEC Mode and Any Configuration Mode Example Display the DST information of the switch T1600G-52TS# show system-time dst 17.28 show system-time ntp Description The connection status of the cable connected to the switch, locate and diagnose the trouble spot of the network. Syntax show cable-diagnostics interface - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 140
. Syntax show cpu-utilization Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the CPU utilization information of the switch: T1600G-52TS# show cpu-utilization 17.31 show memory-utilization Description The show memory-utilization command is used to display the system - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 141
Example Display the memory utilization information of the switch: T1600G-52TS# show memory-utilization 126 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 142
)# interface vlan 1 T1600G-52TS(config-if)# ipv6 enable 18.2 ipv6 address autoconfig Description This command is used to enable the automatic configuration of the ipv6 link-local address. The switch has only one ipv6 link-local address, which can be configured automatically or manually. The general - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 143
-52TS(config)# interface vlan 1 T1600G-52TS(config-if)# ipv6 address autoconfig 18.3 ipv6 address link-local Description The ipv6 address link-local command is used to configure the ipv6 link-local address manually on a specified interface. To delete the configured link-local address, please use - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 144
dhcp no ipv6 address dhcp Configuration Mode Interface Configuration Mode Example Enable the DHCP Client function on VLAN interface 1: T1600G-52TS(config)# interface vlan 1 T1600G-52TS(config-if)# ipv6 address dhcp 18.5 ipv6 address ra Description This command is used to configure the interface - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 145
-64 global address on the interface with the network prefix 3ffe::/64: T1600G-52TS(config)# interface vlan 1 T1600G-52TS(config-if)# ipv6 address 3ffe::/64 eui-64 18.7 ipv6 address Description This command is used to manually configure a global IPv6 address on the interface. To remove a global IPv6 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 146
Configuration Mode Interface Configuration Mode Example Configure the global address 3001::1/64 on VLAN interface 1: T1600G-52TS(config)# interface vlan 1 T1600G-52TS(config-if)# ipv6 address 3001::1/64 18.8 show ipv6 interface Description This command is used to display the configured ipv6 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 147
port number. Command Mode Global Configuration Mode Example To enter the Interface gigabitEthernet Configuration Mode and configure port 2: T1600G-52TS(config)# interface gigabitEthernet 1/0/2 19.2 interface range gigabitEthernet Description The interface range gigabitEthernet command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 148
gigabitEthernet Configuration Mode, and configure ports 1, 2, 3, 6, 7 and 9 at the same time by adding them to one port-list: T1600G-52TS(config)# interface range gigabitEthernet 1/0/1-3,1/0/6-7,1/0/9 19.3 description Description The description command is used to add a description to the Ethernet - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 149
range gigabitEthernet / interface port-channel / interface range port-channel) Example Enable the flow-control function for port 1/0/3: T1600G-52TS(config)# interface gigabitEthernet 1/0/3 T1600G-52TS(config-if)# flow-control 19.6 duplex Description The duplex command is used to configure the Duplex - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 150
gigabitEthernet / interface port-channel / interface range port-channel) Example Configure the Duplex Mode as full-duplex for port 1/0/3: T1600G-52TS(config)# interface gigabitEthernet 1/0/3 T1600G-52TS(config-if)# duplex full 19.7 jumbo Description The jumbo command is used to allow the jumbo frame - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 151
gigabitEthernet / interface port-channel / interface range port-channel) Example Configure the Speed Mode as 100Mbps for port 1/0/3: T1600G-52TS(config)# interface gigabitEthernet 1/0/3 T1600G-52TS(config-if)# speed 100 19.9 storm-control pps Description The storm-control pps command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 152
Example Set the storm control mode as pps on port 1/0/5: T1600G-52TS(config)# interface gigabitEthernet 1/0/5 T1600G-52TS(config-if)# storm-control pps 19.10 storm-control Description The storm-control command is used to enable the broadcast, multicast, or unicast strom - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 153
interface range port-channel) Example Configure the ingress-rate as 5120Kbps and egress-rate as 1024Kbps for port 1/0/5: T1600G-52TS(config)# interface gigabitEthernet 1/0/5 T1600G-52TS(config-if)# bandwidth ingress 5120 egress 1024 19.12 clear counters Description The clear counters command is used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 154
Command Mode Privileged EXEC Mode and Any Configuration Mode Example Clear the statistic information of all ports and LAGs: T1600G-52TS(config)# clear counters 19.13 show interface status Description The show interface status command is used to display the connection status of the Ethernet - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 155
and Any Configuration Mode Example Display the configurations of all Ethernet ports and LAGs: T1600G-52TS(config)# show interface configuration Display the configurations of port 1/0/2: T1600G-52TS(config)# show interface configuration gigabitEthernet 1/0/2 19.16 show storm-control Description The - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 156
of LAGs. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the storm-control information of port 4, 5, 6, and 7: T1600G-52TS(config)# show storm-control interface gigabitEthernet 1/0/4-7 19.17 show bandwidth Description The show bandwidth command is used to display the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 157
Description The qos command is used to configure CoS (Class of Service) based on port. To return to the default configuration, please 802.1P. Example Configure the priority of port 5 as 3: T1600G-52TS(config)# interface gigabitEthernet 1/0/5 T1600G-52TS(config-if)# qos 3 20.2 qos dscp Description The - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 158
egress queue based on the mapping relation between DSCP priority and CoS value. Example Enable the mapping relation between DSCP Priority and CoS value: T1600G-52TS(config)# qos dscp 20.3 qos queue cos-map Description The qos queue cos-map command is used to configure the mapping relation between - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 159
4-TC4, 5/CoS 5-TC5, 6/CoS 6-TC6, 7/CoS 7-TC7. 2. Among the priority levels TC0-TC7, the bigger value, the higher p r i o r i t y. Example Map CoS 5 to TC 2: T1600G-52TS(config)# qos queue cos-map 5 2 20.4 qos queue dscp-map Description The qos queue dscp-map command is used to configure the mapping - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 160
55)-CoS 6, (56-63)-CoS 7. Example Map DSCP values 10-12 to CoS 2: T1600G-52TS(config)# qos queue dscp-map 10-12 2 20.5 qos queue mode Description The spwrr -- Strict-Priority + Weight Round Robin Mode. In this mode, the switch provides two scheduling groups, SP group and WRR group. SP group is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 161
Mode Example Specify the Schedule Mode as Weight Round Robin Mode: T1600G-52TS(config)# qos queue mode wrr 20.6 qos queue weight Description the packets according to the priority queues and scheduling algorithms you set. On this switch, the priority levels are labeled as TC0, TC1, TC2, TC3, TC4, - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 162
values of TC0, TC1, TC2 and TC3 as 4, 7, 15 and 24: T1600G-52TS(config)# qos queue mode wrr T1600G-52TS(config)# qos queue weight 0 4 T1600G-52TS(config)# qos queue weight 1 7 T1600G-52TS(config)# qos queue weight 2 15 T1600G-52TS(config)# qos queue weight 3 24 20.7 show qos interface Description - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 163
802.1P Priority and the mapping relation between cos-id and tc-id: T1600G-52TS# show qos cos-map 20.9 show qos dscp-map Description The show Mode and Any Configuration Mode Example Display the configuration of DSCP Priority: T1600G-52TS# show qos dscp-map 20.10 show qos queue mode Description The - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 164
Privileged EXEC Mode and Any Configuration Mode Example Display the schedule rule of the egress queues: T1600G-52TS# show qos queue mode 20.11 show qos status Description The show qos status Mode Example Display the status of IEEE 802.1P priority and DSCP priority: T1600G-52TS# show qos status 149 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 165
is used to analyze the monitored packets for monitoring and troubleshooting the network. 21.1 monitor session destination interface Description The session 1 and configure port 1/0/1 as the monitoring port: T1600G-52TS(config)# monitor session 1 destination interface gigabitEthernet 1/0/1 Delete the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 166
21.2 monitor session source interface Description The monitor session source interface command is used to configure the monitored port. To delete the corresponding monitored port, please use no monitor session source interface command. Syntax monitor session session_num source interface - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 167
-52TS(config)# monitor session 1 source interface gigabitEthernet 1/0/4-5,1/0/7 rx Delete port 4 in monitor session 1 and its configuration: T1600G-52TS(config)# no monitor session 1 source interface gigabitEthernet 1/0/4 rx 21.3 show monitor session Description The show monitor session command - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 168
interface port-channel / interface range port-channel) Example Set port 1, 2, 4 and LAG 2 to the forward list of port 1/0/5: T1600G-52TS(config)# interface gigabitEthernet 1/0/5 T1600G-52TS(config-if)# port isolation gi-forward-list 1/0/1-2,1/0/4 po-forward-list 2 Set all Ethernet ports and LAGs to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 169
to show its forward port list, ranging from 1 to 6. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the forward-list of port 1/0/2: T1600G-52TS# show port isolation interface gigabitEthernet 1/0/2 Display the forward-list of all Ethernet ports and LAGs - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 170
Configuration Mode Example Enable the loopback detection function globally: T1600G-52TS(config)# loopback-detection 23.2 loopback-detection interval Description to define the interval of sending loopback detection packets from switch ports to network, aiming at detecting network loops periodically. - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 171
to 100 and the default value is 3. Command Mode Global Configuration Mode Example Configure the recovery-time as 3 times of detection interval: T1600G-52TS(config)# loopback-detection recovery-time 3 23.4 loopback-detection(interface) Description The loopback-detection command is used to enable the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 172
{ alert | port-based }] [ recovery-mode { auto | manual }] Parameter process-mode -- The mode how the switch processes the detected loops. Alert: When a loop is detected, and recovery-mode as manual for port 2: T1600G-52TS(config)# interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)# loopback - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 173
-detection global Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of loopback detection function: T1600G-52TS# show loopback-detection global 23.8 show loopback-detection interface Description The show loopback-detection interface command is used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 174
port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of loopback detection function and the status of all ports: T1600G-52TS# show loopback-detection interface Display the configuration of loopback detection function and the status of port - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 175
is 500-1499 and the Extend-IP ACL is 1500-2499. Command Mode Global Configuration Mode Example Create a standard-IP ACL whose ID is 523: T1600G-52TS(config)# access-list create 523 24.2 mac access-list Description The mac access-list command is used to create MAC ACL. To set the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 176
Example Create a MAC ACL whose ID is 23: T1600G-52TS(config)# mac access-list 23 24.3 access-list standard Description The access-list standard command is address mask is 255.255.255.0, and the packets match this rule will be forwarded by the switch: T1600G-52TS(config)# access-list create 520 161 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 177
T1600G-52TS(config)# access-list standard 520 rule 10 permit sip 192.168.0.100 smask 255.255.255.0 24.4 access-list extended 168.0.100, the source IP address mask is 255.255.255.0, and the packets match this rule will be forwarded by the switch: T1600G-52TS(config)# access-list create 2220 162 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 178
T1600G-52TS(config)# access-list extended 2220 rule 10 permit sip 192.168.0.100 smask 255.255. 11:11:11:11:11:00, and the packets match this rule will be forwarded by the switch: T1600G-52TS(config)# mac access-list 20 T1600G-52TS(config-mac-acl)# rule 10 permit smac 00:01:3F:48:16:23 smask 11:11: - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 179
name name Parameter name -- The Policy Name, ranging from 1 to 16 characters. Command Mode Global Configuration Mode Example Add a Policy named policy1: T1600G-52TS(config)# access-list policy name policy1 24.7 access-list policy action Description The access-list policy action command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 180
/ interface range gigabitEthernet / interface port-channel / interface range port-channel) Example Bind ACL 100 to port 1/0/2: T1600G-52TS(config)# interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)# access-list bind acl 100 24.9 access-list bind(interface) Description The access-list bind - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 181
Parameter policy-name -- The name of the policy desired to bind. Command Mode Interface VLAN Mode Example Bind policy1 to VLAN 2: T1600G-52TS(config)# interface vlan 2 T1600G-52TS(config-if)# access-list bind policy1 24.11 show access-list Description The show access-list command is used to display - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 182
The Policy Name desired to show. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of a policy named policy1: T1600G-52TS(config)# show access-list policy policy1 24.13 show access-list bind Description The show access-list bind command is used to display - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 183
Chapter 25 PoE Commands Note: Only T1600G-28PS and T1600G-52PS support PoE function. PoE (Power over Ethernet) technology limit Parameter power-limit --The max power the PoE switch can supply. For T1600G-28PS it ranges from 1 to 192W, and for T1600G-52PS it ranges from 1 to 384W. Command Mode - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 184
class2", "class3" and "class4". "power-limit" indicates you can manually enter a value. It ranges from 1 to 300. The value low" and the power limit is "5w": T1600G-52PS(config)# power profile "IP Camera" supply used to create PoE time-range for the switch and enter Power Time-range Configuration Mode. - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 185
time-range name, ranging from 1 to 16 characters. Command Mode Global Configuration Mode Example Create a PoE time-range named "tRange1" for the switch: T1600G-52PS(config)# power time-range tRange1 25.4 absolute Description The absolute command is used to create an absolute mode time-range for the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 186
Mode Example Create an absolute mode time-range for the PoE of the switch and specify the date extending from 08:00 on May 5th, 2012 to 22:00 on Oct. 5th, 2012: T1600G-52PS(config)# power time-range tRange1 T1600G-52PS(config-time-range)# absolute from 05/05/2012-08:00 to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 187
start 08:00 end 18:00 day-of-the-week 1-5 T1600G-52PS(config-time-range)# periodic start 10:00 end 16:00 day-of-the-week 6-7 25.6 power holiday Description The power holiday command is used to create PoE holiday for the switch. To delete the corresponding PoE holiday configuration, please use - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 188
PoE time-range of the switch excludes the PoE holiday: T1600G-52PS(config)# power time-range tRange3 T1600G-52PS(config-time-range)# ", "auto", "class1", "class2", "class3" and "class4". "power-limit" indicates you can manually enter a value. It ranges from 1 to 300. The value is in the unit of 0.1 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 189
should enter 50. "auto" indicates the value is assigned automatically by the PoE switch. "class1" represents 4w. "class2" represents 7w. "class3" represents 15. power limit as "5w" for port 2: T1600G-52PS(config)# interface gigabitEthernet 1/0/2 T1600G-52PS(config-if)# power inline consumption 50 25 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 190
Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the PoE feature for port 2: T1600G-52PS(config)# interface gigabitEthernet 1/0/2 T1600G-52PS(config-if)# power inline supply enable 25.11 power inline profile Description The power inline - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 191
be bound to the port. Command Mode Interface Configuration Mode Example Bind the PoE time-range named "tRange2" to port 2: T1600G-52PS(config)# interface gigabitEthernet 1/0/2 T1600G-52PS(config-if)# power inline time-range tRange2 25.13 show power inline Description The show power inline command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 192
-- The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the PoE configuration of all ports: T1600G-52PS# show power inline configuration interface 25.15 show power inline information interface Description The show power inline information command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 193
the defined PoE holiday. Syntax show power holiday Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the defined PoE holiday: T1600G-52PS# show power holiday 25.18 show power time-range Description The show power time-range command is used to display the configuration of - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 194
Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of PoE time-range: T1600G-52PS# show power time-range 179 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 195
Chapter 26 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. 26.1 debug spanning-tree Description The debug spanning-tree - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 196
, please use no spanning-tree command. Syntax spanning-tree no spanning-tree Command Mode Global Configuration Mode Example Enable the STP function: T1600G-52TS(config)# spanning-tree 26.3 spanning-tree(interface) Description The spanning-tree command is used to enable STP function for a port. To - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 197
to the default configuration, please use no spanning-tree common-config command. CIST (Common and Internal Spanning Tree) is the spanning tree in a switched network, connecting all devices in the network. Syntax spanning-tree common-config [ port-priority pri ] [ ext-cost ext-cost ] [ int-cost int - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 198
config)# interface gigabitEthernet 1/0/1 T1600G-52TS(config-if)# spanning-tree common-config port-priority 64 ext-cost 100 int-cost 100 portfast enable point-to-point open 26.5 spanning-tree mode Description The spanning-tree mode command is used to configure the STP mode of the switch. To return to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 199
no spanning-tree mst configuration Command Mode Global Configuration Mode Example Enter into the MST configuration mode: T1600G-52TS(config)# spanning-tree mst configuration T1600G-52TS(Config-mst)# 26.7 instance Description The instance command is used to configure the VLAN-Instance mapping - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 200
from 1 to 32 characters. Command Mode MST Configuration Mode Example Configure the region name of MST as "region1": T1600G-52TS(config)# spanning-tree mst configuration T1600G-52TS(config-mst)# name region1 26.9 revision Description The revision command is used to configure the revision level of - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 201
it is 32768. MSTI priority is an important criterion on determining if the switch will be chosen as the root bridge in the specific instance. Command Mode Global Enable the MST Instance 1 and configure its priority as 4096: T1600G-52TS(config)# spanning-tree mst instance 1 priority 4096 26.11 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 202
range port-channel) Example Configure the priority of port 1 in MST Instance 1 as 64, and path cost as 2000: T1600G-52TS(config)# interface gigabitEthernet 1/0/1 T1600G-52TS(config-if)# spanning-tree mst instance 1 port-priority 64 cost 2000 26.12 spanning-tree priority Description The spanning-tree - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 203
it is 20. TC Threshold is the maximum number of the TC-BPDUs received by the switch in a TC Protect Cycle. period -- TC Protect Cycle, ranging from 1 to 10 in TC Threshold as 30 packets and TC Protect Cycle as 10 seconds: T1600G-52TS(config)# spanning-tree tc-defend threshold 30 period 10 26.14 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 204
2 * (Hello Time + 1) - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 205
, ranging from 1 to 40 in hop. By default, it is 20. Command Mode Global Configuration Mode Example Configure the max-hops of STP as 30: T1600G-52TS(config)# spanning-tree max-hops 30 26.17 spanning-tree bpdufilter Description The spanning-tree bpdufilter command is used to enable the BPDU filter - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 206
gigabitEthernet / interface port-channel / interface range port-channel) Example Enable the BPDU protect function for port 1/0/2: T1600G-52TS(config)# interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)# spanning-tree bpduguard 26.19 spanning-tree guard loop Description The spanning-tree guard - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 207
Enable the Root Protect function for port 2: T1600G-52TS(config)# interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)# spanning-tree guard root 26 BPDUs. If a malicious user continuously sends TC-BPDUs to a switch, the switch will be busy with removing MAC address entries, which may decrease - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 208
/ interface port-channel / interface range port-channel) Example Enable the TC Protect of Spanning Tree for port 2: T1600G-52TS(config)# interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)# spanning-tree guard tc 26.22 spanning-tree mcheck Description The spanning-tree mcheck command is used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 209
count | max-age | max-hops | mode | priority | state ] Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the bridge parameters: T1600G-52TS(config)# show spanning-tree bridge 26.25 show spanning-tree interface Description The show spanning-tree interface command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 210
-52TS(config)# show spanning-tree interface gigabitEthernet 1/0/2 Display the spanning-tree mode information of port 1/0/2: T1600G-52TS(config)# show spanning-tree interface gigabitEthernet 1/0/2 mode 26.26 show spanning-tree interface-security Description The show spanning-tree interface-security - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 211
Mode Example Display the region information and mapping information of VLAN and MST Instance: T1600G-52TS(config)#show spanning-tree mst configuration Display the related information of MST Instance 1: T1600G-52TS(config)#show spanning-tree mst instance 1 Display all the ports information of MST - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 212
Snooping) is a multicast control mechanism running on Layer 2 switch. It can effectively prevent multicast groups being broadcasted in snooping Command Mode Global Configuration Mode Example Enable IGMP Snooping function: T1600G-52TS(config)# ip igmp snooping 27.2 ip igmp snooping(interface) - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 213
. The default aging time is 300 seconds. Command Mode Global Configuration Mode Example Specify IGMP Snooping router port aging time as 100 seconds globally: T1600G-52TS(config)# ip igmp snooping rtime 100 27.4 ip igmp snooping mtime Description The ip igmp snooping mtime command is used to specify - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 214
time as 100 seconds globally: T1600G-52TS(config)# ip igmp snooping mtime 100 27.5 ip igmp snooping report-suppression Description The ip igmp snooping report-suppression command is used enable the IGMP report suppression function. When it is enabled, the switch forwards only the first IGMP report - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 215
-unknown no ip igmp snooping drop-unknown Command Mode Global Configuration Mode Example Specify the operation to process unknown multicast as discard: T1600G-52TS(config)# ip igmp snooping drop-unknown 27.8 ip igmp snooping last-listener query-inteval Description The ip igmp snooping last-listener - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 216
Specific Query Message to be sent, ranging from 1 to 5. Command Mode Global Configuration Mode Example Specify the number of Specific Query Message to 3: T1600G-52TS(config)# ip igmp snooping last-listener query-count 3 27.10 ip igmp snooping vlan-config Description The ip igmp snooping vlan-config - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 217
of 1-3, 5. router-time -- Router Port Time. Within this time, if the switch does not receive IGMP query message from the router port, it will consider this port T1600G-52TS(config)# ip igmp snooping vlan-config 1-3 rtime 300 T1600G-52TS(config)# ip igmp snooping vlan-config 1-3 mtime 200 T1600G- - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 218
be selected. router-time -- Router Port Time. Within this time, if the switch does not receive IGMP query message from the router port, it will consider this and Static Router Port port 1/0/3: T1600G-52TS(config)# ip igmp snooping multi-vlan-config 3 rtime 100 T1600G-52TS(config)# ip igmp snooping - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 219
vlan-id - VLAN ID, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Enable the IGMP Snooping Querier function of VLAN 1: T1600G-52TS(config)#ip igmp snooping querier vlan 1 27.13 ip igmp snooping querier vlan (general query) Description The ip igmp snooping querier vlan command - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 220
Mode Example For VLAN 2, specify its query-interval as 200 seconds, and the response-time as 20 seconds: T1600G-52TS(config)#ip igmp snooping querier vlan 2 query-interval 200 T1600G-52TS(config)#ip igmp snooping querier vlan 2 max-response-time 20 27.14 ip igmp snooping max-groups Description - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 221
of groups that ports 1/0/2-5 can join as 10, and configure the throttling action as replace: T1600G-52TS(config)#interface range gigabitEthernet 1/0/2-5 T1600G-52TS(config-if-range)#ip igmp snooping max-groups 10 T1600G-52TS(config-if-range)#ip igmp snooping max-groups action replace 27.15 ip igmp - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 222
mode of profile as deny. Syntax deny Command Mode Profile Configuration Mode Example Configure the filtering mode of profile 1 as deny: T1600G-52TS(config)# ip igmp profile 1 T1600G-52TS(config-igmp-profile)#deny 27.17 permit Description The permit command is used to configure the filtering mode of - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 223
Profile Configuration Mode Example Configure one of the filter multicast address entry as range 225.1.1.1 to 226.3.2.1 in profile 1: T1600G-52TS(config)# ip igmp profile 1 T1600G-52TS(config-igmp-profile)#range 225.1.1.1 226.3.2.1 27.19 ip igmp filter Description The ip igmp filter command is used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 224
packets. Syntax clear ip igmp snooping statistics Command Mode Privileged EXEC Mode and Any Configuration Mode Example Clear the statistics of the IGMP packets: T1600G-52TS(config)# clear ip igmp snooping statistics 27.21 show ip igmp snooping Description The show ip igmp snooping command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 225
-52TS# show ip igmp snooping interface gigabitEthernet 1/0/2 basic-config Display the IGMP packet statistics of ports 1/0/1-4: T1600G-52TS# show ip igmp snooping interface gigabitEthernet 1/0/1-4 packet-stat 27.23 show ip igmp snooping vlan Description The show ip igmp snooping vlan command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 226
. Syntax show ip igmp snooping multi-vlan Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Multicast VLAN configuration: T1600G-52TS# show ip igmp snooping multi-vlan 27.25 show ip igmp snooping groups Description The show ip igmp snooping groups command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 227
-52TS(config)#show ip igmp snooping groups vlan 5 dynamic count Display the count of static multicast entries of VLAN 5 T1600G-52TS(config)#show ip igmp snooping groups vlan 5 static count 27.26 show ip igmp snooping querier Description The show ip igmp snooping querier command - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 228
ID of the profile, ranging from 1 to 999. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of all profiles: T1600G-52TS(config)# show ip igmp profile 213 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 229
Snooping) is a multicast control mechanism running on Layer 2 switch. It can effectively prevent multicast groups being broadcasted in the ipv6 mld snooping Command Mode Global Configuration Mode Example Enable MLD Snooping: T1600G-52TS(config)# ipv6 mld snooping 28.2 ipv6 mld snooping(interface) - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 230
The default aging time is 300 seconds. Command Mode Global Configuration Mode Example Specify MLD Snooping router port aging time as 100 seconds globally: T1600G-52TS(config)# ipv6 mld snooping rtime 100 28.4 ipv6 mld snooping mtime Description The ipv6 mld snooping mtime command is used to specify - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 231
used enable the MLD report suppression function. When it is enabled, the switch forwards only the first MLD report message per mulicast group to the Layer Configuration Mode Example Enable MLD Report message suppression function: T1600G-52TS(config)# ipv6 mld snooping report-suppression 28.6 ipv6 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 232
Message in seconds, ranging from 1 to 5. Command Mode Global Configuration Mode Example Specify the interval of Specific Query Message to 3 seconds: T1600G-52TS(config)# ipv6 mld snooping last-listener query-inteval 3 28.9 ipv6 mld snooping last-listener query-count Description The ipv6 mld snooping - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 233
Query Message to be sent, ranging from 1 to 5. Command Mode Global Configuration Mode Example Specify the number of Specific Query Message to 3: T1600G-52TS(config)# ipv6 mld snooping last-listener query-count 3 28.10 ipv6 mld snooping vlan-config Description The ipv6 mld snooping vlan-config - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 234
will be used. member-time -- Member Port Time. Within this time, if the switch does not receive MLD report message from the member port, it will consider this port is to VLAN 2, and configure the forward ports as ports 1/0/1-3: T1600G-52TS(config)# ipv6 mld snooping vlan-config 2 static ff01::1234 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 235
be selected. router-time -- Router Port Time. Within this time, if the switch does not receive MLD query message from the router port, it will consider this T1600G-52TS(config)# ipv6 mld snooping multi-vlan-config 3 rtime 100 T1600G-52TS(config)# ipv6 mld snooping multi-vlan-config 3 mtime 100 T1600G - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 236
that enables the MLD querier function, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Enable MLD Querier function on VLAN 2: T1600G-52TS(config)# ipv6 mld snooping querier vlan 2 28.13 ipv6 mld snooping querier vlan (general query) Description The ipv6 mld snooping querier - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 237
Example For VLAN 2, specify its query-interval as 200 seconds, and the response-time as 20 seconds: T1600G-52TS(config)#ipv6 mld snooping querier vlan 2 query-interval 200 T1600G-52TS(config)#ipv6 mld snooping querier vlan 2 max-response-time 20 28.14 ipv6 mld snooping max-groups Description The - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 238
id Parameter id -- Specify the id of the configuration profile, ranging from 1 to 999. Command Mode Global Configuration Mode Example Create the profile 1: T1600G-52TS(config)# ipv6 mld profile 1 28.16 deny Description The deny command is used to configure the filtering mode of profile as deny - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 239
mode of profile as permit. Syntax permit Command Mode Profile Configuration Mode Example Configure the filtering mode of profile 1 as permit: T1600G-52TS(config)# ipv6 mld profile 1 T1600G-52TS(config-mld-profile)#permit 28.18 range Description The range command is used to configure the range of the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 240
Example Configure one of the filter multicast address entry as range ff80::1234 to ff80::1235 in profile 1: T1600G-52TS(config)# ipv6 mld profile 1 T1600G-52TS(config-mld-profile)#range ff80::1234 ff80::1235 28.19 ipv6 mld filter Description The ipv6 mld filter command is used to bind the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 241
. Syntax show ipv6 mld snooping Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of MLD Snooping: T1600G-52TS(config)# show ipv6 mld snooping 28.22 show ipv6 mld snooping interface Description The show ipv6 mld snooping interface command is used - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 242
ID selected to display, ranging from 1 to 4094. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display all of the VLAN information: T1600G-52TS(config)# show ipv6 mld snooping vlan 28.24 show ipv6 mld snooping multi-vlan Description The show ipv6 mld snooping multi-vlan command - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 243
-- The numbers of all static multicast groups. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display all of the multicast groups: T1600G-52TS(config)# show ipv6 mld snooping groups 28.26 show ipv6 mld snooping querier Description The show ipv6 mld snooping querier command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 244
T1600G-52TS(config)# show ipv6 mld snooping querier 28.27 show ipv6 mld profile Description The show ipv6 mld profile 1 to 999. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of all profiles: T1600G-52TS(config)# show ipv6 mld profile 229 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 245
Command Mode Global Configuration Mode Example Enable the SNMP function: T1600G-52TS(config)# snmp-server 29.2 snmp-server view Description The 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. - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 246
Mode Example Add a View named view1, configuring the OID as 1.3.6.1.6.3.20, and this OID can be managed by the SNMP management station: T1600G-52TS(config)# snmp-server view view1 1.3.6.1.6.3.20 include 29.3 snmp-server group Description The snmp-server group command is used to manage and configure - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 247
by View viewDefault can be received by Management station: T1600G-52TS(config)# snmp-server group group1 smode v3 slev use no snmp-server user command. The User in an SNMP Group can manage the switch via the management station software. The User and its Group have the same security level and - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 248
local | remote -- User Type, with local and remote options. Local indicates that the user is connected to a local SNMP engine, while remote means that the user is connected to a remote SNMP engine. group-name -- The Group Name of the User. The User is classified to the corresponding Group according - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 249
to access. Command Mode Global Configuration Mode Example Add community public, and the community has read-write management right to View viewDefault: T1600G-52TS(config)# snmp-server community public read-write viewDefault 29.6 snmp-server host Description The snmp-server host command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 250
ip -- The IP Address of the management Host. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.100 or fe80::1234. udp-port -- UDP port, which the specified Retry times. timeout -- The maximum time for the switch to wait for the response from the management station before resending a - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 251
Model of the management station as v2c, the type of the notifications as inform, the maximum time for the switch to wait as 1000 seconds, and the retries time as 100: T1600G-52TS(config)# snmp-server host 192.168.0.146 162 admin smode v2c type inform retries 100 timeout 1000 Add a Notification - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 252
reboot. By default, it is enabled. coldstart -- Enable coldstart trap. It is sent upon switch reboot. By default, it is enabled. auth-failure -- Enable the auth-failure trap. It is Mode Example Enable SNMP standard linkup trap for the switch: T1600G-52TS(config)# snmp-server traps snmp linkup 237 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 253
SNMP link status trap for port 1/0/3: T1600G-52TS(config)# interface gigabitEthernet 1/0/3 T1600G-52TS(config-if)# snmp-server traps CPU usage exceeds the predefined threshold. By default, the CPU usage threshold of the switch is 80%. flash -- Enable flash trap. It is sent when flash is modified - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 254
memory trap. It is sent when CPU usage exceeds 80%. Command Mode Global Configuration Mode Example Enable SNMP extended bandwidth-control trap for the switch: T1600G-52TS(config)# snmp-server traps bandwidth-control 29.11 snmp-server traps mac Description The snmp-server traps mac command is used to - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 255
Command Mode Global Configuration Mode Example Enable all SNMP extended MAC address-related traps for the switch: T1600G-52TS(config)# snmp-server traps mac Enable new MAC address trap only for the switch: T1600G-52TS(config)# snmp-server traps mac new 29.12 snmp-server traps vlan Description The - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 256
commonly used RMON Groups. After a history group is configured, the switch collects network statistics information periodically, based on which the management station can 100 seconds for the entry 1-3: T1600G-52TS(config)# rmon history 1-3 interface gigabitEthernet 1/0/2 interval 100 owner owner1 241 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 257
entry 1, 2, 3 and 4 as user1, the description of the event as description1, the type of event as log and the owner of the event as owner1: T1600G-52TS(config)# rmon event 1-4 user user1 description description1 type log owner owner1 242 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 258
monitoring the specific alarm variables. When the value of a monitored variable exceeds the threshold, an alarm event is generated, which triggers the switch to act in the set way. Syntax rmon alarm index { stats-index sindex } [ alarm-variable { revbyte | revpkt | bpkt | mpkt | crc-lign | undersize - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 259
the owners as owner1 and the alarm intervals as 100 seconds: T1600G-52TS(config)#rmon alarm 1-3 stats-index 2 owner owner1 interval 100 the corresponding entry, please use no rmon statistics command. The maximum supported entries are 1000. Syntax rmon statistics index interface gigabitEthernet port [ - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 260
display SNMP configuration globally. Syntax show snmp-server Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display SNMP configuration globally: T1600G-52TS# show snmp-server 29.18 show snmp-server view Description The show snmp-server view command is used to display the View - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 261
used to display the Group table. Syntax show snmp-server group Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Group table: T1600G-52TS# show snmp-server group 29.20 show snmp-server user Description The show snmp-server user command is used to display the User table - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 262
to display the Host table. Syntax show snmp-server host Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Host table: T1600G-52TS# show snmp-server host 29.23 show snmp-server engineID Description The show snmp-server engineID command is used to display the engineID - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 263
history sample entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of all history sample entries: T1600G-52TS# show rmon history 29.25 show rmon event Description The show rmon event command is used to display the configuration of SNMP - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 264
entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of the Alarm Management entry 1-2: T1600G-52TS# show rmon alarm 1-2 29.27 show rmon statistics Description The show rmon statistics command is used to display the configuration - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 265
Chapter 30 LLDP Commands Note: Only T1600G-28PS and T1600G-52PS support LLDP function. LLDP function enables network lldp no lldp Command Mode Global Configuration Mode Example Enable LLDP function globally: T1600G-52PS(config)# lldp 30.2 lldp hold-multiplier Description The lldp hold-multiplier - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 266
Multiplier parameter. It ranges from 2 to 10. By default, it is 4. Command Mode Global Configuration Mode Example Specify Hold Multiplier as 5: T1600G-52PS(config)# lldp hold-multiplier 5 30.3 lldp timer Description The lldp timer command is used to configure the parameters about transmission. To - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 267
Start Count parameter. It ranges from 1 to 10. By default, it is 4. Command Mode Global Configuration Mode Example Specify Fast Start Count as 5: T1600G-52PS(config)# lldp med-fast-count 5 30.5 lldp receive Description The lldp receive command is used to enable the designated port to receive LLDPDU - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 268
Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable port 1 to transmit LLDPDU: T1600G-52PS(config)# interface gigabitEthernet 1/0/1 T1600G-52PS(config-if)# lldp transmit 30.7 lldp snmp-trap Description The lldp snmp-trap command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 269
Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the SNMP notification for port 1: T1600G-52PS(config)# interface gigabitEthernet 1/0/1 T1600G-52PS(config-if)# lldp snmp-trap 30.8 lldp tlv-select Description The lldp tlv-select command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 270
code ] [ what { dhcp-server | endpoint | switch } ] } Parameter emergency-number -- Emergency Call Service ELIN identifier, which is used during emergency call setup as English and city as London: T1600G-52PS(config)# interface gigabitEthernet 1/0/2 T1600G-52PS(config-if)# lldp med-location civic - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 271
Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the LLDP-MED feature for port 2: T1600G-52PS(config)# interface gigabitEthernet 1/0/2 T1600G-52PS(config-if)# lldp med-status 30.11 lldp med-tlv-select Description The lldp med-tlv-select - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 272
Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of LLDP and LLDP-MED fast start repeat count number: T1600G-52PS# show lldp 30.13 show lldp interface Description The show lldp interface command is used to display LLDP and LLDP-MED configuration - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 273
. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the LLDP and LLDP-MED local information of port 1: T1600G-52PS# show lldp local-information interface gigabitEthernet 1/0/1 30.15 show lldp neighbor-information interface Description The show lldp neighbor-information - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 274
[ gigabitEthernet port ] Parameter port -- The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the LLDP statistic information of port 1: T1600G-52PS# show lldp traffic interface gigabitEthernet 1/0/1 259 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 275
dynamic entry is automatically created and maintained by ARP. A static ARP entry is manually configured and maintained. 31.1 arp Description This arp command is used to add a IP as 192.168.0.1 and the MAC as 00:11:22:33:44:55: T1600G-52TS(config)# arp 192.168.0.1 00:11:22:33:44:55 arpa 31.2 clear - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 276
is 600 seconds. Command Mode Interface Configuration Mode Example Configure the ARP aging time as 60 seconds on interface 1/0/1: T1600G-52TS(config)# interface gigabitEthernet 1/0/1 T1600G-52TS(config-if)# arp timeout 60 31.4 show arp Description This show arp command is used to display the active - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 277
of your desired ARP entry. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the ARP entry with the IP as 192.168.0.2: T1600G-52TS(config)# show ip arp 192.168.0.2 31.5 show ip arp (interface) Description This show arp command is used to display the active ARP entries - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 278
Syntax show ip arp summary Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the number of the ARP entries: T1600G-52TS(config)# show ip arp summary 263 - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 279
no interface vlan { vid } Parameter vid -- The ID of the VLAN. Command Mode Global Configuration Mode Example Create the VLAN interface 2: T1600G-52TS(config)# interface vlan 2 32.2 interface loopback Description This interface loopback command is used to create the loopback interface. To delete the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 280
/ interface range gigabitEthernet / interface port-channel / interface range port-channel) Example Switch the gigabitEthernet port 1/0/9 into the routed port: T1600G-52TS(config)# interface gigabitEthernet 1/0/9 T1600G-52TS(config-if)# no switchport 32.4 shutdown Description This shutdown command is - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 281
a static route with the destination IP address as 192.168.2.0, the subnet mask as 255.255.255.0 and the next-hop address as 192.168.0.2: T1600G-52TS(config)# ip route 192.168.2.0 255.255.255.0 192.168.0.2 32.6 description Description This description command is used to add a description to the Layer - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 282
vlan vid Parameter vid -- The VLAN ID. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of VLAN 2: T1600G-52TS(config)#show interface vlan 2 32.8 show ip interface Description This show ip interface command is used to display the detailed information of - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 283
Syntax show ip interface brief Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the summary information of the Layer 3 interfaces: T1600G-52TS(config)# show ip interface brief 32.10 show ip route Description This show ip route command is used to display the route entries - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 284
. static: The static routes. connected: The connected routes. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the static routes: T1600G-52TS(config)# show ip route static 32.11 show ip route specify Description This show ip route specify command is used to display the - TP-Link T1600G-52PS TL-SG2452P | T1600G-28PSTL-SG2424P V1 CLI Reference Guide - Page 285
Display the routes to all the subnets that belongs to 192.168.0.0/16: T1600G-52TS(config)# show ip route specify 192.168.0.0 255.255.0.0 longer-prefixes 32.12 EXEC Mode and Any Configuration Mode Example Display the summary information of route entries: T1600G-52TS(config)# show ip route summary 270
T1600G-28TS (TL-SG2424)
T1600G-52TS (TL-SG2452)
T1600G-28PS (TL-SG2424P)
T1600G-52PS (TL-SG2452P)
JetStream Gigabit Smart Switch
REV1.1.3
1910011526