TP-Link TL-SG3210 Cli Reference Manual

TP-Link TL-SG3210 Cli Reference Manual

Jetstream l2 managed switch
Table of Contents

Advertisement

TL-SG3210/TL-SG3216/TL-SG3424
JetStream L2 Managed Switch
Rev: 1.1.0
1910010717

Advertisement

Table of Contents
loading

Summary of Contents for TP-Link TL-SG3210

  • Page 1 TL-SG3210/TL-SG3216/TL-SG3424 JetStream L2 Managed Switch Rev: 1.1.0 1910010717...
  • Page 2 COPYRIGHT & TRADEMARKS Specifications are subject to change without notice. is a registered trademark of TP-LINK TECHNOLOGIES CO., LTD. Other brands and product names are trademarks or registered trademarks of their respective holders. No part of the specifications may be reproduced in any form 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 Logon by Telnet ....................6 1.2 CLI Command Modes ....................11 1.3 Security Levels ......................12 1.4 Conventions ........................13 1.4.1 Format Conventions ...................13 1.4.2 Special Characters....................13 1.4.3 Parameter Format....................13...
  • Page 4 Chapter 5 Protocol-based VLAN Commands............26 protocol-vlan template ......................26 protocol-vlan vlan ........................27 protocol-vlan group........................27 show protocol-vlan template....................28 show protocol-vlan vlan ......................28 Chapter 6 Voice VLAN Commands ..............29 voice vlan ..........................29 voice vlan aging time ......................29 voice vlan priority........................30 voice vlan mac-address......................30 switchport voice vlan mode ....................31 switchport voice vlan security ....................32 show voice vlan ........................32...
  • Page 5 user access-control mac-based.....................44 user access-control port-based .....................45 user max-number ........................46 user idle-timeout ........................46 line............................47 password ..........................48 login............................48 login local ..........................49 show user account-list ......................49 show user configuration......................50 Chapter 10 Binding Table Commands..............51 ip source binding ........................51 ip dhcp snooping ........................52 ip dhcp snooping global......................53 ip dhcp snooping information option ..................54 ip dhcp snooping information strategy ...................54...
  • Page 6 Chapter 12 DoS Defend Command ............... 66 ip dos-prevent........................66 ip dos-prevent type ........................66 show ip dos-prevent ......................67 Chapter 13 IEEE 802.1X Commands..............68 dot1x system-auth-control .....................68 dot1x auth-method ........................68 dot1x guest-vlan(global) ......................69 dot1x quiet-period........................70 dot1x timeout.........................70 dot1x max-reauth-req ......................71 dot1x............................71 dot1x guest-vlan(interface) ....................72 dot1x port-control ........................72 dot1x port-method .........................73...
  • Page 7 ip ssh download........................85 show ip ssh..........................85 Chapter 16 SSL Commands .................. 87 ip http secure-server......................87 ip http secure-server download certificate ................87 ip http secure-server download key ..................88 show ip http secure-server ....................89 Chapter 17 MAC Address Commands ..............90 mac address-table static......................90 mac address-table aging-time ....................91 mac address-table filtering ....................91 mac address-table max-mac-count ..................92...
  • Page 8 loopback interface .......................107 show system-time........................107 show system-time dst ......................108 show system-time ntp......................108 show system-info.........................109 show cable-diagnostics interface..................109 Chapter 19 Ethernet Configuration Commands ............110 interface gigabitEthernet...................... 110 interface range gigabitEthernet ................... 110 description ........................... 111 shutdown ..........................111 flow-control .......................... 112 duplex..........................
  • Page 9 show qos status........................127 Chapter 21 Port Mirror Commands ...............128 monitor session destination interface ..................128 monitor session source interface..................129 show monitor session ......................130 Chapter 22 Port isolation Commands ..............131 port isolation ........................131 show port isolation interface ....................131 Chapter 23 Loopback Detection Commands ............133 loopback-detection(global) ....................133 loopback-detection interval....................133 loopback-detection recovery-time..................134...
  • Page 10 access-list bind(interface)....................149 access-list bind(vlan) ......................150 show time-range........................150 show holiday........................150 show access-list ........................151 show access-list policy ......................151 show access-list bind ......................152 Chapter 25 MSTP Commands ................153 spanning-tree(global)......................153 spanning-tree(interface) ......................153 spanning-tree common-config .....................154 spanning-tree mode......................155 spanning-tree mst configuration ..................155 instantce ..........................156 name ...........................157 revision ..........................157 spanning-tree mst instance ....................158 spanning-tree mst........................158...
  • Page 11 ip igmp snooping(interface) ....................169 ip igmp snooping immediate-leave ..................170 ip igmp snooping drop-unknown..................170 ip igmp snooping vlan-config ....................171 ip igmp snooping multi-vlan-config ..................172 ip igmp snooping filter add-id....................173 ip igmp snooping filter(global)....................174 ip igmp snooping filter(interface) ..................174 ip igmp snooping filter maxgroup..................175 ip igmp snooping filter mode....................175 show ip igmp snooping ......................176 show ip igmp snooping interface ..................176...
  • Page 12 Chapter 28 Cluster Commands................195 cluster ndp...........................195 cluster ntdp ..........................196 cluster explore ........................197 cluster..........................197 cluster candidate .........................198 cluster individual ........................198 show cluster ndp........................199 show cluster ntdp.........................199 show cluster neighbour......................200 show cluster manage role....................200...
  • Page 13: Preface

    Guide stands for TL-SG3210/TL-SG3216/TL-SG3424 JetStream L2 Managed Switch without any explanation. The three devices of TL-SG3210, TL-SG3216 and TL-SG3424 are sharing this Guide. For simplicity, we will take TL-SG3424 for example throughout this Guide. TL-SG3210, TL-SG3216 and TL-SG3424 just differ in the number of LED indicators and ports and all figures in this guide are of TL-SG3424.
  • Page 14 commands used for monitoring the process of the Host obtaining the IP address from DHCP server, and record the IP address, MAC address, VLAN and the connected Port number of the Host for automatic binding. Chapter 11: ARP Inspection Commands Provide information about the commands used for protecting the switch from the ARP cheating or ARP Attack.
  • Page 15 Provide information about the commands used for configuring the Loopback Detection function. Chapter 24: ACL Commands Provide information about the commands used for configuring the ACL (Access Control List). Chapter 25: MSTP Commands Provide information about the commands used for configuring the MSTP (Multiple Spanning Tree Protocol).
  • Page 16: 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 a provided cable.
  • Page 17 Figure 1-2 Connection Description Select the port to connect in Figure 1-3, and click OK. Figure 1-3 Select the port to connect Configure the port selected in the step above as the following Figure 1-4 shown. Configure Bits per second as 38400, Data bits as 8, Parity as None, Stop bits as 1, Flow control as None, and then click OK.
  • Page 18: 1.1.2 Logon By Telnet

    Figure 1-4 Port Settings The DOS prompt” TL-SG3424>” will appear after pressing the Enter button as Figure 1-5 shown. It indicates that you can use the CLI now. Figure 1-5 Log in the Switch 1.1.2 Logon by Telnet To successfully create Telnet connection, firstly CLI commands about configuring Telnet login mode, login authentication information and Privileged EXEC Mode password should be configured through Console connection.
  • Page 19 Note: 1. Before Telnet login, you are required to configure Telnet login mode and login authentication information through Console connection. The relevant CLI commands should be entered in the prompted DOS screen shown in Figure 1-5 Log in the Switch. 2.
  • Page 20 Open Telnet, then type telnet 192.168.0.1 in the command prompt shown as Figure 1-8, and press the Enter button. Figure 1-8 Connecting to the Switch Type the default user name and password admin/admin, then press the Enter button so as to enter User EXEC Mode.
  • Page 21 Figure 1-10 Enter into the Privileged EXEC Mode Login Mode  Firstly configure the Telnet login mode as “login”, and both the connection password and the Privileged EXEC Mode password as 123 in the prompted DOS screen shown in Figure 1-11. Figure 1-11 Configure login mode Now, you can logon by Telnet in login mode: Open Telnet, then type telnet 192.168.0.1 in the command prompt shown as Figure 1-12, and...
  • Page 22 Figure 1-12 Connecting to the Switch You are prompted to enter the connection password 123 you have set through Console port connection, and then you are in User EXEC Mode. Figure 1-13 Enter into the User EXEC Mode When entering enable command to access Privileged EXEC Mode, you are required to give the password 123 you have set through Console port connection.
  • Page 23: 1.2 Cli Command Modes

    Now you can manage your switch with CLI commands through Telnet connection. Note: You can refer to Chapter 9 User Manage Commands for detailed commands information of the Telnet connection configuration. 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 24: 1.3 Security Levels

    Use the end command or press Ctrl+Z Use the vlan vlan-list VLAN to return to Privileged EXEC mode. command to enter this TL-SG3424(config- Configuration mode from Global vlan)# Enter the exit or the # command to Mode Configuration mode. return to Global configuration mode. Note: 1.
  • Page 25: 1.4 Conventions

    Users get the privilege to the User level once connecting console port with the switch or logging in by Telnet. However, Guest users are restricted to access the CLI. Users can enter Privileged EXEC mode from User EXEC mode by using the enable command. In default case, no password is needed.
  • Page 26 The port number should format as 1/0/3, meaning unit/slot/port. The unit number is always 1,  and slot number is always 0 and the port number is a variable (an actual value must be assigned).
  • Page 27: 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 28: 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 29: 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 30: 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 31: 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 32: 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 33: 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 34: 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 35: 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 36: 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 37: Command Mode

    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 38: 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 39: 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 40: 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 41: 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 42: Voice Vlan Priority

    Parameter time ——Aging time (in minutes) to be set for the Voice VLAN. It ranges from 1 to 43200 and the default value is 1440. Command Mode Global Configuration Mode Example Set the aging time for the Voice VLAN as 1 minute: TL-SG3424(config)# voice vlan aging time 1 voice vlan priority Description...
  • Page 43: 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 44: 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 45: 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 46: 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 47: 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 48: Show Gvrp Global

    no gvrp timer [ leaveall | join | leave ] Parameter leaveall | join | leave —— They are the three timers: leave All、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 49: 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 50: 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 51: 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 52: 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 53: Show Etherchannel Load-Balance

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

    Parameter channel-group-num —— The EtherChannel Group number, ranging from 1 to 14. By default, it is empty, and will display the information of all LACP 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 55: Chapter 9 User Manage Commands

    Chapter 9 User Manage Commands User Manage Commands are used to manage the user’s logging information by Web, CLI or SSH, so as to protect the settings of the switch from being randomly changed. user Description The user command is used to add a new user or modify the existed user’s information.
  • Page 56: User Access-Control Ip-Based

    user access-control ip-based Description The user access-control ip-based command is used to limit the IP-range of the users for login. Only the users within the IP-range you set here are allowed to login. To cancel the user access limit, please use no user access-control command.
  • Page 57: User Access-Control Port-Based

    Parameter mac-addr —— The source MAC address. Only the user with this MAC Address is allowed to login. Command Mode Global Configuration Mode Example Configure that only the user whose MAC address is 00:00:13:0A:00:01 is allowed to login: TL-SG3424(config)# user access-control mac-based 00:00:13:0A:00:01 user access-control port-based Description The user access-control port-based command is used to limit the ports for...
  • Page 58: User Max-Number

    user max-number Description The user max-number command is used to configure the maximum login user numbers at the same time. To cancel the limit on login numbers, please use no user max-number command. Syntax user max-number admin-num guest-num no user max-number Parameter admin-num ——The maximum number of the users allowed to log on as Admin, ranging from 1 to 16.
  • Page 59: Line

    Parameter minutes ——The timeout time, ranging from 5 to 30 in minutes. The value is 10 by default. Command Mode Global Configuration Mode Example Configure the timeout time of the switch as 15 minutes: TL-SG3424(config)# user idle-timeout 15 line Description The line command is used to enter the Line Configuration Mode and configure the allowed login user number of the switch.
  • Page 60: Password

    TL-SG3424(config)# line vty 0 5 password Description The password command is used to configure the connection password. To clear the password, please use no password command. Syntax password password no password Parameter password —— Configure the connection password, which contains 16 characters at most, composing digits, English letters and under dashes only.
  • Page 61: Login Local

    Command Mode Line Configuration Mode Example Configure the login of Console port connection 0 as login mode: TL-SG3424(config)# line console 0 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...
  • Page 62: Show User Configuration

    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 show user configuration Description The user configuration command is used to display the security configuration information of the users, including access-control, max-number and the idle-timeout, etc.
  • Page 63: Chapter 10 Binding Table Commands

    Chapter 10 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 and IP Source Guard to filter the packets. ip source binding Description The ip source binding command is used to bind the IP address, MAC address,...
  • Page 64: Ip Dhcp Snooping

    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 dhcp snooping...
  • Page 65: Ip Dhcp Snooping Global

    ip dhcp snooping global Description The ip dhcp snooping global command is configure DHCP-Snooping globally. To restore to the default value, please use no dhcp-snooping global command. Syntax ip dhcp snooping global [ global-rate global-rate ] [ dec-threshold dec-threshold ] [ dec-rate dec-rate ] no ip dhcp snooping global Parameter global-rate ——...
  • Page 66: Ip Dhcp Snooping Information Option

    ip dhcp snooping information option Description The ip dhcp snooping information option command is used to enable the Option 82 function of DHCP Snooping. To disable the Option 82 function, please use no ip dhcp snooping information option command. Syntax ip dhcp snooping information option no ip dhcp snooping information option Command Mode...
  • Page 67: Ip Dhcp Snooping Information Remote-Id

    Command Mode Global Configuration Mode Example Replace the Option 82 field of the packets with the switch defined one and then send out: TL-SG3424(config)# ip dhcp snooping information strategy replace ip dhcp snooping information remote-id Description The ip dhcp snooping information remote-id command is used to enable and configure the customized sub-option Remote ID for the Option 82.
  • Page 68: Ip Dhcp Snooping Trust

    default Circuit ID for the Option 82, please use no ip dhcp snooping information circuit-id command. Syntax ip dhcp snooping information circuit-id string ip dhcp snooping information circuit-id Parameter string ——Enter the sub-option Circuit ID, which contains 32 characters at most. Command Mode Global Configuration Mode Example...
  • Page 69: Ip Dhcp Snooping Mac-Verify

    ip dhcp snooping mac-verify Description The ip dhcp snooping mac-verify command is used to enable the MAC Verify feature. To disable the MAC Verify feature, please use no ip dhcp snooping mac-verify command. There are two fields of the DHCP packet containing the MAC address of the Host.
  • Page 70: Ip Dhcp Snooping Decline

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Set the Flow Control of port 2 as 20 pps: TL-SG3424(config)# interface gigabitEthernet 1/0/2 TL-SG3424(config-if)# ip dhcp snooping limit rate 20 ip dhcp snooping decline Description The ip dhcp snooping decline command is used to enable the Decline Protect feature.
  • Page 71: Show Ip Dhcp Snooping

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IP-MAC-VID-PORT binding table: TL-SG3424(config)# show ip source binding show ip dhcp snooping Description The show ip dhcp snooping command is used to display the running status of DHCP-Snooping. Syntax show ip dhcp snooping Command Mode...
  • Page 72: Show Ip Dhcp Snooping Interface Gigabitethernet

    show ip dhcp snooping interface gigabitEthernet Description The show ip dhcp snooping interface gigabitEthernet command is used to display the DHCP-Snooping configuration of desired Gigabit Ethernet ports. Syntax show ip dhcp snooping interface gigabitEthernet [ port ] Parameters port ——The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example...
  • Page 73: Chapter 11 Arp Inspection Commands

    Chapter 11 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 74: 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 75: 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 76: 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 77: 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 78: Chapter 12 Dos Defend Command

    Chapter 12 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 79: 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-than-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 pf ping packets to 512K when attacked by ping flood.
  • Page 80: Chapter 13 Ieee 802.1X Commands

    Chapter 13 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 81: 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 82: 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 83: 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 84: 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 85: 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 86: 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 87: Radius Server-Account

    value ——The maximum time for the switch to wait for the response before resending a request to the supplicant., ranging from 1 to 9 in second. By default, it is 3. Command Mode Global Configuration Mode Example Configure the IP address of the accounting server as 10.20.1.100 and password as tplink: TL-SG3424(config)# radius auth-pri 10.20.1.100 auth-key tplink radius server-account...
  • Page 88: Show Dot1X Interface

    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’ or the specified port’s configuration information of 801.X. Syntax show dot1x interface [ gigabitEthernet port ] Parameter...
  • Page 89: Show Radius Authentication

    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 The show radius authentication command is used to display the configuration of the RADIUS authentication server. Syntax show radius authentication Command Mode...
  • Page 90: Chapter 14 System Log Commands

    Chapter 14 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 91: Logging File Flash

    logging file flash Description The logging file flash command is used to configure the level and the status of the log file input. To restore to the default configuration, please use no logging file flash command. The log file indicates the flash sector for saving system log. The information in the log file will not be lost after the switch is restarted and can be got by the show logging flash...
  • Page 92: Logging Host Index

    Command Mode Global Configuration Mode Example Clear the information in the log file: TL-SG3424(config)# clear logging buffer logging host index Description The logging host index command is used to configure the Log Host. To clear the configuration of the specified Log Host, please use no logging host index command.
  • Page 93: Show Logging Local-Config

    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 Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of the Local Log: TL-SG3424(config)# show logging local-config...
  • Page 94: Show Logging Flash

    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 95: Chapter 15 Ssh Commands

    Chapter 15 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 96: Ip Ssh Timeout

    Example Enable SSH v2: TL-SG3424(config)# ip ssh version v2 ip ssh timeout Description The ip ssh timeout command is used to specify the idle-timeout time of SSH. To restore to the factory defaults, please use ip ssh timeout command. Syntax ip ssh timeout value no ip ssh timeout Parameter...
  • Page 97: Ip Ssh Download

    Command Mode Global Configuration Mode Example Specify the maximum number of the connections to the SSH server as 3: TL-SG3424(config)# ip ssh max-client 3 ip ssh download Description The ip ssh download command is used to download the SSH key file from TFTP server.
  • Page 98 Example Display the global configuration of SSH: TL-SG3424(config)# show ip ssh...
  • Page 99: Chapter 16 Ssl Commands

    Chapter 16 SSL Commands SSL(Secure Sockets Layer), a security protocol, is to provide a secure connection for the application layer protocol(e.g. HTTP) based on TCP. Adopting asymmetrical encryption technology, SSL uses key pair to encrypt/decrypt information. A key pair refers to a public key (contained in the certificate) and its corresponding private key.
  • Page 100: Ip Http Secure-Server Download Key

    Parameter ssl-cert —— The name of the SSL certificate which is selected to download to the switch. The length of the name ranges from 1 to 25 characters. The Certificate must be BASE64 encoded. ip-addr —— The IP address of the TFTP server. Command Mode Global Configuration Mode Example...
  • Page 101: Show Ip Http Secure-Server

    show ip http secure-server Description The show ip http secure-server command is used to display the global configuration of SSL. Syntax show ip http secure-server Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of SSL: TL-SG3424(config)# show ip http secure-server...
  • Page 102: 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 103: 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 104: 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 mac 00:1e:4b:04:01:5d vid mac address-table max-mac-count Description The mac address-table max-mac-count command is used to configure the Port Security.
  • Page 105: Show Mac Address-Table Address

    status —— Enable or disable the Port Security function for a specified port. By default, this function is disabled. 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...
  • Page 106: Show Mac Address-Table Max-Mac-Count Interface Gigabitethernet

    Command Mode Privileged EXEC Mode and Any Configuration Mode 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 107: Show Mac Address-Table Mac-Num

    Syntax show mac address-table interface gigabitEthernet port Parameter —— port The Ethernet port number. 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 mac-num Description The show mac address-table mac-num command is used to display the total amount of MAC address table.
  • Page 108: Show Mac Address-Table Vlan

    Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the MAC address 00:00:00:00:23:00:00: TL-SG3424(config)#show mac address-table mac 00:00:00:00:23:00: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.
  • Page 109: 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 110 GMT-11 —— TimeZone for Midway Island,Samoa. GMT-10 —— TimeZone for Hawaii. GMT-09 —— TimeZone for Alaska. GMT-08 —— TimeZone for Pacific Time. GMT-07 —— TimeZone for Mountain Time(US Canada). GMT-06 —— TimeZone for Central Time(US Canada). GMT-05 —— TimeZone for Eastern Time(US Canada). GMT-04 ——...
  • Page 111: System-Time Dst Predefined

    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. Syntax system-time dst predefined [ USA | Australia | European | New-Zealand ] Parameter USA | Australia | European | New-Zealand —— Predefined DST mode, with four options: USA, Australia, European and New-Zealand.
  • Page 112: System-Time Dst Recurring

    Parameter smonth —— Month to start, with the options: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec sday —— Day to start, ranging from 1 to 31. Please mind that the number of days depends on the month. stime ——...
  • Page 113: Hostname

    stime —— Time to start, in the format of: hh:mm. eweek —— Week to end, with options: first, second, third, fourth, last. eday —— Day to end, with options: Sun, Mon, Tue, Wed, Thu, Fri, Sat. emonth —— Month to end, with options: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
  • Page 114: Location

    location Description The location command is used to configure the system location. To clear the system location information, please use no location command. Syntax location location no location location Parameter location —— Device Location. It consists of 32 characters at most. It is “SHENZHEN”...
  • Page 115: Reset

    reset Description The reset command is used to reset the switch’s software. After resetting, all configuration of the switch will restore to the factory defaults and your current settings will be lost. Syntax reset Command Mode Privileged EXEC Mode Example Reset the software of the switch: TL-SG3424# reset reboot...
  • Page 116: Copy Startup-Config Tftp

    Command Mode Privileged EXEC Mode Example Save current settings: TL-SG3424# copy running-config start-up config copy startup-config tftp Description The copy startup-config tftp command is used to backup the configuration file from TFTP server. Syntax copy startup-config tftp ip-address ip-addr filename name Parameter ip-addr ——...
  • Page 117: Firmware Upgrade

    name —— Specify the name for the configuration file which would be downloaded. 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 startup-config tftp ip-address 192.168.0.148 filename config.cfg firmware upgrade Description...
  • Page 118: Tracert

    Syntax ping { ip_addr } [ -n count ] [ -l count ] [ -i count ] Parameter ip_addr —— The IP address of the destination node for ping test. -n count —— The amount of times to send test data during Ping testing. It ranges from 1 to 10.
  • Page 119: Loopback Interface

    Example Test the connectivity between the switch and the network device with the IP 192.168.0.131. If the destination device has not been found after 20 maxHops, the connection between the switch and the destination device is failed to establish: TL-SG3424# tracert 192.168.0.131 20 loopback interface Description The loopback interface command is used to test whether the port is available...
  • Page 120: Show System-Time Dst

    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 121: Show System-Info

    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 122: Chapter 19 Ethernet Configuration Commands

    Chapter 19 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 123: Description

    User Guidelines Command in the Interface Range gigabitEthernet Mode is executed independently on all ports in the range. It does not effect 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 124: Flow-Control

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Disable port 3: TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# shutdown flow-control Description The flow-control command is used to enable the flow-control function for a port. To disable the flow-control function for this corresponding port, please use no flow-control command.
  • Page 125: Speed

    Parameter full | half —— The duplex mode of the Ethernet port. There are two options: full-duplex mode (default) and half-duplex mode. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Configure the Duplex Mode as full-duplex for port 3: TL-SG3424(config)# interface gigabitEthernet 1/0/3 TL-SG3424(config-if)# duplex full speed...
  • Page 126: Storm-Control Broadcast

    storm-control broadcast Description The storm-control broadcast command is used to enable the broadcast control function. To disable the broadcast control function, please use no storm-control broadcast command. Broadcast control function allows the switch to filter broadcast in the network. If the transmission rate of the broadcast packets exceeds the set bandwidth, the packets will be automatically discarded to avoid network broadcast storm.
  • Page 127: Storm-Control Unicast

    Parameter rate —— Select the bandwidth for receiving multicast packets on the port. The packet traffic exceeding the bandwidth will be discarded. By default, the value is “128K”. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the multicast control function for port 5: TL-SG3424(config)# interface gigabitEthernet 1/0/5 TL-SG3424(config-if)# storm-control multicast...
  • Page 128: Bandwidth

    bandwidth Description The bandwidth command is used to configure the bandwidth limit for an Ethernet port. To disable the bandwidth limit, please use no bandwidth command. Syntax bandwidth {[ ingress ingress-rate ] [ egress egress-rate ]} no bandwidth { all | ingress | egress } Parameter ingress-rate ——...
  • Page 129: 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 130: 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 131: 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.
  • Page 132: 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 133: Chapter 20 Qos Commands

    Chapter 20 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 134: 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 135: 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 136: 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 137: 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 138: 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 139: 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 140: Chapter 21 Port Mirror Commands

    Chapter 21 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 141: 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 142: 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)# monitor session 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 143: Chapter 22 Port Isolation Commands

    Chapter 22 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 144 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 145: Chapter 23 Loopback Detection Commands

    Chapter 23 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 146: 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 147: Loopback-Detection Config

    TL-SG3424(config)# interface range gigabitEthernet 1/0/1-3 TL-SG3424(Config-if)# 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 process-mode ——...
  • Page 148: 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: TLSG3424(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 149 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 150: Chapter 24 Acl Commands

    Chapter 24 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 151: 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 152: 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 153: 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 154: 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 155: 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 156: 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 157: 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 158: 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 159: Redirect Vlan

    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. Syntax redirect vlan vlan-id Parameter vlan-id —— The VLAN ID of Redirect. The data packets matching the corresponding ACL will be forwarded in the specific VLAN.
  • Page 160: S-Mirror

    Command Mode Action Configuration Mode Example Edit the actions for policy1. For the data packets matching ACL 120 in the policy, if the rate beyond 1000kbps, they will be discarded by the switch: TL-SG3424(config)# access-list policy action policy1 120 TL-SG3424(config-action)# s-condition rate 1000 osd discard s-mirror Description The s-mirror command is used to configure Stream Mirror function of policy...
  • Page 161: Access-List Bind(Interface)

    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 162: 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 163: 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 164: 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 165: Chapter 25 Mstp Commands

    Chapter 25 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 166: 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 167: 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 168: Instantce

    default configuration of the corresponding Instance, please use no spanning-tree mst configuration command. Syntax spanning-tree mst configuration no spanning-tree mst configuration Command Mode Global Configuration Mode Example Enter into the MST configuration mode: TL-SG3424(config)# spanning-tree mst configuration instantce 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 169: Name

    Remove VLANs 1-50 in maping VLANs 1-100 for Instance 1: 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 170: Spanning-Tree Mst Instance

    TL-SG3424(config-mst)# revison 100 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 171: Spanning-Tree Priority

    Parameter instance-id —— Instance ID, ranging from 1 to 8. 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.
  • Page 172: 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 173: 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.
  • Page 174: Spanning-Tree Max-Hops

    TL-SG3424(config)# spanning-tree hold-count 8 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.
  • Page 175: Spanning-Tree Bpduguard

    Example Enable the BPDU filter function for port 2: 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 176: Spanning-Tree Guard Root

    Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) 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.
  • Page 177: Spanning-Tree Mcheck

    removing MAC address entries, which may decrease the performance and stability of the network. With the Protect of Spanning Tree function enabled, you can configure the number of TC-BPDUs in a required time, so as to avoid the process of removing MAC addresses frequently. Syntax spanning-tree guard tc no spanning-tree guard tc...
  • Page 178: Show Spanning-Tree Bridge

    Syntax show spanning-tree active Command Mode Privileged EXEC Mode and Any Configuration Mode 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 ]...
  • Page 179: Show Spanning-Tree Interface-Security

    Example Display the spanning-tree information of all ports: TL-SG3424(config)# show spanning-tree interface Display the spanning-tree information of port 2: 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...
  • Page 180: Show Spanning-Tree Mst

    show spanning-tree mst Description The show spanning-tree mst command is used to display the related information of MST Instance. Syntax show spanning-tree mst { configuration [ digest ] | instance instance-id [ interface [ gigabitEthernet port ]]} Parameter instance-id —— Instance ID desired to show, ranging from 1 to 8. port ——...
  • Page 181: Chapter 26 Igmp Commands

    Chapter 26 IGMP 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 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 182: 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 183: 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 184: 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 185: 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 186: 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 187: 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 188: Show Ip Igmp Snooping

    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 189: Show Ip Igmp Snooping Vlan

    Syntax show ip igmp snooping interface gigabitEthernet [ port | port-list ] { basic-config | filter | packet-stat } Parameter port —— The Ethernet port number. port-list —— The list of Ethernet ports. basic-config | filter | packet-stat —— The related configuration information selected to display.
  • Page 190: Show Ip Igmp Snooping Multi-Vlan

    TL-SG3424# show ip igmp snooping vlan 2 show ip igmp snooping multi-vlan Description The show ip igmp snooping multi-vlan command is used to display the Multicast VLAN configuration. Syntax show ip igmp snooping multi-vlan Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Multicast VLAN configuration: TL-SG3424# show ip igmp snooping multi-vlan...
  • Page 191: Show Ip Igmp Snooping Filter

    Display the count of multicast entries in VLAN 5: TL-SG3424(config)#show ip igmp snooping groups vlan 5 count Display the dynamic multicast groups of VLAN 5 TL-SG3424(config)#show ip igmp snooping groups vlan 5 dynamic Display the static multicast groups of VLAN 5 TL-SG3424(config)#show ip igmp snooping groups vlan 5 static Display the count of dynamic multicast entries of VLAN 5 TL-SG3424(config)#show ip igmp snooping groups vlan 5 dynamic count...
  • Page 192: Chapter 27 Snmp Commands

    Chapter 27 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 193: 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 194: Snmp-Server User

    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 195 Parameter name —— User Name, ranging from 1 to 16 characters. 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 ——...
  • Page 196: 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 197 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. user-name —— The User name of the management station. smode —— The Security Model of the management station, with v1, v2c and v3 options.
  • Page 198: Snmp-Server Engineid

    snmp-server engineID Description The snmp-server engineID command is used to configure the local and remote engineID of the switch. To restore to the default setting, please use no snmp-server engineID command. Syntax snmp-server engineID { [ local local-engineID ] [ remote remote-engineID ] } no snmp-server engineID Parameter local-engineID ——...
  • Page 199: 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 200: 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 201 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 202: 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 203: 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 204: 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 205: 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 206 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 207: Chapter 28 Cluster Commands

    Chapter 28 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 208: Cluster Ntdp

    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 209: Cluster Explore

    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 Enable NTDP function globally, and specify NTDP Hops as 5, NTDP Interval Time as 30 minutes: TL-SG3424(config)# cluster ntdp TL-SG3424(config)# cluster ntdp timer interval-timer 30...
  • Page 210: Cluster Candidate

    ntdp —— 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: TL-SG3424(config)# interface gigabitEthernet 1/0/5 TL-SG3424(config-if)# cluster ndp enable ntdp enable cluster candidate Description The cluster candidate command is used to specify the current switch as...
  • Page 211: Show Cluster Ndp

    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 Display the NDP global configuration: TL-SG3424# show cluster ndp...
  • Page 212: Show Cluster Neighbour

    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-sg3424Jetstream tl-sg3210Jetstream tl-sg3216Jetstream tl-sg3424

Table of Contents