TP-Link TL-SG3210 Cli Reference Manual

TP-Link TL-SG3210 Cli Reference Manual

Jetstream l2 managed switch
Hide thumbs Also See for TL-SG3210:
Table of Contents

Advertisement

TL-SG3210/TL-SG3216/TL-SG3424/TL-SG3424P
JetStream L2 Managed Switch

CLI Reference Guide

REV3.0.1
1910011346

Advertisement

Table of Contents
loading

Summary of Contents for TP-Link TL-SG3210

  • Page 1: Cli Reference Guide

    CLI Reference Guide TL-SG3210/TL-SG3216/TL-SG3424/TL-SG3424P JetStream L2 Managed Switch REV3.0.1 1910011346...
  • Page 2 Specifications are subject to change without notice. is a registered trademark of TP-LINK TECHNOLOGIES CO., LTD. Other brands and product names are trademarks or registered trademarks of their respective holders. No part of the specifications may be reproduced in any form or by any means or used to make any derivative such as translation, transformation, or adaptation without permission from TP-LINK TECHNOLOGIES CO., LTD.
  • Page 3: Table Of Contents

    CONTENTS Preface ......................1 Chapter 1 Using the CLI ..................4 1.1 Accessing the CLI ......................4 1.1.1 Logon by a console port ..................4 1.1.2 Configuring the Privileged EXEC Mode Password ..........5 1.1.3 Logon by Telnet ....................5 1.1.4 Logon by SSH ......................
  • Page 4 show vlan summary ....................... 29 show vlan brief ........................30 show vlan ..........................30 show interface switchport ...................... 31 Chapter 4 MAC-based VLAN Commands ............32 mac-vlan mac-address ......................32 show mac-vlan ........................32 Chapter 5 Protocol-based VLAN Commands ............34 protocol-vlan template ......................
  • Page 5 lacp port-priority ........................48 show etherchannel ........................ 48 show etherchannel load-balance ................... 49 show lacp ..........................49 show lacp sys-id ........................50 Chapter 9 User Manage Commands ..............51 user name (password) ......................51 user name (secret) ........................ 52 user access-control ip-based ....................53 user access-control mac-based .....................
  • Page 6 ip dhcp snooping global ......................71 ip dhcp snooping information option ..................72 ip dhcp snooping information strategy ................... 73 ip dhcp snooping information remote-id................. 73 ip dhcp snooping information circuit-id .................. 74 ip dhcp snooping trust ......................75 ip dhcp snooping mac-verify ....................75 ip dhcp snooping limit rate .....................
  • Page 7 dot1x port-method ......................... 91 radius............................. 92 radius server-account ......................93 show dot1x global ........................94 show dot1x interface ......................94 show radius accounting ......................95 show radius authentication ....................95 Chapter 15 System Log Commands ..............96 logging buffer ......................... 96 logging file flash ........................
  • Page 8 show mac address-table address ..................112 show mac address-table vlan ....................113 Chapter 18 System Configuration Commands ............113 system-time manual ......................114 system-time ntp ........................114 system-time dst predefined ....................116 system-time dst date ......................117 system-time dst recurring ....................118 hostname ..........................
  • Page 9 ipv6 address ........................134 show ipv6 interface vlan ...................... 135 Chapter 20 Ethernet Configuration Commands ........... 136 interface gigabitEthernet ...................... 136 interface range gigabitEthernet ................... 136 description ........................... 137 shutdown ..........................137 flow-control .......................... 138 media-type ........................... 138 duplex ..........................139 speed...........................
  • Page 10 monitor session source interface ..................156 show monitor session ......................157 Chapter 23 Port Isolation Commands ..............158 port isolation ........................158 show port isolation interface ....................158 Chapter 24 Loopback Detection Commands ............160 loopback-detection(global) ....................160 loopback-detection interval ....................160 loopback-detection recovery-time ..................
  • Page 11 time-range ........................... 176 absolute ..........................176 periodic ..........................177 holiday ..........................178 holiday(global) ........................178 access-list create ......................... 179 mac access-list ........................179 access-list standard ......................180 access-list extended ......................181 rule ............................182 access-list policy name ......................183 access-list policy action ....................... 184 redirect interface ........................
  • Page 12 spanning-tree timer ......................198 spanning-tree hold-count ..................... 199 spanning-tree max-hops ...................... 200 spanning-tree bpdufilter ....................... 200 spanning-tree bpduguard ....................201 spanning-tree guard loop ..................... 201 spanning-tree guard root ..................... 202 spanning-tree guard tc ......................202 spanning-tree mcheck ......................203 show spanning-tree active ....................203 show spanning-tree bridge ....................
  • Page 13 ipv6 mld snooping member-aging-time................220 ipv6 mld snooping report-suppression ................. 220 ipv6 mld snooping unknown-filter ..................221 ipv6 mld snooping last-listener query-inteval ............... 221 ipv6 mld snooping last-listener query-count ................ 222 ipv6 mld snooping multicast-vlan ..................222 ipv6 mld snooping multicast-vlan vlan-id ................223 ipv6 mld snooping vlan ......................
  • Page 14 snmp-server community ...................... 240 snmp-server host ......................... 240 snmp-server engineID ......................242 snmp-server traps snmp ...................... 243 snmp-server traps link-status....................243 snmp-server traps........................ 244 snmp-server traps mac ......................245 snmp-server traps vlan ......................246 rmon history ......................... 246 rmon event .......................... 247 rmon alarm ..........................
  • Page 15 show lldp traffic interface ..................... 264 Chapter 32 Cluster Commands ................265 cluster ndp ........................... 265 cluster ntdp .......................... 266 cluster explore ........................267 cluster ..........................267 cluster candidate ......................... 268 cluster individual ........................268 show cluster ndp........................269 show cluster ntdp ......................... 269 show cluster neighbour ......................
  • Page 16: Preface

    Guide stands TL-SG3210/TL-SG3216/TL-SG3424/TL-SG3424P without any explanation. The commands in this guilde apply to these four models if not specially noted, and TL-SG3424 is taken as an example model in the example commands. 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.
  • Page 17 Chapter 12: ARP Inspection Commands Provide information about the commands used for protecting the switch from the ARP cheating or ARP Attack. Chapter 13: DoS Defend Command Provide information about the commands used for DoS defend and detecting the DoS attack. Chapter 14: IEEE 802.1X Commands Provide information about the commands used for configuring IEEE 802.1X function.
  • Page 18 Provide information about the commands used for configuring the MSTP (Multiple Spanning Tree Protocol). Chapter 28: IGMP Snooping Commands Provide information about the commands used for configuring the IGMP Snooping (Internet Group Management Protocol Snooping). Chapter 29: MLD Snooping Commands Provide information about the commands used for configuring the MLD Snooping (Multicast Listener Discovery Snooping).
  • Page 19: Chapter 1 Using The Cli

    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: Log on to the switch by the console port on the switch. Log on to the switch remotely by a Telnet or SSH connection through an Ethernet port. 1.1.1 Logon by a console port To log on to the switch by the console port on the switch, please take the following steps: Connect the PCs or Terminals to the console port on the switch by the provided cable.
  • Page 20: 1.1.2 Configuring The Privileged Exec Mode Password

    1.1.2 Configuring the Privileged EXEC Mode Password To configure the switch remotely by a Telnet or SSH connection, please set a password for entering the Privileged EXEC Mode through the console connection first. Follow the steps in 1.1.1 Logon by a console port to log on to the switch, and then follow the steps shown in Figure 1-2 to configure the Privileged EXEC Mode password.
  • Page 21 Figure 1-3 Configure login local mode Now, you can logon by Telnet in login local mode. Make sure the switch and the PC are in the same LAN. Click Start and type in cmd in the Search programs and files window and press the Enter button. Figure 1-4 Run Window Type telnet 192.168.0.1 in the command prompt shown as Figure 1-5, and press the Enter button.
  • Page 22 Type the default user name and password (both of them are admin), then press the Enter button so as to enter User EXEC Mode. Figure 1-6 Enter into the User EXEC Mode Type enable command to enter Privileged EXEC Mode. Figure 1-7 Enter into the Priviledged EXEC Mode Now you can manage your switch with CLI commands through Telnet connection.
  • Page 23 Figure 1-8 Configure login mode Now, you can logon by Telnet in login mode: Make sure the switch and the PC are in the same LAN. Click Start and type in cmd in the Search programs and files window and press the Enter button. Figure 1-9 Run Window Type telnet 192.168.0.1 in the command prompt shown as Figure 1-9, and press the Enter button.
  • Page 24: 1.1.4 Logon By Ssh

    You are prompted to enter the connection password 456 you have set through Console port connection, and then you are in User EXEC Mode. Figure 1-11 Enter into the User EXEC Mode Type enable command to enter Privileged EXEC Mode. Figure 1-12 Enter into the Privileged EXEC Mode Now you can manage your switch with CLI commands through Telnet connection.
  • Page 25 Figure 1-13 Enable SSH function  Password Authentication Mode  Open the software to log on to the interface of PuTTY. Enter the IP address of the switch into Host Name field; keep the default value 22 in the Port field; select SSH as the Connection type.
  • Page 26 Figure 1-15 Log on the Switch Key Authentication Mode  Select the key type and key length, and generate SSH key. Figure 1-19 Generate SSH Key Note: The key length is in the range of 512 to 3072 bits. During the key generation, randomly moving the mouse quickly can accelerate the key generation.
  • Page 27 Figure 1-20 Save the Generated Key Log on to the switch by the console port, and download the public key file from the TFTP server to the switch, as the following figure shows: Figure 1-21 Download the Public Key Note: 1.
  • Page 28 After the public key is loaded, please log on to the interface of PuTTY and enter the IP address for login. Figure 1-22 SSH Connection Config Click Browse to load the private key file to SSH client software and click Open.
  • Page 29: 1.2 Cli Command Modes

    Figure 1-23 Load the Private Key After successful authentication, please enter the login user name. If you log on to the switch without entering password, it indicates that the key has been successfully loaded. Figure 1-24 Log on the Switch 1.2 CLI Command Modes The CLI is divided into different command modes: User EXEC Mode, Privileged EXEC Mode, Global Configuration Mode, Interface Configuration Mode and VLAN Configuration Mode.
  • Page 30 Interface Configuration Mode Interface gigabitEthernet User EXEC Mode Interface link-aggregation Interface range gigabitEthernet password Interface range link-aggregation Interface vlan …… Privileged EXEC Global Configuration Mode Mode VLAN Configuration Mode The following table gives detailed information about the Accessing path, Prompt of each mode and how to exit the current mode and access the next mode.
  • Page 31: 1.3 Security Levels

    Note: 1. The user is automatically in User EXEC Mode after the connection between the PC and the switch is established by a console port or by a telnet connection. 2. Each command mode has its own set of specific commands. To configure some commands, you should access the corresponding command mode firstly.
  • Page 32: 1.4 Conventions

    can enter Privileged EXEC mode from User EXEC mode by using the enable command and entering a Privileged EXEC mode password. Please connect to the switch by console port to configure the Privileged EXEC mode password. For logging on by console port, you can enter the User EXEC mode directly. Users can enter Privileged EXEC mode from User EXEC mode by using the enable command.
  • Page 33 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/0/1,1/0/3-5,1/0/7 indicates choosing port 1/0/1,1/0/3,1/0/4,1/0/5,1/0/7. The port number should format as 1/0/3, meaning unit/slot/port. The unit number is always 1, ...
  • Page 34: Chapter 2 User Interface

    Chapter 2 User Interface enable Description The enable command is used to access Privileged EXEC Mode from User EXEC Mode. Syntax enable Command Mode User EXEC Mode Example If you have set the password to access Privileged EXEC Mode from User EXEC Mode: TL-SG3424>...
  • Page 35: Enable Password

    enable password Description The enable password command is used to set or change the password for users to access Privileged EXEC Mode from User EXEC Mode. To remove the password, please use no enable password command. This command uses the symmetric encryption.
  • Page 36: Enable Secret

    enable secret Description The enable secret command is used to set a secret password, which is using an MD5 encryption algorithm, for users to access Privileged EXEC Mode from User EXEC Mode. To return to the default configuration, please use no enable secret command.
  • Page 37: Disable

    disable Description The disable command is used to return to User EXEC Mode from Privileged EXEC Mode. Syntax disable Command Mode Privileged EXEC Mode Example Return to User EXEC Mode from Privileged EXEC Mode: TL-SG3424# disable TL-SG3424> configure Description The configure command is used to access Global Configuration Mode from Privileged EXEC Mode.
  • Page 38: End

    Command Mode Any Configuration Mode Example Return to Global Configuration Mode from Interface Configuration Mode, and then return to Privileged EXEC Mode: TL-SG3424(config-if)# exit TL-SG3424(config)# exit TL-SG3424# Description The end command is used to return to Privileged EXEC Mode. Syntax Command Mode Any Configuration Mode Example...
  • Page 39: History Clear

    TL-SG3424 (config)#show history 1 show history clear history Description The clear history command is used to clear the commands you have entered in the current mode, therefore these commands will not be shown next time you use the show history command. Syntax clear history Command Mode...
  • Page 40: Chapter 3 Ieee 802.1Q Vlan Commands

    Chapter 3 IEEE 802.1Q VLAN Commands VLAN (Virtual Local Area Network) technology is developed for the switch to divide the LAN into multiple logical LANs flexibly. Hosts in the same VLAN can communicate with each other, regardless of their physical locations. VLAN can enhance performance by conserving bandwidth, and improve security by limiting traffic to specific domains.
  • Page 41: Name

    Parameter vlan-id —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Create VLAN Interface 2: TL-SG3424(config)# interface vlan 2 name Description The name command is used to assign a description to a VLAN. To clear the description, please use no name command.
  • Page 42: Switchport Access Vlan

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Specify the Link Type of port 3 as trunk: TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# switchport mode trunk switchport access vlan Description The switchport access vlan command is used to add the desired Access port to IEEE 802.1Q VLAN.
  • Page 43: Switchport General Allowed Vlan

    no switchport trunk allowed vlan vlan-list Parameter vlan-list —— Specify IEEE 802.1Q VLAN ID list, ranging from 2 to 4094, in the format of 2-3, 5. It is multi-optional. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Specify the Link Type of port 2 as trunk and add it to VLAN 2: TL-SG3424(config)# interface gigabitEthernet 1/0/2...
  • Page 44: Switchport Pvid

    TL-SG3424(config-if)# switchport general allowed vlan 2 tagged switchport pvid Description The switchport pvid command is used to configure the PVID for the switch ports. Syntax switchport pvid vlan-id Parameter vlan-id —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet)
  • Page 45: Show Vlan Brief

    show vlan brief Description The show vlan brief command is used to display the brief information of IEEE 802.1Q VLAN. Syntax show vlan brief Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the brief information of IEEE 802.1Q VLAN: TL-SG3424(config)# show vlan brief show vlan Description...
  • Page 46: Show Interface Switchport

    show interface switchport Description The show interface switchport command is used to display the IEEE 802.1Q VLAN configuration information of the specified port/LAG. Syntax show interface switchport [ gigabitEthernet port | port-channel lagid ] Parameter port —— The port number. lagid ——...
  • Page 47: Chapter 4 Mac-Based Vlan Commands

    Chapter 4 MAC-based VLAN Commands MAC-based VLAN (Virtual Local Area Network) is the way to classify the VLANs based on MAC Address. A MAC address corresponds to a VLAN ID. The untagged packets and the priority-tagged packets sourced from the MAC address will be tagged with this VLAN ID. mac-vlan mac-address Description The mac-vlan mac-address command is used to create a MAC-based VLAN...
  • Page 48 Command Mode Privileged EXEC Mode and Any Configuration Mode Parameter mac-addr —— MAC address, in the format of XX:XX:XX:XX:XX:XX. vlan-id —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Example Display the MAC-based VLAN table: TL-SG3424(config)# show mac-vlan all Display the MAC-based VLAN information of the entry whose MAC address is 00:11:11:01:01:12: TL-SG3424(config)# show mac-vlan mac-address 00:11:11:01:01:12...
  • Page 49: Chapter 5 Protocol-Based Vlan Commands

    Chapter 5 Protocol-based VLAN Commands Protocol-based VLAN (Virtual Local Area Network) is the way to classify VLANs based on Protocols. A Protocol corresponds to a VLAN ID. The untagged packets and the priority-tagged packets matching the protocol template will be tagged with this VLAN ID. protocol-vlan template Description The protocol-vlan template command is used to create Protocol-based VLAN...
  • Page 50: Protocol-Vlan Vlan

    protocol-vlan vlan Description The protocol-vlan vlan command is used to create a Protocol-based VLAN. To delete a Protocol-based VLAN, please use no protocol-vlan command. Syntax protocol-vlan vlan vlan-id { template template-idx } no protocol-vlan vlan group-idx Parameter vlan-vid —— Specify IEEE 802.1Q VLAN ID, ranging from 1-4094. template-idx ——The number of the Protocol-based VLAN Template.
  • Page 51: Show Protocol-Vlan Template

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Create Protocol-based VLAN group 2 which is binding with port 3: TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# protocol-vlan group 2 show protocol-vlan template Description The show protocol-vlan template command is used to display the information of the Protocol-based VLAN templates.
  • Page 52: Chapter 6 Voice Vlan Commands

    Chapter 6 Voice VLAN Commands Voice VLANs are configured specially for voice data stream. By configuring Voice VLANs and adding the ports with voice devices attached to voice VLANs, you can perform QoS-related configuration for voice data, ensuring the transmission priority of voice data stream and voice quality.
  • Page 53: Voice Vlan Priority

    Parameter time ——Aging time (in minutes) to be set for the Voice VLAN. It ranges from 1 to 43200. Command Mode Global Configuration Mode Example Set the aging time for the Voice VLAN as 1 minute: TL-SG3424(config)# voice vlan aging time 1 voice vlan priority Description The voice vlan priority command is used to configure the priority for the Voice...
  • Page 54: Switchport Voice Vlan Mode

    Syntax voice vlan mac-address mac-addr mask mask [ description descript ] no voice vlan mac-address mac-addr Parameter mac-addr —— The OUI address of the voice device, in the format of XX:XX:XX:XX:XX:XX. mask —— The OUI address mask of the voice device, in the format of XX:XX:XX:XX:XX:XX.
  • Page 55: Switchport Voice Vlan Security

    TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# switchport voice vlan mode auto switchport voice vlan security Description The switchport voice vlan security command is used to enable the Voice VLAN security feature. To disable the Voice VLAN security feature, please use no switchport voice vlan security command. Syntax switchport voice vlan security no switchport voice vlan security...
  • Page 56: Show Voice Vlan Oui

    show voice vlan oui Description The show voice vlan oui command is used to display the configuration information of Voice VLAN OUI. Syntax show voice vlan oui Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of Voice VLAN OUI: TL-SG3424(config)# show voice vlan oui show voice vlan switchport Description...
  • Page 57: Chapter 7 Gvrp Commands

    Chapter 7 GVRP Commands GVRP (GARP VLAN registration protocol) is an implementation of GARP (generic attribute registration protocol). GVRP allows the switch to automatically add or remove the VLANs via the dynamic VLAN registration information and propagate the local VLAN registration information to other switches, without having to individually configure each VLAN.
  • Page 58: Gvrp Registration

    Example Enable the GVRP function for ports 2-6: TL-SG3424(config)# interface range gigabitEthernet 1/0/2-6 TL-SG3424(config-if-range)# 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 command.
  • Page 59: Show Gvrp Global

    no gvrp timer [ leaveall | join | leave ] Parameter leaveall | join | leave —— They are the three timers: leaveall, join and leave. Once the LeaveAll Timer is set, the port with GVRP enabled can send a LeaveAll message after the timer times out, so that other GARP ports can re-register all the attribute information.
  • Page 60: Show Gvrp Interface

    Example Display the global GVRP status: TL-SG3424(config)# show gvrp global show gvrp interface Description The show gvrp interface command is used to display the GVRP configuration information of all ports or a specified Ethernet port. Syntax show gvrp interface [ gigabitEthernet port ] Parameter port ——The Ethernet port number.
  • Page 61: Chapter 8 Etherchannel Commands

    Chapter 8 Etherchannel Commands Etherchannel Commands are used to configure LAG and LACP function. LAG (Link Aggregation Group) is to combine a number of ports together to make a single high-bandwidth data path, which can highly extend the bandwidth. The bandwidth of the LAG is the sum of bandwidth of its member port.
  • Page 62: Port-Channel Load-Balance

    port-channel load-balance Description The port-channel load-balance command is used to configure the Aggregate Arithmetic for LAG. To return to the default configurations, please use no port-channel load-balance command. Syntax port-channel load-balance { src-dst-mac | src-dst-ip } no port-channel load-balance Parameter src-dst-mac ——...
  • Page 63: Lacp Port-Priority

    Command Mode Global Configuration Mode Example Configure the LACP system priority as 1024 globally: TL-SG3424(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.
  • Page 64: Show Etherchannel Load-Balance

    Syntax show etherchannel [ channel-group-num ] { detail | summary } Parameter channel-group-num —— The EtherChannel Group number, ranging from 1 to 8. By default, it is empty, and will display the information of all EtherChannel Groups. detail —— The detailed information of EtherChannel. summary ——...
  • Page 65: Show Lacp Sys-Id

    Parameter channel-group-num —— The EtherChannel Group number, ranging from 1 to 8. By default, it is empty, and will display the information of all LACP groups. internal —— The internal LACP information. neighbor —— The neighbor LACP information. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the internal LACP information of EtherChannel Group 1:...
  • Page 66: Chapter 9 User Manage Commands

    Chapter 9 User Manage Commands User Manage Commands are used to manage the user’s logging information by Web, Telnet or SSH, so as to protect the settings of the switch from being randomly changed. user name (password) Description The user name command is used to add a new user or modify the existed users’ information.
  • Page 67: User Name (Secret)

    User Guidelines If the password you configured here is unencrypted and the global encryption function is enabled in service password-encryption, the password in the configuration file will be displayed in the symmetric encrypted form. If you change the password of the current user in a telnet or console connection, the connection will be cut off and the newly configured password is required for the re-login.
  • Page 68: User Access-Control Ip-Based

    ( !$%'()*,-./[]{|} ). By default, it is empty. The password will be saved to the configuration file using the MD5 encrypted algorithm. 5 —— Indicates an MD5 encrypted password with fixed length will follow. encrypted-password —— An MD5 encrypted password with fixed length, which you can copy from another switch’s configuration file.
  • Page 69: User Access-Control Mac-Based

    [ snmp ] [ telnet ] [ ssh ] [ http ] [ https ] [ ping ] [ all ] —— Specify the access interface. These interfaces are enabled by default. Command Mode Global Configuration Mode Example Enable the access-control of the user whose IP address is 192.168.0.148: TL-SG3424(config)# user access-control...
  • Page 70: User Access-Control Port-Based

    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 cancel the user access limit, please use no user access-control command. Syntax user access-control port-based interface { gigabitEthernet port | range gigabitEthernet port-list } [ snmp ] [ telnet ] [ ssh ] [ http ] [ https ] [ ping ] [ all ]...
  • Page 71: Password

    Parameter linenum —— The number of users allowed to login through console port. Its value is 0 in general as there is only one console port on a switch. startlinenum ——The start serial number of the login user selected to configure the login mode and password, ranging from 0 to 15.
  • Page 72: Login

    encrypted-password —— A symmetric encrypted password with fixed length, which you can copy from another switch’s configuration file. After the encrypted password is configured, you should use the corresponding unencrypted password if you re-enter this mode. Command Mode Line Configuration Mode User Guidelines If the password you configured here is unencrypted and the global encryption function is enabled in...
  • Page 73: Login Local

    TL-SG3424(config-line)# login Configure the login of virtual terminal connection 0-5 as login mode: TL-SG3424(config)# line vty 0 5 TL-SG3424(config-line)# login login local Description The login local command is used to configure the login of a switch with the user name and password. Syntax login local Command Mode...
  • Page 74: Show User Account-List

    Command Mode Global Configuration Mode Example Disable the Telnet function: TL-SG3424(config)# telnet disable show user account-list Description The show user account-list command is used to display the information of the current users. Syntax show user account-list Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the current users: TL-SG3424(config)# show user account-list...
  • Page 75: Show Telnet-Status

    show telnet-status Description The show telnet-status command is used to display the configuration information of the Telnet function. Syntax show telnet-status Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display whether the Telnet function is enabled: TL-SG3424(config)# show telnet-status...
  • Page 76: Chapter 10 Http And Https Commands

    Chapter 10 HTTP and HTTPS Commands With the help of HTTP (HyperText Transfer Protocol) or HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer), you can manage the switch through a standard browser. HTTP is the protocol to exchange or transfer hypertext. SSL (Secure Sockets Layer), a security protocol, is to provide a secure connection for the application layer protocol (e.g.
  • Page 77: Ip Http Session

    Syntax ip http max-users admin-num guest-num no ip http max-users Parameter admin-num —— The maximum number of the users logging on to the HTTP server as Admin, ranging from 1 to 16. The total number of Admin and Guest should be less than 16. guest-num ——...
  • Page 78: Ip Http Secure-Server

    Configure the timeout time of the HTTP connection as 15 minutes: TL-SG3424(config)# ip http session 15 ip http secure-server Description The ip http secure-server command is used to enable the HTTPS server within the switch. To disable the HTTPS function, please use no ip http secure-server command.
  • Page 79: Ip Http Secure-Ciphersuite

    Example Configure the protocol of SSL connection as SSL 3.0: TL-SG3424(config)# ip http secure-protocol ssl3 ip http secure-ciphersuite Description The ip http secure-ciphersuite command is used to configure the cipherSuites over the SSL connection supported by the switch. To restore to the default ciphersuite types, please use no ip http secure-ciphersuite command.
  • Page 80: Ip Http Secure-Session

    Syntax ip http secure-max-users admin-num guest-num no ip secure-max-users Parameter admin-num —— The maximum number of the users logging on to the HTTPs server as Admin, ranging from 1 to 16. The total number of Admin and Guest should be less than 16. guest-num ——...
  • Page 81: Ip Http Secure-Server Download Certificate

    Example Configure the timeout time of the HTTP server connection as 15 minutes: TL-SG3424(config)# ip http secure-session 15 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 ssl-cert ip-address ip-addr Parameter...
  • Page 82: Ip Http Secure-Server Download Key

    ip http secure-server download key Description The ip http secure-server download key command is used to download an SSL key to the switch from TFTP server. Syntax ip http secure-server download key ssl-key ip-address ip-addr Parameter ssl-key —— The name of the SSL key which is selected to download to the switch.
  • Page 83: Show Ip Http Secure-Server

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of the HTTP server: TL-SG3424(config)# show ip http configuration show ip http secure-server Description The show ip http secure-server command is used to display the global configuration of SSL.
  • Page 84: Chapter 11 Binding Table Commands

    Chapter 11 Binding Table Commands You can bind the IP address, MAC address, VLAN and the connected Port number of the Host together, which can be the condition for the ARP Inspection to filter the packets. ip source binding Description The ip source binding command is used to bind the IP address, MAC address, VLAN ID and the Port number together manually.
  • Page 85: Ip Source Binding Index

    Command Mode Global Configuration Mode Example Bind an entry with the IP 192.168.0.1, MAC 00:00:00:00:00:01, VLAN ID 2 and Port number 5 manually. And then enable the entry for the ARP detection: TL-SG3424(config)# ip source binding host1 192.168.0.1 00:00:00:00:00:01 vlan 2 interface gigabitEthernet 1/0/5 arp-detection Delete the IP-MAC –VID-PORT entry with the index 5: TL-SG3424(config)# no ip source binding index 5 ip source binding index...
  • Page 86: Ip Dhcp Snooping

    Example Modify the hostname as “tp-link” of the entry with the index 1: TL-SG3424(config)#ip source binding index 1 hostname tp-link ip dhcp snooping Description The ip dhcp snooping command is used to enable DHCP-Snooping function globally. To disable DHCP-Snooping function globally, please use no ip dhcp snooping command.
  • Page 87: Ip Dhcp Snooping Information Option

    Parameter global-rate —— The value to specify the maximum amount of DHCP messages that can be forwarded by the switch per second. The excessive messages will be discarded. The options are 0/10/20/30/40/50 (packet/second).By default, it is 0 standing for disable. dec-threshold ——The value to specify the minimum transmission rate of the Decline packets to trigger the Decline protection for the specific port.
  • Page 88: Ip Dhcp Snooping Information Strategy

    TL-SG3424(config)# ip dhcp snooping information option ip dhcp snooping information strategy Description The ip dhcp snooping information strategy command is used to select the operation for the Option 82 field of the DHCP request packets from the Host. To restore to the default option, please use no ip dhcp snooping information strategy command.
  • Page 89: Ip Dhcp Snooping Information Circuit-Id

    Syntax ip dhcp snooping information remote-id string no ip dhcp snooping information remote-id Parameter string ——Enter the sub-option Remote ID, which contains 32 characters at most. Command Mode Global Configuration Mode Example Enable and configure the customized sub-option Remote ID for the Option 82 as tplink: TL-SG3424(config)# ip dhcp snooping information remote-id tplink ip dhcp snooping information circuit-id...
  • Page 90: Ip Dhcp Snooping Trust

    ip dhcp snooping trust Description The ip dhcp snooping trust command is used to configure a port to be a Trusted Port. Only the Trusted Port can receive the DHCP packets from DHCP servers. To turn the port back to a distrusted port, please use no ip dhcp snooping trust command.
  • Page 91: Ip Dhcp Snooping Limit Rate

    Example Enable the MAC Verify feature for port 2: TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# ip dhcp snooping mac-verify ip dhcp snooping limit rate Description The ip dhcp snooping limit rate 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 no ip dhcp snooping limit rate command.
  • Page 92: Show Ip Source Binding

    Syntax ip dhcp snooping decline no ip dhcp snooping decline Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the Decline Protect feature of port 2: TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# ip dhcp snooping decline show ip source binding Description show source...
  • Page 93: Show Ip Dhcp Snooping Information

    Display the running status of DHCP-Snooping: TL-SG3424# show ip dhcp snooping show ip dhcp snooping information Description The show ip dhcp snooping information command is used to display the Option 82 configuration status of DHCP-Snooping. Syntax show ip dhcp snooping information Command Mode Privileged EXEC Mode and Any Configuration Mode Example...
  • Page 94: Chapter 12 Arp Inspection Commands

    Chapter 12 ARP Inspection Commands ARP (Address Resolution Protocol) Detect function is to protect the switch from the ARP cheating, such as the Network Gateway Spoofing and Man-In-The-Middle Attack, etc. ip arp inspection(global) Description The ip arp inspection command is used to enable the ARP Detection function globally.
  • Page 95: Ip Arp Inspection(Interface)

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Configure the ports 2-5 as the Trusted Port: TL-SG3424(config)# interface range gigabitEthernet 1/0/2-5 TL-SG3424(config-if-range)# ip arp inspection trust ip arp inspection(interface) Description The ip arp inspection command is used to enable the ARP Defend function. To disable the ARP detection function, please use no ip arp inspection command.
  • Page 96: Ip Arp Inspection Limit-Rate

    ip arp inspection limit-rate Description The ip arp inspection limit-rate command is used to configure the ARP speed of a specified port. To restore to the default speed, please use no ip arp inspection limit-rate command. Syntax ip arp inspection limit-rate value no ip arp inspection limit-rate Parameter value ——The value to specify the maximum amount of the received ARP...
  • Page 97: Show Ip Arp Inspection

    Example Restore port 5 to the ARP transmit status: TL-SG3424(config)# interface gigabitEthernet 1/0/5 TL-SG3424(config-if)# ip arp inspection recover show ip arp inspection Description The show ip arp inspection command is used to display the ARP detection global configuration including the enable/disable status and the Trusted Port list. Syntax show ip arp inspection Command Mode...
  • Page 98: Show Ip Arp Inspection Statistics

    TL-SG3424(config)# show ip arp inspection interface Display the configuration of port 2: TL-SG3424(config)# show ip arp inspection interface gigabitEthernet 1/0/2 show ip arp inspection statistics Description The show ip arp inspection statistics command is used to display the number of the illegal ARP packets received. Syntax show ip arp inspection statistics Command Mode...
  • Page 99: Chapter 13 Dos Defend Command

    Chapter 13 DoS Defend Command DoS (Denial of Service) Attack is to occupy the network bandwidth maliciously by the network attackers or the evil programs sending a lot of service requests to the Host. With the DoS Defend enabled, the switch can analyze the specific field of the received packets and provide the defend measures to ensure the normal working of the local network.
  • Page 100: Show Ip Dos-Prevent

    Parameter land —— Land attack. scan-synfin —— Scan SYNFIN attack. xma-scan —— Xma Scan attack. null-scan —— NULL Scan attack. port-less-1024 ——The SYN packets whose Source Port less than 1024. blat —— Blat attack. ping-flood —— Ping flooding attack. With the ping flood attack enabled, the switch will limit automatically the forwarding speed of ping packets to 512K when attacked by ping flood.
  • Page 101: Chapter 14 Ieee 802.1X Commands

    Chapter 14 IEEE 802.1X Commands IEEE 802.1X function is to provide an access control for LAN ports via the authentication. Only the supplicant passing the authentication can access the LAN. dot1x system-auth-control Description The dot1x system-auth-control command is used to enable the IEEE 802.1X function globally.
  • Page 102: Dot1X Guest-Vlan(Global)

    pap: IEEE 802.1X authentication system uses extensible authentication protocol (EAP) to exchange information between the switch and the client. The transmission of EAP packets is terminated at the switch and the EAP packets are converted to the other protocol (such as RADIUS) packets for transmission eap-md5: IEEE 802.1X authentication system uses extensible authentication protocol (EAP) to exchange information between the switch and the client.
  • Page 103: Dot1X Quiet-Period

    dot1x quiet-period Description The dot1x quiet-period command is used to enable the quiet-period function. To disable the function, please use no dot1x quiet-period command. Syntax dot1x quiet-period no dot1x quiet-period Command Mode Global Configuration Mode Example Enable the quiet-period function: TL-SG3424(config)# dot1x quiet-period dot1x timeout Description...
  • Page 104: Dot1X Max-Reauth-Req

    Example Configure the quiet period as 100 seconds: TL-SG3424(config)# dot1x timeout quiet-period 100 dot1x max-reauth-req Description The dot1x max-reauth-req command is used to configure the maximum transfer times of the repeated authentication request when the server cannot be connected. To restore to the default value, please use no dot1x max-reauth-req command.
  • Page 105: Dot1X Guest-Vlan(Interface)

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the IEEE 802.1X function for port 1: TL-SG3424(config)# interface gigabitEthernet 1/0/1 TL-SG3424(config-if)# dot1x dot1x guest-vlan(interface) Description The dot1x guest-vlan command is used to enable the guest VLAN function for a specified port.
  • Page 106: Dot1X Port-Method

    Syntax dot1x port-control { auto | authorized-force | unauthorized-force } no dot1x port-control Parameter auto | authorized-force | unauthorized-force —— The Control Mode for the port. auto: In this mode, the port will normally work only after passing the 802.1X Authentication.
  • Page 107: Radius

    port-based: All the clients connected to the port can access the network on the condition that any one of the clients has passed the 802.1X Authentication. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Configure the Control Type for port 1 as port-based: TL-SG3424(config)# interface gigabitEthernet 1/0/1 TL-SG3424(config-if)# dot1x port-method port-based radius...
  • Page 108: Radius Server-Account

    at most. The question marks and spaces are not allowed. “encrypted-password” is a symmetric encrypted password with a fixed length, which you can copy from another switch’s configuration file. The password or encrypted-password you configured here will be displayed in the encrypted form. acct-key { [ 0 ] password | 7 encrypted-password } ——...
  • Page 109: Show Dot1X Global

    show dot1x global Description The show dot1x global command is used to display the global configuration of 801.X. Syntax show dot1x global Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of 801.X globally: TL-SG3424(config)# show dot1x global show dot1x interface Description The show dot1x interface command is used to display all ports’...
  • Page 110: Show Radius Accounting

    show radius accounting Description The show radius accounting command is used to display the configuration of the accounting server. Syntax show radius accounting Command Mode Privileged EXEC Mode and Any Configuration Modes Example Display the configuration of the accounting server: TL-SG3424(config)# show radius accounting show radius authentication Description...
  • Page 111: Chapter 15 System Log Commands

    Chapter 15 System Log Commands The log information will record the settings and operation of the switch respectively for you to monitor operation status and diagnose malfunction. logging buffer Description The logging buffer command is used to configure the severity level and the status of the configuration input to the log buffer.
  • Page 112: Logging File Flash

    logging file flash Description The logging file flash command is used to store the log messages in a file in the flash on the switch. To disable the log file flash function, please use no logging file flash command. The log file flash indicates the flash sector for saving system log.
  • Page 113: Logging File Flash Level

    Command Mode Global Configuration Mode Example Specify the log file synchronization frequency as 10 hours: TL-SG3424(config)#logging file flash frequency periodic10 logging file flash level Description The logging file flash level command is used to specify the system log message severity level. Messages will a severity level equal to or higher than this value will be stored to the flash.
  • Page 114: Logging Host Index

    Syntax clear logging [ buffer | flash ] Parameter buffer | flash —The output channels: buffer and flash. Clear the information of the two channels, by default. Command Mode Global Configuration Mode Example Clear the information in the log file: TL-SG3424(config)# clear logging buffer logging host index Description...
  • Page 115: Show Logging Local-Config

    Example Set the IP address as 192.168.0.148, the level 5: TL-SG3424(config)# logging host index 2 192.168.0.148 5 show logging local-config Description The show logging local-config command is used to display the configuration of the Local Log including the log buffer and the log file. Syntax show logging local-config Command Mode...
  • Page 116: Show Logging Buffer

    show logging buffer Description The show logging buffer command is used to display the log information in the log buffer according to the severity level. Syntax show logging buffer [ level level ] Parameter level —— Severity level. There are 8 severity levels marked with values 0-7. The information of levels with priority not lower than the select level will display.
  • Page 117 Example Display the log information with the level marked 0~3 in the log file: TL-SG3424(config)# show logging flash level 3...
  • Page 118: Chapter 16 Ssh Commands

    Chapter 16 SSH Commands SSH (Security Shell) can provide the unsecured remote management with security and powerful authentication to ensure the security of 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.
  • Page 119: Ip Ssh Algorithm

    Example Enable SSH v2: TL-SG3424(config)# ip ssh version v2 ip ssh algorithm Description The ip ssh algorithm command is used to configure the algorithm in SSH function. To disable the specified algorithm, please use no ip ssh algorithm command. Syntax ip ssh algorithm { AES128-CBC | AES192-CBC | AES256-CBC | Blowfish-CBC | Cast128-CBC | 3DES-CBC | HMAC-SHA1 | HMAC-MD5 } no ip ssh algorithm...
  • Page 120: Ip Ssh Max-Client

    Command Mode Global Configuration Mode Example Specify the idle-timeout time of SSH as 100 seconds: TL-SG3424(config)# ip ssh timeout 100 ip ssh max-client Description The ip ssh max-client command is used to specify the maximum number of the connections to the SSH server. To return to the default configuration, please use no ip ssh max-client command.
  • Page 121: Show Ip Ssh

    key-file —— The name of the key-file which is selected to download. The length of the name ranges from 1 to 25 characters. The key length of the downloaded file must be in the range of 512 to 3072 bits. ip-addr ——...
  • Page 122: Chapter 17 Mac Address Commands

    Chapter 17 MAC Address Commands MAC Address configuration can improve the network security by configuring the Port Security and maintaining the address information by managing the Address Table. mac address-table static Description The mac address-table static command is used to add the static MAC address entry.
  • Page 123: Mac Address-Table Aging-Time

    mac address-table aging-time Description The mac address-table aging-time command is used to configure aging time for the dynamic address. To return to the default configuration, please use no mac address-table aging-time command. Syntax mac address-table aging-time aging-time no mac address-table aging-time Parameter aging-time ——...
  • Page 124: Mac Address-Table Max-Mac-Count

    Command Mode Global Configuration Mode Example Add a filtering address entry of which VLAN ID is 1 and MAC address is 00:1e:4b:04:01:5d: TL-SG3424(config)# mac address-table filtering 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.
  • Page 125: Show Mac Address-Table

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable Port Security function for port 1, select Static mode as the learn mode, and specify the maximum number of MAC addresses that can be learned on this port as 30: TL-SG3424(config)# interface gigabitEthernet 1/0/1 TL-SG3424(config-if)# mac address-table max-mac-count max-number 30...
  • Page 126: Show Mac Address-Table Max-Mac-Count Interface Gigabitethernet

    Example Display the Aging Time of the MAC address: TL-SG3424(config)# show mac address-table aging-time show mac address-table max-mac-count interface gigabitEthernet Description The show mac address-table max-mac-count interface gigabitEthernet command is used to display the security configuration of all ports or the specified port.
  • Page 127: Show Mac Address-Table Count

    Parameter —— The Ethernet port number. port Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the address configuration of port 1: TL-SG3424(config)# show mac address-table interface gigabitEthernet 1/0/1 show mac address-table count Description The show mac address-table count command is used to display the total amount of MAC address table.
  • Page 128: Show Mac Address-Table Vlan

    Example Display the information of the MAC address 00:00:00:00:23:00: TL-SG3424(config)#show mac address-table address 00:00:00:00:23:00 show mac address-table vlan Description The show mac address-table vlan command is used to display the MAC address configuration of the specified vlan. Syntax show mac address-table vlan vid Parameter ——...
  • Page 129: Chapter 18 System Configuration Commands

    Chapter 18 System Configuration Commands System Configuration Commands can be used to configure the system information and system IP of the switch, and to reboot and reset the switch, upgrade the switch system and commands used for device diagnose, including loopback test and cable test. system-time manual Description The system-time manual command is used to configure the system time...
  • Page 130 UTC-11:00 —— TimeZone for Coordinated Universal Time-11. UTC-10:00 —— TimeZone for Hawaii. UTC-09:00 —— TimeZone for Alaska. UTC-08:00 —— TimeZone for Pacific Time(US Canada). UTC-07:00 —— TimeZone for Mountain Time(US Canada). UTC-06:00 —— TimeZone for Central Time(US Canada). UTC-05:00 —— TimeZone for Eastern Time(US Canada). UTC-04:30 ——...
  • Page 131: System-Time Dst Predefined

    Example Configure the system time mode as NTP, the time zone is UTC-12:00, the primary NTP server is 133.100.9.2 and the secondary NTP server is 139.78.100.163, the fetching-rate is 11 hours: TL-SG3424(config)# system-time ntp UTC-12:00 133.100.9.2 139.79.100.163 system-time dst predefined Description The system-time dst predefined command is used to select a predefined DST configuration and the configuration can be recycled.
  • Page 132: System-Time Dst Date

    system-time dst date Description The system-time dst date command is used to specify the DST configuration in Date mode. This configuration is one-off in use. By default, the current year is used as the starting time. DST time periods should be within 12 months over one/two year.
  • Page 133: System-Time Dst Recurring

    system-time dst recurring Description The system-time dst recurring command is used to specify the DST configuration in recurring mode. This configuration is recurring in use. The time period is restricted to be within one year. Syntax system-time dst recurring { sweek } { sday } { smonth } { stime } { eweek } { eday } { emonth } { etime } [ offset ] Parameter sweek ——...
  • Page 134: Hostname

    hostname Description The hostname command is used to configure the system name. To clear the system name information, please use no hostname command. Syntax hostname hostname no hostname Parameter hostname —— System Name. The length of the name ranges from 1 to 32 characters.
  • Page 135: Contact-Info

    —— Contact Information. It consists of 32 characters at most. It is “www.tp-link.com” by default. Command Mode Global Configuration Mode Example Configure the system contact information as www.tp-link.com: TL-SG3424(config)# contact-info www.tp-link.com ip management-vlan Description The ip management-vlan command is used to configure the management VLAN, through which you can log on to the switch.
  • Page 136: Ip Address

    ip address Description The ip address command is used to configure the system IP Address, Subnet Mask and Default Gateway. To restore to the factory defaults, please use no ip address command. This command should be configured in the Interface Configuration Mode of the management VLAN.
  • Page 137: Ip Address-Alloc Bootp

    Example Enable the DHCP Client function when the management VLAN of the switch is VLAN1: TL-SG3424(config)# interface vlan 1 TL-SG3424(config-if)# ip address-alloc dhcp ip address-alloc bootp Description The ip address-alloc bootp command is used to enable the BOOTP Protocol. When the BOOTP Protocol is enabled, the switch will try to obtain IP address from BOOTP Server.
  • Page 138: Reboot

    Example Reset the software of the switch: TL-SG3424# reset reboot Description The reboot command is used to reboot the switch. To avoid damage, please don’t turn off the device while rebooting. Syntax reboot Command Mode Privileged EXEC Mode Example Reboot the switch: TL-SG3424# reboot copy running-config startup-config Description...
  • Page 139: Copy Startup-Config Tftp

    copy startup-config tftp Description The copy startup-config tftp command is used to backup the configuration file to TFTP server. Syntax copy startup-config tftp ip-address ip-addr filename name Parameter ip-addr —— IP Address of the TFTP server. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.1 or fe80::1234.
  • Page 140: Firmware Upgrade

    Command Mode Privileged EXEC Mode Example Download the configuration file named as config.cfg to the switch from TFTP server with the IP 192.168.0.148: TL-SG3424# copy tftp startup-config ip-address 192.168.0.148 filename config Download the configuration file named as config.cfg to the switch from TFTP server with the IP fe80::1234 TL-SG3424# copy tftp startup-config ip-address fe80::1234 filename config firmware upgrade...
  • Page 141: Ping

    ping Description The ping command is used to test the connectivity between the switch and one node of the network. Syntax ping [ ip | ipv6 ] { ip_addr } [ -n count ] [ -l count ] [ -i count ] Parameter ip ——...
  • Page 142: Tracert

    tracert Description The tracert command is used to test the connectivity of the gateways during its journey from the source to destination of the test data. Syntax tracert [ ip | ipv6 ] ip_addr [ maxHops ] Parameter ip —— The type of the IP address for tracert test should be IPv4. ipv6 ——...
  • Page 143: Show System-Time Dst

    Syntax show system-time Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the time information of the switch: TL-SG3424# show system-time show system-time dst Description The show system-time dst command is used to display the DST time information of the switch. Syntax show system-time dst Command Mode...
  • Page 144: Show System-Info

    TL-SG3424# show system-time ntp show system-info Description The show system-info command is used to display system description, system name, device location, system contact, hardware version, firmware version, system time, run time and so on. Syntax show system-info Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the system information: TL-SG3424# show system-info...
  • Page 145 The show cable-diagnostics interface command is used to display the cable diagnostics of the connected Ethernet Port., which facilitates you to check the connection status of the cable connected to the switch, locate and diagnose the trouble spot of the network. Syntax show cable-diagnostics interface gigabitEthernet port Parameter...
  • Page 146: Chapter 19 Ipv6 Address Configuration Commands

    Chapter 19 IPv6 Address Configuration Commands The IPv6 address configuration commands are provided in the Interface VLAN Mode. Type enable →configure→interface vlan {vlan-id} to enter the Interface Configuration Mode of the management VLAN. By default the management VLAN is VLAN1. You can use the command ip management-vlan {vlan-id} in the Global Configuration Mode to configure the management VLAN.
  • Page 147: Ipv6 Address Link-Local

    Syntax ipv6 address autoconfig Configuration Mode Interface Configuration Mode (interface vlan) Example Enable the automatic configuration of the ipv6 link-local address when the management VLAN of the switch is VLAN1: TL-SG3424(config)# interface vlan 1 TL-SG3424(config-if)# ipv6 address autoconfig ipv6 address link-local Description The ipv6 address link-local command is used to configure the system ipv6 link-local address manually.
  • Page 148: Ipv6 Address Ra

    server. To delete the allocated IP from DHCPv6 server and disable the DHCPv6 Client function, please use no ipv6 address dhcp command. Syntax ipv6 address dhcp no ipv6 address dhcp Configuration Mode Interface Configuration Mode (interface vlan) Example Enable the DHCP Client function when the management VLAN of the switch is VLAN1: TL-SG3424(config)# interface vlan 1 TL-SG3424(config-if)# ipv6 address dhcp...
  • Page 149: Ipv6 Address Eui-64

    ipv6 address eui-64 Description This command is used to manually configure a global IPv6 address with an extended unique identifier (EUI) in the low-order 64 bits on the interface. Specify only the network prefix. The last 64 bits are automatically computed from the switch MAC address.
  • Page 150: Show Ipv6 Interface Vlan

    Configuration Mode Interface Configuration Mode (interface vlan) Example Configure the global address 3001::1/64 on the interface: TL-SG3424(config)# interface vlan 1 TL-SG3424(config-if)# ipv6 address 3001::1/64 show ipv6 interface vlan Description This command is used to display the configured ipv6 information of the management vlan,interface, including ipv6 function status, link-local address and global address, ipv6 multicast groups etc.
  • Page 151: Chapter 20 Ethernet Configuration Commands

    Chapter 20 Ethernet Configuration Commands Ethernet Configuration Commands can be used to configure the Bandwidth Control, Negotiation Mode and Storm Control for Ethernet ports. interface gigabitEthernet Description The interface gigabitEthernet command is used to enter the Interface gigabitEthernet Configuration Mode and configure the corresponding Gigabit Ethernet port.
  • Page 152: Description

    User Guidelines Command in the Interface Range gigabitEthernet Mode is executed independently on all ports in the range. It does not affect the execution on the other ports at all if the command results in an error on one port. Example To enter the Interface range gigabitEthernet Configuration Mode, and configure ports 1, 2, 3, 6, 7 and 9 at the same time by adding them to one port-list:...
  • Page 153: Flow-Control

    TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# flow-control media-type Note: This command does not apply to TL-SG3210. Description The media-type command is used to configure the media type of Combo port. For a Combo port, the media type should be configured before you set its speed...
  • Page 154: Duplex

    Syntax media-type { rj45 | sfp } Parameter rj45 | sfp —— Media type. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Configure the media type of Combo port 24T as “SFP”: TL-SG3424(config)# interface gigabitEthernet 1/0/24 TL-SG3424(config-if)# media-type sfp duplex Description...
  • Page 155: Speed

    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 speed { 10 | 100 | 1000 | auto } no speed Parameter 10 | 100 | 1000 | auto ——...
  • Page 156: Storm-Control Multicast

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the broadcast control function for port 5: TL-SG3424(config)# interface gigabitEthernet 1/0/5 TL-SG3424(config-if)# storm-control broadcast storm-control multicast Description The storm-control multicast command is used to enable the multicast control function.
  • Page 157: Storm-Control Unicast

    storm-control unicast Description The storm-control unicast command is used to enable the unicast control function. To disable the unicast control function, please use no storm-control unicast command. Unicast control function allows the switch to filter UL frame in the network. If the transmission rate of the UL frames exceeds the set bandwidth, the packets will be automatically discarded to avoid network broadcast storm.
  • Page 158: Clear Counters

    Parameter ingress-rate —— Specify the bandwidth for receiving packets. Range:1-100000 for the megaport, 1-1000000 for the gigaport. egress-rate —— Specify the bandwidth for sending packets. Range:1-100000 for the megaport, 1-1000000 for the gigaport. all | ingress | egress —— Disable the bandwidth limitation function on the specified packet type.
  • Page 159: Show Interface Status

    show interface status Description The show interface status command is used to display the connective-status of an Ethernet port. Syntax show interface [ gigabitEthernet port ] status Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the connective-status of all ports: TL-SG3424(config)# show interface status...
  • Page 160: Show Interface Description

    show interface description Description The show interface description command is used to display the description of all ports or an Ethernet port. Syntax show interface [ gigabitEthernet port ] description Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the description of all Ethernet ports: TL-SG3424(config)# show interface description...
  • Page 161: Show Interface Configuration

    show interface configuration Description The show interface configuration command is used to display the configurations of all ports or an Ethernet port, including Port-status, Flow Control, Negotiation Mode and Port-description. Syntax show interface [ gigabitEthernet port ] configuration Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example...
  • Page 162: Show Bandwidth

    TL-SG3424(config)# show storm-control interface range gigabitEthernet 1/0/4-7 show bandwidth Description The show bandwidth command is used to display the bandwidth-limit information of Ethernet ports. Syntax show bandwidth [interface { gigabitEthernet port | range gigabitEthernet port-list }] Parameter port —— The Ethernet port number. port-list ——...
  • Page 163: Chapter 21 Qos Commands

    Chapter 21 QoS Commands QoS (Quality of Service) function is used to optimize the network performance. It provides you with network service experience of a better quality. Description The qos command is used to configure CoS (Class of Service) based on port. To return to the default configuration, please use no qos command.
  • Page 164: Qos Queue Cos-Map

    Syntax qos dscp no qos dscp Command Mode Global Configuration Mode User Guidelines DSCP (DiffServ Code Point) is a new definition to IP ToS field given by IEEE. DSCP priorities are mapped to the corresponding 802.1p priorities. IP datagram will be classified into the egress queue based on the mapping relation between DSCP priority and CoS value.
  • Page 165: Qos Queue Dscp-Map

    User Guidelines 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. Among the priority levels TC0-TC3, the bigger value, the higher priority. Example Map CoS 5 to TC 2.: TL-SG3424(config)# qos queue cos-map 5 2 qos queue dscp-map Description...
  • Page 166: Qos Queue Mode

    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-SG3424(config)# qos queue dscp-map 10-12 2 qos queue mode Description The qos queue mode command is used to configure the Schedule Mode.
  • Page 167: Show Qos Interface

    equ —— Equal-Mode. In this mode, all the queues occupy the bandwidth equally. The weight value ratio of all the queues is 1:1:1:1. Command Mode Global Configuration Mode Example Specify the Schedule Mode as Weight Round Robin Mode: TL-SG3424(config)# qos queue mode wrr show qos interface Description The show qos interface command is used to display the configuration of QoS...
  • Page 168: Show Qos Dscp-Map

    Command Mode Privileged 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-SG3424# show qos cos-map show qos dscp-map Description The show qos dscp-map command is used to display the configuration of DSCP Priority.
  • Page 169: Show Qos Status

    show qos status Description The show qos status command is used to display the status of IEEE 802.1P priority and DSCP priority. 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-SG3424# show qos status...
  • Page 170: Chapter 22 Port Mirror Commands

    Chapter 22 Port Mirror Commands Port Mirror refers to the process of forwarding copies of packets from one port to a monitoring port. Usually, the monitoring port is connected to data diagnose device, which is used to analyze the monitored packets for monitoring and troubleshooting the network. monitor session destination interface Description The monitor session destination interface command is used to configure the...
  • Page 171: Monitor Session Source Interface

    monitor session source interface Description The monitor session source interface command is used to configure the monitored port. To delete the corresponding monitored port, please use no monitor session source interface command. Syntax monitor session session_num source interface gigabitEthernet port-list mode no monitor session session_num source interface gigabitEthernet port-list mode...
  • Page 172: Show Monitor Session

    TL-SG3424(config)# monitor session 1 source interface gigabitEthernet 1/0/4-5,1/0/7 rx Delete port 4 in monitor session 1 and its configuration: TL-SG3424(config)# no monitor session 1 source interface gigabitEthernet 1/0/4 rx show monitor session Description The show monitor session command is used to display the configuration of port monitoring.
  • Page 173: Chapter 23 Port Isolation Commands

    Chapter 23 Port Isolation Commands Port Isolation provides a method of restricting traffic flow to improve the network security by forbidding the port to forward packets to the ports that are not on its forwarding port list. port isolation Description The port isolation command is used to configure the forward port list of a port, so that this port can only communicate with the ports on its port list.
  • Page 174 Syntax show port isolation interface [ gigabitEthernet port ] Parameter port —— The number of Ethernet port you want to 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-SG3424# show port isolation interface gigabitEthernet 1/0/2 Display the forward-list of all Ethernet ports:...
  • Page 175: Chapter 24 Loopback Detection Commands

    Chapter 24 Loopback Detection Commands With loopback detection feature enabled, the switch can detect loops using loopback detection packets. When a loop is detected, the switch will display an alert or further block the corresponding port according to the configuration. loopback-detection(global) Description The loopback-detection command is used to enable the loopback detection...
  • Page 176: Loopback-Detection Recovery-Time

    Example Specify the interval-time as 50 seconds: TL-SG3424(config)# loopback-detection interval 50 loopback-detection recovery-time Description The loopback-detection recovery-time command is used to configure the time after which the blocked port would automatically recover to normal status. Syntax loopback-detection recovery-time recovery-time Parameter recovery-time ——...
  • Page 177: Loopback-Detection Config

    TL-SG3424(config)# interface range gigabitEthernet 1/0/1-3 TL-SG3424(config-if-range)# loopback-detection loopback-detection config Description The loopback-detection config command is used to configure the process-mode and recovery-mode for the ports by which the switch copes with the detected loops. Syntax loopback-detection config [ process-mode { alert | port-based }] [ recovery-mode { auto | manual }] Parameter alert | port-based ——...
  • Page 178: Show Loopback-Detection Global

    Syntax loopback-detection recover Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Recover the blocked port 2 to normal status: TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# loopback-detection recover show loopback-detection global Description The show loopback-detection global command is used to display the global configuration of loopback detection function such as loopback detection global status, loopback detection interval and loopback detection recovery time.
  • Page 179 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of loopback detection function and the status of all ports: TL-SG3424# show loopback-detection interface Display the configuration of loopback detection function and the status of port 5: TL-SG3424# show loopback-detection interface gigabitEthernet 1/0/5...
  • Page 180: Chapter 25 Poe Commands

    Chapter 25 PoE Commands Note: Only TL-SG3424P supports PoE function. PoE (Power over Ethernet) technology describes a system to transmit electrical power along with data to remote devices over standard twisted-pair cable in an Ethernet network. It is especially useful for supplying power to IP telephones, wireless LAN access points, cameras and so on. power inline consumption (global) Description The power inline consumption command is used to configure the max power...
  • Page 181: Power Profile

    deny-low priority —— When the supply power exceeds the power limit, the PD linked to the port with lower priority will be disconnected. Command Mode Global Configuration Mode Example Configure the power disconnect method as deny-next-port: TL-SG3424P(config)# power inline disconnect-method deny-next-port power profile Description The power profile command is used to create a PoE profile for the switch.
  • Page 182: Power Time-Range

    Command Mode Global Configuration Mode Example Create a PoE profile named “IP Camera” whose PoE status is “enable”, PoE priority is “low” and the power limit is “5w”: TL-SG3424P(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.
  • Page 183: Power Holiday

    power holiday Description The power holiday command is used to create PoE holiday for the switch. To delete the corresponding PoE holiday configuration, please use no power holiday command. Syntax power holiday name start-date start-date end-date end-date no power holiday name Parameter name ——...
  • Page 184: Periodic

    Parameter start-date —— The start date in Absoluteness Mode, in the format of MM/DD/YYYY. end-date —— The end date in Absoluteness Mode, in the format of MM/DD/YYYY. Command Mode Power 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.
  • Page 185: Holiday

    specify the date and time as 8:30 to 12:00 on weekends: TL-SG3424P(config)# power time-range tRange2 TL-SG3424P(config-pwr-time-range)# periodic week-date off-day time-slice1 08:30-12:00 holiday Description The holiday command is used to create holiday mode time-range for the PoE time-range of the switch. When the PoE holiday which is excluded from PoE time-range occurs, the switch will not supply power.
  • Page 186: Power Inline Priority

    Parameter power-limit —— The max power the port in the profile can supply, with five options: “power-limit”, “auto”, ”class1”, “class2”, “class3” and “class4”. “Power-limit” indicates you can manually enter a value ranging from 1 to 300. The value is in the unit of 0.1 watt. For instance, if you want to configure the max power as 5w, you should enter 50.
  • Page 187: Power Inline Supply

    power inline supply Description The power inline supply command is used to configure the PoE status of the corresponding port. Syntax power inline supply { enable | disable } Parameter enable | disable —— The PoE status of the port. By default, the PoE status is “enable”.
  • Page 188: Power Inline Time-Range

    TL-SG3424P(config)# interface gigabitEthernet 1/0/2 TL-SG3424P(config-if)# power inline profile “IP Camera” power inline time-range Description The power inline time-range command is used to bind a PoE time-range to the corresponding port. To cancel the bind relation, please use no power inline time-range command.
  • Page 189: Show Power Inline Configuration Interface

    show power inline configuration interface Description The show power inline configuration interface command is used to display the PoE configuration of the certain port. Syntax show power inline configuration interface [ gigabitEthernet port ] Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example...
  • Page 190: Show Power Holiday

    Syntax show power profile Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the defined PoE profile: TL-SG3424P# show power profile show power holiday Description The show power holiday command is used to display the defined PoE holiday. Syntax show power holiday Command Mode...
  • Page 191: Chapter 26 Acl Commands

    Chapter 26 ACL Commands ACL (Access Control List) is used to filter data packets by configuring a series of match conditions, operations and time ranges. It provides a flexible and secured access control policy and facilitates you to control the network security. time-range Description The time-range command is used to add Time-Range.
  • Page 192: Periodic

    Parameter start-date —— The start date in Absoluteness Mode, in the format of MM/DD/ YYYY. By default, it is 01/01/2000. end-date —— The end date in Absoluteness Mode, in the format of MM/DD/ YYYY. By default, it is 12/31/2000. The absoluteness mode will be disabled if the start date and end date are both in default value.
  • Page 193: Holiday

    TL-SG3424(config-time-range)# periodic week-date off-day time-slice1 08:30-12:00 holiday Description The holiday command is used to configure the time-range into Holiday Mode under Time-range Create Configuration Mode. To delete the corresponding Holiday Mode time-range, please use no holiday command. Syntax holiday no holiday Command Mode Time-range Create Configuration Mode Example...
  • Page 194: Access-List Create

    Example Define National Day, configuring the start date as October 1st, and the end date as October 3rd: TL-SG3424(config)# holiday nationalday start-date 10/01 end-date 10/03 access-list create Description The access-list create command is used to create standard-IP ACL and extend-IP ACL. Syntax access-list create access-list-num Parameter...
  • Page 195: Access-List Standard

    Example Create a MAC ACL whose ID is 23: TL-SG3424(config)# mac access-list 23 access-list standard Description The access-list standard command is used to add Standard-IP ACL rule. To delete the corresponding rule, please use no access-list standard command. Standard-IP ACLs analyze and process data packets based on a series of match conditions, which can be the source IP addresses and destination IP addresses carried in the packets.
  • Page 196: Access-List Extended

    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: TL-SG3424(config)# access-list create 120 TL-SG3424(config)# access-list standard rule permit 192.168.0.100 smask 255.255.255.0 tseg tSeg1 access-list extended Description The access-list extended command is used to add Extended-IP ACL rule.
  • Page 197: Rule

    tos—— Enter the IP ToS contained in the rule. pri —— Enter the IP Precedence contained in the rule. Command Mode Global Configuration Mode Example Create an Extended-IP ACL whose ID is 220, and add Rule 10 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:...
  • Page 198: Access-List Policy Name

    ethernet-type —— EtherType contained in the rule, in the format of 4-hex number. user-pri —— The user priority contained in the rule, ranging from 0 to 7. By default, it is not limited. time-segment —— The time-range for the rule to take effect. By default, it is not limited.
  • Page 199: Access-List Policy Action

    TL-SG3424(config)# access-list policy name policy1 access-list policy action Description The access-list policy action command is used to add ACLs and create actions for the policy. To set the detailed configuration of actions for a policy, please use access-list policy action command to access Action Configuration Mode.
  • Page 200: Redirect Vlan

    Example Edit the actions for policy1. Forward the data packets matching ACL 120 in the policy to port 2: TL-SG3424(config)# access-list policy action policy1 120 TL-SG3424(config-action)# redirect interface gigabitEthernet 1/0/2 redirect vlan Description The redirect vlan command is used to configure Direction function of policy action for specified VLAN.
  • Page 201: S-Mirror

    osd —— Out of Band disposal of Stream Condition. It is the disposal way of the data packets those are transmitted beyond the rate. There are two options, none and discard. By default, the option is none. Command Mode Action Configuration Mode Example Edit the actions for policy1.
  • Page 202: Access-List Bind(Interface)

    Syntax qos-remark dscp dscp priority pri no qos-remark Parameter dscp —— DSCP of QoS Remark. Specify the DSCP region for the data packets matching the corresponding ACL. DSCP ranges from 0 to 63. By default, it is not limited. pri —— Local Priority of QoS Remark. Specify the local priority for the data packets matching the corresponding ACL.
  • Page 203: Access-List Bind(Vlan)

    access-list bind(vlan) Description The access-list bind command is used to bind a policy to a VLAN. To cancel the bind relation, please use no access-list bind command. Syntax access-list bind policy-name no access-list bind policy-name Parameter policy-name —— The name of the policy desired to bind. Command Mode Interface VLAN Mode Example...
  • Page 204: Show Access-List

    Syntax show holiday Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the defined holiday: TL-SG3424(config)# show holiday show access-list Description The show access-list command is used to display configuration of ACL. Syntax show access-list acl-id Parameter acl-id —— The ID of the ACL selected to display the configuration. Command Mode Privileged EXEC Mode and Any Configuration Mode Example...
  • Page 205: Show Access-List Bind

    Example Display the information of a policy named policy1: TL-SG3424(config)# show access-list policy policy1 show access-list bind Description The show access-list bind command is used to display the configuration of Policy bind. Syntax show access-list bind Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of Policy bind: TL-SG3424(config)# show access-list bind...
  • Page 206: Chapter 27 Mstp Commands

    Chapter 27 MSTP Commands MSTP (Multiple Spanning Tree Protocol), compatible with both STP and RSTP and subject to IEEE 802.1s, can disbranch a ring network. STP is to block redundant links and backup links as well as optimize paths. spanning-tree(global) Description The spanning-tree command is used to enable STP function globally.
  • Page 207: Spanning-Tree Common-Config

    TL-SG3424(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-tree common-config command. CIST (Common and Internal Spanning Tree) is the spanning tree in a switched network, connecting all devices in the network.
  • Page 208: Spanning-Tree Mode

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the STP function of port 1, and configure the Port Priority as 64, ExtPath Cost as 100, IntPath Cost as 100, and then enable Edge Port: TL-SG3424(config)# interface gigabitEthernet 1/0/1 TL-SG3424(config-if)# spanning-tree common-config port-priority 64 ext-cost 100 int-cost 100 portfast enable point-to-point open spanning-tree mode...
  • Page 209: Instance

    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-SG3424(config)# spanning-tree mst configuration instance Description The instance command is used to configure the VLAN-Instance mapping. To remove the VLAN-instance mapping or disable the corresponding instance, please use no instance command.
  • Page 210: Name

    TL-SG3424(config)# spanning-tree mst configuration TL-SG3424(config-mst)# no instance 1 vlan 1-50 name Description The name command is used to configure the region name of MST instance. Syntax name name Parameters name —— The region name, used to identify MST region. It ranges from 1 to 32 characters.
  • Page 211: Spanning-Tree Mst Instance

    spanning-tree mst instance Description The spanning-tree mst instance command is used to configure the priority of MST instance. To return to the default value of MST instance priority, please use no spanning-tree mst instance command. Syntax spanning-tree mst instance instance-id priority pri no spanning-tree mst instance instance-id priority Parameter instance-id ——...
  • Page 212: Spanning-Tree Priority

    pri —— Port Priority, which must be multiple of 16 ranging from 0 to 240. By default, it is 128. Port Priority is an important criterion on determining if the port will be chosen as the root port by the device connected to this port. cost ——...
  • Page 213: Spanning-Tree Tc-Defend

    spanning-tree tc-defend Description The spanning-tree tc-defend command is used to configure the TC Protect of Spanning Tree globally. To return to the default configuration, please use no spanning-tree tc-defend command. A switch removes MAC address entries upon receiving TC-BPDUs. If a malicious user continuously sends TC-BPDUs to a switch, the switch will be busy with removing MAC address entries, which may decrease the performance and stability of the network.
  • Page 214: Spanning-Tree Hold-Count

    Parameter forward-time —— Forward Delay, which is the time for the port to transit its state after the network topology is changed. Forward Delay ranges from 4 to 30 in seconds and it is 15 by default. Otherwise, 2 * (Forward Delay - 1) ≥ Max Age. hello-time ——Hello Time, which is the interval to send BPDU packets, and used to test the links.
  • Page 215: Spanning-Tree Max-Hops

    spanning-tree max-hops Description The spanning-tree max-hops command is used to configure the maximum number of hops that occur in a specific region before the BPDU is discarded. To return to the default configurations, please use no spanning-tree max-hops command. Syntax spanning-tree max-hops value no spanning-tree max-hops Parameter...
  • Page 216: Spanning-Tree Bpduguard

    TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# spanning-tree bpdufilter spanning-tree bpduguard Description The spanning-tree bpduguard command is used to enable the BPDU protect function for a port. With the BPDU protect function enabled, the port will set itself automatically as ERROR-PORT when it receives BPDU packets, and the port will disable the forwarding function for a while.
  • Page 217: Spanning-Tree Guard Root

    Example Enable the Loop Protect function for port 2: TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# spanning-tree guard loop spanning-tree guard root Description The spanning-tree guard root command is used to enable the Root Protect function for a port. With the Root Protect function enabled, the root bridge will set itself automatically as ERROR-PORT when receiving BPDU packets with higher priority, in order to maintain the role of root ridge.
  • Page 218: Spanning-Tree Mcheck

    Syntax spanning-tree guard tc no spanning-tree guard tc Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the TC Protect of Spanning Tree for port 2: TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# spanning-tree guard tc spanning-tree mcheck Description The spanning-tree mcheck command is used to enable MCheck.
  • Page 219: Show Spanning-Tree Bridge

    Example Display the active information of spanning-tree: TL-SG3424(config)# show spanning-tree active show spanning-tree bridge Description The show spanning-tree bridge command is used to display the bridge parameters. Syntax show spanning-tree bridge [ forward-time | hello-time | hold-count | max-age | max-hops | mode | priority | state ] Command Mode Privileged EXEC Mode and Any Configuration Mode...
  • Page 220: Show Spanning-Tree Interface-Security

    TL-SG3424(config)# show spanning-tree interface gigabitEthernet 1/0/2 Display the spanning-tree mode information of port 2: TL-SG3424(config)# show spanning-tree interface gigabitEthernet 1/0/2 mode show spanning-tree interface-security Description The show spanning-tree interface-security command is used to display the protect information of all ports or a specified port. Syntax show spanning-tree interface-security [ gigabitEthernet port ] [ bpdufilter | bpduguard | loop | root | tc | tc-defend ]...
  • Page 221 Parameter instance-id —— Instance ID desired to show, ranging from 1 to 8. port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the related information of MST Instance 1: TL-SG3424(config)# show spanning-tree mst instance 1...
  • Page 222: Chapter 28 Igmp Snooping Commands

    Chapter 28 IGMP Snooping Commands IGMP Snooping (Internet Group Management Protocol Snooping) is a multicast control mechanism running on Layer 2 switch. It can effectively prevent multicast groups being broadcasted in the IPv4 network. ip igmp snooping(global) Description The ip igmp snooping command is used to configure IGMP Snooping globally. To disable the IGMP Snooping function, please use no ip igmp snooping command.
  • Page 223: Ip Igmp Snooping Immediate-Leave

    TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# ip igmp snooping ip igmp snooping immediate-leave Description The ip igmp snooping immediate-leave command is used to configure the Fast Leave function for port. To disable the Fast Leave function, please use no ip igmp snooping immediate-leave command. Syntax ip igmp snooping immediate-leave no ip igmp snooping immediate-leave...
  • Page 224: Ip Igmp Snooping Vlan-Config

    ip igmp snooping vlan-config Description The ip igmp snooping vlan-config command is used to enable VLAN IGMP Snooping function or to modify IGMP Snooping parameters, and to create static multicast IP entry. To disable the VLAN IGMP Snooping function, please use no ip igmp snooping vlan-config command.
  • Page 225: Ip Igmp Snooping Multi-Vlan-Config

    Example Enable the IGMP Snooping function and modify Router Port Time as 300 seconds, Member Port Time as 200 seconds for VLAN1-3, and set the Leave time as 15 seconds for VLAN1-2: TL-SG3424(config)# ip igmp snooping vlan-config 1-3 rtime 300 TL-SG3424(config)# ip igmp snooping vlan-config 1-3 mtime 200 TL-SG3424(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...
  • Page 226: Ip Igmp Snooping Filter Add-Id

    leave-time —— Leave Time, which is the interval between the switch receiving a leave message from a host and the switch removing the host from the multicast groups. Leave Time ranges from 1 to 30 in seconds. By default, it is 1. port ——...
  • Page 227: Ip Igmp Snooping Filter(Global)

    Example Bind the filtering address ID 2-6 to port 3: TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# ip igmp snooping filter addr-id 2-6 ip igmp snooping filter(global) Description The ip igmp snooping filter command is used to add or modify the multicast filtering IP-range.
  • Page 228: Ip Igmp Snooping Filter Maxgroup

    Syntax ip igmp snooping filter no ip igmp snooping filter Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable IGMP Snooping filter function for port 3: TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# ip igmp snooping filter ip igmp snooping filter maxgroup Description The ip igmp snooping filter maxgroup command is used to specify the maximum number of multicast groups for a port to join in.
  • Page 229: Clear Ip Igmp Snooping Statistics

    Syntax ip igmp snooping filter mode mode Parameter mode —— Action Mode, with refuse and accept options. Refuse indicates only the multicast packets whose multicast IP is not in the IP-range will be processed, while accept indicates only the multicast packets whose multicast IP is in the IP-range will be processed.
  • Page 230: Show Ip Igmp Snooping Interface

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of IGMP: TL-SG3424# show ip igmp snooping show ip igmp snooping interface Description The show ip igmp snooping interface command is used to display the port configuration of IGMP snooping.
  • Page 231: Show Ip Igmp Snooping Multi-Vlan

    The show ip igmp snooping vlan command is used to display the VLAN configuration of IGMP snooping. Syntax show ip igmp snooping vlan [ vlan-id ] Parameter vlan-id ——The VLAN ID selected to display. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IGMP snooping configuration information of VLAN 2: TL-SG3424# show ip igmp snooping vlan 2...
  • Page 232: Show Ip Igmp Snooping Filter

    Parameter vlan-id ——The VLAN ID selected to display the information of all multicast items. count —— The numbers of all multicast groups. dynamic —— Display dynamic multicast groups. dynamic count —— The numbers of all dynamic multicast groups. static —— Display static multicast groups. static count ——...
  • Page 233 Parameter filter-addr-id-list ——The multicast ID selected to display the multicast filter address information. It is optional. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display all the multicast filter address information: TL-SG3424(config)# show ip igmp snooping filter...
  • Page 234: Chapter 29 Mld Snooping Commands

    Chapter 29 MLD Snooping Commands MLD Snooping (Multicast Listener Discovery Snooping) is a multicast control mechanism running on Layer 2 switch. It can effectively prevent multicast groups being broadcasted in the IPv6 network. ipv6 mld snooping Description The ipv6 mld snooping command is used to enable MLD Snooping function globally.
  • Page 235: Ipv6 Mld Snooping Member-Aging-Time

    Example Specify MLD Snooping router port aging time as 100 seconds globally: TL-SG3424(config)# ipv6 mld snooping router-aging-time 100 ipv6 mld snooping member-aging-time Description The ipv6 mld snooping member-aging-time command is used to specify member port aging time globally. The default aging time is 260 seconds. To ipv6 snooping restore...
  • Page 236: Ipv6 Mld Snooping Unknown-Filter

    ipv6 mld snooping unknown-filter Description The ipv6 mld snooping unknown-filter command is used to enable the unknown multicast packets filter function. To disable this function, please use no ipv6 mld snooping unknown-filter command. By default, it is disabled. Syntax ipv6 mld snooping unknown-filter no ipv6 mld snooping unknown-filter Command Mode Global Configuration Mode...
  • Page 237: Ipv6 Mld Snooping Last-Listener Query-Count

    ipv6 mld snooping last-listener query-count Description The ipv6 mld snooping last-listener query-count command is used to specify the numbers of Specific Query Message to be sent. The default value is 2. To restore the default number, please use no ipv6 mld snooping last-listener query-count command.
  • Page 238: Ipv6 Mld Snooping Multicast-Vlan Vlan-Id

    ipv6 mld snooping multicast-vlan vlan-id Description The ipv6 mld snooping multicast-vlan vlan-id command is used to specify the multicast VLAN ID. The default multicast VLAN is VLAN1. To restore the default VLAN, please use no ipv6 mld snooping multicast-vlan vlan-id command. Syntax ipv6 mld snooping multicast-vlan vlan-id vid no ipv6 mld snooping multicast-vlan vlan-id...
  • Page 239: Ipv6 Mld Snooping Vlan Router-Aging-Time

    ipv6 mld snooping vlan router-aging-time Description The ipv6 mld snooping vlan router-aging-time command is used to specify router port aging time for a specified VLAN. If this time is set to 0, then the global router port aging time will be used. The default time is 0. To restore the default timer, please use no ipv6 mld snooping vlan router-aging-time command.
  • Page 240: Ipv6 Mld Snooping Vlan Immediate-Leave

    Example Specify the member port aging time as 100 seconds in VLAN 2: TL-SG3424(config)# ipv6 mld snooping vlan 2 member-aging-time 100 ipv6 mld snooping vlan immediate-leave Description The ipv6 mld snooping vlan immediate-leave command is used to enable the immediate leave function on a specified VLAN. To disable this funciton, please use no ipv6 mld snooping vlan immediate-leave command.
  • Page 241: Ipv6 Mld Snooping Vlan Static

    Command Mode Global Configuration Mode Example Configure the gigabitEthernet 1/0/2 as static router port in VLAN 2: TL-SG3424(config)# ipv6 mld snooping vlan 2 mrouter interface gigabitEthernet 1/0/2 ipv6 mld snooping vlan static Description The ipv6 mld snooping vlan static command is used to configure the static multicast groups.
  • Page 242: Ipv6 Mld Snooping Querier Vlan Max-Response-Time

    Syntax ipv6 mld snooping querier vlan vlan-id no ipv6 mld snooping querier vlan vlan-id Parameter vlan-id —— The VLAN that enables the MLD querier function, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Enable MLD Querier function on VLAN 2: TL-SG3424(config)# ipv6 mld snooping querier vlan 2 ipv6 mld snooping querier vlan max-response-time Description...
  • Page 243: Ipv6 Mld Snooping Querier Vlan Query-Interval

    ipv6 mld snooping querier vlan query-interval Description The ipv6 mld snooping querier vlan query-interval command is used to specify the interval to send the Query Message. The default value is 25 seconds. To restore the default value, please use no ipv6 mld snooping querier vlan query-interval command.
  • Page 244: Ipv6 Mld Snooping Filter(Global)

    Example Specify the source address which sends the Query message as fe80::1234 on VLAN 2: TL-SG3424(config)# ipv6 mld snooping querier vlan 2 query-source fe80::1234 ipv6 mld snooping filter(global) Description The ipv6 mld snooping filter command is used to configure the multicast group filter entries in the format of ip-range.
  • Page 245: Ipv6 Mld Snooping Filter-Mode

    Example Enable filter function on interface gigabitEthernet 1/0/2: TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# ipv6 mld snooping filter ipv6 mld snooping filter-mode Description The ipv6 mld snooping filter-mode command is used to configure the filter mode of the interface. The default mode is accept. To restore the default mode, please use no ipv6 mld snooping filter-mode command.
  • Page 246: Ipv6 Mld Snooping Max-Group

    Command Mode Interface Configuration Mode Example Specify the filter id as 1 and 10 on interface gigabitEthernet 1/0/2: TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# ipv6 mld snooping filter-id 1,10 ipv6 mld snooping max-group Description The ipv6 mld snooping max-group command is used to specify the limit number of groups for a port to join in.
  • Page 247: Show Ipv6 Mld Snooping

    Example Clear the statistics of the MLD packets: TL-SG3424(config)# clear ipv6 mld snooping statistics show ipv6 mld snooping Description The show ipv6 mld snooping command is used to display the global configuration of MLD Snooping. Syntax show ipv6 mld snooping Command Mode Privileged EXEC Mode and Any Configuration Mode Example...
  • Page 248: Show Ipv6 Mld Snooping Static-Mcast

    show ipv6 mld snooping static-mcast Description The show ipv6 mld snooping static-mcast command is used to display the static multicast groups configured by users. Syntax show ipv6 mld snooping static-mcast Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display static multicast groups: TL-SG3424(config)# show ipv6 mld snooping static-mcast show ipv6 mld snooping group...
  • Page 249: Show Ipv6 Mld Snooping Interface

    Syntax show ipv6 mld snooping filter Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the filter entries: TL-SG3424(config)# show ipv6 mld snooping filter show ipv6 mld snooping interface Description The show ipv6 mld snooping interface command is used to display the interface information of MLD Snooping.
  • Page 250: Show Ipv6 Mld Snooping Querier

    Example Display all filter ids bounded to all interface: TL-SG3424(config)# show ipv6 mld snooping interface filter show ipv6 mld snooping querier Description The show ipv6 mld snooping querier command is used to display the Querier configuration of VLAN. Syntax show ipv6 mld snooping querier [vlan vlan-id] Parameter vlan-id ——The VLAN ID selected to display, ranging from 1 to 4094.
  • Page 251: Chapter 30 Snmp Commands

    Chapter 30 SNMP Commands SNMP (Simple Network Management Protocol) functions are used to manage the network devices for a smooth communication, which can facilitate the network administrators to monitor the network nodes and implement the proper operation. snmp-server Description The snmp-server command is used to enable the SNMP function. By default, it is disabled.
  • Page 252: Snmp-Server Group

    mib-oid —— MIB Object ID. It is the Object Identifier (OID) for the entry of View, ranging from 1 to 61 characters. include | exclude —— View Type, with include and exclude options. They represent the view entry can/cannot be managed by the SNMP management station individually.
  • Page 253: Snmp-Server User

    (authorization and encryption). By default, the Security Level is noAuthNoPriv. There is no need to configure this in SNMP v1 Mode and SNMP v2c Mode. read-view —— Select the View to be the Read View. The management access is restricted to read-only, and changes cannot be made to the assigned SNMP View.
  • Page 254 local | remote —— User Type, with local and remote options. Local indicates that the user is connected to a local SNMP engine, while remote means that the user is connected to a remote SNMP engine. group-name —— The Group Name of the User. The User is classified to the corresponding Group according to its Group Name, Security Model and Security Level.
  • Page 255: Snmp-Server Community

    snmp-server community Description The snmp-server community command is used to add Community. To delete the corresponding Community, please use no snmp-server community command. SNMP v1 and SNMP v2c adopt community name authentication. The community name can limit access to the SNMP agent from SNMP network management station, functioning as a password.
  • Page 256 Parameter ip —— The IP Address of the management Host. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.100 or fe80::1234. udp-port —— UDP port, which is used to send notifications. The UDP port functions with the IP address for the notification sending. It ranges from 1 to 65535.
  • Page 257: Snmp-Server Engineid

    Add a Notification entry, and configure the IP Address of the management Host as fe80::1234, 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-SG3424(config)# snmp-server host fe80::1234 162 admin smode v2c...
  • Page 258: Snmp-Server Traps Snmp

    snmp-server traps snmp Description The snmp-server traps snmp command is used to enable SNMP standard traps which include four types: linkup, linkdown, warmstart and coldstart. To disable the sending of SNMP standard traps, please use no snmp-server traps snmp command. Syntax snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart | auth-failure ]...
  • Page 259: Snmp-Server Traps

    snmp-server traps link-status no snmp-server traps link-status Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable SNMP link status trap for port 3: TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL- SG3424(config-if)# snmp-server traps link-status snmp-server traps Description The snmp-server traps command is used to enable SNMP extended traps. To disable the sending of SNMP extended traps, please use no snmp-server traps command.
  • Page 260: Snmp-Server Traps Mac

    storm-control —— Enable storm-control trap. It is sent when the multicast or broadcast rate exceeds the predefined value. spanning-tree —— Enable spanning-tree trap. It is sent when the port forwarding status changes or the port receives TCN packet or packet with TC flag. memory ——...
  • Page 261: Snmp-Server Traps Vlan

    TL-SG3424(config)# snmp-server traps mac Enable new MAC address trap only for the switch: TL-SG3424(config)# snmp-server traps mac new snmp-server traps vlan Description The snmp-server traps vlan command is used to enable SNMP extended VLAN-related traps which include two types: create and delete. To disable this function, please use no snmp-server traps vlan command.
  • Page 262: Rmon Event

    periodically, based on which the management station can monitor network effectively. Syntax rmon history index interface gigabitEthernet port [ interval seconds ] [ owner owner-name ] no rmon history index Parameter index —— The index number of the entry, ranging from 1 to 12, in the format of 1-3,5.
  • Page 263: Rmon Alarm

    Parameter index —— The index number of the event entry, ranging from 1 to 12. You can only select one entry for each command. user-name —— The name of the User to which the event belongs, ranging from 1 to 16 characters. By default, it is “public”. descript ——...
  • Page 264 f-hold ] [ falling-event-index f-event ] [ a-type { rise | fall | all }] [ owner owner-name ] [ interval interval ] no rmon alarm index Parameter index —— The index number of the Alarm Management entry, ranging from 1 to 12, in the format of 1-3,5.
  • Page 265: Show Snmp-Server

    Example Configure the port of entries of 1,2 and 3 as port 2, the owners as owner1 and the alarm intervals as 100 seconds TL-SG3424(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.
  • Page 266: Show Snmp-Server User

    Syntax show snmp-server group Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Group table: TL-SG3424# 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...
  • Page 267: Show Snmp-Server Host

    show snmp-server host Description The show snmp-server host command is used to display the Host table. Syntax show snmp-server host Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Host table: TL-SG3424# show snmp-server host show snmp-server engineID Description The show snmp-server engineID command is used to display the engineID of the SNMP.
  • Page 268: Show Rmon Event

    for each command. By default, the configuration of all history sample entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of all history sample entries: TL-SG3424# show rmon history show rmon event Description The show rmon event command is used to display the configuration of SNMP-RMON Event.
  • Page 269 Parameter index —— The index number of the entry selected to display the configuration, ranging from 1 to 12, in the format of 1-3, 5. You can select more than one entry for each command. By default, the configuration of all Alarm Management entries is displayed.
  • Page 270: Chapter 31 Lldp Commands

    Chapter 31 LLDP Commands Note: Only TL-SG3424P supports LLDP function. LLDP function enables network devices to advertise their own device information periodically to neighbors on the same LAN. The information of the LLDP devices in the LAN can be stored by its neighbor in a standard MIB, so it is possible for the information to be accessed by a Network Management System (NMS) such as SNMP.
  • Page 271: Lldp Timer

    Parameter multiplier —— Configure the Hold Multiplier parameter. It ranges from 2 to 10. By default, it is 4. Command Mode Global Configuration Mode Example Specify Hold Multiplier as 5: TL-SG3424P(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.
  • Page 272: Lldp Med-Fast-Count

    out (the number of LLDPDUs equals this parameter). The value ranges from 1 to 10 and the default value is 3. Command Mode Global Configuration Mode Example Specify the Transmit Interval of LLDPDU as 45 seconds and Trap message to NMS as 120 seconds: TL-SG3424P(config)# lldp timer tx-interval 45 TL-SG3424P(config)# lldp timer notify-interval 120...
  • Page 273: Lldp Transmit

    Syntax lldp receive no lldp receive Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable port 1 to receive LLDPDU: TL-SG3424P(config)# interface gigabitEthernet 1/0/1 TL-SG3424P(config-if)# lldp receive lldp transmit Description The lldp transmit command is used to enable the designated port to transmit LLDPDU.
  • Page 274: Lldp Tlv-Select

    Syntax lldp snmp-trap no lldp snmp-trap Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the SNMP notification for port 1: TL-SG3424P(config)# interface gigabitEthernet 1/0/1 TL-SG3424P(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.
  • Page 275: Lldp Med-Location

    lldp med-location Description The lldp med-location command is used to configure the Location Identification TLV's content in outgoing LLDPDU of the port. Syntax lldp med-location { emergency-number identifier | civic-address { [ language language ] [ province-state province-state ] [ county county] [city city ] [ street street ] [ house-number house-number ] [name name ] [ postal-zipcode postal-zipcode ] [ room-number room-number ] [ post-office-box post-office-box ] [ additional additional ] [ country-code country-code ] [ what { dhcp-server |...
  • Page 276: Lldp Med-Tlv-Select

    Status will be changed to Tx&Rx. To disable the LLDP-MED feature for the corresponding port, please use no lldp med-status command. Syntax lldp med-status no lldp med-status Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the LLDP-MED feature for port 2: TL-SG3424P(config)# interface gigabitEthernet 1/0/2 TL-SG3424P(config-if)# lldp med-status lldp med-tlv-select...
  • Page 277: Show Lldp

    show lldp Description The show lldp command is used to display the global configuration of LLDP and LLDP-MED fast start repeat count number. Syntax show lldp Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of LLDP and LLDP-MED fast start repeat count number: TL-SG3424P# show lldp show lldp interface...
  • Page 278: Show Lldp Local-Information Interface

    show lldp local-information interface Description The show lldp local-information interface command is used to display the LLDP and LLDP-MED local information of the corresponding port. By default, the information of all the ports will be displayed. Syntax show lldp local-information interface [ gigabitEthernet port ] Parameter port ——...
  • Page 279: Show Lldp Traffic Interface

    show lldp traffic interface Description The show lldp traffic interface command is used to display the LLDP statistic information between the local device and neighbor device of the corresponding port. By default, the LLDP statistic information of all the ports will be displayed. Syntax show lldp traffic interface [ gigabitEthernet port ] Parameter...
  • Page 280: Chapter 32 Cluster Commands

    Chapter 32 Cluster Commands Cluster Management function enables a network administrator to manage the scattered devices in the network via a management device. After a commander switch is configured, management and maintenance operations intended for the member devices in a cluster is implemented by the commander device.
  • Page 281: Cluster Ntdp

    TL-SG3424(config)# cluster ndp timer hello 50 aging 120 Change Aging Time to 80 seconds: TL-SG3424(config)# cluster ndp timer aging 80 Change Hello Time to 80 seconds: TL-SG3424(config)# cluster ndp timer hello 80 cluster ntdp Description The cluster ntdp command is used to configure NTDP globally. To return to the default configuration, please use no cluster ntdp command.
  • Page 282: Cluster Explore

    request packets over. NTDP Port Delay ranges from 1 to 100 in milliseconds. By default, it is 20. hop-value —— NTDP Hops, which is the hop count the switch topology collects. NTDP Hops ranges from 1 to 16. By default, it is 3. Command Mode Global Configuration Mode Example...
  • Page 283: Cluster Candidate

    Parameter disable | enable —— Enable/ Disable NDP function for the port. By default, it is enabled. disable | enable —— Enable/ Disable NTDP function for the port. By default, it is enabled. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable NDP and NTDP function for port 5:...
  • Page 284: Show Cluster Ndp

    Example Specify the current switch as individual switch: TL-SG3424(config)# cluster individual show cluster ndp Description The show cluster ndp command is used to display NDP configuration of certain ports. Syntax show cluster ndp [interface [ gigabitEthernet port ]] Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example...
  • Page 285: Show Cluster Neighbour

    Example Display the NTDP configuration globally: TL-SG3424# show cluster ntdp Display the NTDP configuration of port 2: TL-SG3424# show cluster ntdp interface gigabitEthernet 1/0/2 Display the information of device collected through NTDP: TL-SG3424# show cluster ntdp device-list show cluster neighbour Description The show cluster neighbour command is used to display the cluster neighbor information.

This manual is also suitable for:

Tl-sg3216Tl-sg3424Tl-sg3424p

Table of Contents