TP-Link T1500-28PCT TL-SL2428P T1500-28PCT V1 CLI Reference Guide
TP-Link T1500-28PCT TL-SL2428P Manual
View all TP-Link T1500-28PCT TL-SL2428P manuals
Add to My Manuals
Save this manual to your list of manuals |
TP-Link T1500-28PCT TL-SL2428P manual content summary:
- TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 1
T1500-28PCT Smart PoE Switch REV1.0.0 1910011255 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT 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 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 3
Levels ...12 1.4 Conventions...12 1.4.1 Format Conventions 12 1.4.2 Special Characters 13 1.4.3 Parameter Format 13 Chapter 2 User Interface 14 enable ...14 service password-encryption 14 enable password ...15 enable secret...16 disable...17 configure ...17 exit ...17 end ...18 show history - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 4
voice vlan ...25 voice vlan aging time ...25 voice vlan priority...26 voice vlan mac-address...27 switchport voice vlan mode 27 switchport voice vlan security 28 show voice vlan ...28 show voice vlan oui...29 show voice vlan switchport 29 Chapter 5 Etherchannel Commands 31 channel-group ...31 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 5
show mac address-table count 62 show mac address-table address 62 show mac address-table vlan 63 Chapter 11 System Commands 64 system-time manual...64 system-time ntp ...64 system-time dst predefined 66 system-time dst date...67 system-time dst recurring...68 hostname ...69 location...69 IV - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 6
contact-info...70 ip management-vlan...70 ip address...71 ip address-alloc dhcp...71 ip address-alloc bootp...72 reset...72 reboot...73 copy running-config startup-config 73 copy startup-config tftp...74 copy tftp startup-config...74 firmware upgrade...75 ping ...75 tracert...76 loopback interface - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 7
show interface counters...90 show interface description 90 show interface flowcontrol 91 show interface configuration 91 show storm-control ...92 show bandwidth ...92 Chapter 13 QoS Commands 94 qos ...94 qos cos...94 qos dscp...95 qos queue cos-map...96 qos queue dscp-map...96 qos queue mode... - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 8
120 ip dhcp filtering ...120 ip dhcp filtering trust...120 show ip dhcp filtering...121 show ip dhcp filtering interface 121 Chapter 19 PoE Commands 122 power inline consumption (global 122 power profile...122 power time-range...123 power holiday ...124 absolute...125 periodic...125 holiday...126 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 9
show power time-range ...132 Chapter 20 MSTP Commands 133 spanning-tree(global)...133 spanning-tree(interface)...133 spanning-tree common-config 134 spanning-tree mode...135 spanning-tree mst configuration 136 instance...136 name ...137 revision...137 spanning-tree mst instance 138 spanning-tree - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 10
ip igmp snooping filter(global 154 ip igmp snooping filter(interface 154 ip igmp snooping filter maxgroup 155 ip igmp snooping filter mode 156 show ip igmp snooping ...156 show ip igmp snooping interface 157 show ip igmp snooping vlan 157 show ip igmp snooping multi-vlan 158 show ip igmp - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 11
lldp ...180 lldp hold-multiplier...180 lldp timer...181 lldp med-fast-count...182 lldp receive...182 lldp transmit...183 lldp snmp-trap...183 lldp tlv-select...184 lldp med-location ...185 lldp med-status...185 lldp med-tlv-select...186 show lldp ...187 show lldp interface...187 show lldp local- - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 12
Line Interface). The device mentioned in this Guide stands for T1500-28PCT Smart PoE Switch. Overview of this Guide Chapte r 1: Using the CLI Provide information about the commands used for configuring LAG (Link Aggregation Group) and LACP (Link Aggregation Control Protocol).. Chapte r 6: Use r - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 13
ring Commands Provide information about the commands used for configuring the DHCP Filtering function. Chapte r 19: PoE Commands Provide information about the commands used for configuring PoE function. Chapte r 20: M STP Commands Provide information about the commands used for configuring the MSTP - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 14
remotely by a Telnet or SSH connection through an Ethernet port. 1.1.1. Logon by Telnet To log on to the switch by a Telnet connection, please take the following steps: 1. Click Start and type in cmd in the Search programs and files window and press the Enter - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 15
User EXEC Mode , which is shown as Figure 1-3. Figure 1-3 Log in the Switch 4. Type in enable command to enter Privileged EXEC Mode. Figure 1-4 Enter into Priviledged default. Key Authentication Mode: It requires a public key for the switch and a private key for the SSH client software. You can - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 16
Figure 1-5 Enable SSH function Password Authentication Mode 1. Open the software to log on to the interface of PuTTY. Enter the IP address of the switch into Host Name field; keep the default value 22 in the Port field; select SSH as the Connection type. Figure 1-6 SSH Connection Config 2. Click - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 17
Figure 1-7 Log on the Switch Key Authentication Mode 1. Select the key type and key length, and generate SSH key. Figure 1-8 Generate SSH Key Note : 1. The key length is in the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 18
key is successfully generated, please save the public key and private key to a TFTP server. Figure 1-9 Save the Generated Key 3. Log on to the switch by Telnet and download the public key file from the TFTP server to the switch, as the following figure shows: Figure 1-10 Download the Public Key 7 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 19
Note : 1. The key type should accord with the type of the key file. 2. The SSH key downloading can not be interrupted. 4. After the public key is downloaded, please log on to the interface of PuTTY and enter the IP address for login. Figure 1-11 SSH Connection Config 8 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 20
enter the login user name. If you log on to the switch without entering password, it indicates that the key has been successfully downloaded. Figure 1-13 Log on the Switch 1.2 CLI Command Modes The CLI is divided into different command modes: User - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 21
gigabitEthernet Interface link-aggregation Interface range gigabitEthernet Interface range link-aggregation Interface Mode Primary mode once it is connected with the switch. T1500-28PCT> Use the exit command to disconnect the switch. Use the enable command to access Privileged EXEC mode - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 22
mode. T1500-28PCT (config-if)# or T1500-28PCT (config-if-range )# T1500-28PCT (config-v after the connection between the PC and the switch is established by a Telnet/SSH connection. link-aggregation: Configure parameters for a link-aggregation, such as broadcast storm. d). Interface range link - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 23
; Admin level allows you to monitor, configure and manage the switch in Privileged EXEC Mode, Global Configuration Mode, Interface Configuration 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 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 24
1.4.2 Special Characters You should pay attentions to the description below if the variable is a character string: These six characters can not be input. If a blank is contained in a character string, single or double quotation marks should be used, for example 'hello world', "hello world", and - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 25
EXEC Mode Example If you have set the password to access Privileged EXEC Mode from User EXEC Mode: T1500-28PCT>e nable Enter password: T1500-28PCT# service password-encryption Description The service password-encryption command is used to encrypt the password when the password is defined or when the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 26
can copy from another switch's configuration file. After service password-encryption, the password in the configuration file will be displayed in the symmetric encrypted form. Example Set the super password as "admin" and unencrypted to access Privileged EXEC Mode from User EXEC Mode: T1500-28PCT - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 27
-- An MD5 encrypted password with fixed length, which you can copy from another switch's configuration file. After the encrypted password is configured, you should use the corresponding EXEC Mode. The password will be displayed in the encrypted form. T1500-28PCT(config)#enable secret 0 admin 16 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 28
from Privileged EXEC Mode. Syntax configure Command Mode Privileged EXEC Mode Example Access Global Configuration Mode from Privileged EXEC Mode: T1500-28PCT# configure T1500-28PCT(config)# exit Description The exit command is used to return to the previous Mode from the current Mode. Syntax e xit - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 29
Return to Privileged EXEC Mode from Interface Configuration Mode: T1500-28PCT(config-if)#end T1500-28PCT# show 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 show history Command Mode Privileged EXEC - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 30
Example Show the commands you have entered in the current mode: T1500-28PCT (config)# history 1 history clear history Description The clear history command is used to clear any Configuration Mode Example Clear the commands you have entered in the current mode: T1500-28PCT(config)#clear history 19 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 31
VLAN (Virtual Local Area Network) technology is developed for the switch to divide the LAN into multiple logical LANs flexibly. Hosts Mode Example Create VLAN 2-10 and VLAN 100: T1500-28PCT(config)# vlan 2-10,100 Delete VLAN 2: T1500-28PCT(config)# no vlan 2 interface vlan Description The interface - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 32
contains 16 characters at most. Command Mode VLAN Configuration Mode(VLAN) Example Specify the name of VLAN 2 as "group1": T1500-28PCT(config)# vlan 2 T1500-28PCT(config-vlan)# name group1 switchport general allowed vlan Description The switchport general allowed vlan command is used to add the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 33
the type of port 4 as tagged: T1500-28PCT(config)# interface fastEthernet 1/0/4 T1500-28PCT(config-if)# switchport general allowed v lan 2 tagged switchport pvid Description The switchport pvid command is used to configure the PVID for the switch ports. Syntax switchport pvid vlan-id Parameter - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 34
VLAN. Syntax show vlan brief Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the brief information of IEEE 802.1Q VLAN: T1500-28PCT(config)# show vlan brief show vlan Description The show vlan command is used to display the information of IEEE 802.1Q VLAN . Syntax show - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 35
Example Display the information of vlan 5: T1500-28PCT(config)# show vlan 5 show interface switchport Description The show interface switchport command is and Any Configuration Mode Example Display the VLAN configuration information of all ports: T1500-28PCT(config)# show interface switchport 24 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 36
-id -- Specify IEEE 802.1Q VLAN ID, ranging from 2 to 4094. Command Mode Global Configuration Mode Example Enable the Voice VLAN function for VLAN 10: T1500-28PCT(config)#voice vlan 10 voice vlan aging time Description The voice vlan aging time command is used to set the aging time for a voice VLAN - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 37
1 to 43200 and the default value is 1440. Command Mode Global Configuration Mode Example Set the aging time for the Voice VLAN as 1 minute: T1500-28PCT(config)#voice vlan aging time 1 voice vlan priority Description The voice vlan priority command is used to configure the priority for the Voice VLAN - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 38
00:11:11:11:11:11 and the mask address FF:FF:FF:00:00:00: T1500-28PCT(config)#voice vlan mac-address 00:11:11:11:11:11 mask FF:FF:FF:00:00:00 description TP- Phone switchport voice vlan mode Description The switchport voice vlan mode command is used to - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 39
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 operate in the auto voice VLAN mode: T1500-28PCT(config - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 40
show voice vlan oui Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of Voice VLAN OUI: T1500-28PCT(config)#show voice vlan oui show voice vlan switchport Description The show voice vlan switchport command is used to display the configuration - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 41
Configuration Mode Example Display the configuration information of Fast Ethernet port 1 in the Voice VLAN: T1500-28PCT(config)#show v oice vlan switchport fastEthernet 1/0/1 Display the configuration information of all the ports in the Voice VLAN: T1500-28PCT(config)#show voice vlan switchport 30 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 42
link aggregation and disaggregation by exchanging LACP packets with its partner. The switch can dynamically group similarly configured ports into a single logical link 1 and enable the static LAG: T1500-28PCT(config)# interface range fastEthernet 1/0/2-4 T1500-28PCT(config-if-range)# channel-group 1 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 43
destination IP addresses of the packets. Command Mode Global Configuration Mode Example Configure the Aggregate Arithmetic for LAG as "src-dst-mac": T1500-28PCT(config)# port-channel load-balance src-dst-mac lacp system-priority Description The lacp system-priority command is used to configure the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 44
config-if-range)# lacp port-priority 1024 Configure the LACP port priority as 2048 for port 4: T1500-28PCT(config)# interface fastEthernet 1/0/4 T1500-28PCT(config-if)# lacp port-priority 2048 show etherchannel Description The show etherchannel command is used to display the EtherChannel information - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 45
Syntax show etherchannel load-balance Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Aggregate Arithmetic of LAG: T1500-28PCT(config)# show etherchannel load-balance show lacp Description The show lacp command is used to display the LACP information for a specified - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 46
-- The neighbor LACP information. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the internal LACP information of EtherChannel Group 1: T1500-28PCT(config)# show lacp 1 internal show lacp sys-id Description The show lacp sys-id command is used to display the LACP system - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 47
management page with a certain access level so as to protect the settings of the switch from being randomly changed. user name (password) Description The user name command is with fixed length, which you can copy from another switch's configuration file. After the encrypted password is configured, - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 48
unencrypted and the global encryption function is enabled in service password-encryption, the password in the configuration file will user named "tplink", of which the password is "admin" and unencrypted: T1500-28PCT(config)#user name tplink privilege admin password 0 admin user name (secret) - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 49
password with fixed length, which you can copy from another switch's configuration file. Command Mode Global Configuration Mode User Guidelines is "admin". The password will be displayed in the encrypted form. T1500-28PCT(config)#user name tplink privilege admin se cret 0 admin user access-control - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 50
. Command Mode Global Configuration Mode Example Configure that only the user whose MAC address is 00:00:13:0A:00:01 is allowed to login: T1500-28PCT(config)# user access-control mac-based 00:00:13:0A:00:01 user access-control port-based Description The user access-control port-based command - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 51
5 ports at most. Command Mode Global Configuration Mode Example Configure that only the users connected to ports 2-6 are allowed to login: T1500-28PCT(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 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 52
to 30 in minutes. By default, the value is 10. Command Mode Global Configuration Mode Example Configure the timeout time of the switch as 15 minutes: T1500-28PCT(config)# user idle-timeout 15 show user account-list Description The show user account-list command is used to display the information of - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 53
Example Display the information of the current users: T1500-28PCT(config)# show user account-list show user configuration Description The show user and Any Configuration Mode Example Display the security configuration information of the users: T1500-28PCT(config)# show user configuration 42 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 54
buffer function, please use no logging buffer command. Local Log is the log information saved in the switch. It has two output channels, that is, it can be saved to two different positions, log Global Configuration Mode Example Set the severity level as 5: T1500-28PCT(config)# logging buffer 5 43 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 55
of the flash will not be lost after the switch is restarted and can be got by the show logging flash command. Syntax logging file flash no logging file flash Command Mode Global Configuration Mode Example Enable the log file flash function: T1500-28PCT(config)#logging file flash logging file flash - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 56
in the log flash. Command Mode Global Configuration Mode Example Save the log messages with their severities equal or higher than 7 to the flash : T1500-28PCT (config)#logging file flash level 7 logging host index Description The logging host index command is used to configure the Log Host. To clear - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 57
no logging host index idx Parameter idx -- The index of the log host. The switch supports 4 log hosts at most. host-ip -- The IP for the log host. 2 and set its IP address as 192.168.0.148, the level 5: T1500-28PCT(config)# logging host index 2 192.168.0.148 5 clear logging Description The clear - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 58
show logging local-config Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of the Local Log: T1500-28PCT(config)# show logging local-config show logging loghost Description The show logging loghost command is used to display the configuration of the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 59
. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the log information from level 0 to level 5 in the log buffer: T1500-28PCT(config)# show logging buffer level 5 show logging flash Description The show logging flash command is used to display the log information in the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 60
Example Display the log information with the level marked 0~3 in the log file: T1500-28PCT(config)# show logging flash level 3 49 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 61
use no ip ssh server command. Syntax ip ssh server no ip ssh server Command Mode Global Configuration Mode Example Enable the SSH function: T1500-28PCT(config)# ip ssh server ip ssh version Description The ip ssh version command is used to enable the SSH protocol version. To disable the protocol - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 62
the client. By default, this value is 120 seconds. Command Mode Global Configuration Mode Example Specify the idle-timeout time of SSH as 100 seconds: T1500-28PCT(config)# ip ssh timeout 100 ip ssh max-client Description The ip ssh max-client command is used to specify the maximum number of the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 63
server. Command Mode Global Configuration Mode Example Download a SSH-1 type key file named ssh-key from TFTP server with the IP address 192.168.0.148: T1500-28PCT(config)# ip ssh download v1 ssh-key ip-address 192.168.0.148 show ip ssh Description The show ip ssh command is used to display - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 64
Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of SSH: T1500-28PCT(config)# show ip ssh 53 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 65
Global Configuration Mode Example Enable the SSL function: T1500-28PCT(config)# ip http secure-server ip http secure-server download certificate Description The ip http secure-server download certificate command is used to download a certificate to the switch from TFTP server. Syntax ip http secure - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 66
the switch. The length of the name ranges from 1 to 25 characters. The key must be BASE64 encoded. ip-addr -- The IP address of the TFTP server. 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: T1500-28PCT - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 67
configuration of SSL. Syntax show ip http secure-server Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of SSL: T1500-28PCT(config)# show ip http secure-server 56 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 68
be added or removed manually, independent of the aging time. In the stable networks, the static MAC address entries can facilitate the switch to reduce broadcast 6c:23, VLAN1 and port 1 together: T1500-28PCT(config)# mac address-table static 00:02:58:4f:6c:23 vid 1 interface fastEthernet 1/0/1 57 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 69
Global Configuration Mode Example Configure the aging time as 500 seconds: T1500-28PCT(config)# mac address-table aging-time 500 mac address-table package to be forwarded. The filtering address can be added or removed manually, independent of the aging time. Syntax mac address-table filtering mac - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 70
which VLAN ID is 1 and MAC address is 00:1e:4b:04:01:5d: T1500-28PCT(config)# mac address-table filtering 00:1e:4b:04:01:5d v id 1 mac of the aging time and can only be deleted manually. The learned entries will be cleared after the switch is rebooted. When permanent mode is selected, the learned - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 71
as the learn mode, and specify the maximum number of MAC addresses that can be learned on this port as 30: T1500-28PCT(config)# interface fastEthernet 1/0/1 T1500-28PCT(config-if)# mac address-table max-mac-count max-number 30 mode static status enable show mac address-table Description The show - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 72
The Fast/Gigabit Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the security configuration of all Gigabit Ethernet ports: T1500-28PCT(config)# show mac address-table max-mac-count interface gigabitEthernet Display the security configuration of port - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 73
show mac address-table count Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the total amount of MAC address table: T1500-28PCT(config)# show mac address-table count show mac address-table address Description The show mac address-table address command is used to display - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 74
vlan vid Parameter vid --The specified VLAN id. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the MAC address configuration of vlan 1: T1500-28PCT(config)# show mac address-table vlan 1 63 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 75
time is 12/20/2010 17:30:35 T1500-28PCT(config)# system-time manual 12/20/2010-17:30:35 system-time ntp Description The system-time ntp command is used to configure the time zone and the IP address for the NTP Server. The switch will get UTC automatically if it has connected - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 76
UTC-09:00 -- TimeZone for Alaska. UTC-08:00 -- TimeZone for Pacific Time(US Canada). UTC-07:00 -- TimeZone for Mountain Time(US Canada). UTC-06:00 -- TimeZone for Central Time(US Canada). UTC-05:00 -- TimeZone for Eastern Time(US Canada). UTC-04:30 -- TimeZone for Caracas. UTC-04:00 -- TimeZone for - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 77
-12:00, the primary NTP server is 133.100.9.2 and the secondary NTP server is 139.78.100.163, the fetching-rate is 11 hours: T1500-28PCT(config)# system-time ntp UTC-12:00 133.100.9.2 139.79.100.163 11 system-time dst predefined Description The system-time dst predefined command - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 78
Global Configuration Mode Example Configure the daylight saving time from zero clock, Apr 1st to zero clock Oct 1st and the offset is 30 minutes: T1500-28PCT(config)# syste m-time dst date Apr 1 00:00 Oct 1 00:00 30 67 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 79
system-time dst recurring Description The system-time dst recurring command is used to configure the recurring daylight saving time. It can be configured spanning years. To disable DST function, please use no system-time dst command. Syntax system-time dst recurring {sweek} {sday} {smonth} {stime} { - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 80
ranges from 1 to 32 characters. By default, it is the device name, for example "T1500-28PCT". Command Mode Global Configuration Mode Example Configure the system name as TPLINK: T1500-28PCT(config)# hostname TPLINK location Description The location command is used to configure the system location - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 81
Configure the system contact information as www.tp-link.com: T1500-28PCT(config)# contact-info www.tp-link.com ip management-vlan Description The ip management-vlan command is used to configure the IP management VLAN, through which you can log on to the switch. Syntax ip management-vlan vlan-id - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 82
Configure the system IP as 192.168.0.69 and the Subnet Mask as 255.255.255.0 when the management VLAN of the switch is VLAN1: T1500-28PCT(config)# interface vlan 1 T1500-28PCT(config-if)# ip address 192.168.0.69 255.255.255.0 ip address-alloc dhcp Description The ip address-alloc dhcp command is - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 83
Mode Interface Configuration Mode (interface vlan) Example Enable the DHCP Client function when the management VLAN of the switch is VLAN1: T1500-28PCT(config)# interface vlan 1 T1500-28PCT(config-if)# ip address-alloc dhcp ip address-alloc bootp Description The ip address-alloc bootp command is - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 84
To avoid damage, please don't turn off the device while rebooting. Syntax reboot Command Mode Privileged EXEC Mode Example Reboot the switch: T1500-28PCT# reboot copy running-config startup-config Description The copy running-config startup-config command is used to save the current settings. Syntax - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 85
files to TFTP server with the IP 192.168.0.148 and name this file config: T1500-28PCT# copy startup-config tftp ip-address 192.168.0.148 filename config copy tftp startup-config Download the configuration file named as config to the switch from TFTP server with the IP 192.168.0.148: 74 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 86
Specify the name for the firmware file. Command Mode Privileged EXEC Mode Example Upgrade the switch system file named as firmware.bin via the TFTP server with the IP address 192.168.0.148: T1500-28PCT# firmware upgrade ip-address 192.168.0.148 filename firmware.bin ping Description The ping command - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 87
and count (-i) as 1000 milliseconds. If there is not any response after 8 times' Ping test, the connection between the switch and the network device is failed to establish: T1500-28PCT# ping 192.168.0.131 -n 8 -l 512 tracert Description The tracert command is used to test the connectivity of the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 88
# loopback interface gigabitEthernet 1/0/27 internal Do an external-type loopback test for Gigabit Ethernet port 27: T1500-28PCT# loopback interface gigabitEthernet 1/0/27 external show system-info Description The show system-info command is used to display System Description, Device Name, Device - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 89
show system-time command is used to display the time information of the switch. Syntax show system-time Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the time information of the switch T1500-28PCT# show system-time show system-time dst Description The show system-time - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 90
Example Display the NTP mode configuration information of the switch: T1500-28PCT# show system-time ntp show cable-diagnostics interface Description the connection status of the cable connected to the switch, locate and diagnose the trouble spot of the network. Syntax show cable-diagnostics interface - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 91
Example Show the cable-diagnostics of port 3: T1500-28PCT# show cable-diagnostics interface fastEthernet 1/0/3 80 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 92
Command Mode Global Configuration Mode Example To enter the Interface fastEthernet Configuration Mode and configure Fast Ethernet port 2: T1500-28PCT(config)#interface fastEthernet 1/0/2 interface range fastEthernet Description The interface range fastEthernet command is used to enter the interface - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 93
Mode Global Configuration Mode Example To enter the Interface gigabitEthernet Configuration Mode and configure Gigabit Ethernet port 27: T1500-28PCT(config)#interface gigabitEthernet 1/0/27 interface range gigabitEthernet Description The interface range gigabitEthernet command is used to enter the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 94
gigabitEthernet Configuration Mode, and configure Gigabit Ethernet ports 27 and 28 at the same time by adding them to one port-list: T1500-28PCT(config)# interface range gigabitEthernet 1/0/27-28 description Description The description command is used to add a description to the Ethernet port. To - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 95
(interface fastEthernet / interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Disable port 1/0/3: T1500-28PCT(config)# interface fastEthernet 1/0/3 T1500-28PCT(config-if)# shutdown flow-control Description The flow-control command is used to enable the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 96
/ interface gigabitEthernet / interface range gigabitEthernet) Example Configure the media type of Combo port 27T as "SFP": T1500-28PCT(config)# interface gigabitEthernet 1/0/27 T1500-28PCT (config-if)# media-type sfp duplex Description The duplex command is used to configure the Duplex Mode for an - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 97
1/0/3 T1500-28PCT(config-if)# speed 100 storm-control broadcast Description The storm-control broadcast command is used to enable the broadcast control function. To disable the broadcast control function, please use no storm-control broadcast command. Broadcast control function allows the switch to - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 98
/ interface gigabitEthernet / interface range gigabitEthernet) Example Enable the broadcast control function for port 5: T1500-28PCT(config)# interface fastEthernet 1/0/5 T1500-28PCT(config-if)# storm-control broadcast storm-control multicast Description The storm-control multicast command is used - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 99
T1500-28PCT(config-if)# storm-control multicast storm-control unicast Description The storm-control unicast command is used to enable the unicast control function. To disable the unicast control function, please use no storm-control unicast command. Unicast control function allows the switch to - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 100
interface range gigabitEthernet) Example Configure the ingress-rate as 5120Kbps and egress-rate as 1024Kbps for port 5: T1500-28PCT(config)# interface fastEthernet 1/0/5 T1500-28PCT(config-if)# bandwidth ingress 5120 egress 1024 clear counters Description The clear counters command is used to clear - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 101
EXEC Mode and Any Configuration Mode Example Display the connective-status of all ports: T1500-28PCT(config)# show interface status Display the connective-status of port 1: T1500-28PCT(config)# show interface fastEthernet 1/0/1 status show interface counters Description The show interface counters - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 102
EXEC Mode and Any Configuration Mode Example Display the description of all Ethernet ports: T1500-28PCT(config)# show interface description Display the description of port 2: T1500-28PCT(config)# show interface fastEthernet 1/0/2 description show interface flowcontrol Description The show interface - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 103
Ethernet ports. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the storm-control information of port 4, 5, 6, and 7: T1500-28PCT(config)# show storm-control interface range fastEthernet 1/0/4-7 show bandwidth Description The show bandwidth command is used to display the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 104
. port-list -- The list of the Ethernet ports. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the bandwidth-limit information of port 4: T1500-28PCT(config)# show bandwidth interface fastEthernet 1/0/4 93 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 105
optimize the network performance. It provides you with network service experience of a better quality. qos Description The qos ingress port. Example Configure the priority of port 5 as 3: T1500-28PCT(config)# interface fastEthernet 1/0/5 T1500-28PCT(config-if)# qos 3 qos cos Description The qos cos - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 106
classified into the egress queue based on this mapping relation. Example Enable the mapping relation between IEEE 802.1P Priority and egress queue: T1500-28PCT(config)# qos cos qos dscp Description The qos dscp command is used to enable the mapping relation between DSCP Priority and TC egress queue - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 107
TC0, 3-TC1, 4-TC2, 5-TC2, 6-TC3, 7-TC3 2. Among the priority levels T C0-T C3, the bigger value, the higher p r i o r i t y. Example Map tag 5 to TC 2.: T1500-28PCT(config)# qos queue cos-map 5 2 qos queue dscp-map Description The qos queue dscp-map command is used to configure the mapping relation - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 108
-47)-TC 2, (48-63)-TC 3. Example Map DSCP values 10-12 to TC 2: T1500-28PCT(config)# qos queue dscp-map 10-12 2 qos queue mode Description The qos queue mode congested, the problem that many packets compete for resources must be solved, usually in the way of queue scheduling. The switch will control - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 109
sp+wrr -- Strict-Priority + Weight Round Robin Mode. In this mode, the switch provides two scheduling groups, SP group and WRR group. Queues in SP group and WRR Example Specify the Schedule Mode as Weight Round Robin Mode: T1500-28PCT(config)# qos queue mode wrr show qos interface Description The - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 110
and Any Configuration Mode Example Display the configuration of IEEE 802.1P priority and the mapping relation between IEEE 802.1P priority and tc-id: T1500-28PCT# show qos cos-map show qos dscp-map Description The show qos dscp-map command is used to display the configuration of DSCP Priority - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 111
queues. Syntax show qos queue mode Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the schedule rule of the egress queues: T1500-28PCT# show qos queue mode show qos status Description The show qos status command is used to display the status of IEEE 802.1P priority and - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 112
used to analyze the monitored packets for monitoring and troubleshooting the network. monitor session destination interface Description The monitor session 1 and configure port 1 as the monitoring port: T1500-28PCT(config)# monitor session 1 destination interface fastEthernet 1/0/1 Delete the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 113
the monitoring port and monitored ports are in the same VLAN or not is not demanded strictly. 4. The monitoring port and monitored ports cannot be link-aggregation member. Example Create monitor session 1, then configure port 4, 5, 7 as monitored port and enable ingress monitoring: 102 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 114
(config)# monitor session 1 source interface fastEthernet 1/0/4-5,1/0/7 rx Delete port 4 in monitor session 1 and its configuration: T1500-28PCT(config)# no monitor session 1 source interface fastEthernet 1/0/4 rx show monitor session Description The show monitor session command is used to display - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 115
-list 1/0/1-2,1/0/4 Set all Ethernet ports to forward port list of port 2, namely restore to the default setting: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# no port isolation show port isolation interface Description The show port isolation interface command is used to - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 116
show its forward port list, in the format of 1/0/2. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the forward-list of port 2: T1500-28PCT# show port isolation interface fastEthernet 1/0/2 Display the forward-list of all Ethernet ports - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 117
Enable the loopback detection function globally: T1500-28PCT(config)# loopback-detection loopback-detection interval Description The loopback-detection interval command is used to define the interval of sending loopback detection packets from switch ports to network, aiming at detecting network - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 118
100 and the default value is 3. Command Mode Global Configuration Mode Example Configure the recovery-time as 5 times of detection interval: T1500-28PCT(config)# loopback-detection recovery-time 5 loopback-detection(interface) Description The loopback-detection command is used to enable the loopback - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 119
alert | port-based }] [ re covery-mode { auto | manual }] Parameter process-mode -- The mode how the switch processes the detected loops. Ale rt: When a loop is detected, and recovery-mode as manual for port 2: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# loopback- - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 120
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Recover the blocked port 2 to normal status: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# loopback-detection recover show loopback-detection global Description The show loopback-detection - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 121
port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of loopback detection function and the status of all ports: T1500-28PCT# show loopback-detection interface Display the configuration of loopback detection function and the status of port - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 122
ACL is 200-299 and the Combined ACL is 300-399. Command Mode Global Configuration Mode Example Create a standard-IP ACL whose ID is 123: T1500-28PCT(config)# access-list create 123 mac access-list Description The mac access-list command is used to create MAC ACL. To set the detailed configurations - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 123
Example Create a MAC ACL whose ID is 23: T1500-28PCT(config)# mac access-list 23 access-list standard Description The access-list standard command is used to address mask is 255.255.255.0, and the packets match this rule will be forwarded by the switch: T1500-28PCT(config)# access-list create 120 112 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 124
T1500-28PCT(config)# access-list standard 120 rule 10 permit sip 192.168.0.100 smask 255.255.255.0 access-list extended Description The .0.100, the source IP address mask is 255.255.255.0, and the packets match this rule will be forwarded by the switch: T1500-28PCT(config)# access-list create 220 113 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 125
T1500-28PCT(config)# access-list extended 220 rule 11 permit sip 192.168.0.100 smask 255.255.255.0 access-list combined Description The access-list combined command - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 126
.168.0.100 and the source IP address mask is 255.255.255.0, and the packets match this rule will be forwarded by the switch: T1500-28PCT(config)# access-list create 320 T1500-28PCT(config)# access-list combined 320 rule 12 permit smac 11:22:33:44:55:66 smask 11:11:11:11:11:00 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 127
packets match this rule will be forwarded by the switch: T1500-28PCT(config)# mac access-list 20 T1500-28PCT(config-mac-acl)# rule 10 permit smac 00:01 Mode Global Configuration Mode Example Add a Policy named policy1: T1500-28PCT(config)# access-list policy name policy1 access-list policy action - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 128
the above policy is applied. Command Mode Global Configuration Mode Example Add ACL whose ID is 120 to policy1 and create an action for them: T1500-28PCT(config)# access-list policy action policy1 120 access-list bind(interface) Description The access-list bind command is used to bind a policy to - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 129
policy-name -- The name of the policy desired to bind. Command Mode Interface VLAN Mode Example Bind policy1 to VLAN 2: T1500-28PCT(config)# interface vlan 2 T1500-28PCT(config-if)# access-list bind policy1 show access-list Description The show access-list command is used to display configuration of - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 130
-- The Policy Name desired to show. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of a policy named policy1: T1500-28PCT(config)# show access-list policy policy1 show access-list bind Description The show access-list bind command is used to display the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 131
problem. ip dhcp filtering Description The ip dhcp filtering command is used to enable DHCP Filtering function. To disable please use no ip dhcp filtering command. Syntax ip dhcp filtering no ip dhcp filtering Command Mode Global Configuration Mode Example Enable the DHCP Filtering: T1500-28PCT - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 132
. Syntax show ip dhcp filtering Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the running status of DHCP Filtering: T1500-28PCT#show ip dhcp filtering show ip dhcp filtering interface Description The show ip dhcp filtering interface command is used to display the DHCP - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 133
The power inline consumption command is used to configure the max power the PoE switch can supply globally. Syntax power inline consumption power-limit Parameter power-limit --The max power the PoE switch can supply. For T1500-28PCT it ranges from 1 to 180w and the value is 180w. Command Mode Global - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 134
, the PD linked to the port with lower priority will be disconnected. By default, the PoE priority is "low T1500-28PCT(config)# power profile "IP Camera" supply enable priority low consumption 50 power time-range Description The power time-range command is used to create PoE time-range for the switch - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 135
-range name no power time-range name Parameter name -- The PoE time-range name, ranging from 1 to 16 characters. Command Mode Global Configuration Mode Example Create a PoE time-range named "tRange1" for the switch: T1500-28PCT(config)# power time-range tRange1 power holiday Description The power - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 136
Time-range Create Configuration Mode Example Create an absolute mode time-range for the PoE of the switch and specify the date extending from May 5, 2012 through Oct. 5, 2012: T1500-28PCT(config)# power time-range tRange1 T1500-28PCT(config-pwr-time-range)# absolute start 05/05/2012 end 10/05/2012 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 137
option. When PoE holiday occurs, the switch will supply power. Command Mode Power Time-range Create Configuration Mode Example Create a holiday mode time-range for the PoE time-range named "tRange3" and configure PoE time-range of the switch excludes the PoE holiday: T1500-28PCT(config)# power - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 138
you can manually enter a PoE switch. "class1" represents 4w. "class2" represents 7w. "class3" represents 15.4w. "class4" represents 30w. Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet) Example Configure the power limit as "5w" for port 2: T1500-28PCT - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 139
limit, the PD linked to the port with lower priority will be disconnected. By default, the priority level is "low". Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet) Example Configure the PoE priority as "low" for port 2: T1500-28PCT(config)# interface - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 140
Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet) Example Bind the PoE profile named "IP Camera" to port 2: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# power inline profile "IP Camera" power inline time-range Description The - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 141
of the system. Syntax show power inline Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the PoE information of the system: T1500-28PCT# show power inline show power inline configuration interface Description The show power inline configuration interface command is used - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 142
Parameter port -- The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the PoE information of all ports: T1500-28PCT# show power inline information interface show power profile Description The show power profile command is used to display the defined - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 143
power time-range Description The show power time-range command is used to display the configuration of PoE time-range. Syntax show power time-range Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of PoE time-range: T1500-28PCT# show power time-range 132 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 144
, can disbranch a ring network. STP is to block redundant links and backup links as well as optimize paths. spanning-tree(global) Description The Mode Global Configuration Mode Example Enable the STP function: T1500-28PCT(config)# spanning-tree spanning-tree(interface) Description The spanning - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 145
STP function for port 2: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# spanning-tree config command. CIST (Common and Internal Spanning Tree) is the spanning tree in a switched network, connecting all devices in the network. Syntax spanning-tree common-config [ port - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 146
the two ports in the P2P link are root port or designated T1500-28PCT(config-if)# spanning-tree common-config port-priority 64 e xt-cost 100 int-cost 100 portfast enable point-to-point open spanning-tree mode Description The spanning-tree mode command is used to configure the STP mode of the switch - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 147
no spanning-tree mst configuration Command Mode Global Configuration Mode Example Enter into the MST configuration mode: T1500-28PCT(config)# spanning-tree mst configuration T1500-28PCT(Config-mst)# instance Description The instance command is used to configure the VLAN-Instance mapping. To remove - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 148
from 1 to 32 characters. Command Mode MST Configuration Mode Example Configure the region name of MST as "region1": T1500-28PCT(config)# spanning-tree mst configuration T1500-28PCT(config-mst)# name region1 revision Description The revision command is used to configure the revision level of MST - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 149
is an important criterion on determining if the switch will be chosen as the root bridge in the specific instance. Command Mode Global Configuration Mode Example Enable the MST Instance 1 and configure its priority as 4096: T1500-28PCT(config)# spanning-tree mst instance 1 priority 4096 spanning - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 150
range gigabitEthernet) Example Configure the priority of port 1 in MST Instance 1 as 64, and path cost as 2000: T1500-28PCT(config)# interface fastEthernet 1/0/1 T1500-28PCT(config-if)# spanning-tree mst instance 1 port-priority 64 cost 2000 spanning-tree priority Description The spanning-tree - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 151
the TC-BPDUs received by the switch in a TC Protect Cycle. period -- TC Protect Cycle, ranging from 1 to 10 in seconds. By default, it is 5. Command Mode Global Configuration Mode Example Configure TC Threshold as 30 packets and TC Protect Cycle as 10 seconds: T1500-28PCT(config)# spanning-tree tc - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 152
which is the interval to send BPDU packets, and used to test the links. Hello Time ranges from 1 to 10 in seconds and it is Max Age. max-age -- The maximum time the switch can wait without receiving a BPDU before attempting to reconfigure 22 seconds respectively: T1500-28PCT(config)# spanning-tree - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 153
from 1 to 40 in hop. By default, it is 20. Command Mode Global Configuration Mode Example Configure the max-hops of STP as 30: T1500-28PCT(config)# spanning-tree max-hops 30 spanning-tree bpdufilter Description The spanning-tree bpdufilter command is used to enable the BPDU filter function for - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 154
fastEthernet 2 T1500-28PCT(config-if)# spanning-tree bpduguard spanning-tree guard loop Description The spanning-tree guard loop command is used to enable the Loop Protect function for a port. Loop Protect is to prevent the loops in the network brought by recalculating STP because of link failures - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 155
range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable the Loop Protect function for port 2: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# spanning-tree guard loop spanning-tree guard root Description The spanning-tree guard root - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 156
TC-BPDUs. If a malicious user continuously sends TC-BPDUs to a switch, the switch will be busy with removing MAC address entries, which may decrease the TC Protect of Spanning Tree for port 2: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# spanning-tree guard tc spanning- - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 157
| max-age | max-hops | mode | priority | state ] Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the bridge parameters: T1500-28PCT(config)# show spanning-tree bridge show spanning-tree interface Description The show spanning-tree interface command is used to display the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 158
and Any Configuration Mode Example Display the spanning-tree information of all ports: T1500-28PCT(config)# show spanning-tree interface Display the spanning-tree information of port 2: T1500-28PCT(config)# show spanning-tree interface fastEthernet 1/0/2 Display the spanning-tree mode information of - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 159
Mode Example Display the region information and mapping information of VLAN and MST Instance: T1500-28PCT(config)#show spanning-tree mst configuration Display the related information of MST Instance 1: T1500-28PCT(config)#show spanning-tree mst instance 1 Display all the ports information of MST - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 160
Snooping) is a multicast control mechanism running on Layer 2 switch. It can effectively prevent multicast groups being broadcasted in the Command Mode Global Configuration Mode Example Enable IGMP Snooping function: T1500-28PCT(config)# ip igmp snooping ip igmp snooping(interface) Description The - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 161
interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable the Fast Leave function for port 3: T1500-28PCT(config)# interface fastEthernet 1/0/3 T1500-28PCT(config-if)# ip igmp snooping imme diate-leave ip igmp snooping drop-unknown Description The ip - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 162
the operation to process unknown multicast as discard: T1500-28PCT(config)# ip igmp snooping drop-unknown ip 4094, in the format of 1-3, 5. router-time -- Router Port Time. Within this time, if the switch does not receive IGMP query message from the router port, it will consider this port is not a - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 163
1-2: T1500-28PCT(config)# ip igmp snooping v lan-config 1-3 rtime 300 T1500-28PCT(config)# ip igmp snooping v lan-config 1-3 mtime 200 T1500-28PCT(config 4094. router-time -- Router Port Time. Within this time, if the switch does not receive IGMP query message from the router port, it will consider - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 164
between the switch receiving a leave message from a host and the switch removing the T1500-28PCT(config)# ip igmp snooping multi-vlan-config 3 rtime 100 T1500-28PCT(config)# ip igmp snooping multi-vlan-config 3 mtime 100 T1500-28PCT(config)# ip igmp snooping multi-vlan-config 3 ltime 3 T1500-28PCT - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 165
whose ID is 3 as 225.1.1.1~226.3.2.1: T1500-28PCT(config)# ip igmp snooping filter 3 225 switch receives IGMP report message, it examines the multicast filtering IP ID configured on the access port to determine if the port can join the multicast group. If the multicast IP is not filtered, the switch - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 166
the forward port list of the multicast group. Otherwise, the switch will drop the IGMP report message. In that way, you can ) Example Enable IGMP Snooping filter function for port 3: T1500-28PCT(config)# interface fastEthernet 1/0/3 T1500-28PCT(config-if)# ip igmp snooping filter ip igmp snooping - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 167
range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Specify the Action Mode as accept for port 3: T1500-28PCT(config)# interface fastEthernet 1/0/3 T1500-28PCT(config-if)# ip igmp snooping filter mode accept show ip igmp snooping Description The show ip igmp - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 168
and Any Configuration Mode Example Display the IGMP basic configuration of port 2: T1500-28PCT# show ip igmp snooping interface fastEthernet 1/0/2 basic-config Display the IGMP packet statistics of ports 1-4: T1500-28PCT# show ip igmp snooping interface fastEthernet 1/0/1-4 packet-stat show ip igmp - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 169
. Syntax show ip igmp snooping multi-vlan Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Multicast VLAN configuration: T1500-28PCT# show ip igmp snooping multi-vlan show ip igmp snooping groups Description The show ip igmp snooping groups command is used to display - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 170
Privileged EXEC Mode and Any Configuration Mode Example Display the information of all IGMP snooping groups: T1500-28PCT#show ip igmp snooping groups Display all the multicast entries in VLAN 5: T1500-28PCT(config)#show ip igmp snooping groups v lan 5 Display the count of multicast entries in VLAN - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 171
Example Display all the multicast filter address information: T1500-28PCT(config)# show ip igmp snooping filter 160 - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 172
server Command Mode Global Configuration Mode Example Enable the SNMP function: T1500-28PCT(config)# snmp-server snmp-server view Description The snmp-server ) of the SNMP packets is used to describe the managed objects of the switch, and the MIB (Management Information Base) is the set of the OIDs - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 173
Mode Example Add a View named view1, configuring the OID as 1.3.6.1.6.3.20, and this OID can be managed by the SNMP management station: T1500-28PCT(config)# snmp-server view view1 1.3.6.1.6.3.20 include snmp-server group Description The snmp-server group command is used to manage and configure the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 174
management station can receive notification messages of the assigned SNMP view generated by the switch's SNMP agent. Command Mode Global Configuration mode Example Add a group, and View viewDefault can be received by Management station: T1500-28PCT(config)# snmp-server group group1 smode v3 slev - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 175
local | remote -- User Type, with local and remote options. Local indicates that the user is connected to a local SNMP engine, while remote means that the user is connected to a remote SNMP engine. group-name -- The Group Name of the User. The User is classified to the corresponding Group according - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 176
to access. Command Mode Global Configuration Mode Example Add community public, and the community has read-write management right to View viewDefault: T1500-28PCT(config)# snmp-server community public read-write viewDefault snmp-server host Description The snmp-server host command is used to add - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 177
and it will terminate resending the inform request if the resending times reach the specified Retry times. timeout -- The maximum time for the switch to wait for the response from the management station before resending a request, ranging from 1 to 3600 in seconds. Command Mode Global Configuration - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 178
of the notifications as inform, the maximum time for the switch to wait as 1000 seconds, and the retries time as 100: T1500-28PCT(config)# snmp-server host 192.168.0.146 162 admin smode v2c type inform re tries 100 time out 1000 snmp-server engineID Description The snmp- - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 179
fails the authentication. By default, it is enabled. Command Mode Global Configuration Mode Example Enable SNMP standard linkup trap for the switch: T1500-28PCT(config)# snmp-server traps snmp linkup snmp-server traps Description The snmp-server traps command is used to enable SNMP extended traps - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 180
default, the CPU usage threshold of the switch is 80%. flash -- Enable flash trap changed such as user manually modifies the IP address or the switch obtains a new IP trap. It is sent when the switch detects loopback or loopback is cleared. trap for the switch: T1500-28PCT(config)# snmp-server - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 181
is shut down due to the overheating of the PSE chip. Command Mode Global Configuration Mode Example Enable all SNMP PoE-related traps for the switch: T1500-28PCT(config)# snmp-server traps power snmp-server traps mac Description The snmp-server traps mac command is used to enable SNMP extended - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 182
Mode Global Configuration Mode Example Enable all SNMP extended MAC address-related traps for the switch: T1500-28PCT(config)# snmp-server traps mac Enable new MAC address trap only for the switch: T1500-28PCT(config)# snmp-server traps mac new snmp-server traps vlan Description The snmp-server - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 183
Command Mode Global Configuration Mode Example Enable all SNMP extended VLAN-related traps for the switch: T1500-28PCT(config)# snmp-server traps vlan Enable VLAN-created trap only for the switch: T1500-28PCT(config)# snmp-server traps vlan create rmon history Description The rmon history command is - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 184
Example Configure the sample port as Gi1/0/2 and the sample interval as 100 seconds for the entry 1-3: T1500-28PCT(config)# rmon history 1-3 inte rface fastEthernet 1/0/2 interval 100 owner owner1 rmon event Description The rmon event command is used to configure the entries of SNMP- - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 185
T1500-28PCT(config)# rmon event 1-4 use r user1 description description1 type log When the value of a monitored variable exceeds the threshold, an alarm event is generated, which triggers the switch to act in the set way. Syntax rmon alarm index interface { fastEthernet port | gigabitEthernet port } - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 186
Mode Example Configure the port of entries of 1,2 and 3 as port 2, the owners as owner1 and the alarm intervals as 100 seconds T1500-28PCT(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 T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 187
to display the Group table. Syntax show snmp-server group Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Group table: T1500-28PCT# show snmp-server group show snmp-server user Description The show snmp-server user command is used to display the User table. Syntax - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 188
display the Host table. Syntax show snmp-server host Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Host table: T1500-28PCT# show snmp-server host show snmp-server engineID Description The show snmp-server engineID command is used to display the engineID of the SNMP - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 189
sample entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of all history sample entries: T1500-28PCT# show rmon history show rmon event Description The show rmon event command is used to display the configuration of SNMP-RMON Event - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 190
-RMON enabled entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Event configuration of entry1-4: T1500-28PCT# show rmon event 1-4 show rmon alarm Description The show rmon alarm command is used to display the configuration of the Alarm Management - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 191
LLDP function, please use no lldp command. Syntax lldp no lldp Command Mode Global Configuration Mode Example Enable LLDP function globally: T1500-28PCT(config)# lldp lldp hold-multiplier Description The lldp hold-multiplier command is used to configure the Hold Multiplier parameter. The aging time - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 192
Multiplier parameter. It ranges from 2 to 10. By default, it is 4. Command Mode Global Configuration Mode Example Specify Hold Multiplier as 5: T1500-28PCT(config)# lldp hold-multiplier 5 lldp timer Description The lldp timer command is used to configure the parameters about transmission. To return - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 193
Configuration Mode Example Specify the Transmit Interval of LLDPDU as 45 seconds and Trap message to NMS as 120 seconds: T1500-28PCT(config)# lldp timer tx-interval 45 T1500-28PCT(config)# lldp timer notify-interval 120 lldp med-fast-count Description The lldp med-fast-count command is used to - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 194
/ interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable port 1/0/1 to receive LLDPDU: T1500-28PCT(config)# interface fastEthernet 1/0/1 T1500-28PCT(config-if)# lldp receive lldp transmit Description The lldp transmit command is used to enable the - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 195
Enable the SNMP notification for port 1/0/1: T1500-28PCT(config)# interface fastEthernet 1/0/1 T1500-28PCT(config-if)# lldp snmp-trap lldp description | system-name | management-address | port-vlan | protocol-vlan | vlan-name | link-aggregation | mac-phy-cfg | max-frame-size | power | all ] no lldp - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 196
code ] [ what { dhcp-server | endpoint | switch } ] } Parameter emergency-number -- Emergency Call Service ELIN identifier, which is used during emergency call setup as English and city as London: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# lldp med-location civic- - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 197
/ interface range fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) Example Enable the LLDP-MED feature for port 1/0/2: T1500-28PCT(config)# interface fastEthernet 1/0/2 T1500-28PCT(config-if)# lldp me d-status lldp med-tlv-select Description The lldp med-tlv-select command - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 198
Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of LLDP and LLDP-MED fast start repeat count number: T1500-28PCT# show lldp show lldp interface Description The show lldp interface command is used to display LLDP and LLDP-MED configuration of the corresponding - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 199
Mode Privileged EXEC Mode and Any Configuration Mode Example Display the LLDP and LLDP-MED local information of port 1: T1500-28PCT# show lldp local-information interface fastEthernet 1/0/1 show lldp neighbor-information interface Description The show lldp neighbor-information interface command - TP-Link T1500-28PCT TL-SL2428P | T1500-28PCT V1 CLI Reference Guide - Page 200
Example Display the LLDP and LLDP-MED neighbor information of port 1/0/1: T1500-28PCT# show lldp neighbor-information interface fastEthernet 1/0/1 show lldp traffic interface Description The show lldp traffic interface command is used to display the LLDP statistic information
T1500-28PCT
Smart PoE Switch
REV1.0.0
1910011255