TP-Link TL-SG2424P TL-SG2424P V1 CLI Reference Guide

TP-Link TL-SG2424P Manual

TP-Link TL-SG2424P manual content summary:

  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 1
    TL-SG2424P 24-Port Gigabit Smart PoE Switch with 4 Combo SFP Slots REV1.0.0 1910010792
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 2
    COPYRIGHT & TRADEMARKS Specifications are subject to change without notice. is a registered trademark of TP-LINK TECHNOLOGIES CO., LTD. Other brands and product names are trademarks or registered trademarks of their respective holders. No part of the specifications may be reproduced
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 3
    the CLI...3 1.2 CLI Command Modes...4 1.3 Security Levels ...6 1.4 Conventions ...6 1.4.1 Format Conventions 6 1.4.2 Special Characters 7 1.4.3 Parameter Format 7 Chapter 2 User Interface 8 enable...8 enable password ...8 disable ...9 configure...9 exit ...10 end ...10 Chapter 3 IEEE 802.1Q VLAN
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 4
    24 lacp port-priority...25 show etherchannel ...25 show etherchannel load-balance 26 show lacp ...26 show lacp sys-id ...27 Chapter 6 User Manage Commands 28 user ...28 user access-control ip-based 29 user access-control mac-based 29 user access-control port-based 30 user max-number ...31 user
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 5
    ip ssh max-client...40 ip ssh download...41 show ip ssh...41 Chapter 9 SSL Commands 43 ip http secure-server...43 ip http secure-server download certificate 43 ip http secure-server download key 44 show ip Configuration Commands 53 system-time manual ...53 system-time ntp firmware upgrade ...61 IV
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 6
    ping ...61 tracert ...62 loopback interface ...63 show system-time...63 show system-time dst ...64 show system-time ntp...64 show system-info...65 show cable-diagnostics interface 65 Chapter 12 Ethernet Configuration Commands 66 interface gigabitEthernet...66 interface range gigabitEthernet 66
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 7
    monitor session ...86 Chapter 15 Port Isolation Commands 87 port isolation ...87 show port isolation interface 87 Chapter 16 Loopback Commands 94 ip dhcp filtering ...94 ip dhcp filtering trust ...94 show ip dhcp filtering ...95 show ip dhcp filtering interface 95 Chapter 18 PoE Commands 96
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 8
    power inline supply ...102 power inline profile ...102 power inline time-range ...103 show power inline...103 show power inline configuration interface 104 show power inline information interface 104 show power profile ...105 show power holiday ...105 show power time-range ...105 Chapter 19 MSTP
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 9
    130 show ip igmp snooping interface 130 show ip igmp snooping vlan 131 show ip igmp snooping multi-vlan 132 show ip igmp snooping groups 132 show ip igmp snooping filter 133 Chapter 21 SNMP Commands 134 snmp-server ...134 snmp-server view ...134 snmp-server group ...135 snmp-server user ...136
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 10
    show rmon history ...146 show rmon event ...147 show rmon alarm...147 Chapter 22 LLDP Commands 149 lldp ...149 lldp hold-multiplier...149 lldp timer...150 lldp med-fast-count ...151 lldp receive ...151 lldp transmit ...152 lldp snmp-trap...152 lldp tlv-select...153 lldp med-location ...154 lldp med
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 11
    TL-SG2424P 24-Port Gigabit Smart PoE Switch with 4 Combo SFP Slots. Overview of this Guide Chapter 1: Using the CLI Provide information about how to use the CLI, CLI Command Modes, Security Levels and some Conventions. Chapter 2: User Interface Provide information about the commands used to switch
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 12
    enthernet ports. Chapter PoE function. Chapter 19: MSTP Commands Provide information about the commands used for configuring the MSTP (Multiple Spanning Tree Protocol). Chapter 20: IGMP Commands Provide information about the commands used for configuring the IGMP Snooping (Internet Group Management
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 13
    1.1 Accessing the CLI  You can log on to the switch and access the CLI by logging on to the switch remotely by a Telnet through an Ethernet port. To log on to the switch by a Telnet connection, please take the following steps: 1. Make sure the switch and the PC are in the same LAN. 2. Click Start
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 14
    4. Type "telnet 192.168.0.1" in the command prompt shown as Figure 1-3, and press the Enter button. Figure 1-3 Connecting to the Switch 5. Type the User name and Password (the factory default value for both of them is admin) and press the Enter button, then you can use the CLI now, which is shown as
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 15
    it is connected with the switch. TL-SG2424P> Logout or Access the next mode Use the exit command to disconnect the switch. Use the enable command to access Privileged EXEC mode. Privileged EXEC Mode Use the enable command to enter this mode from User EXEC mode. TL-SG2424P# Enter the disable or
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 16
    the commands history. 1.3 Security Levels This switch's security is divided into two levels: User level and Admin level. User level only allows users to do some simple operations in User EXEC Mode; Admin level allows you to monitor, configure and manage the switch in Privileged EXEC Mode, Global
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 17
    as follows:  MAC Address must be entered in the format of xx:xx:xx:xx:xx:xx  One or several values can be typed for a port-list or a vlan-list using comma to separate. Use a hyphen to designate a range of values, for instance 1, 3-5,7 indicates choosing 1,3,4,5,7.  The
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 18
    to access Privileged EXEC Mode from User EXEC Mode: TL-SG2424P> enable Enter password: TL-SG2424P# enable password Description The enable password command is used to set the password for users to access Privileged EXEC Mode from User EXEC Mode. To return to the default configuration, please use no
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 19
    EXEC Mode from Privileged EXEC Mode. Syntax disable Command Mode Privileged EXEC Mode Example Return to User EXEC Mode from Privileged EXEC Mode: TL-SG2424P# disable TL-SG2424P> configure Description The configure command is used to access Global Configuration Mode from Privileged EXEC Mode. Syntax
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 20
    Mode Example Return to Global Configuration Mode from Interface Configuration Mode, and then return to Privileged EXEC Mode: TL-SG2424P (config-if)# exit TL-SG2424P(config)# exit TL-SG2424P# end Description The end command is used to return to Privileged EXEC Mode. Syntax end Command Mode Any
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 21
    (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: TL-SG2424P(config)# vlan 2-10,100 Delete VLAN 2: TL-SG2424P(config)# no vlan 2 interface vlan Description The interface
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 22
    contains 16 characters at most. Command Mode VLAN Configuration Mode (VLAN) Example Specify the name of VLAN 2 as "group1": TL-SG2424P(config)# vlan 2 TL-SG2424P(config-vlan)# name group1 switchport mode Description The switchport mode command is used to configure the Link Type for the ports. 12
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 23
    Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Specify the Link Type of port 3 as trunk: TL-SG2424P(config)# interface gigabitEthernet 1/0/3 TL-SG2424P(config-if)# switchport mode trunk switchport access vlan Description The switchport access
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 24
    gigabitEthernet / interface range gigabitEthernet) Example Specify the Link Type of port 2 as trunk and add it to VLAN 2: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P(config-if)# switchport mode trunk TL-SG2424P(config-if)# switchport trunk allowed vlan 2 switchport general
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 25
    range gigabitEthernet) Example Specify the Link Type of port 4 as "general", then add it to VLAN 2 and configure the egress rule of port 4 as "tagged": TL-SG2424P(config)# interface gigabitEthernet 1/0/4 TL-SG2424P(config-if)# switchport mode general TL-SG2424P(config-if)# switchport general allowed
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 26
    Mode Example Display the brief information of IEEE 802.1Q VLAN: TL-SG2424P(config)# show vlan brief show vlan Description The show vlan command is used to display the detailed information of the specified IEEE 802.1Q VLAN. By default, the detailed information of all vlans will be displayed. Syntax
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 27
    Example Display the detailed information of all VLANs: TL-SG2424P(config)# show vlan Display the detailed information of VLAN 2: TL-SG2424P(config)# show vlan id 2 Display the detailed information of VLAN 3-10: TL-SG2424P(config)# show vlan id 3-10 17
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 28
    data stream. By configuring Voice VLANs and adding the ports with voice devices attached to voice VLANs, you can perform TL-SG2424P(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. To restore to the default
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 29
    ) to be set for the Voice VLAN. It ranges from 1 to 43200 and the default value is 1440. Command Mode Global Configuration Mode Example Set the aging time for the Voice VLAN as 1 minute: TL-SG2424P(config)# voice vlan aging time 1 voice vlan priority Description The voice vlan priority command is
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 30
    00: TL-SG2424P(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 configure the Voice VLAN mode for the Ethernet port. Syntax switchport voice vlan mode { manual | auto
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 31
    Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable port 3 for the Voice VLAN security feature: TL-SG2424P(config)# interface gigabitEthernet 1/0/3 TL-SG2424P(config-if)# switchport voice vlan security show voice vlan Description The show
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 32
    Privileged EXEC Mode and Any Configuration Mode Example Display the Voice VLAN configuration information of all ports: TL-SG2424P(config)# show voice vlan switchport Display the Voice VLAN configuration information of port 2: TL-SG2424P(config)# show voice vlan switchport gigabitEthernet 1/0/2 22
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 33
    link aggregation and disaggregation by exchanging LACP packets with its partner. The switch can dynamically group similarly configured ports into a single logical link ports 2-4 to EtherChannel Group 1 and enable the static LAG: TL-SG2424P(config)# interface range gigabitEthernet 1/0/2-4 TL-SG2424P(
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 34
    Arithmetic for LAG as "src-dst-mac": TL-SG2424P(config)# port-channel load-balance src-dst-mac lacp system-priority Description The lacp system-priority command is used to configure the LACP system priority globally. To return to the default configurations, please use no lacp system-priority
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 35
    priority as 1024 globally: TL-SG2424P(config)# lacp system-priority 1024 lacp port-priority Description The lacp port-priority command is used to configure the LACP port priority for specified ports. To return to the default configurations, please use no lacp port-priority command. Syntax lacp
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 36
    group-num ii The EtherChannel Group number, ranging from 1 to 8. By default, it is empty, and will display the information of all EtherChannel Groups. Configuration Mode Example Display the Aggregate Arithmetic of LAG: TL-SG2424P(config)# show etherchannel load-balance show lacp Description The show
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 37
    ii The EtherChannel Group number, ranging from 1 to 8. By default, it is empty, and will display the information of all and Any Configuration Mode Example Display the internal LACP information of EtherChannel Group 1: TL-SG2424P(config)# show lacp 1 internal show lacp sys-id Description The show lacp
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 38
    It is "admin" by default. disable | enable --Enable/disable the user. The new added user is enabled by default. Command Mode Global Configuration Mode Example Add and enable a new admin user named tplink, of which the password is password: TL-SG2424P(config)# user tplink password password type admin
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 39
    Mode Global Configuration Mode Example Enable the access-control of the user whose IP address is 192.168.0.148: TL-SG2424P(config)# user access-control ip-based 192.168.0.148 255.255.255.255 user access-control mac-based Description The user access-control mac-based command is used to limit the MAC
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 40
    :0A:00:01 is allowed to login: TL-SG2424P(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 is used to limit the ports for login. Only the users connected to these ports you set here are allowed to login. To
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 41
    as 5 and 3: TL-SG2424P(config)# user max-num 5 3 user idle-timeout Description The user idle-timeout command is used to configure the timeout time of the switch. To restore to the default timeout time, please use no user idle-timeout command. Syntax user idle-timeout minutes no user idle-timeout 31
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 42
    5 to 30 in minutes. The value is 10 by default. Command Mode Global Configuration Mode Example Configure the timeout time of the switch as 15 minutes: TL-SG2424P(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 TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 43
    Example Display the security configuration information of the users: TL-SG2424P(config)# show user configuration 33
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 44
    logging buffer command. It will be lost when the switch is restarted. Syntax logging buffer level no logging buffer default, it is 7 indicating that all the log information will be saved in the log buffer. Command Mode Global Configuration Mode Example Set the severity level as 6: TL-SG2424P
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 45
    log file will not be lost after the switch is restarted and can be got by the show default, it is 4 indicating that the log information marked with 0~4 will be saved in the log buffer. Command Mode Global Configuration Mode Example Enable the log file function and set the severity as 7: TL-SG2424P
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 46
    be sent to the corresponding log host. By default, it is 6 indicating that the log information marked with 0~6 will be sent to the log host. Command Mode Global Configuration Mode Example Set the IP address as 192.168.0.148, the level 5: TL-SG2424P(config)# logging host index 2 192.168.0.148 5 36
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 47
    will be displayed, ranging from 1 to 4. Display the configuration of all the log hosts by default. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of the log host 2: TL-SG2424P(config)# show logging loghost 2 show logging buffer Description 37
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 48
    display. Display all the log information in the log buffer by default. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the log information from level 0 to level 5 in the log buffer: TL-SG2424P(config)# show logging buffer level 5 show logging flash Description The show
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 49
    the management information. ip ssh server Description The ip ssh server command is used to enable SSH function. To disable the SSH function, please use no ip ssh server command. Syntax ip ssh server no ip ssh server Command Mode Global Configuration Mode Example Enable the SSH function: TL-SG2424P
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 50
    Example Enable SSH v2: TL-SG2424P(config)# ip ssh version v2 ip ssh timeout Description The ip ssh timeout command is used to specify the idle-timeout time of SSH. To restore to the factory defaults, please use ip ssh timeout command. Syntax ip ssh timeout value no ip ssh timeout Parameter value ii
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 51
    Mode Example Download a SSH-1 type key file named ssh-key from TFTP server with the IP Address 192.168.0.148: TL-SG2424P(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 the global configuration of SSH. Syntax show
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 52
    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of SSH: TL-SG2424P(config)# show ip ssh 42
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 53
    Example Enable the SSL function: TL-SG2424P(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-server download certificate
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 54
    of 192.168.0.146: TL-SG2424P(config)# ip http secure-server download certificate ssl-cert ip-address 192.168.0.146 ip http secure-server download key Description The ip http secure-server download key command is used to download a SSL key to the switch from TFTP server. Syntax ip http secure-server
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 55
    server Description The show ip http secure-server command is used to display the global 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: TL-SG2424P(config)# show ip http secure-server
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 56
    the Port Security and maintaining the address information by managing the Address manually, independent of the aging time. In the stable networks, the static MAC address entries can facilitate the switch :02:58:4f:6c:23, VLAN1 and port 1 together: TL-SG2424P(config)# mac address-table static mac 00:
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 57
    . It is 300 by default. Command Mode Global Configuration Mode Example Configure the aging time as 500 seconds: TL-SG2424P(config)# mac address-table 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 TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 58
    TL-SG2424P(config)# mac address-table filtering mac 00:1e:4b:04:01:5d vid 1 mac address-table max-mac-count Description The mac address-table max-mac-count command is used to configure the Port Security. To return to the default manually. The learned entries will be cleared after the switch is
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 59
    Static mode as the learn mode, and specify the maximum number of MAC addresses that can be learned on this port as 30: TL-SG2424P(config)# interface gigabitEthernet 1/0/1 TL-SG2424P(config-if)# mac address-table max-mac-count max-number 30 mode static status enable show mac address-table address
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 60
    Mode and Any Configuration Mode Example Display the security configuration of all ports: TL-SG2424P(config)# show mac address-table max-mac-count interface gigabitEthernet Display the security configuration of port 1: TL-SG2424P(config)# show mac address-table max-mac-count interface gigabitEthernet
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 61
    Configuration Mode Example Display the address configuration of port 1: TL-SG2424P(config)# show mac address-table interface gigabitEthernet 1/0/1 Any Configuration Mode Example Display the total amount of MAC address table: TL-SG2424P(config)# show mac address-table mac-num show mac address-table
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 62
    vlan vid Parameter vid iiThe specified VLAN id. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the MAC address configuration of vlan 1: TL-SG2424P(config)# show mac address-table vlan 1 52
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 63
    time as 02/14/2012- 12:30:00: TL-SG2424P(config)# system-time manual 02/14/2012-12:30:00 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 GMT automatically if it has connected to
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 64
    GMT+13 ii TimeZone for Nuku'alofa. ntp-server ii The IP Address for the Primary NTP Server. backup-ntp-server ii The IP Address for the Secondary NTP Server. fetching-rate ii Specify the .163, the fetching-rate is 11 hours: TL-SG2424P(config)# system-time ntp GMT-12 133.100.9.2 139.79.100.163 11 54
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 65
    mode, with four options: USA, Australia, Europe and New-Zealand. By default, the setting is "Europe". The DST time periods which the four Global Configuration Mode Example Configure the DST period of the switch as Europe: TL-SG2424P(config)# system-time dst predefined Europe system-time dst date
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 66
    of value depends and the default value is 60 minutes. It is optional. Command Mode Global Configuration Mode Example Configure the DST start time as 00:00 am on April 1st, the end time as 00:00 am on October 1st and the offset as 30 minutes: TL-SG2424P(config)# system-time dst
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 67
    and the default value is 60 minutes. It is optional. Command Mode Global Configuration Mode Example Specify the DST start time of the switch as 2:00 am on the first Sunday in May, the end time as 2:00 am on the last Sunday in October and the offset as 45 minutes: TL-SG2424P(config
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 68
    It is "SHENZHEN" by default. Command Mode Global Configuration Mode Example Configure the system location as SHENZHEN: TL-SG2424P(config)# location SHENSHEN contact-info of 32 characters at most. It is "www.tp-link.com" by default. Command Mode Global Configuration Mode Example Configure the system
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 69
    TL-SG2424P(config)# contact-info www.tp-link.com reset Description The reset command is used to reset the switch's software. After resetting, all configuration of the switch will restore to the factory defaults and your current settings will be lost. Syntax reset Command Mode Privileged EXEC Mode
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 70
    .0.148 and name this file config.cfg: TL-SG2424P# copy startup-config tftp ip-address 192.168.0.148 filename config.cfg copy tftp startup-config Description The copy tftp startup-config command is used to download the configuration file to the switch from TFTP server. Syntax copy tftp startup-config
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 71
    the IP 192.168.0.148: TL-SG2424P# copy startup-config tftp ip-address 192.168.0.148 filename config.cfg firmware upgrade Description The firmware upgrade command is used to upgrade the switch system file via the TFTP server. Syntax firmware upgrade ip-address ip-addr filename name Parameter ip-addr
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 72
    and the network device with the IP 192.168.0.131, please specify the count (-l) as 512 bytes 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: TL-SG2424P# ping 192.168.0.131
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 73
    IP 192.168.0.131. If the destination device has not been found after 20 maxHops, the connection between the switch and the destination device is failed to establish: TL-SG2424P# tracert 192.168.0.131 20 loopback interface Description The loopback interface command is used to test whether the port
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 74
    Syntax show system-time dst Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the DST time information of the switch TL-SG2424P# show system-time dst show system-time ntp Description The show system-time ntp command is used to display the NTP mode configuration information
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 75
    the trouble spot of the network. Syntax show cable-diagnostics interface gigabitEthernet port Parameter port ii The number of the port which is selected for Cable test. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Show the cable-diagnostics of port 3: TL-SG2424P# show
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 76
    . Command Mode Global Configuration Mode Example To enter the Interface gigabitEthernet Configuration Mode and configure port 2: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 interface range gigabitEthernet Description The interface range gigabitEthernet command is used to enter the interface
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 77
    16 characters. Command Mode Interface Configuration Mode (interface gigabitEthernet) Example Add a description "Port #5" to port 5: TL-SG2424P(config)# interface gigabitEthernet 1/0/5 TL-SG2424P(config-if)# description Port#5 shutdown Description The shutdown command is used to disable an Ethernet
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 78
    Enable the flow-control function for port 3: TL-SG2424P(config)# interface gigabitEthernet 1/0/3 TL-SG2424P(config-if)# flow-control duplex Description The duplex command is used to configure the Duplex Mode for an Ethernet port. To return to the default configuration, please use no duplex command
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 79
    the Duplex Mode as full-duplex for port 3: TL-SG2424P(config)# interface gigabitEthernet 1/0/3 TL-SG2424P(config-if)# duplex full speed Description The speed command is used to configure the Speed Mode for an Ethernet port. To return to the default configuration, please use no speed command. Syntax
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 80
    function allows the switch to filter broadcast default, the value is "128K". Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the broadcast control function for port 5: TL-SG2424P(config)# interface gigabitEthernet 1/0/5 TL-SG2424P
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 81
    will be discarded. By default, the value is "128K". Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the unicast control function for port 5: TL-SG2424P(config)# interface gigabitEthernet 1/0/5 TL-SG2424P(config-if)# storm-control
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 82
    / interface range gigabitEthernet) Example Configure the ingress-rate as 5120Kbps and egress-rate as 1024Kbps for port 5: TL-SG2424P(config)# interface gigabitEthernet 1/0/5 TL-SG2424P(config-if)# bandwidth ingress 5120 egress 1024 clear counters Description The clear counters command is used to
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 83
    EXEC Mode and Any Configuration Mode Example Display the connective-status of all ports: TL-SG2424P(config)# show interface status Display the connective-status of port 1: TL-SG2424P(config)# show interface gigabitEthernet 1/0/1 status show interface counters Description The show interface counters
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 84
    EXEC Mode and Any Configuration Mode Example Display the description of all Ethernet ports: TL-SG2424P(config)# show interface description Display the description of port 2: TL-SG2424P(config)# show interface gigabitEthernet 1/0/2 description show interface flowcontrol Description The show interface
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 85
    EXEC Mode and Any Configuration Mode Example Display the configurations of all Ethernet ports: TL-SG2424P(config)# show interface configuration Display the configurations of port 2: TL-SG2424P(config)# show interface gigabitEthernet 1/0/2 configuration show storm-control Description The show storm
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 86
    { gigabitEthernet port | range gigabitEthernet port-list }] Parameter port ii The Ethernet port number. port-list ii The list of the Ethernet ports. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the bandwidth-limit information of port 4: TL-SG2424P(config)# show
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 87
    service experience of a better quality. qos Description The qos command is used to configure CoS (Class of Service) based on port. To return to the default 802.1P. Example Configure the priority of port 5 as 3: TL-SG2424P(config)# interface gigabitEthernet 1/0/5 TL-SG2424P(config-if)# qos 3 qos dscp
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 88
    Priority and CoS value: TL-SG2424P(config)# qos dscp 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 802.1Q tag, CoS value and the TC egress queue. To return to the default configuration, please use no
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 89
    User Guidelines 1. By default, the mapping relation between tag/cos and the egress queue is: 0-TC1, 1-TC0, 2-TC0, 3-TC1, 4-TC2, 5-TC2, 6-TC3, 7-TC3 2. Among the priority levels TC0-TC3, the bigger value, the higher p r i o r i t y. Example Map CoS 5 to TC 2.: TL-SG2424P(config)# qos queue cos-map 5
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 90
    User Guidelines By default, the mapping relation between tag and the egress queue is: (0-7)-CoS 0, (8-15)-CoS 1, (16-23)-CoS 2, (24-31)-CoS 3, (32-39)-CoS 4, (40-47)-CoS 5, (48-55)-CoS 6, (56-63)-CoS 7. Example Map DSCP values 10-12 to CoS 2: TL-SG2424P this mode, the switch provides two scheduling
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 91
    EXEC Mode and Any Configuration Mode Example Display the configuration of QoS for port 5: TL-SG2424P# show qos interface gigabitEthernet 1/0/5 Display the configuration of QoS for ports 1-4: TL-SG2424P# show qos interface range gigabitEthernet 1/0/1-4 show qos cos-map Description The show qos
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 92
    EXEC Mode and Any Configuration Mode Example Display the configuration of IEEE 802.1P Priority and the mapping relation between cos-id and tc-id: TL-SG2424P# show qos cos-map show qos dscp-map Description The show qos dscp-map command is used to display the configuration of DSCP Priority. Syntax
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 93
    . Syntax show qos status Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the status of IEEE 802.1P priority and DSCP priority: TL-SG2424P# show qos status 83
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 94
    ii The monitor session number, ranging from 1 to 4. port ii The Ethernet port number. Command Mode Global Configuration Mode Example Create monitor session 1 and configure port 1 as the monitoring port: TL-SG2424P(config)# monitor session 1 destination interface gigabitEthernet 1/0/1 Delete the
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 95
    not limited, but it can't be the monitoring port at the same time. 3. Whether 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
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 96
    rx Delete port 4 in monitor session 1 and its configuration: TL-SG2424P(config)# no default, the monitoring configuration of all monitor sessions is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the monitoring configuration of monitor session 1: TL-SG2424P
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 97
    port list of port 5: TL-SG2424P(config)# interface gigabitEthernet 1/0/5 TL-SG2424P(config-if)# port isolation gi-forward-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: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 98
    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: TL-SG2424P# show port isolation interface gigabitEthernet 1/0/2 Display the forward-list of all Ethernet ports: TL-SG2424P# show port isolation
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 99
    Enable the loopback detection function globally: TL-SG2424P(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 TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 100
    time Parameter recovery-time ii The time after which the blocked port would automatically recover to normal status, and the loopback detection and the default value is 3. Command Mode Global Configuration Mode Example Configure the recovery-time as 3 times of detection interval: TL-SG2424P(config)#
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 101
    Configure the loopback detection process-mode as port-based and recovery-mode as manual for port 2: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P(config-if)# loopback-detection config process-mode port-based recovery-mode manual loopback-detection recover Description The loopback
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 102
    Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Recover the blocked port 2 to normal status: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P(config-if)# loopback-detection recover show loopback-detection global Description The show
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 103
    Mode Example Display the configuration of loopback detection function and the status of all ports: TL-SG2424P# show loopback-detection interface Display the configuration of loopback detection function and the status of port 5: TL-SG2424P# show loopback-detection interface gigabitEthernet 1/0/5 93
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 104
    Mode Global Configuration Mode Example Enable the DHCP Filtering: TL-SG2424P(config)# ip dhcp filtering ip dhcp filtering trust Description The ip dhcp filtering trust command is used to configure a port to be a Trusted Port. Only the trusted ports can receive DHCP packets from DHCP servers. To turn
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 105
    to be a trusted port: TL-SG2424P(config)#interface gigabitEthernet 1/0/1 TL-SG2424P(config-if)#ip dhcp filtering trust show ip dhcp filtering Description The show ip dhcp filtering command is used to display the running status of DHCP Filtering. Syntax show ip dhcp filtering Command Mode Privileged
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 106
    power-limit Parameter power-limit iiThe max power the PoE switch can supply, ranging from 1 to 180w. By default, the value is 180. Command Mode Global Configuration Mode Example Configure the max power the PoE switch can supply as 160w: TL-SG2424P(config)# power inline consumption 160 power profile
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 107
    priority is "low" and the power limit is "5w": TL-SG2424P(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 and enter Power Time-range Create Configuration Mode. After
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 108
    time-range name no power time-range name Parameter name ii 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: TL-SG2424P(config)# power time-range tRange1 power holiday Description The power
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 109
    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: TL-SG2424P(config)# power time-range tRange1 TL-SG2424P(config-pwr-time-range)# absolute start 05/05/2012 end 10/05/2012
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 110
    is the default 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: TL-SG2424P(config
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 111
    by the PoE switch. "Class1" represents 4w. "Class2" represents 7w. "Class3" represents 15.4w. "Class4" represents 30w. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Configure the power limit as "5w" for port 2: TL-SG2424P(config
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 112
    | disable -- The PoE status of the port. By default, the PoE status is "enable". Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the PoE feature for port 2: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P(config-if
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 113
    Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Bind the PoE profile named "IP Camera" to port 2: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P(config-if)# power inline profile "IP Camera" power inline time-range Description The power inline time-range
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 114
    . Syntax show power inline configuration interface [ gigabitEthernet port ] Parameter port -- The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the PoE configuration of all ports: TL-SG2424P# show power inline configuration interface show power
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 115
    Example Display the PoE information of all ports: TL-SG2424P# show power inline information interface show power profile Description The show power profile command is used to display the defined PoE profile. Syntax show power profile Command Mode Privileged EXEC Mode and Any Configuration Mode
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 116
    show power time-range Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of PoE time-range: TL-SG2424P# show power time-range 106
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 117
    .1s, can disbranch a ring network. STP is to block redundant links and backup links as well as optimize paths. spanning-tree (global) Description The spanning : TL-SG2424P(config)# spanning-tree spanning-tree (interface) Description The spanning-tree command is used to enable STP function for a port.
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 118
    TL-SG2424P(config-if)# spanning-tree spanning-tree common-config Description The spanning-tree common-config command is used to configure the parameters of the ports for comparison in the CIST and the common parameters of all instances. To return to the default configuration, please use no spanning-
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 119
    1/0/1 TL-SG2424P(config-if)# spanning-tree common-config port-priority 64 ext-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. To return to the default configurations
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 120
    default configuration of the corresponding Instance, please use no spanning-tree mst configuration command. Syntax spanning-tree mst configuration no spanning-tree mst configuration Command Mode Global Configuration Mode Example Enter into the MST configuration mode: TL-SG2424P(config)# spanning-
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 121
    ranges from 1 to 32 characters. Command Mode MST Configuration Mode Example Configure the region name of MST as "region1": TL-SG2424P(config)# spanning-tree mst configuration TL-SG2424P(config-mst)# name region1 revision Description The revision command is used to configure the revision level of MST
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 122
    configure its priority as 4096: TL-SG2424P(config)# spanning-tree mst instance 1 priority 4096 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 Instance Port, please use no spanning-tree
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 123
    cost as 2000: TL-SG2424P(config)# interface gigabitEthernet 1/0/1 TL-SG2424P(config-if)# spanning-tree mst instance 1 port-priority 64 cost 2000 spanning-tree priority Description The spanning-tree priority command is used to configure the bridge priority. To return to the default value of bridge
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 124
    TC-BPDUs received by the switch in a TC Protect Cycle. period ii 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: TL-SG2424P(config)# spanning-tree tc-defend
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 125
    reconfigure, ranging from 6 to 40 in seconds. By default, it is 20. Command Mode Global Configuration Mode Example Configure forward-time, hello-time and max-age for Spanning Tree as 16 seconds, 3 seconds and 22 seconds respectively: TL-SG2424P(config)# spanning-tree timer forward-time 16 hello-time
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 126
    specific region before the BPDU is discarded, ranging from 1 to 40 in hop. By default, it is 20. Command Mode Global Configuration Mode Example Configure the max-hops of STP as 30: TL-SG2424P(config)# spanning-tree max-hops 30 spanning-tree bpdufilter Description The spanning-tree bpdufilter command
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 127
    gigabitEthernet 2 TL-SG2424P(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 TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 128
    TL-SG2424P(config-if)# spanning-tree guard root spanning-tree guard tc Description The spanning-tree guard tc command is used to enable the TC Protect of Spanning Tree function for a port. To disable the TC Protect of Spanning Tree function, please use no spanning-tree guard tc command. A switch
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 129
    no spanning-tree guard tc Command Mode Global Configuration Mode Example Enable the TC Protect of Spanning Tree for port 2: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P(config-if)# spanning-tree guard tc spanning-tree mcheck Description The spanning-tree mcheck command is used to
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 130
    Mode Example Display the bridge parameters: TL-SG2424P(config)# show spanning-tree bridge show ports or a specified port. Syntax show spanning-tree interface [ gigabitEthernet port ] [ edge | ext-cost | int-cost | mode | p2p | priority | role | state | status ] Parameter port ii The Ethernet port
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 131
    and Any Configuration Mode Example Display the protect information of all ports: TL-SG2424P(config)# show spanning-tree interface-security Display the protect information of port 1: TL-SG2424P(config)#show spanning-tree gigabitEthernet 1/0/1 Display the interface security bpdufilter information
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 132
    interface [ gigabitEthernet port ]]} Parameter instance-id ii Instance ID desired to show, ranging from 1 to 8. port ii The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the related information of MST Instance 1: TL-SG2424P(config)# show spanning
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 133
    Mode Global Configuration Mode Example Enable IGMP Snooping function: TL-SG2424P(config)# ip igmp snooping ip igmp snooping (interface) Description The ip igmp snooping command is used to enable the IGMP Snooping function for the desired port. To disable the IGMP Snooping function, please use no
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 134
    / interface range gigabitEthernet) Example Enable the Fast Leave function for port 3: TL-SG2424P(config)# interface gigabitEthernet 1/0/3 TL-SG2424P(config-if)# ip igmp snooping immediate-leave ip igmp snooping drop-unknown Description The ip igmp snooping drop-unknown command is used to process the
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 135
    from a host and the switch removing the host from the multicast groups. Leave Time ranges from 1 to 30 in seconds. By default, it is 1. port ii The Ethernet port number. vlan-id ii The VLAN ID of the multicast IP, ranging from 1 to 4094. ip ii The static multicast IP address. port-list ii The list
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 136
    1-3 rtime 300 TL-SG2424P(config)# ip igmp snooping vlan-config 1-3 mtime 200 TL-SG2424P(config)# ip igmp snooping vlan-config 1-2 ltime 15 Add static multicast IP address 225.0.0.1, which correspond to VLAN 2, and configure the forward port as port 1-3: TL-SG2424P(config)# ip igmp snooping vlan
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 137
    . By default, it is 1. port -- The Ethernet port number. Command Mode Global Configuration Mode Example Enable Multicast VLAN 3, and configure Router Port Time as 100 seconds, Member Port Time 100 seconds, Leave Time 3 seconds, and Static Router Port port 3: TL-SG2424P(config)# ip igmp snooping
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 138
    .3.2.1: TL-SG2424P(config)# ip igmp snooping filter 3 225.1.1.1 226.3.2.1 ip igmp snooping filter (interface) Description The ip igmp snooping filter command is used to configure Port Filter. To return to the default configuration, please use no igmp snooping filter command. When the switch receives
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 139
    range gigabitEthernet) Example Enable IGMP Snooping filter function for port 3: TL-SG2424P(config)# interface gigabitEthernet 1/0/3 TL-SG2424P(config-if)# ip igmp snooping filter ip igmp snooping filter maxgroup Description The ip igmp snooping filter maxgroup command is used to specify the
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 140
    IP-range will be processed. By default, the option is "accept". Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Specify the Action Mode as accept for port 3: TL-SG2424P(config)# interface gigabitEthernet 1/0/3 TL-SG2424P(config-if)# ip
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 141
    of all ports: TL-SG2424P# show ip igmp snooping interface gigabitEthernet filter Display the IGMP basic configuration of port 2: TL-SG2424P# show ip igmp snooping interface gigabitEthernet 1/0/2 basic-config Display the IGMP packet statistics of ports 1-4: TL-SG2424P# show ip igmp snooping
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 142
    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Multicast VLAN configuration: TL-SG2424P# show ip igmp snooping multi-vlan show ip igmp snooping groups Description The show ip igmp snooping groups command is used to display the information of all IGMP snooping groups
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 143
    igmp snooping groups vlan 5 count Display the dynamic multicast groups of VLAN 5 TL-SG2424P(config)#show ip igmp snooping groups vlan 5 dynamic Display the static multicast groups of VLAN 5 TL-SG2424P(config)#show ip igmp snooping groups vlan 5 static Display the count of dynamic multicast entries
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 144
    : TL-SG2424P(config)# snmp-server snmp-server view Description The snmp-server view command is used to add View. To delete the corresponding View, please use no snmp-server view command. The OID (Object Identifier) of the SNMP packets is used to describe the managed objects of the switch, and
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 145
    1.3.6.1.6.3.20, and this OID can be managed by the SNMP management station: TL-SG2424P(config)# snmp-server view view1 1.3.6.1.6.3.20 include Security Level compose the identifier of the SNMP Group. These three items of the Users in one group should be the same. smode ii Security Model, with v1av2c
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 146
    Delete group 1: TL-SG2424P(config)# no snmp-server group group1 smode v3 slev authNoPriv snmp-server user Description The snmp-server user command is used to add User. To delete the corresponding User, please use no snmp-server user command. The User in a SNMP Group can manage the switch via the
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 147
    port authentication is performed via SHA (Secure Hash Algorithm). SHA authentication mode has a higher security than MD5 mode. By default the user as MD5, the Authentication Password as 11111, the Privacy Mode as DES, and the Privacy Password as 22222: TL-SG2424P(config)# snmp-server user admin
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 148
    viewDefault: TL-SG2424P(config)# snmp-server community public read-write viewDefault snmp-server host Description The snmp-server host command is used to add Notification. To delete the corresponding Notification, please use no snmp-server host command. Syntax snmp-server host ip udp-port user-name
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 149
    .168.0.146, the UDP port as 162, the User name of the management station as admin, the Security Model of the management station as v2c, the type of the notifications as inform, the maximum time for the switch to wait as 1000 seconds, and the retries time as 100: TL-SG2424P(config)# snmp-server host
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 150
    string used to identify the SNMP engine on the switch. Its length ranges from 10 to 64 hexadecimal TL-SG2424P(config)# snmp-server engineID local 1234567890 remote abcdef123456 rmon history Description The rmon history command is used to configure the history sample entry. To return to the default
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 151
    sample entry, ranging from 1 to 16 characters. By default, it is "monitor". Command Mode Global Configuration Mode Example Configure the sample port as Gi1/0/2 and the sample interval as 100 seconds for the entry 1-3: TL-SG2424P(config)# rmon history 1-3 interface gigabitEthernet 1/0/2 interval 100
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 152
    and the owner of the event as owner1: TL-SG2424P(config)# rmon event 1-4 user user1 description description1 type log owner owner1 rmon alarm Description The rmon alarm command is used to configure SNMP-RMON Alarm Management. To return to the default configuration, please use no rmon alarm command
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 153
    Alarm Management entry, ranging from 1 to 12, in the format of 1-3,5. port ii The Ethernet port number. alarm-variable ii The alarm variable. By default, value that triggers the Falling Threshold alarm, ranging from 1 to 65535. By default, it is 100. f-event -- Fall Event, which is the index of
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 154
    of entries of 1,2 and 3 as port 2, the owners as owner1 and the alarm intervals as 100 seconds TL-SG2424P(config)# rmon alarm 1-3 interface gigabitEthernet 1/0/2 owner owner1 interval 100 show snmp-server Description The show snmp-server command is used to display SNMP configuration globally.
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 155
    Mode and Any Configuration Mode Example Display the Group table: TL-SG2424P# show snmp-server group show snmp-server user Description The show snmp-server user command is used to display the User table. Syntax show snmp-server user Command Mode Privileged EXEC Mode and Any Configuration Mode Example
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 156
    display the Host table. Syntax show snmp-server host Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Host table: TL-SG2424P# 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 TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 157
    select more than one entry for each command. By default, the configuration of all SNMP-RMON enabled entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Event configuration of entry1-4: TL-SG2424P# show rmon event 1-4 show rmon alarm Description The
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 158
    5. You can select more than one entry for each command. By default, the configuration of all Alarm Management entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of the Alarm Management entry 1-2: TL-SG2424P# show rmon alarm 1-2 148
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 159
    Management System (NMS) such as SNMP. lldp Description The lldp command is used to enable LLDP function. To disable the LLDP function, please use no lldp command. Syntax lldp no lldp Command Mode Global Configuration Mode Example Enable LLDP function globally: TL-SG2424P default configuration,
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 160
    to 10. By default, it is 4. Command Mode Global Configuration Mode Example Specify Hold Multiplier as 5: TL-SG2424P(config)# lldp hold local device to network management system. The value ranges from 5 to 3600 and the default value is 5 seconds. fast-count -- When the port's LLDP state transforms
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 161
    . It ranges from 1 to 10. By default, it is 4. Command Mode Global Configuration Mode Example Specify Fast Start Count as 5: TL-SG2424P(config)# lldp med-fast-count 5 lldp receive Description The lldp receive command is used to enable the designated port to receive LLDPDU. To disable the function
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 162
    to transmit LLDPDU: TL-SG2424P(config)# interface gigabitEthernet 1/0/1 TL-SG2424P(config-if)# lldp transmit lldp snmp-trap Description The lldp snmp-trap command is used to enable the port's SNMP notification. If enabled, the port will notify the trap event to network management system. To disable
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 163
    -name | link-aggregation | mac-phy-cfg | max-frame-size | power | all ] Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Exclude "management-address" and "port-vlan-id" TLVs in LLDPDU outgoing from port 1: TL-SG2424P(config)# interface
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 164
    code ] [ what { dhcp-server | endpoint | switch } ] } Parameter emergency-number -- Emergency Call Service ELIN identifier, which is used during emergency call setup of port 2. Configure the language as English and city as London: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P(config
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 165
    -policy] [power-management] [all] } Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Exclude "network policy" and "inventory" TLVs in LLDPDU outgoing from port 2: TL-SG2424P(config)# interface gigabitEthernet 1/0/2 TL-SG2424P(config-if
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 166
    LLDP-MED fast start repeat count number: TL-SG2424P# show lldp show lldp interface Description The show lldp interface command is used to display LLDP and LLDP-MED configuration of the corresponding port. By default, the configuration of all the ports will be displayed. Syntax show lldp interface
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 167
    of port 1: TL-SG2424P# show lldp local-information interface gigabitEthernet 1/0/1 show lldp neighbor-information interface Description The show lldp neighbor-information interface command is used to display the LLDP and LLDP-MED neighbor information of the corresponding port. By default, the
  • TP-Link TL-SG2424P | TL-SG2424P V1 CLI Reference Guide - Page 168
    displayed. Syntax show lldp traffic interface [ gigabitEthernet port ] Parameter port -- The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the LLDP statistic information of port 1: TL-SG2424P# show lldp traffic interface gigabitEthernet 1/0/1 158
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

TL-SG2424P
24-Port Gigabit Smart PoE Switch with 4
Combo SFP Slots
REV1.0.0
1910010792