TP-Link T2500-28TCTL-SL5428E T2500-28TCUN V1 CLI Reference Guide
TP-Link T2500-28TCTL-SL5428E Manual
View all TP-Link T2500-28TCTL-SL5428E manuals
Add to My Manuals
Save this manual to your list of manuals |
TP-Link T2500-28TCTL-SL5428E manual content summary:
- TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 1
T2500-28TC (TL-SL5428E) 24-Port 10/100Mbps + 4-Port Gigabit JetStream L2 Managed Switch REV1.0.0 1910011797 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN 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 T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 3
CONTENTS Preface ...1 Chapter 1 Using the CLI 5 1.1 Accessing the CLI...5 1.1.1 Logon by a console port 5 1.1.2 Logon by Telnet 6 1.1.3 Logon by SSH 10 1.2 CLI Command Modes ...15 1.3 Security Levels ...18 1.4 Conventions...18 1.4.1 Format Conventions 18 1.4.2 Special Characters 18 1.4.3 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 4
Chapter 4 MAC-based VLAN Commands 31 mac-vlan mac-address...31 mac-vlan...32 show mac-vlan ...32 show mac-vlan interface ...33 Chapter 5 Protocol-based VLAN Commands 34 protocol-vlan template...34 protocol-vlan vlan ...35 protocol-vlan...35 show protocol-vlan template 36 show protocol-vlan vlan - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 5
private-vlan association...50 switchport private-vlan ...50 switchport private-vlan host-association 51 switchport private-vlan mapping 52 show vlan private-vlan...53 Chapter 9 GVRP Commands 54 gvrp...54 gvrp (interface) ...54 gvrp registration ...55 gvrp timer ...56 show gvrp global ...57 show - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 6
ip source binding ...71 ip source binding index ...72 ip dhcp snooping ...73 ip dhcp snooping global ...73 ip dhcp snooping information option 74 ip dhcp snooping information strategy 75 ip dhcp snooping information remote-id 76 ip dhcp snooping information circuit-id 76 ip dhcp snooping trust - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 7
show ip dos-prevent ...93 Chapter 16 IEEE 802.1X Commands 94 dot1x system-auth-control...94 dot1x auth-method ...95 dot1x guest-vlan(global)...95 dot1x accounting ...96 dot1x quiet-period ...97 dot1x timeout...97 dot1x max-reauth-req...98 dot1x...98 dot1x guest-vlan(interface) ...99 dot1x port- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 8
-table count 126 show mac address-table address 126 show mac address-table vlan 127 Chapter 22 System Configuration Commands 128 system-time manual ...128 system-time ntp ...128 system-time dst predefined 130 system-time dst date ...131 system-time dst recurring...132 hostname...133 location - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 9
copy running-config startup-config 137 copy startup-config tftp ...138 copy tftp startup-config ...138 firmware upgrade ...139 ping...140 tracert ...141 loopback interface ...142 show system-time ...142 show system-time dst...143 show system-time ntp ...143 show system-info ...143 show running- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 10
bandwidth ...158 clear counters...159 show interface status ...159 show interface counters ...160 show interface description ...161 show interface flowcontrol...161 show interface configuration 162 show storm-control...162 show bandwidth...163 Chapter 25 QoS Commands 164 qos...164 qos cos ...164 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 11
show loopback-detection global 179 show loopback-detection interface 180 Chapter 29 DDM Commands 181 ddm state enable...181 ddm shutdown ...181 ddm temperature_threshold 182 ddm voltage_threshold...183 ddm bias_current_threshold 184 ddm tx_power_threshold...185 ddm rx_power_threshold ...186 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 12
show access-list policy...204 show access-list bind ...205 Chapter 31 MSTP Commands 206 spanning-tree(global) ...206 spanning-tree(interface) ...206 spanning-tree common-config 207 spanning-tree mode ...208 spanning-tree mst configuration 209 instance ...209 name ...210 revision ...210 spanning- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 13
ethernet-oam remote-failure 228 ethernet-oam remote-loopback received-remote- loopback 229 ethernet-oam remote-loopback 230 clear ethernet-oam statistics 230 clear ethernet-oam event-log 231 show ethernet-oam configuration 232 show ethernet-oam event-log 232 show ethernet-oam statistics 233 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 14
show ip igmp snooping vlan 251 show ip igmp snooping multi-vlan 252 show ip igmp snooping groups 252 show ip igmp snooping filter 253 show ip igmp snooping querier vlan 254 show ip igmp snooping querier 254 show ip igmp snooping interface authentication 254 Chapter 35 MLD Snooping Commands - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 15
show ipv6 mld snooping filter 271 show ipv6 mld snooping interface 271 show ipv6 mld snooping interface filter 271 show ipv6 mld snooping querier 272 show ipv6 mld snooping statistics 272 Chapter 36 SNMP Commands 274 snmp-server ...274 snmp-server view ...274 snmp-server group ...275 snmp- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 16
lldp timer...297 lldp receive ...298 lldp transmit ...298 lldp snmp-trap...299 lldp tlv-select...300 lldp med-fast-count...300 lldp med-status ...301 lldp med-tlv-select ...301 lldp med-location ...302 show lldp ...303 show lldp interface ...303 show lldp local-information interface 304 show lldp - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 17
show radius-server ...318 aaa group ...319 server ...320 show aaa group...320 aaa authentication login ...321 aaa authentication enable ...322 aaa authentication dot1x default 323 aaa accounting dot1x default 323 show aaa authentication ...324 show aaa accounting ...324 line console ...325 login - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 18
slightly depending on the model and software version you have, and on your location, language, and Internet service provider. All parameters and descriptions documented in this guide are used for demonstration only. The information in this document is subject to change without notice. Every effort - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 19
T2500-28TC JetStream L2 Managed Switch CLI Guide Provide information about the commands used for configuring GVRP (GARP VLAN registration protocol). Chapter 10: EtherChannel Commands Provide information about the commands used for configuring - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 20
T2500-28TC JetStream L2 Managed Switch CLI Guide Provide information about the commands used for MAC address configuration. Chapter 22: System Configuration Commands Provide information about the commands used for configuring the System - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 21
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 35: MLD Snooping Commands Provide information about the commands used for configuring the MLD Snooping (Multicast Listener Discovery Snooping). Chapter 36: SNMP Commands Provide - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 22
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 1 Using the CLI 1.1 Accessing the CLI You can log on to the switch and access the CLI by the following three methods: 1. Log on - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 23
T2500-28TC JetStream L2 Managed Switch CLI Guide Figure 1-1 Log in the Switch 1.1.2 Logon by Telnet For Telnet connection, you should also configure the Telnet login mode and login authentication information through console - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 24
T2500-28TC JetStream L2 Managed Switch CLI Guide Now, you can logon by Telnet in login local mode. 1. Make sure the switch and the PC are in the same LAN. Click Start and - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 25
T2500-28TC JetStream L2 Managed Switch CLI Guide 4. Type enable command to enter Privileged EXEC Mode. Figure 1-6 Enter into the Priviledged EXEC Mode Now you can manage your switch with CLI commands through - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 26
T2500-28TC JetStream L2 Managed Switch CLI Guide Figure 1-8 Run Window 2. Type telnet 192.168.0.1 in the command prompt shown as Figure 1-9, and press the Enter button. Figure 1-9 Connecting to the Switch 3. You - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 27
T2500-28TC JetStream L2 Managed Switch CLI Guide 4. Type enable command to enter Privileged EXEC Mode. Figure 1-11 Enter into the Privileged EXEC Mode Now you can manage your switch with CLI commands - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 28
T2500-28TC JetStream L2 Managed Switch CLI Guide 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; - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 29
T2500-28TC JetStream L2 Managed Switch CLI Guide Key Authentication Mode 1. Select the key type and key length, and generate SSH key. Figure 1-15 Generate SSH Key Note: 1. The key length is in - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 30
T2500-28TC JetStream L2 Managed Switch CLI Guide 2. After the key is successfully generated, please save the public key to a TFTP server and save the private key on the local host. Figure 1-16 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 31
T2500-28TC JetStream L2 Managed Switch CLI Guide 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 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 32
T2500-28TC JetStream L2 Managed Switch CLI Guide 5. Click Browse to download the private key file to SSH client software and click Open. Figure 1-19 Download the Private Key 6. After successful authentication, please - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 33
T2500-28TC JetStream L2 Managed Switch CLI Guide Configuration Mode). Interface Configuration Mode can also be divided into Interface fastEthernet, Interface gigabitEthernet, Interface link-aggregation and some other modes, which is shown as - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 34
T2500-28TC JetStream L2 Managed Switch CLI Guide Mode Accessing Path Prompt Logout or Access the next mode Use the interface fastEthernet/gigabitEth Interface Configuration Mode ernet port or interface range fastEthernet/ gigabitEthernet - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 35
, you are required to enter it to access Privileged EXEC mode. 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 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 36
T2500-28TC JetStream L2 Managed Switch CLI Guide If a blank is contained in a character string, single or double quotation marks should be used, for example 'hello world', "hello world", and the words in - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 37
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 2 User Interface enable Description The enable command is used to access Privileged EXEC Mode from User EXEC Mode. Syntax enable Command Mode User EXEC - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 38
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#enable password admin disable Description The disable command is used to return to User EXEC Mode from Privileged EXEC Mode. Syntax disable - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 39
T2500-28TC JetStream L2 Managed Switch CLI Guide exit Description The exit command is used to return to the previous Mode from the current Mode. Syntax exit Command Mode Any Configuration Mode Example - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 40
T2500-28TC JetStream L2 Managed Switch CLI Guide history Description The history command is used to show the latest 20 commands you entered in the current mode since the switch is powered. Syntax - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 41
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 3 IEEE 802.1Q VLAN Commands VLAN (Virtual Local Area Network) technology is developed for the switch to divide the LAN into multiple logical LANs - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 42
T2500-28TC JetStream L2 Managed Switch CLI Guide interface vlan Description The interface vlan command is used to create VLAN Interface hereafter to access to Interface VLAN Mode. Syntax interface vlan vlan-id - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 43
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Specify the description string of the VLAN 2 as "VLAN002": T2500-28TC(config)#vlan 2 T2500-28TC(config-vlan)#name VLAN002 switchport mode Description The switchport - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 44
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter vlan-id -- Specify IEEE 802.1Q VLAN ID, ranging from 2 to 4094. Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 45
T2500-28TC JetStream L2 Managed Switch CLI Guide switchport general allowed vlan Description The switchport general allowed vlan command is used to add the desired General port to IEEE 802.1Q VLAN, or - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 46
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter vlan-id -- Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 47
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the brief information of IEEE 802.1Q VLAN: T2500-28TC(config)#show vlan brief - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 48
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 4 MAC-based VLAN Commands MAC VLAN (Virtual Local Area Network) is the way to classify the VLANs based on MAC address. A MAC address is - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 49
T2500-28TC JetStream L2 Managed Switch CLI Guide mac-vlan Description The mac-vlan command is used to enable a port for the MAC-based VLAN feature. Only the port is enabled can the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 50
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Display the information of all the MAC-based VLAN entry: T2500-28TC(config)#show mac-vlan all show mac-vlan interface Description The show - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 51
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 5 Protocol-based VLAN Commands Protocol VLAN (Virtual Local Area Network) is the way to classify VLANs based on Protocols. A Protocol is relative to a single - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 52
T2500-28TC JetStream L2 Managed Switch CLI Guide protocol-vlan vlan Description The protocol-vlan vlan command is used to create a Protocol-based VLAN entry. To delete a Protocol-based VLAN entry, please use - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 53
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax protocol-vlan no protocol-vlan Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable the Protocol- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 54
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show protocol-vlan vlan Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display information of the Protocol-based VLAN entry: T2500-28TC( - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 55
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 6 VLAN-VPN Commands VLAN-VPN (Virtual Private Network) with VLAN tags of public networks at the network access terminal of the Internet Service Provider. And these packets will be transmitted with double-tag across the public networks - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 56
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter num -- The value of Global TPID. It must mapping c-vlan Parameter c-vlan -- Customer VLAN ID, ranging from 1 to 4094. sp-vlan -- Service Provider VLAN ID, ranging from 1 to 4094. descript -- Give a description to the VLAN Mapping entry - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 57
T2500-28TC JetStream L2 Managed Switch CLI Guide switchport dot1q-tunnel mapping Description The switchport dot1q-tunnel mapping command is used to enable the VLAN Mapping feature for a specified port. To disable the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 58
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Configure the Fast Ethernet port 3 as the VPN Up-link ports: T2500-28TC(config)#interface fastEthernet 1/0/3 T2500-28TC(config-if)#switchport dot1q-tunnel mode - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 59
T2500-28TC JetStream L2 Managed Switch CLI Guide show dot1q-tunnel mapping interface Description The show dot1q-tunnel mapping interface command is used to display the VLAN Mapping port enable state of VLAN - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 60
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 7 Voice VLAN Commands Voice VLANs are configured specially for voice data stream. By configuring Voice VLANs and adding the ports with voice devices attached - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 61
T2500-28TC JetStream L2 Managed Switch CLI Guide no voice vlan aging time Parameter time -- Aging time (in minutes) to be set for the Voice VLAN. It ranges from 1 to 43200. Command Mode - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 62
T2500-28TC JetStream L2 Managed Switch CLI Guide voice vlan mac-address Description The voice vlan mac-address command is used to create Voice VLAN OUI. To delete vlan mode command is used to configure the Voice VLAN mode for the Ethernet port. Syntax switchport voice vlan mode { manual | auto } 45 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 63
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter manual | auto -- Port mode. Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Configure the Fast Ethernet port 3 to - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 64
T2500-28TC JetStream L2 Managed Switch CLI Guide show voice vlan Description The show voice vlan command is used to display the global configuration information of Voice VLAN. Syntax show voice vlan Command - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 65
T2500-28TC JetStream L2 Managed Switch CLI Guide show voice vlan switchport Description The show voice vlan switchport command is used to display the configuration information of all the ports or one specified - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 66
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 8 Private VLAN Commands Private VLANs are configured specially for saving VLAN resource of uplink devices and decreasing broadcast. private-vlan primary Description The private- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 67
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode VLAN Configuration Mode (VLAN) Example Configure the VLAN 4 as the community VLAN of the private VLAN: T2500-28TC(config)#vlan 4 T2500-28TC(config- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 68
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax switchport private-vlan { promiscuous | host } no switchport private-vlan { promiscuous | host } Parameter promiscuous | host -- Configure the private VLAN mode for the switchport. Command Mode - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 69
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Configure host type Fast Ethernet port 3 as a member of primary VLAN 3 and secondary VLAN 4: T2500-28TC(config)#interface fastEthernet 1/0/3 T2500-28TC(config-if)#switchport - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 70
T2500-28TC JetStream L2 Managed Switch CLI Guide show vlan private-vlan Description The show vlan private-vlan command is used to display the Private VLAN configuration information of the switch. Syntax show - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 71
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 9 GVRP Commands GVRP (GARP VLAN registration protocol) is an implementation of GARP (generic attribute registration protocol). GVRP allows the switch to automatically add or - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 72
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEhternet) Example Enable the GVRP function for Fast Ethernet ports 2-6: T2500- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 73
T2500-28TC JetStream L2 Managed Switch CLI Guide gvrp timer Description The gvrp timer command is used to set a GVRP timer for the desired port. To restore to the default setting of a GARP - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 74
T2500-28TC JetStream L2 Managed Switch CLI Guide show gvrp global Description The show gvrp global command is used to display the global GVRP status. Syntax show gvrp global Command Mode Privileged EXEC - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 75
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 10 Etherchannel Commands Etherchannel Commands are used to configure LAG and LACP function. LAG (Link Aggregation Group) is to combine a number of ports together - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 76
T2500-28TC JetStream L2 Managed Switch CLI Guide port-channel load-balance Description The port-channel load-balance command is used to configure the Aggregate Arithmetic for LAG. To return to the default - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 77
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Configure the LACP system priority as 1024 globally: T2500-28TC(config)#lacp system-priority 1024 lacp port-priority Description - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 78
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter channel-group-num -- The EtherChannel Group number, ranging from 1 to 14. By default, it is empty, and will display the information of all EtherChannel - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 79
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter channel-group-num -- The EtherChannel Group number, ranging from 1 to 14. By default, it is empty, and will display the information of all LACP - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 80
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 11 User Manage Commands User Manage Commands are used to manage the user's logging information by Web, CLI or SSH, so as to protect - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 81
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#user name tplink password password type admin status enable user access-control ip-based Description The user access-control ip-based command - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 82
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax user access-control mac-based mac-addr no user access-control Parameter mac-addr -- The source MAC address. Only the user with this MAC - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 83
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#user access-control port-based interface range fastEthernet 1/0/2-6 user max-number Description The user max-number command is used to configure the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 84
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter minutes --The timeout time, ranging from 5 to 30 in minutes. The value is 10 by default. Command Mode Global Configuration Mode Example Configure the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 85
T2500-28TC JetStream L2 Managed Switch CLI Guide Enter the Virtual Terminal configuration mode so as to prepare further configurations such as password and login mode for virtual terminal 0 to 5: T2500-28TC(config)# - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 86
T2500-28TC JetStream L2 Managed Switch CLI Guide login Description The login command is used to configure the login of a switch not to use the user name and password. At this situation, a connection - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 87
T2500-28TC JetStream L2 Managed Switch CLI Guide Configure the login of Console port connection 0 as login local mode: T2500-28TC(config)#line console 0 T2500-28TC(config-line)#login local show user account- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 88
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 12 Binding Table Commands You can bind the IP 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 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 89
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Bind an ACL entry with the IP 192.168.0.1, MAC 00:00:00:00:00:01, VLAN ID 2 and the Port number 5 manually. And then enable the entry for the ARP detection and IP filter function: T2500-28TC(config - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 90
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Modify the hostname as "tp-link" of the entry with the index 1: T2500-28TC(config)#ip source binding index 1 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 91
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax ip dhcp snooping global { [global-rate global-rate] [dec-threshold dec-threshold] [dec-rate dec-rate] } no ip dhcp snooping global Parameter global-rate -- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 92
T2500-28TC JetStream L2 Managed Switch CLI Guide no ip dhcp snooping information option Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable the Option - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 93
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#interface fastEthernet 1/0/2 T2500-28TC(config-if)#ip dhcp snooping information strategy replace ip dhcp snooping information remote-id Description The ip dhcp - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 94
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax ip dhcp snooping information circuit-id string no ip dhcp snooping information circuit-id Parameter string -- Enter the sub-option Circuit ID, which contains - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 95
T2500-28TC JetStream L2 Managed Switch CLI Guide ip dhcp snooping mac-verify Description The ip dhcp snooping mac-verify command is used to enable the MAC Verify feature. To disable the MAC - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 96
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Set the Flow Control of Fast Ethernet port 2 as - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 97
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IP-MAC-VID-PORT binding table: T2500-28TC(config)#show ip source binding - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 98
T2500-28TC JetStream L2 Managed Switch CLI Guide Privileged EXEC Mode and Any Configuration Mode Example Display the Option 82 configuration status of all Ethernet ports: T2500-28TC#show ip dhcp snooping information - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 99
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 13 ARP Inspection Commands ARP (Address Resolution Protocol) Detect function is to protect the switch from the ARP cheating, such as the Network Gateway - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 100
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEhternet) Example Configure the Fast Ethernet ports 2-5 as the Trusted Port: - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 101
T2500-28TC JetStream L2 Managed Switch CLI Guide ip arp inspection limit-rate Description The ip arp inspection limit-rate command is used to configure the ARP speed of a specified port. To restore - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 102
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Restore Fast Ethernet port 5 to the ARP transmit status: T2500-28TC(config)#interface fastEthernet 1/0/5 T2500-28TC(config-if)#ip arp inspection recover show ip - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 103
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#show ip arp inspection interface fastEthernet 1/0/1 Display the configuration of all Ethernet ports: T2500-28TC(config)#show ip arp inspection interface show - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 104
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 14 IP Verify Source Commands IP Verify Source is to filter the IP packets based on the IP-MAC Binding entries. Only the packets - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 105
T2500-28TC JetStream L2 Managed Switch CLI Guide show ip verify source Description The show ip verify source command is used to display the IP Verify Source configuration information. Syntax show ip verify - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 106
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 15 DoS Defend Command DoS (Denial of Service) Attack is to occupy the network bandwidth maliciously by the network attackers or the evil programs sending a lot of service requests to the Host. With the DoS Defend enabled, the switch can - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 107
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter ping-rate -- Specify the transmission rate of the Ping packets when the Defend Type Ping Flooding is enabled. The options are 128k、256k、512k、 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 108
T2500-28TC JetStream L2 Managed Switch CLI Guide ip dos-prevent type Description The ip dos-prevent type command is used to select the DoS Defend Type. To disable the corresponding Defend Type, - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 109
T2500-28TC JetStream L2 Managed Switch CLI Guide ip dos-prevent detect Description The ip dos-prevent detect command is used to configure the detect time for each DoS attack type except the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 110
T2500-28TC JetStream L2 Managed Switch CLI Guide show ip dos-prevent Description The show ip dos-prevent command is used to display the DoS information of the detected DoS attack, including enable/ - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 111
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 16 IEEE 802.1X Commands IEEE 802.1X function is to the network based on the authentication status of the supplicant. It is usually an 802.1X-supported network device, such as this TP-LINK switch. It acts as an intermediary (proxy) between the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 112
T2500-28TC JetStream L2 Managed Switch CLI Guide dot1x auth-method Description The dot1x auth-method command is used to configure the Authentication Method of IEEE 802.1X and the default 802.1X - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 113
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax dot1x guest-vlan vid no dot1x guest-vlan Parameter vid -- The VLAN ID needed to enable the Guest VLAN function, ranging from 2 to 4094. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 114
T2500-28TC JetStream L2 Managed Switch CLI Guide dot1x quiet-period Description The dot1x quiet-period command is used to enable the quiet-period function. To disable the function, please use no dot1x - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 115
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Configure the quiet period as 100 seconds: T2500-28TC(config)#dot1x timeout quiet-period 100 dot1x max-reauth-req - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 116
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax dot1x no dot1x Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable the IEEE 802.1X - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 117
T2500-28TC JetStream L2 Managed Switch CLI Guide dot1x port-control Description The dot1x port-control command is used to configure the Control Mode of IEEE 802.1X for the specified port. By - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 118
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax dot1x port-method { mac-based | port-based } no dot1x port-method Parameter mac-based | port-based --The control type for the port. mac-based: - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 119
T2500-28TC JetStream L2 Managed Switch CLI Guide show dot1x interface Description The show dot1x interface command is used to display all ports or the specified port's configuration information of 801.X. Syntax show - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 120
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 17 PPPoE Circuit-ID Insertion Commands The PPPoE Circuit-ID Insertion feature provides a way to extract a Circuit-ID as an identifier for the authentication, - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 121
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax pppoe circuit-id no pppoe circuit-id Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 122
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Configure the type of PPPoE Circuit-ID as "mac" for the Fast Ethernet port 1/0/1: T2500-28TC (config)# interface fastEthernet 1/0/1 T2500-28TC (config-if)# pppoe - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 123
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Display the configuration information of PPPoE Circuit-ID Insertion function of all Ethernet ports: T2500-28TC# show pppoe circuit-id interface Display the configuration - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 124
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 18 System Log Commands The log information will record the settings and operation of the switch respectively for you to monitor operation status and - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 125
T2500-28TC JetStream L2 Managed Switch CLI Guide logging file flash Description The logging file flash command is used to configure the level and the status of the log file input. To disable - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 126
T2500-28TC JetStream L2 Managed Switch CLI Guide Immediate-- The system log file in the buffer will be synchronized to the flash immediately. This option will reduce the life of the flash and - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 127
T2500-28TC JetStream L2 Managed Switch CLI Guide clear logging Description The clear logging command is used to clear host-ip level no logging host index idx Parameter idx --The index of the log host. The switch supports 4 log hosts. host-ip -- The IP for the log host. level --The severity level of - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 128
T2500-28TC JetStream L2 Managed Switch CLI Guide priority. Only the log with the same or smaller severity level value will be sent to the corresponding log host. By default, it is 6 indicating - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 129
T2500-28TC JetStream L2 Managed Switch CLI Guide index --The index of the log host whose configuration will be displayed. Display the configuration of all the log hosts by default. Command Mode Privileged - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 130
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show logging flash [level level] Parameter level --Severity level. There are 8 severity levels marked with values 0-7. The information of levels with priority not lower - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 131
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 19 SSH Commands SSH (Security Shell) can provide the unsecured remote management with security and powerful authentication to ensure the security of the management - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 132
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enable SSH v2: T2500-28TC(config)#ip ssh version v2 ip ssh timeout Description The ip ssh timeout command is used to specify the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 133
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Specify the . ip-addr -- The IP address of the TFTP server. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.1 or fe80::1234. Command Mode Global Configuration Mode Example Download an SSH - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 134
T2500-28TC JetStream L2 Managed Switch CLI Guide 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 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 135
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 20 SSL Commands SSL(Secure Sockets Layer), a security protocol, is to provide a secure connection for the application layer protocol(e.g. HTTP) based on TCP. Adopting - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 136
CLI Guide Parameter ssl-cert -- The name of the SSL certificate which is selected to download to the switch. The length of the name ranges from 1 to 25 characters. The Certificate must be BASE64 encoded. ip-addr -- The IP address of the TFTP server. Both IPv4 and IPv6 addresses are supported, for - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 137
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Download an SSL key named ssl-key from TFTP server with the IP address of 192.168.0.146: T2500- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 138
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 21 MAC Address Commands MAC address configuration please use no mac address-table static command. The static address can be added or removed manually, independent of the aging time. In the stable networks, the static MAC address entries can - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 139
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#no mac address-table static is to forbid the undesired package to be forwarded. The filtering address can be added or removed manually, independent of the aging time. Syntax mac address-table filtering mac-addr vid vid no mac - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 140
T2500-28TC JetStream L2 Managed Switch CLI Guide vid -- The corresponding VLAN ID of the MAC address. It MAC address will be out of the influence of the aging time and can only be deleted manually. The learned entries will be cleared after the switch is rebooted. When permanent mode is selected, - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 141
T2500-28TC JetStream L2 Managed Switch CLI Guide influence of the aging time and can only be deleted manually too. However, the learned entries will be saved even the switch is rebooted. status -- Enable or disable the Port Security function for a specified port. By - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 142
T2500-28TC JetStream L2 Managed Switch CLI Guide show mac address-table aging-time Description The show mac address-table aging-time command is used to display the Aging Time of the MAC - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 143
T2500-28TC JetStream L2 Managed Switch CLI Guide show mac address-table interface Description The show mac address-table interface command is used to display the address configuration of an Ethernet port. Syntax - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 144
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show mac address-table address mac-addr Parameter mac-addr -- The specified MAC address. Command Mode Privileged EXEC Mode and Any Configuration Mode Example - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 145
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 22 System Configuration Commands System Configuration Commands Example Configure the system time as 02/14/2012-12:30:00: T2500-28TC(config)#system-time manual 02/14/2012-12:30:00 system-time ntp Description The system-time ntp command is used - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 146
T2500-28TC JetStream L2 Managed Switch CLI Guide UTC-12:00 -- TimeZone for International Date Line West. UTC-11:00 -- TimeZone for Coordinated Universal Time-11. UTC-10:00 -- TimeZone for Hawaii. UTC- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 147
T2500-28TC JetStream L2 Managed Switch CLI Guide backup-ntp-server -- The IP address for the Secondary NTP Server. fetching-rate -- Specify the rate fetching time from NTP server. Command Mode Global Configuration - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 148
T2500-28TC JetStream L2 Managed Switch CLI Guide system-time dst date Description The system-time dst date command is used to specify the DST configuration in Date mode. This configuration is one- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 149
T2500-28TC JetStream L2 Managed Switch CLI Guide system-time dst recurring Description The system-time dst recurring command is used to specify the DST configuration in recurring mode. This configuration is recurring - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 150
T2500-28TC JetStream L2 Managed Switch CLI Guide hostname Description The hostname command is used to configure the system name. To clear the system name information, please use no hostname command. Syntax hostname - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 151
T2500-28TC JetStream L2 Managed Switch CLI Guide contact-info Description The contact-info command is used to configure the system contact information. To clear the system contact information, please use no contact- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 152
T2500-28TC JetStream L2 Managed Switch CLI Guide ip address Description The ip address command is used to configure the system IP address, Subnet Mask and Default Gateway. To restore to the factory - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 153
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enable the DHCP Client function when the management VLAN of the switch is VLAN1: T2500-28TC(config)# interface vlan 1 T2500-28TC(config-if)# ip - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 154
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Reset the software of the switch: T2500-28TC#reset reboot Description The reboot command is used to reboot the Switch. To avoid damage, please - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 155
CLI Guide copy startup-config tftp Description The copy startup-config tftp command is used to backup the configuration file to TFTP server. Syntax copy startup-config tftp ip-address ip-addr filename name Parameter ip-addr -- IP address of the TFTP server. Both IPv4 and IPv6 addresses are supported - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 156
T2500-28TC JetStream L2 Managed Switch CLI Guide name - - Specify the name for the configuration file which name Parameter ip-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 the firmware file. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 157
T2500-28TC JetStream L2 Managed Switch CLI Guide Upgrade the switch system file named as destination node for ping test. 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 times to send test - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 158
T2500-28TC JetStream L2 Managed Switch CLI Guide milliseconds. If there is not any response after 8 the destination device. If 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 of the route hops - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 159
T2500-28TC JetStream L2 Managed Switch CLI Guide loopback interface Description The loopback interface command is used to test whether the port is available or not. Syntax loopback interface { fastEthernet port | gigabitEthernet port } { - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 160
T2500-28TC JetStream L2 Managed Switch CLI Guide show system-time dst Description The show system-time dst command is used to display the DST time information of the switch. Syntax show system- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 161
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show system-info Command Mode Privileged EXEC Mode and Any status of the cable connected to the Switch, locate and diagnose the trouble spot of the network. Syntax show cable-diagnostics interface { fastEthernet port | gigabitEthernet port } - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 162
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter port -- The number of the port which is selected for Cable test. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Show the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 163
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 23 IPv6 Address Configuration Commands The IPv6 address The switch has only one ipv6 link-local address, which can be configured automatically or manually. The general ipv6 link-local address has the prefix as fe80::/10. IPv6 routers cannot - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 164
T2500-28TC JetStream L2 Managed Switch CLI Guide configured ipv6 link-local address will be deleted when The ipv6 address link-local command is used to configure the system ipv6 link-local address manually. To delete the configured link-local address, please use no ipv6 address link-local command. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 165
T2500-28TC JetStream L2 Managed Switch CLI Guide ipv6 address dhcp Description The ipv6 address dhcp command is used to enable the DHCPv6 Client function. When this function is enabled, the switch will - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 166
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)# interface vlan 1 T2500-28TC(config-if)# ipv6 address ra ipv6 address eui-64 Description This command is used to manually configure a global IPv6 address with an extended unique identifier (EUI) in the low-order 64 bits on the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 167
T2500-28TC JetStream L2 Managed Switch CLI Guide no ipv6 address ipv6-addr Parameter ipv6-addr -- Global IPv6 address with network prefix, for example 3ffe::1/64. Configuration Mode Interface Configuration Mode (interface vlan) - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 168
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 24 Ethernet Configuration Commands Ethernet Configuration Commands can be used to configure the Bandwidth Control, Negotiation Mode and Storm Control for Ethernet ports. interface - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 169
T2500-28TC JetStream L2 Managed Switch CLI Guide User Guidelines Command in the Interface Range fastEthernet Mode is executed independently on all ports in the range. It does not effect the execution on - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 170
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter port-list -- The list of Gigabit Ethernet ports. Command Mode Global Configuration Mode User Guidelines Command in the Interface Range gigabitEthernet Mode is executed - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 171
T2500-28TC JetStream L2 Managed Switch CLI Guide shutdown Description The shutdown command is used to disable an Ethernet port. To enable this port again, please use no shutdown command. Syntax shutdown no - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 172
T2500-28TC JetStream L2 Managed Switch CLI Guide media-type Description The media-type command is used to configure the media type of Combo port. For a Combo port, the media type should be - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 173
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#interface gigabitEthernet 1/0/25 T2500-28TC(config-if)#duplex full speed Description The speed command is used to configure the Speed Mode for - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 174
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter rate -- Specify the bandwidth for receiving broadcast packets on the port. The packet traffic exceeding the bandwidth will be discarded. By default, the value - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 175
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config-if)#storm-control multicast storm-control unicast Description The storm-control unicast command is used to enbale the unicast control function. To - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 176
T2500-28TC JetStream L2 Managed Switch CLI Guide no bandwidth { all | ingress | egress } Parameter ingress-rate --Specify the bandwidth for receiving packets. Range: 1-100000 for the megaport, 1-1000000 for the gigaport. egress-rate -- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 177
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show interface [fastEthernet port | gigabitEthernet port] status Parameter port --The Fast/Gigabit Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 178
T2500-28TC JetStream L2 Managed Switch CLI Guide show interface description Description The show interface description command is used to display the description of all ports or an Ethernet port. Syntax show interface [ - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 179
T2500-28TC JetStream L2 Managed Switch CLI Guide show interface configuration Description The show interface configuration command is used to display the configurations of an Ethernet port, including Port-status, Flow Control, Negotiation - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 180
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#show storm-control interface range fastEthernet 1/0/4-7 show bandwidth Description The show bandwidth command is used to display the bandwidth-limit information of - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 181
L2 Managed Switch CLI Guide Chapter 25 QoS Commands QoS (Quality of Service) function is used to optimize the network performance. It provides you with network service experience of a better quality. qos Description The qos command is used to configure CoS (Class of Service) based on port. To - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 182
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax qos cos no qos cos Command Mode Global Configuration Mode User Guidelines IEEE 802.1P gives the Pri field in IEEE 802.1Q tag a - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 183
T2500-28TC JetStream L2 Managed Switch CLI Guide qos queue cos-map Description The qos queue cos-map command is used to configure the mapping relation between IEEE 802.1P priority tag/IEEE - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 184
T2500-28TC JetStream L2 Managed Switch CLI Guide divide IP datagram into 64 priorities. When DSCP Priority is enabled, IP datagram are mapped to different priority levels based on DSCP priority mode; non- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 185
T2500-28TC JetStream L2 Managed Switch CLI Guide queues and scheduling algorithms you set. On this switch, the priority levels are labeled as TC0, TC1... TC3. Syntax qos queue mode { sp | wrr | sp+ - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 186
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show qos interface [ fastEthernet port | gigabitEthernet port | range fastEthernet port-list | range gigabitEthernet port-list ] Parameter port -- The Fast/Gigabit Ethernet port number. port- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 187
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show qos dscp-map Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of DSCP Priority: T2500-28TC#show qos - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 188
CLI Guide Chapter 26 Port Mirror Commands Port Mirror refers to the process of forwarding copies of packets from one port to a monitoring port. Usually, the monitoring port is connected to data diagnose device, which is used to analyze the monitored packets for monitoring and troubleshooting the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 189
T2500-28TC JetStream L2 Managed Switch CLI Guide 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 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 190
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#monitor session 1 source interface fastEthernet 1/0/4-5,1/0/7 rx Delete the Fast Ethernet port 4 in monitor session 1 and its configuration: T2500-28TC(config)#no monitor - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 191
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 27 Port isolation Commands Port Isolation provides a method of restricting traffic flow to improve the network security by forbidding the port to forward packets - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 192
T2500-28TC JetStream L2 Managed Switch CLI Guide show port isolation Description The show port isolation command is used to display the forward port list of a port. Syntax show port isolation interface [ fastEthernet - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 193
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 28 Loopback Detection Commands With loopback detection feature enabled, the switch can detect loops using loopback detection packets. When a loop is detected, the switch - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 194
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Specify the interval-time as 50 seconds: T2500-28TC(config)#loopback-detection interval 50 loopback-detection recovery-time Description The loopback-detection recovery-time - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 195
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enable the loopback detection function of loopback-detection config [ process-mode { alert | port-based } ] [ recovery-mode { auto | manual } ] Parameter process-mode -- The mode how the switch processes the detected loops. alert: when a - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 196
T2500-28TC JetStream L2 Managed Switch CLI Guide loopback-detection recover Description The loopback-detection recover command is used to remove the block status of selected ports, recovering the blocked ports to normal - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 197
T2500-28TC JetStream L2 Managed Switch CLI Guide show loopback-detection interface Description The show loopback-detection interface command is used to display the configuration of loopback detection function and the status of - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 198
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 29 DDM Commands The DDM (Digital Diagnostic Monitoring) function allows the user to monitor the status of the SFP modules inserted into the SFP - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 199
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax ddm shutdown { none | warning | alarm } Parameter none -- The port will never be shut down regardless of the exceeding alarm threshold and warning threshold events. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 200
T2500-28TC JetStream L2 Managed Switch CLI Guide high_warning -- Specify the lowest threshold for the alarm. When the operating parameter falls below the value hereinafter, action associated with the alarm will be taken. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 201
T2500-28TC JetStream L2 Managed Switch CLI Guide low_alarm -- Specify the highest threshold for the warning. When the operating parameter rises above the value hereinafter, action associated with the warning will be taken. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 202
T2500-28TC JetStream L2 Managed Switch CLI Guide low_warning -- Specify the lowest threshold for the warning. When the operating parameter falls below the value hereinafter, action associated with the warning will be taken. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 203
T2500-28TC JetStream L2 Managed Switch CLI Guide low_warning -- Specify the lowest threshold for the warning. When the operating parameter falls below the value hereinafter, action associated with the warning will be taken. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 204
T2500-28TC JetStream L2 Managed Switch CLI Guide value -- Enter the threshold value in mW. Default Setting None. Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 205
T2500-28TC JetStream L2 Managed Switch CLI Guide show ddm status Description The show ddm status command is used to display the DDM status, which is the digital diagnostic monitoring status of SFP - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 206
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 30 ACL Commands ACL (Access Control List) is used to filter data packets by configuring a series of match conditions, operations and time ranges. It - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 207
T2500-28TC JetStream L2 Managed Switch CLI Guide no absolute Parameter start-date -- The start date in Absolute Mode, in the format of MM/DD/YYYY. By default, it is 01/01/2000. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 208
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#time-range tSeg1 T2500-28TC(config-time-range)#periodic week-date off-day time-slice1 08:30-12:00 holiday Description The - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 209
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Define National Day, configuring the start date as October 1st, and the end date as October 3rd: T2500-28TC( - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 210
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter access-list-num -- ACL ID, ranging from 0 to 99. Command Mode Global Configuration Mode Example Create a MAC ACL whose ID is 23: T2500-28TC( - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 211
T2500-28TC JetStream L2 Managed Switch CLI Guide frag -- Enable/Disable Fragment. By default, it is disabled. If Fragment is enabled, this rule will process all the fragments and the last piece of - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 212
T2500-28TC JetStream L2 Managed Switch CLI Guide destination-ip -- The destination IP address contained in the rule. destination-ip-mask -- The destination IP address mask. It is required if you typed the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 213
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax access-list combined acl-id rule rule-id [permit | deny] [[smac source-mac] [smask source-mac-mask]] [[dmac destination-mac] [dmask destination-mac-mask]] [ - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 214
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Create a combined ACL whose ID is 320, and add Rule 10 for it. In the rule, the source IP address is 192.168.0.100, - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 215
T2500-28TC JetStream L2 Managed Switch CLI Guide time-segment -- The time-range for the rule to take effect. By default, it is not limited. Command Mode Mac Access-list Configuration Mode Example - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 216
T2500-28TC JetStream L2 Managed Switch CLI Guide access-list policy action Description The access-list policy action command is used to add ACLs and create actions for the policy. To set the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 217
T2500-28TC JetStream L2 Managed Switch CLI Guide Edit the actions for policy1. Forward the data packets matching ACL 120 in the policy to Fast Ethernet port 2: T2500-28TC(config)#access-list policy - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 218
T2500-28TC JetStream L2 Managed Switch CLI Guide osd -- Out of Band disposal of Stream Condition. It is the disposal way of the data packets those are transmitted beyond the rate. There are - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 219
T2500-28TC JetStream L2 Managed Switch CLI Guide qos-remark dscp dscp priority pri no qos-remark Parameter dscp -- DSCP of QoS Remark. Specify the DSCP region for the data packets matching the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 220
T2500-28TC JetStream L2 Managed Switch CLI Guide access-list bind(vlan) Description The access-list bind command is used to bind a policy to a VLAN. To cancel the bind relation, please use no - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 221
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show holiday Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the defined holidays: T2500-28TC#show holiday show access-list Description - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 222
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Display the information of a policy named policy1: T2500-28TC#show access-list policy policy1 show access-list bind Description The show access-list bind - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 223
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 31 MSTP Commands MSTP (Multiple Spanning Tree Protocol), compatible with both STP and RSTP and subject to IEEE 802.1s, can disbranch a ring network. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 224
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#interface fastEthernet 1/0/2 T2500-28TC(config-if)#spanning-tree spanning-tree common-config Description The spanning-tree common-config command is used to - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 225
T2500-28TC JetStream L2 Managed Switch CLI Guide designated port, they can transit their states to forwarding rapidly to reduce the unnecessary forward delay. Command Mode Interface Configuration Mode (interface fastEthernet / interface range - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 226
T2500-28TC JetStream L2 Managed Switch CLI Guide spanning-tree mst configuration Description The spanning-tree mst configuration command is used to access MST Configuration Mode from Global Configuration Mode, as to configure - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 227
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Map the VLANs 1-100 to Instance 1: T2500-28TC(config)#spanning-tree mst configuration T2500-28TC(config-mst)#instance 1 vlan 1-100 Disable Instance 1, namely remove - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 228
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameters revision -- The revision level for MST region identification, ranging from 0 to 65535. Command Mode MST Configuration Mode Example Configure the revision level of MST - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 229
T2500-28TC JetStream L2 Managed Switch CLI Guide spanning-tree mst Description The spanning-tree mst command is used to configure MST Instance Port. To return to the default configuration of the corresponding - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 230
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax spanning-tree priority pri no spanning-tree priority Parameter pri -- Bridge priority, ranging from 0 to 61440. It is 32768 by default. Command Mode Global - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 231
T2500-28TC JetStream L2 Managed Switch CLI Guide spanning-tree timer Description The spanning-tree timer command is used to configure forward-time, hello-time and max-age of Spanning Tree. To return - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 232
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax spanning-tree hold-count value no spanning-tree hold-count Parameter value -- The maximum number of BPDU packets transmitted per Hello Time interval, ranging - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 233
T2500-28TC JetStream L2 Managed Switch CLI Guide spanning-tree bpdufilter Description The spanning-tree bpdufilter command is used to enable the BPDU filter function for a port. With the function enabled, the port - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 234
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#interface fastEthernet 1/0/2 T2500-28TC(config-if)#spanning-tree bpduguard spanning-tree guard loop Description The spanning-tree guard loop command is used - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 235
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable the Root Protect function for Fast Ethernet port 2: - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 236
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax spanning-tree mcheck Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable MCheck for Fast Ethernet - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 237
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Display the bridge parameters: T2500-28TC(config)#show spanning-tree bridge show spanning-tree interface Description The show spanning-tree interface command is used - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 238
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter port -- The Fast/Gigabit Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the protect information of all ports: - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 239
T2500-28TC JetStream L2 Managed Switch CLI Guide Display all the ports information of MST Instance 1: T2500-28TC(config)#show spanning-tree mst instance 1 interface 222 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 240
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 32 Ethernet OAM Commands Ethernet OAM (standing for Operation, Administration, and Maintenance) is Layer 2 protocol that is used for monitoring and troubleshooting Ethernet networks. It can report the network status to network administrators - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 241
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax ethernet-oam mode { passive | active } no ethernet-oam mode Parameter passive -- Specify the OAM mode as passive. active --Specify the OAM mode as active. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 242
T2500-28TC JetStream L2 Managed Switch CLI Guide notify -- Enable/Disable the event notification. By default, it is enabled. threshold | window | notify -- The parameter that you want to return to the default configuration. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 243
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example For error frame event, configure the error threshold as 6 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 244
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example For error frame period event, configure the error threshold - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 245
T2500-28TC JetStream L2 Managed Switch CLI Guide Example For error frame seconds event, configure the error threshold as 8 and the event detection interval as 30 seconds on Fast Ethernet port 5: T2500-28TC( - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 246
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config-if)# ethernet-oam remote-failure dying-gasp notify disable ethernet-oam remote-loopback received-remoteloopback Description The ethernet-oam remote-loopback received- - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 247
T2500-28TC JetStream L2 Managed Switch CLI Guide ethernet-oam remote-loopback Description The ethernet-oam remote-loopback command is used to request the remote peer to start or stop the Ethernet OAM - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 248
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter port -- The Fast/Gigabit Ethernet port number. By default, the Ethernet OAM statistics of all ports are cleared. Command Mode Global Configuration Mode Example - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 249
T2500-28TC JetStream L2 Managed Switch CLI Guide show ethernet-oam configuration Description The show ethernet-oam configuration command is used to display Ethernet OAM configuration information. Syntax show ethernet-oam configuration gigabitEthernet } - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 250
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display Ethernet OAM event log of Fast Ethernet port 2: T2500-28TC(config)# show ethernet-oam - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 251
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show ethernet-oam status [ interface { fastEthernet | gigabitEthernet } port ] Parameter port -- The Fast/Gigabit Ethernet port number. By default, the Ethernet OAM status of all - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 252
L2 Managed Switch CLI Guide Chapter 33 DLDP Commands DLDP (Device Link Detection Protocol) is used to monitor the link state of fiber-optic or twisted-pair Ethernet cables. When a unidirectional link is detected, the corresponding port will be shut down automatically or manually (depending on the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 253
CLI Guide Example Specify the interval of sending advertisement packets as 10 seconds: T2500-28TC(config)# dldp interval 10 dldp shut-mode Description The dldp shut-mode command is used to configure the shutdown mode when a unidirectional link is detected. Syntax dldp shut-mode { auto | manual - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 254
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Reset the DLDP function globally: T2500-28TC(config)# dldp reset dldp(interface) Description The dldp command is used to enable the DLDP function of - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 255
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Reset the DLDP function of ports 2-4: T2500-28TC (config)# interface range fastEthernet 1/0/2-4 T2500-28TC (config-if-range)# dldp reset show dldp Description The show - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 256
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Display the configuration and state of all ports: T2500-28TC# show dldp interface Display the configuration and state of port 5: T2500-28TC# show dldp interface fastEthernet 1/0/5 239 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 257
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 34 IGMP Snooping Commands IGMP Snooping (Internet Group Management Protocol Snooping) is a multicast control mechanism running on Layer 2 switch. It can effectively prevent multicast - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 258
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enable IGMP Snooping function of Gigabit Ethernet port 25: T2500-28TC(config)#interface gigabitEthernet 1/0/25 T2500-28TC(config-if)#ip igmp snooping ip igmp - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 259
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Specify the operation of processing unknown multicast as "discard": T2500-28TC(config)#ip igmp snooping drop-unknown ip igmp snooping vlan-config Description The - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 260
T2500-28TC JetStream L2 Managed Switch CLI Guide the format of 1/0/2; Gigabit Ethernet port, ranging from 1-4, in the format of 1/0/2. vlan-id -- The VLAN ID of the multicast IP, ranging from 1 to 4094. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 261
T2500-28TC JetStream L2 Managed Switch CLI Guide leave-time -- Leave Time, which is the interval between the switch receiving a leave message from a host and the switch removing the host from the multicast - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 262
T2500-28TC JetStream L2 Managed Switch CLI Guide ip igmp snooping filter(global) Description The ip igmp snooping filter command is used to add or modify the multicast filtering IP-range. To delete - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 263
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable IGMP Snooping filter function for Gigabit Ethernet port - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 264
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter mode -- Action Mode, with "refuse" and "accept" options. "Refuse" indicates only the multicast packets whose multicast IP is not in the IP-range will - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 265
T2500-28TC JetStream L2 Managed Switch CLI Guide ip igmp snooping querier vlan (general query) Description The ip igmp snooping querier vlan command is used to configure the parameters for IGMP Snooping Querier - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 266
T2500-28TC JetStream L2 Managed Switch CLI Guide ip igmp snooping querier vlan (specific query) Description The ip igmp snooping querier vlan command is used to configure the parameters for IGMP Snooping Querier - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 267
T2500-28TC JetStream L2 Managed Switch CLI Guide ip igmp snooping authentication Description The ip igmp snooping authentication command is used to enable IGMP Authentication for the desired port. To disable the IGMP - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 268
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC#show ip igmp snooping show ip igmp snooping interface Description The show ip igmp snooping interface command is used to display the port - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 269
T2500-28TC JetStream L2 Managed Switch CLI Guide vlan-id --The VLAN ID selected to display. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IGMP snooping configuration information of - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 270
T2500-28TC JetStream L2 Managed Switch CLI Guide dynamic-- Display dynamic multicast groups. dynamic count-- The numbers of all dynamic multicast groups. static-- Display static multicast groups. static count-- The numbers of all - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 271
T2500-28TC JetStream L2 Managed Switch CLI Guide show ip igmp snooping querier vlan Description The show ip igmp snooping querier vlan command is used to display the configurations of IGMP Snooping Querier - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 272
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show ip igmp snooping querier Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IGMP Snooping authentication configurations of all ports: T2500-28TC(config)# show ip igmp snooping interface authentication 255 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 273
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 35 MLD Snooping Commands MLD Snooping (Multicast Listener Discovery Snooping) is a multicast control mechanism running on Layer 2 switch. It can effectively prevent multicast groups - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 274
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Specify MLD Snooping router port aging time as 100 seconds globally: T2500-28TC(config)# ipv6 mld snooping router-aging-time 100 ipv6 mld snooping - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 275
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)# no ipv6 mld snooping report-suppression ipv6 mld snooping unknown-filter Description The ipv6 mld snooping unknown-filter command is used to - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 276
T2500-28TC JetStream L2 Managed Switch CLI Guide ipv6 mld snooping last-listener query-count Description The ipv6 mld snooping last-listener query-count command is used to specify the numbers of Specific - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 277
T2500-28TC JetStream L2 Managed Switch CLI Guide ipv6 mld snooping multicast-vlan vlan-id Description The ipv6 mld snooping multicast-vlan vlan-id command is used to specify the multicast VLAN ID. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 278
T2500-28TC JetStream L2 Managed Switch CLI Guide ipv6 mld snooping vlan router-aging-time Description The ipv6 mld snooping vlan router-aging-time command is used to specify router port aging time - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 279
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Specify the member port aging time as 100 seconds in VLAN 2: T2500-28TC(config)# ipv6 mld snooping vlan 2 member-aging-time 100 ipv6 mld - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 280
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Configure the gigabitEthernet 1/0/2 as static router port in VLAN 2: T2500-28TC(config)# ipv6 mld snooping vlan 2 mrouter interface gigabitEthernet 1/0/2 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 281
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax ipv6 mld snooping querier vlan vlan-id no ipv6 mld snooping querier vlan vlan-id Parameter vlan-id -- The VLAN that enables the MLD - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 282
T2500-28TC JetStream L2 Managed Switch CLI Guide ipv6 mld snooping querier vlan query-interval Description The ipv6 mld snooping querier vlan query-interval command is used to specify the interval to send - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 283
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Specify the source address which sends the Query message as fe80::1234 on VLAN 2: T2500-28TC(config)# ipv6 mld snooping querier vlan 2 query-source - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 284
T2500-28TC JetStream L2 Managed Switch CLI Guide Interface Configuration Mode Example Enable filter function on interface gigabitEthernet 1/0/2: T2500-28TC(config)# interface gigabitEthernet 1/0/2 T2500-28TC(config-if)# ipv6 mld snooping filter ipv6 mld - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 285
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter filter-list -- Specify the filter id list, in format of 1,3,10. Command Mode Interface Configuration Mode Example Specify the filter id as 1 and 10 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 286
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax clear ipv6 mld snooping statistics Command Mode Privileged EXEC Mode and Any Configuration Mode Example Clear the statistics of the MLD packets: T2500-28TC( - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 287
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Display all of the VLAN information: T2500-28TC(config)# show ipv6 mld snooping vlan show ipv6 mld snooping static-mcast Description The show ipv6 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 288
T2500-28TC JetStream L2 Managed Switch CLI Guide show ipv6 mld snooping filter Description The show ipv6 mld snooping filter command is used to display the filter entries. Syntax show ipv6 mld snooping - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 289
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show ipv6 mld snooping interface filter [gigabitEthernet port] Parameter port -- Specify the port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 290
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter port -- Specify the port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display statistics of MLD packets: T2500-28TC(config)# show ipv6 mld snooping statistics 273 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 291
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 36 SNMP Commands SNMP (Simple Network Management Protocol) functions are used to manage the network devices for a smooth communication, which can facilitate the network - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 292
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter name -- The entry name of View, ranging from 1 to 16 characters. Each View can include several entries with the same name. mib-oid -- MIB - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 293
T2500-28TC JetStream L2 Managed Switch CLI Guide smode -- Security Model, with v1、v2c and v3 options. They represent SNMP v1, SNMP v2c and SNMP v3. slev -- The Security Level of SNMP v3 - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 294
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax snmp-server user name { local | remote } group-name [smode { v1 | v2c | v3 }] [slev { noAuthNoPriv | authNoPriv | authPriv }] [cmode { none | MD5 | SHA }] [cpwd confirm-pwd] [emode { - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 295
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Add Local User admin to Group group2, and configure the Security Model of the user as v3, the Security Level of the group as - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 296
T2500-28TC JetStream L2 Managed Switch CLI Guide snmp-server host Description The snmp-server host ip user-name Parameter 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 is used to send - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 297
T2500-28TC JetStream L2 Managed Switch CLI Guide timeout -- The maximum time for the switch to wait for the response from the management station before resending a request, ranging from 1 to 3600 in seconds. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 298
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Specify the local engineID as 1234567890, and the remote engineID as abcdef123456: T2500-28TC(config)#snmp-server engineID local 1234567890 remote abcdef123456 snmp-server - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 299
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enable the linkup trap for the switch: T2500-28TC(config)# snmp-server traps snmp linkup snmp-server traps security Description The snmp-server traps - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 300
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enable the dhcp-filter trap for the switch: T2500-28TC(config)# snmp-server traps security dhcp-filter snmp-server traps link-status Description The - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 301
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter bandwidth-control -- Enable bandwidth-control trap. -change -- Enable ipaddr-change trap. It is sent when IP address is changed such as user manually modifies the IP address or the switch obtains a new IP address from DHCP. lldp -- Enable - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 302
T2500-28TC JetStream L2 Managed Switch CLI Guide no snmp-server traps ddm [ temperature | voltage | bias_current | without any parameter is used to disable all the types of DDM traps. For more instructions about the alarm threshold or warning threshold, refer to Chapter 29 DDM Commands. Command Mode - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 303
T2500-28TC JetStream L2 Managed Switch CLI Guide Note: The snmp-server traps mac command without any parameter is used to enable all the four types of traps. And the no snmp-server - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 304
T2500-28TC JetStream L2 Managed Switch CLI Guide Note: The snmp-server traps vlan command without any parameter is used to enable the both traps. And the no snmp-server traps vlan command - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 305
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter index -- The index number of the entry, ranging from 1 to 12, in the format of 1-3,5. port -- The Fast/Gigabit Ethernet port number. seconds -- The - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 306
T2500-28TC JetStream L2 Managed Switch CLI Guide type -- The event type, with "none", "log", "notify" and "both" options. "None" indicates no processing, "log" indicates logging the event, "notify" indicates sending trap messages - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 307
T2500-28TC JetStream L2 Managed Switch CLI Guide port - - String for the port on which the Alarm entry acts, format as module/slot/port, for example 1/0/24. alarm-variable -- The alarm variable. By - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 308
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#rmon alarm 1-3 interface fastEthernet 1/0/2 owner owner1 interval 100 show snmp-server Description The show snmp-server command is used to display SNMP - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 309
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Group table: T2500-28TC#show snmp-server group show snmp-server user Description - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 310
T2500-28TC JetStream L2 Managed Switch CLI Guide show snmp-server host Description The show snmp-server host command is used to display the Host table. Syntax show snmp-server host Command Mode - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 311
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter index -- The index number of the entry selected to display the configuration, ranging from 1 to 12, in the format of 1-3, 5. You can select more - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 312
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show rmon alarm [index] Parameter index -- The index number of the entry selected to display the configuration, ranging from 1 to 12, in the format - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 313
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 37 LLDP Commands LLDP function enables network devices to advertise their own device information periodically to neighbors on the same LAN. The information of - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 314
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter multiplier -- Configure the Hold Multiplier parameter. It ranges from 2 to 10. By default, it is 4. Command Mode Global Configuration Mode Example Specify Hold Multiplier - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 315
T2500-28TC JetStream L2 Managed Switch CLI Guide is, the transmit interval will be shorten to a second, and several LLDPDUs will be sent out (the number of LLDPDUs equals this parameter). The value - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 316
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax lldp transmit no lldp transmit Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable Fast Ethernet - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 317
T2500-28TC JetStream L2 Managed Switch CLI Guide lldp tlv-select Description The lldp tlv-select command is used to configure TLVs to be included in outgoing LLDPDU. To exclude TLVs, please use - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 318
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter count -- Configure the Fast Start Count parameter. It ranges from 1 to 10. By default, it is 4. Command Mode Global Configuration Mode Example Specify Fast - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 319
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax lldp med-tlv-select { [inventory-management] [location] [network- -server | endpoint | switch } ] ] } Parameter emergency-number -- Emergency Call Service ELIN identifier, which is used during emergency call setup to a traditional CAMA or ISDN - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 320
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Configure the civic address in the Location Identification TLV's - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 321
T2500-28TC JetStream L2 Managed Switch CLI Guide port -- The Fast/Gigabit Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the LLDP configuration of Fast Ethernet port 1: - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 322
T2500-28TC JetStream L2 Managed Switch CLI Guide show lldp neighbor-information interface [fastEthernet port | gigabitEthernet port] Parameter port -- The Fast/Gigabit Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 323
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 38 Cluster Commands Cluster Management function enables a ) is used to discover the information of the directly connected neighbor devices to support cluster establishing. An NDP-enabled device sends NDP packets regularly to neighbor devices - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 324
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#cluster ndp T2500-28TC(config)#cluster ndp timer hello 50 aging 120 cluster ntdp Description The cluster ntdp command is used to - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 325
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enable NTDP function globally, and specify NTDP Hops as cluster explore command is used to enable the topology information collecting function manually. Syntax cluster explore Command Mode Global Configuration Mode Example Enable the topology - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 326
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enable NDP and NTDP function for Fast Ethernet port 5: T2500-28TC(config)#interface fastEthernet 1/0/5 T2500-28TC(config-if)#cluster ndp enable ntdp enable cluster - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 327
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Configure the newly created cluster name as tp: T2500-28TC(config)#cluster commander tp cluster manage Description The cluster - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 328
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax cluster member {mac-address mac-address} no cluster member {mac-address mac-address} Parameter mac-address -- The MAC address of the member switch desired - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 329
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Specify the current switch as individual switch: T2500-28TC(config)#cluster individual show cluster ndp Description The show cluster ndp command is used to - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 330
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global information of NTDP: T2500-28TC#show cluster ntdp Display the NTDP configuration - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 331
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Display the member information: T2500-28TC#show cluster member show cluster manage role Description The show cluster manage role command is used to display - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 332
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 39 AAA Commands AAA stands for authentication, method list describes the authentication methods and their sequence to authenticate a user. The switch supports Login List for users to gain access to the switch, and Enable List for normal users - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 333
T2500-28TC JetStream L2 Managed Switch CLI Guide tacacs-server host Description The tacacs-server host command is used to configure a new TACACS+ server. To delete the specified TACACS+ server, please use no - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 334
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Configure a TACACS+ server with the IP address as 1.1.1.1, TCP port as 1500, timeout as 6 seconds, and the unencrypted key string as 12345. T2500-28TC( - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 335
T2500-28TC JetStream L2 Managed Switch CLI Guide auth-port port-id -- Specify the UDP destination port for authentication requests. By default it is 1812. acct-port port-id -- Specify the UDP destination - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 336
T2500-28TC JetStream L2 Managed Switch CLI Guide Syntax show radius-server Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of all the RADIUS servers: T2500-28TC(config)# - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 337
T2500-28TC JetStream L2 Managed Switch CLI Guide server Description This server command is used to add the existing server in the defined server group. To remove the specified server from the server - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 338
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)# show aaa group aaa authentication login Description This aaa authentication login command is used to configure a login authentication method list. A method list - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 339
T2500-28TC JetStream L2 Managed Switch CLI Guide aaa authentication enable Description This aaa authentication enable command is used to configure a privilege authentication method list. A method list describes the authentication methods and their - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 340
T2500-28TC JetStream L2 Managed Switch CLI Guide aaa authentication dot1x default Description This aaa authentication dot1x default Parameter method -- Specify the method name. Only RADIUS server group is supported, and the default method is server group "radius". Command Mode Global Configuration - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 341
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Global Configuration Mode Example Configure the default 802.1X accounting method as "radius1": T2500-28TC(config)# aaa accounting dot1x default radius1 show aaa - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 342
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the default 802.1X accounting method list: T2500-28TC(config)# show - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 343
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter method-list -- Specify the login method list on the console port. It is "default" by default, which contains the method "local". Command Mode Line - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 344
T2500-28TC JetStream L2 Managed Switch CLI Guide line telnet Description The line telnet command is used to enter the Line Configuration Mode configure the telnet terminal line to which you want to - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 345
T2500-28TC JetStream L2 Managed Switch CLI Guide T2500-28TC(config)#line telnet T2500-28TC(config-line)# login authentication list1 enable authentication(telnet) Description The enable authentication command is used to apply the - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 346
T2500-28TC JetStream L2 Managed Switch CLI Guide Example Enter the ssh terminal line configuration mode: T2500-28TC(config)#line ssh login authentication(ssh) Description The login authentication command is used to apply - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 347
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter method-list -- Specify the enable method list on the ssh terminal line. It is "default" by default, which contains the method "none". Command Mode - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 348
T2500-28TC JetStream L2 Managed Switch CLI Guide ip http enable authentication Description The ip http enable authentication command is used to apply the privilege authentication method list to users accessing through HTTP. - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 349
T2500-28TC JetStream L2 Managed Switch CLI Guide Chapter 40 DHCP Relay Commands A DHCP Relay is a Layer 3 device that forwards DHCP packets between clients and servers. DHCP Relay forward requests and replies between - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 350
T2500-28TC JetStream L2 Managed Switch CLI Guide Command Mode G lobal C onfiguration Mode Example Add two DHCP option Description The ip dhcp relay information option command is used to enable option 82 support in DHCP Relay. To disable this function, please use no ip dhcp relay information - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 351
T2500-28TC JetStream L2 Managed Switch CLI Guide drop: Discard the packet with the Option 82 field. keep: Keep the Option 82 field in the packet. replace: Replace the option 82 field with - TP-Link T2500-28TCTL-SL5428E | T2500-28TCUN V1 CLI Reference Guide - Page 352
T2500-28TC JetStream L2 Managed Switch CLI Guide Parameter remoteID -- Specify the remote ID, ranging from 1 to 63 characters. Command Mode Global Configuration Mode Example Specify the remote ID as "TP-LINK": T2500-
T2500-28TC (TL-SL5428E)
24-Port 10/100Mbps + 4-Port Gigabit
JetStream L2 Managed Switch
REV1.0.0
1910011797