TP-Link TL-SG5412F TL-SG5428 V1 CLI Reference Guide

TP-Link TL-SG5412F Manual

TP-Link TL-SG5412F manual content summary:

  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 1
    TL-SG5428 24-Port Gigabit L2 Managed Switch with 4 SFP Slots TL-SG5412F 12-Port Gigabit SFP L2 Managed Switch with 4 Combo 1000BASE-T Ports Rev: 2.0.0 1910010630
  • TP-Link TL-SG5412F | TL-SG5428 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-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 3
    enable...12 enable password ...12 disable ...13 configure...13 exit ...13 end ...14 Chapter 3 IEEE 802.1Q VLAN Commands 15 vlan database ...15 vlan ...15 interface vlan ...16 description ...16 switchport type ...17 switchport allowed vlan...17 switchport pvid...18 switchport general egress-rule
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 4
    33 switchport private-vlan...33 show private-vlan ...34 show private-vlan switchport 34 Chapter 8 GVRP Commands 36 gvrp ...36 gvrp (interface) ...36 gvrp registration...37 gvrp timer ...37 show gvrp global ...38 show gvrp interface ...39 Chapter 9 LAG Commands 40 interface link-aggregation ...40
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 5
    show interface link-aggregation 43 modify password...50 user access-control disable 51 user access-control ip-based 51 user access-control mac-based 52 user access- timeout ...53 show user account-list ...54 show user configuration...54 Chapter 12 Binding Table Commands 56 binding-table user-
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 6
    arp detection global...69 show arp detection interface 69 show arp detection statistic 69 show arp detection statistic reset 70 Chapter 14 IP Source Guard Commands 71 ip source guard...71 show ip source guard ...72 Chapter 15 DoS Defend Command 73 dos-prevent ...73 dos-prevent type...73 show
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 7
    81 radius authentication port ...82 radius authentication key...83 radius accounting enable...83 radius accounting primary-ip 84 radius accounting secondary-ip 84 radius accounting port ...85 radius accounting key...85 radius response-timeout ...86 show dot1x global...87 show dot1x interface ...87
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 8
    -time gmt ...105 system-time manual ...106 system-time dst ...106 ip address...107 ip management-vlan ...108 ip dhcp-alloc ...108 ip bootp-alloc ...108 reset ...109 reboot ...109 user-config backup ...110 user-config load...110 user-config save ...111 firmware upgrade ...111 ping ...111 tracert
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 9
    ...118 storm-control ...119 port rate-limit ...120 port rate-limit disable ingress 120 port rate-limit disable egress 121 show interface configuration 121 show interface status...122 show interface counters...122 show storm-control ethernet 123 show port rate-limit ...123 Chapter 23 QoS Commands
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 10
    std-acl...142 acl policy policy-add ...143 acl policy action-add ...144 acl edit action ...145 acl bind to-port...145 acl bind to-vlan ...146 show acl time-segment...146 show acl holiday ...147 show acl config...147 show acl bind...148 Chapter 27 MSTP Commands 149 spanning-tree
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 11
    show igmp-snooping global-config 167 show igmp-snooping port-config 167 show igmp-snooping vlan-config 168 show igmp-snooping multi-vlan 168 show igmp-snooping multi-ip-list 169 show igmp-snooping filter-ip-addr 169 show igmp-snooping port-filter 169 show igmp-snooping packet-stat 170 show
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 12
    show snmp destination-host 186 show snmp-rmon history ...186 show snmp-rmon event ...187 show snmp-rmon alarm ...187 Chapter 30 Cluster Commands 189 cluster ndp...189 cluster ntdp ...190 cluster explore ...191 cluster ...191 cluster create...192 cluster manage config ...192 cluster manage member
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 13
    ). The device mentioned in this Guide stands for TL-SG5428/TL-SG5412F JetStream L2 Managed Switch. Overview of this Guide Chapter 1: Using the CLI Provide configuring GVRP (GARP VLAN registration protocol). Chapter 9: LAG Commands Provide information about the commands used for configuring LAG (Link
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 14
    . Chapter 21: System Commands Provide information about the commands used for configuring the System information and System IP, reboot and reset the switch, upgrade the switch system and other operations. Chapter 22: Ethernet Configuration Commands Provide information about the commands used for
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 15
    ). Chapter 27: MSTP Commands Provide information about the commands used for configuring the MSTP (Multiple Spanning Tree Protocol). Chapter 28: IGMP Commands Provide information about the commands used for configuring the IGMP Snooping (Internet Group Management Protocol Snooping). Chapter 29: SNMP
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 16
    Chapter 1 Using the CLI 1.1 Accessing the CLI You can log on to the switch and access the CLI by the following two methods: 1. Log on to the switch by the console port on the switch. 2. Log on to the switch remotely by a Telnet or SSH connection through an Ethernet port. 1.1.1 Logon by a console
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 17
    Description 4. Select the port to connect in figure 1-3, and click OK. Figure 1-3 Select the port to connect 5. Configure the port selected in the step above as the following figure1-4 shown. Configure Bits per second as 38400, Data bits as 8, Parity as None, Stop bits as 1, Flow control as None
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 18
    and Password in the Hyper Terminal window, the factory default value for both of them is admin. The DOS prompt" TP-LINK>" will appear after pressing the Enter button as figure1-5 shown. It indicates that you can use the CLI now. Figure 1-5 Log in the Switch 1.1.2 Logon by Telnet To log on to the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 19
    Figure 1-6 Open the Run window 3. Type cmd in the prompt Run window as figure 1-7 and click OK. Figure 1-7 Run Window 4. Type telnet 192.168.0.1 in the command prompt shown as figure1-8, and press the Enter button. Figure 1-8 Connecting to the Switch 7
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 20
    factory default value for both of them is admin) and press the Enter button, then you can use the CLI now, which is shown as figure1-9. Figure 1-9 Log in the Switch 1.2 CLI Command Modes The CLI is divided into different command modes: User EXEC Mode, Privileged EXEC Mode, Global Configuration Mode
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 21
    to enter this mode from User EXEC mode. Global Configuration Mode Use the configure command to enter this mode from Privileged EXEC mode. TP-LINK> TP-LINK# TP-LINK(config)# Use the exit command to disconnect the switch (except that the switch is connected through the Console port). Use the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 22
    and VLAN Configuration Mode. Users get the privilege to the User level once connecting console port with the switch or logging in by Telnet. However, Guest users are restricted to access the CLI. Users can enter Privileged EXEC mode from User EXEC mode by using the enable command. In default case
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 23
    Address must be enter 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,and 7. 11
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 24
    EXEC Mode from User EXEC Mode: TP-LINK>enable Enter password: TP-LINK# enable password Description The enable password command is used to set the password for users to access Privileged EXEC Mode from User EXEC Mode. To return to the default configuration, please use no enable password command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 25
    Mode: TP-LINK# disable TP-LINK> configure Description The configure command is used to access Global Configuration Mode from Privileged EXEC Mode. Syntax configure Command Mode Privileged EXEC Mode Example Access Global Configuration Mode from Privileged EXEC Mode: TP-LINK# configure TP-LINK(config
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 26
    EXEC Mode: TP-LINK(config-if)# exit TP-LINK(config)#exit TP-LINK# end Description The end command is used to return to Privileged EXEC Mode. Syntax end Command Mode Any Configuration Mode Example Return to Privileged EXEC Mode from Interface Configuration Mode: TP-LINK(config-if)#end TP-LINK# 14
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 27
    Access VLAN Configuration Mode: TP-LINK(config)# vlan database TP-LINK(config-vlan)# vlan Description The vlan command is used to create IEEE 802.1Q VLAN. To delete the IEEE 802.1Q VLAN, please use no vlan command. Syntax vlan vlan-id-list no vlan vlan-id-list Parameter vlan-id-list --VLAN ID
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 28
    the vid of which is 12: TP-LINK(config)# vlan database TP-LINK(config-vlan)#vlan 12 interface vlan Description The interface vlan command is used to access VLAN Interface Mode to configure the specified VLAN. Syntax interface vlan vlan-id Parameter vlan-id --VLAN ID, ranging from 1 to 4094. Command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 29
    Example Specify the description string of the VLAN 2 as "vlan2": TP-LINK(config)# interface vlan 2 TP-LINK(config-if)#description vlan2 switchport type Description The switchport type command is used to configure the Link Types for the ports. Syntax switchport type { access | trunk | general }
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 30
    2 to IEEE 802.1Q VLAN: TP-LINK(config)# interface ethernet 2 TP-LINK(config-if)# switchport allowed vlan add 2 switchport pvid Description The switchport pvid command is used to configure the PVID for the switch ports. Syntax switchport pvid vlan-id Parameter vlan-id -- VLAN ID, ranging from 1 to
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 31
    of IEEE 802.1Q VLAN . Syntax show vlan [vlan-id] Parameter vlan-id -- VLAN ID, ranging from 1 to 4094. By default , display all the information of IEEE 802.1Q VLAN. Command Mode Any Configuration Mode Example Display the information of vlan 5: TP-LINK(config)# show vlan 5 show interface switchport
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 32
    Global Configuration Mode Example Create a Protocol VLAN template named "arp" whose Ethernet protocol type is 0806 and delete the Protocol template whose number is 2: TP-LINK(config)# protocol-vlan template add arp 0806 TP-LINK(config)# protocol-vlan template remove 2 protocol-vlan vlan Description
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 33
    protocol-vlan vlan command. Command Mode Global Configuration Mode Example Create a Protocol VLAN entry, whose index is 1 and vid is 2. And then delete the Protocol VLAN entry whose number is 1: TP-LINK(config)# protocol-vlan vlan 2 template 1 TP-LINK(config)# no protocol-vlan vlan 1 protocol-vlan
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 34
    protocol-vlan vlan Description The show protocol-vlan vlan command is used to display the information about Protocol VLAN entry. Syntax show protocol-vlan vlan Command Mode Any Configuration Mode Example Display information of the protocol-vlan entry: TP-LINK(config)# show protocol-vlan vlan show
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 35
    Example Display the configuration of the protocol-vlan interface: TP-LINK(config)# show protocol-vlan interface 23
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 36
    Mode Example Enable the VLAN-VPN function globally: TP-LINK(config)# vlan-vpn enable vlan-vpn tpid Description The vlan-vpn tpid command is used to configure Global TPID of the VLAN-VPN. To restore to the default value, please use the no vlan-vpn tpid command. Syntax vlan-vpn tpid tpid no
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 37
    TP-LINK(config)# vlan-vpn interface 2-5,16-18 vlan-vpn uplink Description The vlan-vpn uplink command is used to configure a specified port as the VPN Up-link port. To cancel this VPN Up-link port, please use the no vlan-vpn uplink command. By default, No port has been configured as the VPN Up-link
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 38
    Mode Example Display the global configuration information of the VLAN VPN: TP-LINK(config)# show vlan-vpn global show vlan-vpn uplink Description The show vlan-vpn uplink command is used to display the configuration information of the VLAN VPN Up-link ports. Syntax show vlan-vpn uplink Command Mode
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 39
    Up-link ports: TP-LINK(config)# show vlan-vpn uplink show vlan-vpn interface Description The show vlan-vpn interface command is used to display the VLAN VPN port enable state. Syntax show vlan-vpn interface Command Mode Any Configuration Mode Example Display the VLAN VPN port enable state: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 40
    4094. Command Mode Global Configuration Mode Example Enable the Voice VLAN function for VLAN 2: TP-LINK(config)# voice-vlan enable 2 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 aging time for the Voice
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 41
    device. description --Give a description to the OUI for identification which contains 16 characters at most. By default, it is empty. Command Mode Global Configuration Mode Example Create a Voice VLAN OUI descripted as TP-LINK Phone with the MAC address 00:01:E3:00:00:01 and the mask address FF:FF
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 42
    2 to operate in the manual voice VLAN mode: TP-LINK(config)# interface ethernet 2 TP-LINK(config-if)# switchport voice-vlan mode manual switchport voice-vlan security Description The switchport voice-vlan security command is used to configure the Voice VLAN security mode. Syntax switchport voice
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 43
    oui command is used to display the configuration information of Voice VLAN OUI. Syntax show voice-vlan oui Command Mode Any Configuration Mode Example Display the configuration information of Voice VLAN OUI: TP-LINK(config)# show voice-vlan oui show voice-vlan switchport Description The show voice
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 44
    show voice-vlan switchport [port] Parameter port -- Ethernet port. By default, it will display the configuration information of all the ports in the Voice VLAN. Command Mode Any Configuration Mode Example Display the configuration information of all the ports in the Voice VLAN: TP-LINK(config)# show
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 45
    private-vlan primary vlan-id secondary vlan-id no private-vlan secondary vlan-id Parameter vlan-id -- VLAN ID, ranging from 2 to 4094. Command Mode Global Configuration Mode Example Create the Private VLAN as VLAN15 for primary VLAN and VLAN150 for secondary VLAN: TP-LINK(config)# private-vlan
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 46
    VLAN15 for primary VLAN and VLAN150 for secondary VLAN: TP-LINK(config)# interface ethernet 10 TP-LINK(config-if)# switchport private-vlan promiscuous 15 150 show private-vlan Description The show private-vlan command is used to display the Private VLAN configured on the switch. Syntax show private
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 47
    Command Mode Any Configuration Mode Example Display the configuration information of all the ports in the Private VLAN: TP-LINK(config)# show private-vlan switchport 35
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 48
    to individually configure each VLAN. gvrp Description The gvrp command is used to enable the GVRP function globally. To disable the GVRP function, please use no gvrp command. Syntax gvrp no gvrp Command Mode Global Configuration Mode Example Enable the GVRP function globally: TP-LINK(config)# gvrp
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 49
    the GVRP function for ports 2-6: TP-LINK(config)# interface range ethernet 2-6 TP-LINK(config-if)# gvrp gvrp registration Description The gvrp registration command is used to configure the GVRP registration type on the desired port. To restore to the default value, please use no gvrp registration
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 50
    is 60. Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Set the GARP leaveall timer of port 6 to 2000 centiseconds and restore to the join timer of it to the default value: TP-LINK(config)# interface ethernet 6 TP-LINK(config-if)# gvrp timer leaveall
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 51
    port-num] Parameter port-num --The Ethernet port number. By default, the GVRP configuration information of all the Ethernet ports is displayed. Command Mode Any Configuration Mode Example Display the GVRP configuration information of all the Ethernet ports: TP-LINK(config)# show gvrp interface 39
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 52
    14. Command Mode Global Configuration Mode Example Access the Interface Link-aggregation Mode and configure the aggregation group 1: TP-LINK(config)# interface link-aggregation 1 TP-LINK(config-if)# interface range link-aggregation Description The interface range link-aggregation command is used to
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 53
    groups at the same time. Example Access the Interface range Link-aggregation Mode and configure the aggregation group 1, 4-6: TP-LINK(config)# interface range link-aggregation 1,4-6 TP-LINK(config-if)# link-aggregation Description The link-aggregation command is used to add the current Ethernet port
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 54
    and destination MAC addresses. src_dst_ip --The source and destination IP addresses. Command Mode Global Configuration Mode Example Configure the Aggregate Arithmetic for LAG as src_dst_mac: TP-LINK(config)# link-aggregation hash-algorithm src_dst_mac description Description The description command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 55
    group-num --The LAG number, ranging from1 to 14. By default, the LAG configuration information of all the Ethernet ports is displayed. Command Mode Any Configuration Mode Example Display the LAG configuration information of all the Ethernet ports: TP-LINK(config)#show interface link-aggregation 43
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 56
    link aggregation and disaggregation by exchanging LACP packets with its partner. The switch can dynamically group similarly configured ports into a single logical link . By default, the value is 32768. Command Mode Global Configuration Mode Example Set the system priority as1024: TP-LINK(config)#
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 57
    value -- admin key, ranging from 0 to 65535. By default, the value is 1. Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Configure the admin key of port 1 as 1024: TP-LINK(config)# interface Ethernet 1 TP-LINK(config-if)# lacp admin-key 1024 lacp port
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 58
    -- Port priority, ranging from 0 to 65535. By default, the value is 32768. Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Set the port priority of port 1 to 1024: TP-LINK(config)# interface ethernet 1 TP-LINK(config-if)# lacp port-priority 1024 show
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 59
    Command Mode Any Configuration Mode Example Display the configuration information of all the Ethernet ports: TP-LINK(config)# show lacp interface 47
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 60
    configure the user name and password for users to log on to the Web management page with a certain access level so as to protect the settings of the switch Global Configuration Mode Example Add and enable a new admin user named tplink, and of which the password is password: TP-LINK(config)#user
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 61
    be deleted by itself. Syntax user remove user-name Parameter user-name -- An existing user name. Command Mode Global Configuration Mode Example Delete the user named tplink: TP-LINK(config)# user remove tplink user modify status Description The user modify status command is used to modify the status
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 62
    existing user name. guest | admin -- Access level. Guest: limited user; admin: manager. Command Mode Global Configuration Mode Example Change the access level of tplink to admin: TP-LINK(config)# user modify type tplink admin user modify password Description The user modify password command is
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 63
    Syntax user access-control disable Command Mode Global Configuration Mode Example Cancel the user access-control: TP-LINK(config)# user access-control disable user access-control ip-based Description The user access-control ip-based command is used to limit the IP-range of the users for login. Only
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 64
    TP-LINK(config)# 255.255.255.255 user access-control ip-based 192.168.0.148 user access-control The source MAC address. Command Mode Global Configuration Mode Example Enable the access-control of the user whose MAC address is 00:00:13:0A:00:01: TP-LINK(config)# user access-control mac-based 00
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 65
    the number of the users as Admin and Guest logging on as 5 and 3: TP-LINK(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. 53
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 66
    -timeout Parameter minute --The timeout time, ranging from 5 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: TP-LINK(config)# user idle-timeout 15 show user account-list Description The show user
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 67
    Syntax show user configuration Command Mode Any Configuration Mode Example Display the security configuration information of the users: TP-LINK(config)# show user configuration 55
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 68
    appling both. Command Mode Global Configuration Mode Example Bind an ACL entry with the IP is 192.168.0.1, MAC is 00:00:00:00:00:01, VLAN ID is 2 and the Port number is 5 manually. And then enable the entry for the ARP detection and IP filter function: TP-LINK(config)# binding-table user-bind
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 69
    in an order. Command Mode Global Configuration Mode Example Delete the IP-MAC -VID-PORT entry with the index 5: TP-LINK(config)# binding-table remove index 5 dhcp-snooping Description The dhcp-snooping command is used to enable the DHCP-snooping function for the switch. To disable the DHCP-snooping
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 70
    5/10/15/20/25/30 (packet/second). By default, it is 5. Command Mode Global Configuration Mode Example Configure the Global Flow Control as 30pps, the Decline Threshold as 20 pps, and decline Flow Control as 20 pps for DHCP Snooping TP-LINK(config)# dhcp-snooping global global-rate 30 dec-threshold
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 71
    Configuration Mode Example Enable the Option 82 function of DHCP Snooping: TP-LINK( default option. replace --Indicates to replace the Option 82 field of the packets with the switch defined one. drop --Indicates to discard the packets including the Option 82 field Command Mode Global Configuration
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 72
    Option 82 field of the packets with the switch defined one and then send out: TP-LINK(config)# dhcp-snooping information strategy replace dhcp-snooping user-defined Command Mode Global Configuration Mode Example Permit users to define the Option 82: TP-LINK(config)# dhcp-snooping information user
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 73
    the sub-option Circuit ID, which contains 32 characters at most. Command Mode Global Configuration Mode Example Configure the sub-option Circuit ID for the customized Option 82 as tplink: TP-LINK(config)# dhcp-snooping information circuit-id tplink dhcp-snooping trusted Description The dhcp-snooping
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 74
    ethernet 2 TP-LINK(config-if)# dhcp-snooping mac-verify dhcp-snooping rate-limit Description The dhcp-snooping rate-limit command is used to enable the Flow Control feature for the DHCP packets. The excessive DHCP packets will be discarded. To restore to the default configuration, please use
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 75
    15/20/25/30 (packet/second). The default value is 0, which stands for disable. Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Set the Flow Control of port 2 as 20 pps: TP-LINK(config)# interface ethernet 2 TP-LINK(config-if)# dhcp-snooping rate-limit
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 76
    show binding-table Command Mode Any Configuration Mode Example Display the IP-MAC-VID-PORT binding table: TP-LINK(config)# show binding-table show dhcp-snooping global Description The show dhcp-snooping global command is used to display the global configuration of DHCP Snooping. Syntax show dhcp
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 77
    interface [ethernet port-num] Parameter port-num --The number of the switch port. By default, it will display the configuration of all the ports. Command Mode Any Configuration Mode Example Display the interface configuration of all the ports: TP-LINK(config)# show dhcp-snooping interface 65
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 78
    arp detection Command Mode Global Configuration Mode Example Enable the ARP Detection function globally: TP-LINK(config)# arp detection arp detection as up-linked port, routing port and LAG port, should be set as Trusted Port. To ensure the normal communication of the switch, please configure the ARP
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 79
    Enable the arp defend function for the ports 2-6: TP-LINK(config)# interface range ethernet 2-6 TP-LINK(config-if)# arp detection arp detection limit-rate Description The arp detection limit-rate command is used to configure the speed. The switch can terminate receiving the ARP packets for 300
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 80
    (packet/second). By default, the value is 15. Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Configure the maximum amount of the received ARP packets per second as 50 pps for the port 5: TP-LINK(config)# interface ethernet 5 TP-LINK(config-if)# arp
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 81
    [ethernet port-num] Parameter port-num --The number of switch port. By default, display the configuration of all the ports. Command Mode Any Configuration Mode Example Display the configuration of all the ports: TP-LINK(config)# show arp detection interface show arp detection statistic Description
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 82
    show arp detection statistic Command Mode Any Configuration Mode Example Display the number of the illegal ARP packets received: TP-LINK(config)# show arp detection statistic show arp detection statistic reset Description The show arp detection statistic reset command is used to clear the statistic
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 83
    Example Enable the IP Source Guard function for the ports 5-10. Configure that only the packets with its source IP address, source MAC address and port number matched to the IP-MAC binding rules can be processed: TP-LINK(config)# interface range ethernet 5-10 TP-LINK(config-if)# ip source guard sip
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 84
    show ip source guard Description The show ip source guard command is used to display the IP Source Guard configuration. Syntax show ip source guard [ethernet port] Command Mode Any Configuration Mode Example Display the IP Source Guard configuration: TP-LINK(config)# show ip source guard 72
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 85
    the evil programs sending a lot of service requests to the Host. With the DoS Defend enabled, the switch can analyze the specific field of prevent no dos-prevent Command Mode Global Configuration Mode Example Enable the DoS defend function globally: TP-LINK(config)# dos-prevent dos-prevent type
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 86
    . ping-flood -- Ping flooding attack. syn-flood -- SYN/SYN-ACK flooding attack. Command Mode Global Configuration Mode Example Enable two DoS Defend Types named Xma Scan attack and Ping flooding attack: TP-LINK(config)# dos-prevent type xma-scan ping-flood show dos-prevent Description The show dos
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 87
    function: TP-LINK(config)# dot1x dot1x auth-method Description The dot1x auth-method command is used to configure the Authentication Method of IEEE 802.1X. To restore to the default 802.1x uses extensible authentication protocol (EAP) to exchange information between the switch and the client. The 75
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 88
    -vlan Parameter vid --The VLAN ID needed to enable the Guest VLAN function, ranging from 2 to 4094. The supplicants in the Guest VLAN can access the specified network source. Command Mode Global Configuration Mode Example Enable the Guest VLAN function for VLAN 5: TP-LINK(config)# dot1x guest-vlan
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 89
    quiet-period Command Mode Global Configuration Mode Example Enable the quiet-period function: TP-LINK(config)# dot1x quiet-period dot1x timer Description The dot1x timer command is used to configure the Quiet Period and the SupplicantTimeout. To restore to the default, please use no dot1x timer
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 90
    repeated authentication request, ranging from 1 to 9 in times. By default, the value is 3. Command Mode Global Configuration Mode Example Configure the maximum transfer times of the repeated authentication request as 5: TP-LINK(config)# dot1x retry 5 dot1x (interface) Description The dot1x command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 91
    the Guest VLAN function for port 2: TP-LINK(config)# interface ethernet 2 TP-LINK(config-if)# dot1x guest-vlan dot1x port-control Description The dot1x port-control command is used to configure the Control Mode of IEEE 802.1X for the specified port. To restore to the default configuration, please
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 92
    fixed unauthorized status. By default, the Control Mode is auto. Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Configure the Control Mode for port 1 as authorized-force: TP-LINK(config)# interface ethernet 1 TP-LINK(config-if)# dot1x port-control
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 93
    ethernet 5 TP-LINK(config-if)# dot1x port-method port-based radius authentication primary-ip Description The radius authentication primary-ip command is used to configure the IP address of the authentication server. Authentication server provides the authentication service for the switch via the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 94
    secondary-ip ip-addr no radius authentication secondary-ip Parameter ip-addr --The IP address of the alternate authentication server. By default, it is 0.0.0.0. Command Mode Global Configuration Mode Example Configure the IP address of the alternate authentication server as 10.20.1.101: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 95
    exchange messages which contains 15 characters at most. Command Mode Global Configuration Mode Example Configure the shared password for the switch and the authentication servers as tplink: TP-LINK(config)# radius authentication key tplink radius accounting enable Description The radius accounting
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 96
    server as 10.20.1.100: TP-LINK(config)# radius accounting primary-ip 10.20.1.100 radius accounting secondary-ip Description The radius accounting secondary-ip command is used to configure the IP address of the alternate accounting server. To restore to the default configuration, please use no radius
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 97
    . The default port is 1813. Command Mode Global Configuration Mode Example Set the UDP port of accounting server(s) as 1816: TP-LINK(config)# radius accounting port 1816 radius accounting key Description The radius accounting key command is used to configure the shared password for the switch and
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 98
    the supplicant., ranging from 1 to 9 in second. By default, it is 3. Command Mode Global Configuration Mode Example Configure the maximum time for the switch to wait for the response from the RADIUS authentication and the accounting server as 5 seconds: TP-LINK(config)# radius response-timeout 5 86
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 99
    [ ethernet port-num ] Parameter port-num --The number of the Ethernet port. Display the configuration of all the ports by default. Command Mode Any configuration Mode Example Display the port configuration of 801.X: TP-LINK(config)# show dot1x interface show radius authentication Description 87
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 100
    of the RADIUS authentication server. Syntax show radius authentication Command Mode Any configuration Mode Example Display the configuration of the RADIUS authentication server: TP-LINK(config)# show radius authentication show radius accounting Description The show radius accounting command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 101
    be got by show logging buffer command. It will be lost when the switch is restarted. Syntax logging local buffer {level} [disable | enable] no buffer. By default, it is enabled. Command Mode Global Configuration Mode Example Enable the log buffer function and set the severity as 6: TP-LINK(config)#
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 102
    in the log file. disable | enable --Disable or enable the log file. By default, it is enabled. Command Mode Global Configuration Mode Example Enable the log file function and set the severity as 7: TP-LINK(config)# logging local flash 7 logging clear Description The logging clear command is used to
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 103
    } Parameter idx --The index of the log host. The switch supports 4 log hosts. host-ip -- The IP for the log host. level --The severity level of the default, it is disabled. Command Mode Global Configuration Mode Example Enable the log host 2 and set the IP address 192.168.0.148, the level 5: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 104
    index --The index of the log host whose configuration will be displayed. Display the configuration of all the log hosts by default. Command Mode Any Configuration Mode Example Display the configuration of the log host 2: TP-LINK(config)# show logging loghost 2 show logging buffer Description
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 105
    severity level value. Display all the log information in the log buffer by default. Command Mode Any Configuration Mode Example Display the log information from level 0 to level 5 in the log buffer: TP-LINK(config)# show logging buffer level 5 show logging flash Description The show logging flash
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 106
    function, please use no ssh server enable command. Syntax ssh server enable no ssh server enable Command Mode Global Configuration Mode Example Enable the SSH function: TP-LINK(config)# ssh server enable ssh version Description The ssh version command is used to enable the SSH protocol version. To
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 107
    there is no operation from the client. It ranges from 1 to 999 in seconds. By default, this value is 500. Command Mode Global Configuration Mode Example Specify the idle-timeout time of SSH as 300 seconds: TP-LINK(config)# ssh idle-timeout 300 ssh max-client Description The ssh max-client command is
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 108
    in the range of 256 to 3072 bits. ip-addr -- The IP address of the TFTP 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: TP-LINK(config)# ssh download v1 ssh-key ip-address 192.168.0.148 show ssh
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 109
    By default the switch has Configuration Mode Example Enable the SSL function: TP-LINK(config)# ssl enable ssl download certificate Description The ssl download certificate command is used to download a certificate to the switch from TFTP server. Syntax ssl download certificate ssl-cert ip-address ip
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 110
    to 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 a SSL Key named ssl-key from TFTP server with the IP Address of 192.168.0.148: TP-LINK(config
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 111
    Example Display the global configuration of SSL: TP-LINK(config)# show ssl 99
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 112
    configure port security. To return to the default configuration, please use no bridge address port-security command. Port Security is to protect the switch aging time and can only be deleted manually. The learned entries will be cleared after the switch is rebooted. When permanent mode is selected
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 113
    VLAN ID number of your desired entry. It ranges from 1 to 4094. port -- The Port number of your desired entry. It ranges from 1 to 12. Command Mode Global Configuration Mode Example Add a static Mac address entry to bind the MAC address 00:02:58:4f:6c:23, VLAN1 and Port1 together: TP-LINK(config
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 114
    configure aging time for the dynamic address. To return to the default configuration, default, this value is 300. Command Mode Global Configuration Mode Example Configure the aging time as 500 seconds: TP-LINK filtering address can be added or removed manually, independent of the aging time. Syntax
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 115
    Parameter port-num -- The port number of the switch. It ranges from 1 to 12. By default, the Port Security configuration of all ports is displayed. Command Mode Any Configuration Mode Example Display the Port Security configuration of port 2: TP-LINK(config)# show bridge port-security 2 show bridge
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 116
    The show bridge aging-time command is used to display the Aging Time of the MAC address. Syntax show bridge aging-time Command Mode Any Configuration Mode Example Display the Aging Time of the MAC address: TP-LINK(config)# show bridge aging-time 104
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 117
    Contact Information. It consists of 32 characters at most. By default, it is empty. Command Mode Global Configuration Mode Example Configure the System Contact as www.tp-link.com: TP-LINK(config)# system-descript contact-info www.tp-link.com system-time gmt Description The system-time gmt command is
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 118
    .9.2 and the secondary ntp server is 139.78.100.163: TP-LINK(config)# system-time gmt -12 133.100.9.2 139.78.100.163 system-time manual Description The system-time manual command is used to configure the system time manually. Syntax system-time manual {time} Parameter time -- Set the date and time
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 119
    1 23:00. TP-LINK(config)# system-time dst 04/01 00:00 11/01 23:00 ip address Description The ip address command is used to configure the IP Address, Subnet Mask and Default Gateway. To restore to the factory defaults, please use no ip address command. Syntax ip address {ip-addr} {ip-mask} [gateway
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 120
    to configure the IP management VLAN, through which you can log on to the switch. Syntax ip management-vlan {vlan-id} Parameter vlan-id -- VLAN ID, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Set the VLAN6 as IP management VLAN: TP-LINK(config)# ip management-vlan 6 ip dhcp
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 121
    Enable the BOOTP Protocol to obtain IP address from BOOTP Server: TP-LINK(config)# ip bootp-alloc reset Description The reset command is used to reset the switch's software. After resetting, all configuration of the switch will restore to the factory defaults and your current settings will be
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 122
    files by TFTP server with the IP 192.168.0.148 and name this file config.cfg: TP-LINK# user-config backup filename config.cfg ip-address 192.168.0.148 user-config load Description The user-config load command is used to download the configuration file to the switch by TFTP server. Syntax user-config
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 123
    name -- Specify the name for the Firmware File. ip-addr -- IP Address of the TFTP server. Command Mode Privileged EXEC Mode Example Upgrade the switch system via the TFTP server with the IP 192.168.0.148: TP-LINK# firmware upgrade filename firmware.bin ip-address 192.168.0.148 ping Description 111
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 124
    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: TP-LINK# ping 192.168.0.131 -n 8 -l 512
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 125
    4: TP-LINK#loopback 4 internal show system-info Description The show system-info command is used to display System Description, Device Name, Device Location, System Contact, Hardware Version, Firmware Version, System Time, Run Time and so on. Syntax show system-info Command Mode Any Configuration
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 126
    display MAC Address, IP Address, Subnet Mask and Default Gateway of the system, whether the DHCP Client function is enabled or not and some other information. Syntax show ip address Command Mode Any Configuration Mode Example Display the IP Address of the system TP-LINK# show ip address show system
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 127
    The show system-time source command is used to display the time source of the switch. Syntax show system-time source Command Mode Any Configuration Mode Example Display the time source of the switch TP-LINK# show system-time source show system-time mode Description The show system-time mode command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 128
    interface ethernet interface Parameter interface -- The Ethernet port to be configured. Command Mode Global Configuration Mode Example Enter the Interface Configuration Mode and configure Ethernet port2: TP-LINK(config)# interface ethernet 2 interface range ethernet Description The interface range
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 129
    ports at all if the command results in an error on one port. Example Enter the Interface Configuration Mode, add ports 1-3, 6-9 to the port-list and configure them: TP-LINK(config)# interface range ethernet 1-3,6-9 description Description The description command is used to add a description to the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 130
    flow-control function for Ethernet port 5: TP-LINK(config)# interface ethernet 5 TP-LINK(config-if)# flow-control negotiation Description The negotiation command is used to configure the Negotiation Mode for an Ethernet port. To return to the default configuration, please use no negotiation command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 131
    : TP-LINK(config)# interface ethernet 5 TP-LINK(config-if)# negotiation 100f storm-control Description The storm-control command is used to configure the Storm Control function. To disable the Storm Control function, please use no storm-control command. Storm Control function allows the switch to
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 132
    Broadcast Control function for port5 and specify the rate as 128kbps: TP-LINK(config)# interface ethernet 5 TP-LINK(config-if)# storm-control bc-status enable rate 128k port rate-limit Description The port rate-limit command is used to configure the Rate Limit for an Ethernet port. To disable the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 133
    Example Disable the egress-rate limit for port5: TP-LINK(config)# interface ethernet 5 TP-LINK(config-if)# port rate-limit disable egress show interface configuration Description The show interface configuration command is used to display the configurations of an Ethernet port, including Port-status
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 134
    -- The port selected to display the connective-status. By default, the connective-status of all ports is displayed. Command Mode Any Configuration Mode Example Display the connective-status of all Ethernet ports: TP-LINK(config)# show interface status ethernet show interface counters Description The
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 135
    the port selected to display the storm-control information. By default, the storm-control information of all ports is displayed. Command Mode Any Configuration Mode Example Display the storm-control information of all Ethernet ports: TP-LINK(config)# show storm-control ethernet show port rate-limit
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 136
    service experience of a better quality. qos Description The qos command is used to configure CoS (Class of Service) based on port. To return to the default configuration in IEEE 802.1P. Example Configure the priority of port 5 as 3: TP-LINK(config)# interface ethernet 5 TP-LINK(config-if)# qos 3 qos
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 137
    IEEE 802.1P Priority and Egress Queue: TP-LINK(config)# qos dot1p enable qos dot1p config Description The qos dot1p config command is used to configure the mapping relation between IEEE 802.1P Priority and Egress Queue. To return to the default configuration, please use no qos dot1p config command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 138
    relation between DSCP Priority and Egress Queue: TP-LINK(config)# qos dscp enable qos dscp config Description The qos dscp config command is used to configure the mapping relation between DSCP Priority and Egress Queue. To return to the default configuration, please use no qos dscp config command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 139
    TP-LINK(config)# qos dscp config 10,11,15 0 qos scheduler Description The qos scheduler command is used to configure the Schedule Mode. To return to the default configuration to the priority queues and scheduling algorithms you set. On this switch, the priority levels are labeled as TC0, TC1... TC3.
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 140
    Strict-Priority + Weight Round Robin Mode. In this mode, the switch provides two scheduling groups, SP group and WRR group. Queues in configuration. By default, information of all the ports is displayed. Command Mode Any Configuration Mode Example Display the configuration of QoS for port 5: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 141
    qos dscp Description The show qos dscp command is used to display the configuration of DSCP Priority. Syntax show qos dscp Command Mode Any Configuration Mode Example Display the configuration of DSCP Priority: TP-LINK# show qos dscp show qos scheduler Description The show qos scheduler command is
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 142
    Example Display the schedule rule of the egress queues: TP-LINK# show qos scheduler 130
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 143
    packets for monitoring and troubleshooting the network. mirror add Description The mirror add command is used to configure Port Mirror function, in the same VLAN or not is not demanded strictly. 3. The mirroring port and mirrored ports cannot be link-aggregation member. Example Configure the mirror
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 144
    Parameter port-list -- List of mirrored port. group-num -- Configure the mirror group number you want to configure. Command Mode Global Configuration Mode Example Remove the mirrored port 2 from mirror group 1: TP-LINK(config)# mirror remove mirrored 2 1 mirror remove group Description The mirror
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 145
    show mirror Description The show mirror command is used to display the configuration of port monitoring. Syntax show mirror [group-num] Command Mode Any Configuration Mode Example Display current port monitoring configuration: TP-LINK# show mirror 133
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 146
    portlist of forward port. It is multi-optional. Command Mode Interface Configuration Mode Example Configure port 1 and port 2 can only forward packets to port 6 and port 13: TP-LINK(config)# interface range ethernet 1-2 TP-LINK(config-if)# port isolation 6,13 show port isolation Description The show
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 147
    Example Display the forward-list of port 6: TP-LINK# show port isolation 6 135
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 148
    01/01/2000. end-date -- The end date in Absoluteness Mode, in the format of MM/DD/YYYY. By default, it is 01/01/2000. The absoluteness mode will be disabled if the start date and end date are both not configured. holiday -- Enable/ Disable Holiday Mode. By default, it is disabled. 136
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 149
    Global Configuration Mode Example Add a time-range named tSeg1, with time from 8:30 to 12:00 at working day: TP-LINK(config)# every day; off-day represents weekend and working-day represents working day. By default, the period mode is disabled. start-date -- The start date in Absoluteness
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 150
    the holiday, in the format of MM/DD, for instance, 05/03. Command Mode Global Configuration Mode Example Define National Day, configuring the start date as October 1st, and the end date as October 3rd: TP-LINK(config)# acl holiday NationalDay 10/01 10/03 acl create Description The acl create command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 151
    , and 200-299 must be Extend-IP ACL. Command Mode Global Configuration Mode Example Create a MAC ACL whose ID is 20: TP-LINK(config)# acl create 20 acl rule mac-acl Description The acl rule mac-acl command is used to add MAC ACL rule. To delete the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 152
    address mask is 11:11:11:11:11:00, VLAN ID is 2, the user priority is 5, the time-range for the rule to take effect is tSeg1, and the packets match this rule will be forwarded by the switch: TP-LINK(config)# acl create 20 TP-LINK(config)# acl rule mac-acl 20 10 op permit
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 153
    effect. By default, it is not limited. index -- Change the index number of the entry. Command Mode Global Configuration Mode Example Edit VLAN ID is 2, the user priority is 5, the time-range for the rule to take effect is tSeg1, and the packets match this rule will be forwarded by the switch: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 154
    . In the rule, the source IP address is 192.168.0.100, the source IP address mask is 255.255.255.0, the time-range for the rule to take effect is tSeg1, and the packets match this rule will be forwarded by the switch: TP-LINK(config)# acl create 120 TP-LINK(config)# acl rule std-acl 120
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 155
    for it. In the rule, the source IP address is 192.168.0.100, the source IP address mask is 255.255.255.0, the time-range for the rule to take effect is tSeg1, and the packets match this rule will be forwarded by the switch: TP-LINK(config)# acl edit rule std-acl 120 10
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 156
    Configuration Mode Example Add a Policy named policy1: TP-LINK characters. acl-id -- The ACL for configuration in the policy. rate -- The and discard. By default, the option is default, it is All Ports. mirror -- The Mirror Port of Stream Mirror. By default, it is 1. Command Mode Global Configuration
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 157
    The Mirror Port of Stream Mirror. By default, it is 1. Command Mode Global Configuration Mode Example Edit the actions for the policy1. For the data packets matching ACL 120 in the policy, if the rate beyond 1000kbps, will be discarded by the switch: TP-LINK(config)# acl edit action policy1 120 rate
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 158
    policy-name -- The name of the policy desired to bind. vlan-id -- The ID of the VLAN desired to bind, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Bind policy1 to VLAN 2: TP-LINK(config)# acl bind to-vlan policy1 2 show acl time-segment Description The show acl time
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 159
    show acl holiday Description The show acl holiday command is used to display the defined holiday. Syntax show acl holiday Command Mode Any Configuration Mode Example Display the defined holiday: TP-LINK> show acl holiday show acl config Description The show acl config command is used to display the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 160
    show acl bind Description The show acl bind command is used to display the configuration of Policy bind. Syntax show acl bind Command Mode Any Configuration Mode Example Display the configuration of Policy bind: TP-LINK> show acl bind 148
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 161
    , can disbranch a ring network. STP is to block redundant links and backup links as well as optimize paths. spanning-tree global Description The spanning-tree global command is used to configure STP globally. To return to the default configuration, please use no spanning-tree global command. Syntax
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 162
    hop. By default, it is 20. Command Mode Global Configuration Mode Example Enable the STP function, and configure the STP version as MSTP, CIST priority as 4096, Hello Time as 4 seconds, Max Age as 10 seconds, Forward Delay as 10 seconds, TxHold Count as 8pps and Max Hops as 15 hops: TP-LINK(config
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 163
    higher priority. By default, it is TP-LINK(config)# interface ethernet 1 TP-LINK(config-if)# spanning-tree common-config status enable pri 64 expath 100 inpath 100 edge enable spanning-tree region Description The spanning-tree region command is used to configure the region of MSTP. A switched
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 164
    of MSTP as r1, and the revision level as 100: TP-LINK(config)# spanning-tree region r1 100 spanning-tree msti Description The spanning-tree msti command is used to configure MSTP Instance. To return to the default configuration of the corresponding Instance, please use no spanning-tree msti command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 165
    1, add VLAN 2, 3, 4, 5, 8 for it, and configure MSTI Priority as 4096: TP-LINK(config)# spanning-tree msti 1 status enable pri 4096 mapped 2-5,8 spanning-tree msti Description The spanning-tree msti command is used to configure MSTP Instance Port. To return to the default configuration of the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 166
    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: TP-LINK(config)# spanning-tree tc-defend
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 167
    . By default, it is disabled. BPDU Filter is to prevent BPDUs flood in the STP network. Command Mode Interface Configuration Mode(interface ethernet / interface range ethernet) Example Enable Loop Protect, Root Protect, TC Protect, BPDU Protect, and BPDU Filter for port 2: TP-LINK(config)# interface
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 168
    tree global-info Command Mode Any Configuration Mode Example Display the current status of Spanning Tree: TP-LINK# show spanning-tree global-info configuration of Spanning Tree. Syntax show spanning-tree port-config [port] Parameter port -- The port selected to display the configuration. By default,
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 169
    The show spanning-tree region command is used to display the Region configuration of MSTP. Syntax show spanning-tree region Command Mode Any Configuration Mode Example Display the region configuration of MSTP: TP-LINK(config)# show spanning-tree region show spanning-tree msti config Description The
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 170
    from 1 to 8. port -- The port selected to display the configuration. By default, the configuration of all ports is displayed. Command Mode Any Configuration Mode Example Display the configuration of port 5 in Instance 1: TP-LINK(config)# show spanning-tree msti port 1 5 show spanning-tree security
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 171
    [port] Parameter port -- The port selected to display the configuration. By default, the Port Protect configuration of all ports is displayed. Command Mode Any Configuration Mode Example Display the Port Protect configuration of port 2: TP-LINK(config)# show spanning-tree security port-defend 2 159
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 172
    the switch. By default, it is disabled. unknown-packet -- The operation for the switch to process unknown multicast, with pass and discard options. Command Mode Global Configuration Mode Example Enable IGMP Snooping function, and specify the operation to process unknown multicast as discard: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 173
    function for port 5: TP-LINK(config)# interface ethernet 5 TP-LINK(config-if)# igmp-snooping config status enable fast-leave enable igmp-snooping vlan-config-add Description The igmp-snooping vlan-config-add command is used to configure IGMP Snooping parameters for individual VLANs. To delete the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 174
    stable topology. Command Mode Global Configuration Mode Example Enable IGMP Snooping for VLAN 1, and configure Router Port Time as 200 seconds, Member Port Time as 100 seconds, Leave time as 10 seconds and Static Router Port as port 1: TP-LINK(config)# igmp-snooping vlan-config-add 1 rtime 200 mtime
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 175
    . By default, it is 1. router-port -- Static Router Port, which is mainly used in the network with stable topology. Command Mode Global Configuration Mode Example Modify Router Port Time as 300 seconds, Member Port Time as 200 seconds, and Leave time as 15 seconds for VLAN 1: TP-LINK(config)# igmp
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 176
    id} {switch-port} no igmp-snooping static-entry-add {ip} {vlan-id} Parameter ip -- The static multicast IP address. vlan-id -- The VLAN ID of the multicast IP, ranging from 1 to 4094. switch-port -- The forward port of the multicast group, in the format of 1-3,6,23. Command Mode Global Configuration
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 177
    Add static multicast IP address 225.0.0.1, which correspond to VLAN 2, and configure the forward port as port 1: TP-LINK(config)# igmp-snooping static-entry-add 225.0.0.1 2 1 igmp-snooping filter-add Description The igmp-snooping filter-add command is used to configure the multicast IP-range desired
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 178
    10~225.0.0.12: TP-LINK(config)# igmp-snooping filter-config 20 225.0.0.10 225.0.0.12 igmp-snooping filter Description The 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 IGMP
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 179
    TP-LINK> show igmp-snooping global-config show igmp-snooping port-config Description The show igmp-snooping port-config command is used to display the port configuration of IGMP. Syntax show igmp-snooping port-config [port] Parameter port -- The port selected to display the configuration. By default
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 180
    -config command is used to display the VLAN configuration of IGMP. Syntax show igmp-snooping vlan-config Command Mode Any Configuration Mode Example Display the VLAN configuration of IGMP: TP-LINK> show igmp-snooping vlan-config show igmp-snooping multi-vlan Description The show igmp-snooping multi
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 181
    used to display the Multicast IP table. Syntax show igmp-snooping multi-ip-list Command Mode Any Configuration Mode Example Display the Multicast IP table: TP-LINK> show igmp-snooping multi-ip-list show igmp-snooping filter-ip-addr Description The show igmp-snooping filter-ip-addr command is used to
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 182
    By default, the configuration of all ports is displayed. Command Mode Any Configuration Mode Example Display the Multicast Filter configuration of port 5: TP-LINK> show igmp-snooping port-filter 5 show igmp-snooping packet-stat Description The show igmp-snooping packet-stat command is used to
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 183
    informs from the switch. Its length ranges from 10 to 64 hexadecimal characters, which must be even number meanwhile. Command Mode Global Configuration Mode Example Enable the SNMP function, and specify the Local Engine ID as 1234567890, the Remote Engine ID as 123456abcdef: TP-LINK(config)# snmp
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 184
    ) 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. station: TP-LINK(config)# snmp view-add view1 1.3.6.1.6.3.20 include snmp group-add Description The snmp group-add command is used to manage and configure the
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 185
    USM mechanism. By default, the Security Model is Switch's SNMP agent. Command Mode Global Configuration mode Example Add group 1, configure its Security Model as SNMP v2c, view1 can be read and edited by group member, and the trap messages sent by view2 can be received by Management station: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 186
    no snmp user-add command. The User in a SNMP Group can manage the switch via the management station software. The User and its Group have the same security level The Security Model of the User, with v1, v2c and v3 options. By default, the option is v1. The Security Model of the User must be the same
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 187
    , with read-only and read-write options. mib-view -- The MIB View for the community to access. Command Mode Global Configuration Mode Example Add Community community1, and the community has read-write management right to View view1: TP-LINK(config)# snmp community-add community1 read-write view1 175
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 188
    . The UDP port functions with the IP address for the notification sending. By default, it is 162. user-name -- configured if you select this option. You can only select the trap type in Security Model v1. By default, the type of the notifications is trap. resend -- The amount of times the switch
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 189
    time as 100: TP-LINK(config)# snmp notify-add 192.168.0.1 162 admin smode v2c type inform resend 100 timeout 1000 snmp-rmon history sample-cfg Description The snmp-rmon history sample-cfg command is used to configure the history sample entry. To return to the default configuration, please use no
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 190
    . owner -- The owner of the history sample entry, ranging from 1 to 16 characters. By default, it is monitor. Command Mode Global Configuration Mode Example Configure the owner of entry 1 as owner1: TP-LINK(config)# snmp-rmon history owner 1 owner1 snmp-rmon history enable Description The snmp-rmon
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 191
    of the User to which the event belongs, ranging from 1 to 16 characters. By default, it is public. Command Mode Global Configuration Mode Example Configure the user name of entry 1 as user1: TP-LINK(config)# snmp-rmon event user 1 user1 snmp-rmon event description Description The snmp-rmon event
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 192
    description -- The description of the event, ranging from 1 to 16 characters. By default, it is empty. Command Mode Global Configuration Mode Example Configure the description of entry 1 as description1: TP-LINK(config)# snmp-rmon event description 1 description1 snmp-rmon event type Description The
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 193
    command. owner -- The owner of the event entry, ranging from 1 to 16 characters. By default, it is monitor. Command Mode Global Configuration Mode Example Configure the owner of entry 1 as owner1: TP-LINK(config)# snmp-rmon event owner 1 owner1 snmp-rmon event enable Description The snmp-rmon event
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 194
    Enable the SNMP-RMON Event entries 1,2,3,4 and 8: TP-LINK(config)# snmp-rmon event enable 1-4,8 snmp-rmon alarm config Description The snmp-rmon alarm config command is used to configure SNMP-RMON Alarm Management. To return to the default configuration, please use no snmp-rmon alarm config command
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 195
    -- The alarm interval time, ranging from 10 to 3600 in seconds. By default, it is 1800. Command Mode Global Configuration Mode Example Configure the alarm interval time of the entries 1, 2, 3 and 6 as 1000 seconds: TP-LINK(config)# snmp-rmon alarm config 1-3,6 interval 1000 snmp-rmon alarm owner
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 196
    of the entry desired to enable, ranging from 1 to 12, in the format of 1-3,5. Command Mode Global Configuration Mode Example Enable the Alarm Management entries 1,2,3,4 and 8: TP-LINK(config)# snmp-rmon alarm enable 1-4,8 show snmp global-config Description The show snmp global-config command is
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 197
    group Description The show snmp group command is used to display the Group table. Syntax show snmp group Command Mode Any Configuration Mode Example Display the Group table: TP-LINK> show snmp group show snmp user Description The show snmp user command is used to display the User table. Syntax show
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 198
    snmp destination-host command is used to display the Notification table. Syntax show snmp destination-host Command Mode Any Configuration Mode Example Display the Notification table: TP-LINK> show snmp destination-host show snmp-rmon history Description The show snmp-rmon history command is used to
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 199
    from 1 to 12. You can only select one entry for each command. By default, the configuration of all entries is displayed. Command Mode Any Configuration Mode Example Display the Event configuration of entry 2: TP-LINK> show snmp-rmon event 2 show snmp-rmon alarm Description The show snmp-rmon alarm
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 200
    selected to display the configuration, ranging from 1 to 12. You can only select one entry for each command. By default, the configuration of all entries is displayed. Command Mode Any Configuration Mode Example Display the configuration of all Alarm Management entries: TP-LINK> show snmp-rmon alarm
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 201
    via a management device. After a commander switch is configured, management and maintenance operations intended for the member default, it is 60. Command Mode Global Configuration Mode Example Enable NDP function globally, and configure Aging Time as 120 seconds, Hello Time as 50 seconds: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 202
    1 to 100 in milliseconds. By default, it is 20. Command Mode Global Configuration Mode Example Enable NTDP function globally, and specify NTDP Interval Time as 20 minutes, NTDP Hops as 5, NTDP Hop Delay as 300 milliseconds, and NTDP Port Delay as 50 milliseconds: TP-LINK(config)# cluster ntdp status
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 203
    Mode Example Enable the topology information collecting function manually: TP-LINK(config)# cluster explore cluster Description The cluster command is used to configure Cluster Port. To return to the default configuration, please use no cluster command. Syntax cluster [ndp { disable | enable
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 204
    16 characters. ip -- The cluster IP address pool. ip-mask -- The cluster IP address mask. Command Mode Global Configuration Mode Example Specify the current switch as commander switch, create cluster c1, and configure the cluster IP address pool as 10.90.90.1~10.90.90.254: TP-LINK(config)# cluster
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 205
    member {member-mac} Parameter member-mac -- The MAC address of the member switch desired to join in the cluster. Command Mode Global Configuration Mode Example Add switch whose MAC address is 00:74:5D:61:67:48 to the cluster: TP-LINK(config)# cluster manage member 00:74:5D:61:67:48 cluster manage
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 206
    Switch and Individual Switch is: Commander Switch  Candidate Switch  Individual Switch. To get the information about creating Commander Switch, please refer to cluster create. Command Mode Global Configuration Mode Example Change the role of the current switch to Commander Switch: TP-LINK
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 207
    Parameter port -- The port selected to display the configuration of NDP. By default, the configuration of all ports is displayed. Command Mode Any Configuration Mode Example Display the NDP configuration of port 2: TP-LINK> show cluster ndp port-status 2 show cluster neighbour Description The show
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 208
    -status [port] Parameter port -- The port selected to display the configuration of NTDP. By default, the configuration of all ports is displayed. Command Mode Any Configuration Mode Example Display the NTDP configuration of port 2: TP-LINK> show cluster ntdp port-status 2 show cluster ntdp device
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 209
    member show cluster manage role Description The show cluster manage role command is used to display the role of the current switch. Syntax show cluster manage role Command Mode Global Configuration Mode Example Display the role of the current switch: TP-LINK(config)# show cluster manage role 197
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 210
    is used to enable LLDP function. To return to the default configuration, please use no lldp enable command. Syntax lldp enable no lldp enable Command Mode Global Configuration Mode Example Enable lldp function globally: TP-LINK(config)# lldp enable lldp hold-multiplier Description The lldp hold
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 211
    Mode Example Specify Hold Multiplier as 5: TP-LINK(config)# lldp hold-multiplier 5 lldp timer Description The lldp timer command is used to configure the parameters about transmission. To return to the default configuration, please use no lldp timer command. Syntax lldp timer tx-interval
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 212
    message to NMS as 120 seconds: TP-LINK(config)# lldp timer tx-interval 45 TP-LINK(config)# lldp timer notify-interval 120 lldp admin-status Description The lldp admin-status command is used to configure the port's LLDP operating mode. To return to the default configuration, please use no lldp admin
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 213
    SNMP notification for port8: TP-LINK(config)# interface ethernet 8 TP-LINK(config-if)# lldp snmp-trap lldp tlv-select Description The lldp tlv-select command is used to configure TLVs to be included in outgoing LLDPDU. To exclude TLVs, please use no lldp tlv-select command. By default, All TLVs are
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 214
    tlv-select management-address port-vlan-id show lldp global Description The show lldp global command is used to display the global configuration of LLDP. Syntax show lldp global Command Mode Any Configuration Mode Example Display the global configuration of LLDP: TP-LINK> show lldp global show lldp
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 215
    -information [port] Parameter port -- The port selected to display the neighbor information. Command Mode Any Configuration Mode Example Display the neighbor information of port 8: TP-LINK> show lldp neighbor-information 8 show lldp statistics Description The show lldp statistics command is used to
  • TP-Link TL-SG5412F | TL-SG5428 V1 CLI Reference Guide - Page 216
    Syntax show lldp statistics [port] Parameter port -- The port selected to display the neighbor information. Command Mode Any Configuration Mode Example Display the LLDP statistic information of port 8: TP-LINK> show lldp statistics 8 204
  • 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
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216

TL-SG5428
24-Port Gigabit L2 Managed Switch with 4 SFP Slots
TL-SG5412F
12-Port Gigabit SFP L2 Managed Switch with 4 Combo
1000BASE-T Ports
Rev: 2.0.0
1910010630