TP-Link TL-SL3452 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation TP-Link TL-SL3452. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel TP-Link TL-SL3452 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation TP-Link TL-SL3452 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation TP-Link TL-SL3452 devrait contenir:
- informations sur les caractéristiques techniques du dispositif TP-Link TL-SL3452
- nom du fabricant et année de fabrication TP-Link TL-SL3452
- instructions d'utilisation, de réglage et d’entretien de l'équipement TP-Link TL-SL3452
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage TP-Link TL-SL3452 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles TP-Link TL-SL3452 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service TP-Link en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées TP-Link TL-SL3452, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif TP-Link TL-SL3452, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation TP-Link TL-SL3452. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    TL-SL3428/TL-SL3452 JetS tream L2 Managed Switch REV1.2.1 1910010930[...]

  • Page 2

    I COPYRIGHT & TRADEMARKS S pecifications are subject to change without notice. is a registered trademark of TP-LINK TECHNOLOGIES CO., L TD. Other brands and product names are trademarks or registered trademarks of t heir respective holders. No part of the specificatio ns ma y be reproduced in any form or by any means or used to make any derivat[...]

  • Page 3

    II CONTENTS Preface ………………………………………………………………………………….1 Chapter 1 Using the CLI ....................................................................................... 4 1.1 Accessing the CLI ..................................................................................................[...]

  • Page 4

    III protocol-vlan .......................................................................................................................... 25 show protocol-vlan template .................................................................................................. 26 show protocol-vlan vlan ....................................................[...]

  • Page 5

    IV line ............................................................................................................................... .......... 46 password ............................................................................................................................... 47 login ......................................................[...]

  • Page 6

    V Chapter 12 IEEE 802.1X Commands ................................................................... 67 dot1x system-auth-control ..................................................................................................... 67 dot1x auth-method ................................................................................................[...]

  • Page 7

    VI ip http secure-server download certificate ............................................................................. 87 ip http secure-server download key ....................................................................................... 88 show ip http secure-server ......................................................................[...]

  • Page 8

    VII loopback interface ............................................................................................................... 1 10 show system-time ................................................................................................................ 1 10 show system-time dst ......................................................[...]

  • Page 9

    VIII qos queue dscp-map ........................................................................................................... 129 qos queue mode .................................................................................................................. 130 show qos interface .............................................................[...]

  • Page 10

    IX access-list policy action ....................................................................................................... 152 redirect interface .................................................................................................................. 153 s-condition ...............................................................[...]

  • Page 11

    X show spanning-tree mst ...................................................................................................... 175 Chapter 25 IGMP Commands ..............................................................................176 ip igmp snooping(global) ......................................................................................[...]

  • Page 12

    XI show snmp-server view ....................................................................................................... 201 show snmp-server group ..................................................................................................... 202 show snmp-server user ..................................................................[...]

  • Page 13

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 1 Preface This Guide is intended for network administrator to provide referenced information about CLI (Command Line Interface). The device mentioned in this Gui de stands for TL-SL3428/TL-SL345 2 JetS tream L2 Manage d Switch. The two devices of TL-SL3428 and TL-SL3452 are sharing this User[...]

  • Page 14

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 2 server , and record the IP address, MAC address, VLAN and the connected Port numb er of the Host for automatic binding. Chapter 10: ARP Inspection Commands Provide information about the co mmands used for protecting the swit ch from the ARP cheating or ARP Att ack. Chapter 1 1: DoS Defend [...]

  • Page 15

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 3 Chapter 23: ACL Commands Provide information about the commands used for configurin g the ACL (Access Control List). Chapter 24: MSTP Commands Provide information about the commands used for configuring the MSTP (Multiple S panning Tr ee Protocol). Chapter 25: IGMP Commands Provide informa[...]

  • Page 16

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 4 Chapter 1 Using the CLI 1.1 Accessing the CLI Y ou can log on to the switch and access the CLI by the following two methods: 1. Log on to the switch by the console port on the switch. 2. Log on to the switch remotely by a T e lnet or SSH connection through an Ethernet port. 1.1.1 Logon by [...]

  • Page 17

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 5 Figure 1-2 Connection Description 4. Select the port to connect in Figure 1-3 , and click OK . Figure 1-3 Select the port to connect 5. Configure the port selected in the step above as the following Figure 1-4 shown. Configure Bit s per second as 38400, Data bits as 8, Parity as None, S to[...]

  • Page 18

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 6 6. The DOS prompt” TL-SL3428>” 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 T o successfully create T elnet connection, firstl y CLI commands about configuring T elnet [...]

  • Page 19

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 7 Now , you can logon b y T elnet in login local mode. 1. Make sure the switch and the PC are in the same LAN. Click Start → Run to open the Run window and type cmd in the prompt Run window as Figure 1-7 and click OK . Figure 1-7 Run Window 2. Open T elnet, then type telnet 192.168.0.1 in [...]

  • Page 20

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 8 4. T ype enable command to enter Privileged EXEC Mode. A password that you have set through Console port connection is requi red. Here the password is set as 123 . Figure 1-10 Enter to the Privileged EXEC Mode  Login Mode: Firstly configure the T e lnet login mode as “ login” , and [...]

  • Page 21

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 9 Figure 1-12 Connecting to the Switch 2. Y ou are prompted to ent er the connection password 123 yo u have set through Console port connection, and then you are in User EXEC Mode. Figure 1-13 Enter into the User EXEC Mode 3. When entering enable command to access Privileged EXEC Mode, you a[...]

  • Page 22

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 10 1.2 CLI Command Modes The CLI is divided into different command modes: User EXEC Mode, Privileged EXEC Mode, Global Configuration Mode, Interfa ce Confi guration Mode and VLAN Configuration Mode . Interface Configuration Mode can also be divi ded into Interface fastEthernet, Interface gig[...]

  • Page 23

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 VLAN Configuration Mode Use the vl an vlan-list command to enter this mode from Global Configuration mode. TL-SL3428(con fig- vla n) # Use the end command or press Ctrl+Z to return to Privileged EXEC mode. Enter the exit or # command to return to Global configuration mode. Note: 1. The us[...]

  • Page 24

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 12 allows you to monitor , configure and manage the switch in Privileged EXEC Mode, Global Configuration Mode, Interf ace Configuration Mode and VLAN Configuratio n Mode. Users get the privilege to the User level once connecting console port with the switch or logging in by T elnet. However [...]

  • Page 25

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 13  MAC Address must be enter in t he format of xx:xx: xx:xx:xx:xx  One or several values can be typed for a port-lis t or a vlan-list using comma to separate. Use a hyphen to designate a range of values, for in stance, 1,3-5,7 indica tes choosing 1,3,4,5,and 7.  The port number mus[...]

  • Page 26

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 14 Chapter 2 User Interface enable Description The enable command is used to access Privileged EXEC Mode from User EXEC Mode. Synt ax enable Command Mode User EXEC Mode Example If you have set the password to access Privileged EXEC Mode from User EXEC Mode: TL-SL3428>enable Enter p assw o[...]

  • Page 27

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 15 disable Description The disable command is used to return to User EXEC Mode from Privileged EXEC Mode. Synt ax disable Command Mode Privileged EXEC Mode Example Return to User EXEC Mode from Privileged EXEC Mode: TL-SL3428#disable TL-SL3428> configure Description The configure command [...]

  • Page 28

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 16 Synt ax exit Command Mode Any Configuration Mode Example Return to Global Configuration Mode fr om Interface Configuration Mode, and then return to Privileged EXEC Mode: TL-SL3428(config-if)#exit TL-SL3428(config)#exit TL-SL3428# end Description The end command is used to return to Privil[...]

  • Page 29

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 17 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 performanc[...]

  • Page 30

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 18 Synt ax interface vlan vlan-id no interface vlan vlan-id Parameter vlan-id —— S pecify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Create VLAN Interface 2: TL-SL3428(config)#interface vlan 2 name Description The name command is used to a[...]

  • Page 31

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 19 switchport mode Description The sw itchport mode command is used to configur e the Link T ypes for the ports. Synt ax switchport mode { access | trunk | general } Parameter access | trunk | general —— Link T ypes. There are three Link T ypes for the ports. Command Mode Interface Confi[...]

  • Page 32

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 20 Example Configure Fast Ethernet port 3 whose link type is “access” to VLAN 2: TL-SL3428(config)#interface fastEthernet 1/0/3 TL-SL3428(config-if)#switchport access vlan 2 switchport trunk allowed vlan Description The switchport trunk allowed vlan command is used to add the desired T r[...]

  • Page 33

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 21 Synt ax switchport general allowed vlan vlan-list { t agged | untagged } no switchport general allowed vlan vlan-list Parameter vlan-list —— VLAN ID list, ranging from 2 to 4094, in the format of 2-3, 5. It is multi-optional. tagged | untagged —— egress-rule. Command Mode Interfac[...]

  • Page 34

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 22 Example S pecify the PVID of Fast Ethernet port 3 as 1: TL-SL3428(config)#interface fastEthernet 1/0/3 TL-SL3428(config-if)#switchport pvid 1 show vlan summary Description The show vlan summary command is used to display the summarized information of IEEE 802.1Q VLAN. Synt ax show vlan su[...]

  • Page 35

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 23 show vlan Description The show vlan command is used to display the detailed information of IEEE 802.1Q VLAN. Synt ax show vlan [ id vlan-list ] Parameter vlan-list —— S pecify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Using the show vlan command without parameter displays the detai[...]

  • Page 36

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 24 Chapter 4 Protocol-based VLAN Commands Protocol VLAN (V irtual Local Area Network) is the way to classify VLANs based on Protocols. A Protocol is relative to a single VLAN ID. The untagged p ackets and the priority-tagged pa ckets matching the protocol template w ill be tagged with this V[...]

  • Page 37

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 25 protocol-vlan vlan Description The protocol-vlan vlan command is used to create a Protocol-based VLAN entry . T o delete a Protocol-based VLAN entry , please use no protocol-vlan vlan command. Synt ax protocol-vlan vlan vlan-id template template-idx no protocol-vlan vlan group-idx Paramet[...]

  • Page 38

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 26 Synt ax protocol-vlan no protocol-vlan Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEtherne t / interface range gigabitEthernet) Example Enable the Protocol-based VLAN feature for the Gigabit Ethernet port 25: TL-SL342[...]

  • Page 39

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 27 Synt ax show protocol-vlan vlan Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display information of the Protocol-based VLAN entry: TL-SL3428(config)#show protocol-vlan vlan show protocol-vlan interface Description The show protocol-vlan interface command is used t[...]

  • Page 40

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 28 Chapter 5 Voice VLAN Commands V oice VLANs are configured spec iall y for voice data stream. By configuring V oice VLANs and adding the ports with voice devic es attached to voice VLANs, you can perform QoS-related configuration for voice data, ens uring the transmission priority of voice[...]

  • Page 41

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 29 no voice vlan aging time Parameter time —— Aging time (in minutes) to be set for the V oice VLAN. It ranges from 1 to 43200. Command Mode Global Configuration Mode Example Set the aging time for the V oice VLAN as 1 minute: TL-SL3428(config)#voice vlan aging time 1 voice vlan mac-addr[...]

  • Page 42

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 30 TL-SL3428(config)#voice vlan mac-address 00:1 1:1 1:1 1:1 1:1 1 mask FF:FF:FF:00:00:00 description TP- Phone switchport voice vlan mode Description The sw itchport voice vlan mode command is used to configure the V oice VLAN mode for the Ethernet port. Synt ax switchport voice vlan mode {[...]

  • Page 43

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 31 Example Display the configuration inform ation of V oice VLAN globally: TL-SL3428(config)#show voice vlan show voice vlan oui Description The show voice vlan oui command is used to display the configuration information of V oice VLAN OUI. Synt ax show voice vlan oui Command Mode Privilege[...]

  • Page 44

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 32 Example Display the configuration in formation of Fast Ethernet port 1 in the V oice VLAN: TL-SL3428(config)#show voice vla n switchport fastEthernet 1/0/1 Display the configuration information of all the ports in the V oice VLAN: TL-SL3428(config)#show voice vla n switchport[...]

  • Page 45

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 33 Chapter 6 GVRP Commands GVRP (GARP VLAN registration protocol) is an implementation of GARP (generic attribute registration protocol). GVRP allo ws the switch to automatically add or remove the VLANs via the dynamic VLAN registration information and propagat e the lo cal VLAN registration[...]

  • Page 46

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 34 Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEtherne t / interface range gigabitEhternet) Example Enable the GVRP function for Fast Ethernet port s 2-6: TL-SL3428(config)#interface range fastEthernet 1/0/2-6 TL-SL3428([...]

  • Page 47

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 35 restore to the default setting of a GARP timer , please use no gvrp timer command. Synt ax gvrp timer { leaveall | join | leave } value no gvrp timer { leaveall | join | leave } Parameter leaveall | join | leave —— They are the three timers: leave All 、 join and leave. Once the Leav[...]

  • Page 48

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 36 show gvrp global Description The show gvrp global command is used to display the global GVRP status. Synt ax show gvrp global Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the global GVRP statu s: TL-SL3428(config)#show gvrp global show gvrp interface Descr[...]

  • Page 49

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 37 Chapter 7 Etherchannel Commands Etherchannel Commands are used to c onfigure 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 exte nd the bandwi dth. The bandwid th of the LAG is the su[...]

  • Page 50

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 38 port-channel load-balance Description The port-channel load-balance command is used to c onfigure the Aggregate Arithmetic for LAG . T o return to the default configur ations, please use no port-channel load-balance command. Synt ax port-channel load-balance {src-dst-mac | src-dst-ip} no [...]

  • Page 51

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 39 Command Mode Global Configuration Mode Example Configure the LACP system priority as 1024 globally: TL-SL3428(config)#lacp system-priority 1024 lacp port-priority Description The lacp port-priority command is used to configure the LACP system priority globally . T o return to the def ault[...]

  • Page 52

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 40 14. By default, it is empty , and will disp lay the information of all EtherChannel Groups. detail —— The detailed information of EtherChan nel. summary —— The EtherChannel information in summary . Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the d[...]

  • Page 53

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 41 neighbor —— The neighbor LACP information. Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the internal LACP info rmation of EtherChannel Group 1: TL-SL3428(config)#show lacp 1 internal show lacp sys-id Description The show lacp sys-id command is used to [...]

  • Page 54

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 42 Chapter 8 User Manage Commands User Manage Commands are used to manage the user ’s logging info rmation by Web, CLI or SSH, so as to protect the settings of t he switch from being randomly changed. user name Description The user name command is used to add a new user or modify the exist[...]

  • Page 55

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 43 TL-SL3428(config)#user name tplink pass w ord passw ord type admin st atus enable user access-control ip-based Description The user ac cess-control ip-based command is used to limit the IP-range of the users for login. Only the users wi thin the IP-range you set here are allowed to login.[...]

  • Page 56

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 44 no user access-control 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 us er with the MAC address 00: 00:13:0A:00:01 is allowed to login: TL-SL3428(config)#use[...]

  • Page 57

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 45 user max-number Description The user max-number command is used to configur e the maximum login user number at the same time. T o cancel the limit on login number , please use no user max-number command. Synt ax user max-number admin-num guest-nu m no user max-number Parameter admin-num ?[...]

  • Page 58

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 46 Command Mode Global Configuration Mode Example Configure the timeout time of the switch as 15 minutes: TL-SL3428(config)#user idle-timeout 15 line Description The line command is used to enter the Line Configuration Mode and make related configurations fo r the desired user(s), in cluding[...]

  • Page 59

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 47 password Description The p assw ord command is used to configur e the connection p assword. T o clear the password, please use no p ass w ord command. Synt ax p assw ord pa ssword no p assword Parameter password —— Configure the connection passw ord, which contains 16 characters at mo[...]

  • Page 60

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 48 Example Configure the login of Console port connection 0 as login mode: TL-SL3428(config)#line console 0 TL-SL3428(config-line)#login Configure the login of virtual term inal connection 0-5 as login mode: TL-SL3428(config)#line vty 0 5 TL-SL3428(config-line)#login login local Description [...]

  • Page 61

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 49 Synt ax show user account-list Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the information of the current users: TL-SL3428(config)#show user account-list show user configuration Description The user configuration command is used to display the security co[...]

  • Page 62

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 50 Chapter 9 Binding Table Commands Y ou 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 verify source to filter the packet s. ip source binding Description The ip source binding command [...]

  • Page 63

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 51 Command Mode Global Configuration Mode Example Bind an ACL entry with the IP 192.168.0 .1, MAC 00:00:00:00:00:01, VLAN ID 2 and the Port number 5 manually . And then enable th e entry for the ARP detection: TL-SL3428(config)#ip source binding host1 192.168.0.1 00:00:00:00:00:01 vlan 2 int[...]

  • Page 64

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 52 ip dhcp snooping global Description The ip dhcp snooping global command is configure DHCP-Snooping glob ally . T o restore to the def ault value, please use no dhcp-snooping global command. Synt ax ip dhcp snooping global { [ g lobal-rate global-rate ] [ dec-thresho ld dec-threshold ] [ d[...]

  • Page 65

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 53 ip dhcp snooping information option Description The ip dhcp snooping information option command is used to enable the Option 82 function of DHCP Snooping. T o di sable the Option 82 function, please use no ip dhcp snooping information option command. Synt ax ip dhcp snooping information o[...]

  • Page 66

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 54 Command Mode Global Configuration Mode Example Replace the Option 82 field of the pa ck ets with the switch defined one and then send out: TL-SL3428(config)#ip dhcp snoopi ng information strategy replace ip dhcp snooping information remote-id Description The ip dhcp snooping information r[...]

  • Page 67

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 55 default Circuit ID for t he Option 82, please use no ip dhcp snooping information circuit-id command. Synt ax ip dhcp snooping information circuit-id string no ip dhcp snooping information circuit-id Parameter string —— Enter the sub-option Circuit ID, which contains 32 characters at [...]

  • Page 68

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 56 TL-SL3428(config-if)#ip dhcp snooping trust ip dhcp snooping mac-verify Description The ip dhcp snooping mac-verify command is used to enable the MAC V erify feature. T o disable the MAC V erify feature, please use no ip dhcp snooping mac-verify command. There are two fields of the DHCP p[...]

  • Page 69

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 57 Parameter value —— The value of Flow Control. The options are 0/5/10/15/20/25/30 (packet/second). The default value is 0, which stands for “disable”. Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEtherne t / int[...]

  • Page 70

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 58 Synt ax show ip source binding Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the IP-MAC-VID-PORT binding table: TL-SL3428(config)#show ip source binding show ip dhcp snooping Description The show ip dhcp snooping command is used to displa y the running st a[...]

  • Page 71

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 59 Example Display the Option 82 configur ation status of DHCP-Snooping: TL-SL3428#show ip dhcp snooping information show ip dhcp snooping interface Description The show ip dhcp snooping interface command is used to display the DHCP-Snooping configuration of a desired Fast/Gigabit Ethern et [...]

  • Page 72

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 60 Chapter 10 ARP Inspection Commands ARP (Address Resolution Protocol) Detect function is to protect the switch from the ARP cheating, such as the Network Gateway S poofi ng and Man-In-The-Middle Attack, etc. ip arp inspection(global) Description The ip arp inspection command is used to ena[...]

  • Page 73

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 61 Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEtherne t / interface range gigabitEhternet) Example Configure the Fast Ethernet por ts 2-5 as the Tr usted Port: TL-SL3428(config)#interface range fastEthernet 1/0/2-5 TL-S[...]

  • Page 74

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 62 of a specified port. T o restore to the default speed, please use no ip arp inspection limit-rate command. Synt ax ip arp inspection limit-rate value no ip arp inspection limit-rate Parameter value ——The value to specify the maxi mum amount of the received ARP packet s per second, ran[...]

  • Page 75

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 63 TL-SL3428(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 T rusted Port list. Synt ax show ip arp inspection Command Mode Privil[...]

  • Page 76

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 64 Display the configuratio n of all Ethernet ports: TL-SL3428(config)#show ip arp inspection interface show ip arp inspection statistics Description The show ip arp inspection statistics command is used to display the number of the illegal ARP packet s received. Synt ax show ip arp inspecti[...]

  • Page 77

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 65 Chapter 11 DoS Defend Command DoS (Denial of Service) Attack is to occupy t he network bandwid th maliciously by the network attackers or the evil programs sending a lot of se rvice requests to the Ho st. With the DoS Defend enabled, the switch can analyze the specific field of the receiv[...]

  • Page 78

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 66 Parameter scan-synfin —— Scan SYNFIN attack. xma-scan —— Xma Scan attack. null-scan —— NULL Scan attack. port-less-1024 ——The SYN packet s whose Source Port less than 1024. ping-flood —— Ping flooding attack. Wi th the ping flood att ack enabled, the switch will limit [...]

  • Page 79

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 67 Chapter 12 IEEE 802.1X Commands IEEE 802.1X function is to provid e an access control for LAN ports via the authenticat ion. Only the supplicant passing the authenticat ion can access the LAN. dot1x system-auth-control Description The dot1x system-auth-control command is used to enable th[...]

  • Page 80

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 68 pap: IEEE 802.1X authentication system uses extensib le authentication protocol (EAP) to exchange information betw een the switch and the client. The transmission of EAP packets is termi nated at the switch and the EAP packets are converted to the other protocol (s uch as RADIUS) packe ts[...]

  • Page 81

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 69 Example Enable the Guest VLAN function for VLAN 5: TL-SL3428(config)#dot1x guest-vlan 5 dot1x quiet-period Description The dot1x quiet-period command is used to enable t he quiet-period function. T o disable the f unction, please use no dot1x quiet-period command. Synt ax dot1x quiet-peri[...]

  • Page 82

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 70 reauth-period time ——The maximum time for the switch to wait for the response from supplicant bef ore 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 quiet period as 100 seconds: T[...]

  • Page 83

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 71 dot1x Description The dot1x command is used to enable the IEEE 8 02.1X function for a specified port. T o disable the IEEE 802.1X func tion for a specified port, please use no dot1x command. Synt ax dot1x no dot1x Command Mode Interface Configuration Mode (interface fastEthernet / interfa[...]

  • Page 84

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 72 Example Enable the Guest VLAN functi on for Fast Ethernet port 2: TL-SL3428(config)#interface fastEthernet 1/0/2 TL-SL3428(config-if)#dot1x guest-vlan dot1x port-control Description The dot1x port-control command is used to configure the Control Mode of IEEE 802.1X for the specified port.[...]

  • Page 85

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 73 dot1x port-method Description The dot1x port-method command is used to configur e the control type of IEEE 802.1X for the specified port. By default, the control type is “mac-based”. T o restore to the default c onfiguration, please use no dot1x port-method command. Synt ax dot1x port[...]

  • Page 86

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 74 Parameter auth-pri ip —— The IP address of the authentication server . auth-sec ip —— The IP address of the alte rnative authentication server . auth-port port ——The UDP port of authentication server(s) ranging from 1 to 65535. The default value is 1812. auth-key keyvalue —?[...]

  • Page 87

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 75 Command Mode Global Configuration Mode Example Enable the account ing feature: TL-SL3428(config)#radius server-account show dot1x global Description The show dot1x global command is used to display t he global configuration of 801.X. Synt ax show dot1x global Command Mode Privileged EXEC [...]

  • Page 88

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 76 Example Display the configuration informati on of 801.X for Gigabit Ethernet port 25: TL-SL3428(config)#show dot1x interface gigabitEthernet 1/0/25 Display the configuration informat ion of 801.X for all Ethernet ports: TL-SL3428(config)#show dot1x interface show radius accounting Descrip[...]

  • Page 89

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 77 Chapter 13 System Log Commands The log information will record the settings and oper ation of the switch re spectively 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[...]

  • Page 90

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 78 logging file flash Description The logging file flash command is used to configu re the level and the status of the log file input. T o disable the l oggin g file flash funtion, please use no logging file flash command. The log file indicates the fl ash sector for saving system log. The i[...]

  • Page 91

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 79 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-SL3428(config)#clear logging buffer logging host index Description The logging[...]

  • Page 92

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 80 Example Set the IP address as 192. 168.0.148, the level 5: TL-SL3428(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 t he log buffer and the log file. S[...]

  • Page 93

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 81 Example Display the configuratio n of the log host 2: TL-SL3428(config)#show logging loghost 2 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. Synt ax show logging buffer [ level leve[...]

  • Page 94

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 82 Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the log information with t he level marked 0~3 in the log file: TL-SL3428(config)#show logging flash level 3[...]

  • Page 95

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 83 Chapter 14 SSH Commands SSH (Security Shell) can prov ide 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. T o disable the SSH[...]

  • Page 96

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 84 Example Enable SSH v2: TL-SL3428(config)#ip ssh version v2 ip ssh timeout Description The ip ssh timeout command is used to specify the idle-timeout time of SSH. T o restore to the fact ory defaults, please use ip ssh timeout command. Synt ax ip ssh timeout value no ip ssh timeout Paramet[...]

  • Page 97

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 85 Command Mode Global Configuration Mode Example S pecify the maximum number of the c onnections to the SSH server as 3: TL-SL3428(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 . Synt ax ip ssh downl[...]

  • Page 98

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 86 Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the global conf iguration of SSH: TL-SL3428(config)#show ip ssh[...]

  • Page 99

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 87 Chapter 15 SSL Commands SSL ( Secure Sockets Layer ) , a security protocol, is to pr ovide a secure connection for the application layer protocol(e.g. H TTP) based on TCP . Adopting asymme trical en cryption technology , SSL uses key p air to encrypt/decrypt information. A key pair re[...]

  • Page 100

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 88 Parameter ssl-cert —— The name of the SSL certificate wh ich 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 [...]

  • Page 101

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 89 show ip http secure-server Description The show ip http secure-server command is used to display the global configuration of SSL. Synt ax show ip http secure-server Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the global configuration of SSL: TL-SL3428(con[...]

  • Page 102

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 90 Chapter 16 MAC Address Commands MAC address configuration can improv e the network security by configuring the Port Security and maintaining the address information by managing the address T able. mac address-table static Description The mac address-table st atic command is used to add th[...]

  • Page 103

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 91 Delete the static address entry wh ose MAC address is 00:02:58:4f:6c:23: TL-SL3428(config)#no mac address-table st ati c 00:02:58:4f:6c:23 mac address-table aging-time Description The mac address-t able aging-time command is used to configure aging time for the dynamic address. T o return[...]

  • Page 104

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 92 Parameter mac-addr —— The MAC address to be filtered. vid —— The corresponding VLAN ID of the MAC address. It ranges from 1 to 4094. 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-SL3428(c[...]

  • Page 105

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 93 deleted manually . The learned entries will be cleared after the switch is rebooted. When permanent mode is selected, the learned MAC address will be out of the influence of the aging time and can only be deleted manually too. However , the learned entries will be saved even the switch is[...]

  • Page 106

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 94 show mac address-table aging-time Description The show mac address-t able aging-time command is used to display the Aging T ime of the MAC address. Synt ax show mac address-t able aging-time Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the Aging T ime of t[...]

  • Page 107

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 95 show mac address-table interface Description The show mac address-table interface command is used to display the address configuration of an Ethernet port. Synt ax show mac address-t able interface { fast Ethernet port | gigabitEthernet port } Parameter port —— The Fast/Gigabit Ethern[...]

  • Page 108

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 96 Synt ax show mac address-t able mac mac- addr Parameter mac-addr —— The specified MAC address. Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the information of the MAC address 00:00:00:00:23:00 TL-SL3428(config)#show mac address-table 00:00:00:00:23:00 [...]

  • Page 109

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 97 Chapter 17 System Configuration Commands System Configuration Commands c an be used to configure the syst em information and system IP of the switch, and to reboot and reset the switch, upgrade the switch system a nd commands used for device diagnose, including loopback test and cable tes[...]

  • Page 110

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 98 UTC-12:00 —— T imeZone for International Date Line West. UTC-1 1:00 —— T imeZone for Coordinated Univ ersal T ime-1 1. UTC-10:00 —— T imeZone for Hawaii. UTC-09:00 —— T imeZone for Alaska. UTC-08:00 —— T imeZone for Pacific T i me(US Canada). UTC-07:00 —— T imeZone[...]

  • Page 111

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 99 backup-ntp-server —— The IP address for the Se condary NTP Server . fetching-rate —— S pecify the rate fetching time from NTP serv er . Command Mode Global Configuration Mode Example Configure the system time mode as NT P , the time zone is UTC-12:00, the primary NTP server is 133[...]

  • Page 112

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 100 system-time dst date Description The system-time dst date command is used to specif y the DST configuration in Date mode. This configuration is recu rring in use. By default, the current year is used as the starting time. DST time per iods should be within 12 months ove r one/two year . [...]

  • Page 113

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 101 configuration in recurring mode. This conf iguration is recurring in use. The time period is not restricted to be within one year . Synt ax system-time dst recurring { sweek } { sday } { smonth } { stime } { eweek } { eday } { emonth } { etime } [ offset ] Parameter sweek —— W eek to[...]

  • Page 114

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 102 Synt ax hostname hostname no hostname Parameter hostname —— System Name, ranging from 1 to 32 characters. It is the product name by default. Here it is TL-SL3428. Command Mode Global Configuration Mode Example Configure the system name as TPLIN K: TL-SL3428(config)#hostname TPLINK lo[...]

  • Page 115

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 103 contact-info Description The cont ac t-info comma nd is used to configure the system contact information. T o clear the system contac t information, please use no cont act-info command. Synt ax cont act-info contact_info no cont act-info Parameter contact_info —— Contact Information.[...]

  • Page 116

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 104 ip address Description The ip address command is used to configure the system IP address, Subnet Mask and Default Gateway . T o 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 117

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 105 Example Enable the DHCP Client f unction when the management VL AN of the switch is VLAN1: TL-SL3428(config)# interface vlan 1 TL-SL3428(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 [...]

  • Page 118

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 106 Example Reset the software of the switch: TL-SL3428#reset reboot Description The reboot command is used to reb oot the Switch. T o avoid damage, please don’t turn off the device while rebooting. Synt ax reboot Command Mode Privileged EXEC Mode Example Reboot the switch: TL-SL3428#reboo[...]

  • Page 119

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 107 The copy startup-config t f tp command is used to backup the configuration file to TFTP server . Synt ax copy st artup-config tf tp ip-address ip-addr filename name Parameter ip-addr —— IP address of the TFTP server . name —— S pecify the name for the config uration file which wo[...]

  • Page 120

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 108 Example Download the configuration f ile named as config.cfg to the switch from TFTP server with the IP 192.168.0.148: TL-SL3428# copy t ftp st artup-config ip-address 192.168.0.148 filename config firmware upgrade Description The firmware upgrade command is used to upgrade the switch sy[...]

  • Page 121

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 109 ranges from 1 to 10. By default, this value is 4. -l count —— The size of the sending data durin g ping testing. It ranges from 1 to 1024 bytes. By default, this value is 64. -i count —— The interval to send ICMP request p ackets. It ranges from 100 to 1000 milliseconds. By defau[...]

  • Page 122

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 0 the connection between the switch and the destination device is failed to establish: TL-SL3428#tracert 192. 168.0.131 –h 20 loopback interface Description The loopback interface command is used to test whether the port is avail able or not. Synt ax loopback interface { fastEthernet po[...]

  • Page 123

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 111 Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the time information of the switch: TL-SL3428#show system-time show system-time dst Description The show s ystem-time dst command is used to display the DST time information of the switch. Synt ax show system-t[...]

  • Page 124

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 2 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. Synt ax show system-info Command Mode Privileged EXEC Mode and Any Co nfigu[...]

  • Page 125

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 3 connection status of the c able connected to the Switch , locate and diagnose the trouble spot of the network. Synt ax show cable-diagnostics interface { fastEtherne t port | gigabitEthernet port } Parameter port —— The numbe r of the port which is selected for Cable test. Command M[...]

  • Page 126

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 4 Chapter 18 Ethernet Configuration Commands Ethernet Configuration Commands can be used to configure the B andwidth Control, Negotiation Mode and S torm Control for Ethernet ports. interface fastEthernet Description The interfa ce fastEthernet command is used to enter the interface fastE[...]

  • Page 127

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 5 User Guidelines Command in the Interface Range fastEthernet Mod e 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 T o enter the Interface Range fastEther net Configura[...]

  • Page 128

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 6 Parameter port-list —— The list of Gigabit Ethernet ports. Command Mode Global Configuration Mode 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 th[...]

  • Page 129

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 7 shutdown Description The shut dow n command is used to disable an Et hernet port. T o enable this port again, please use no shut dow n command. Synt ax shut down no shut down Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gig[...]

  • Page 130

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 8 media-type Description The media-type command is used to configure t he media type of Combo port. For a Combo port, the media type should be configured before you set its speed and mode. This command does not apply to TL-SL3452 since TL-SL3452 has no Combo port. Synt ax media-type { rj4[...]

  • Page 131

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 11 9 Configure the Duplex Mode as full-dupl ex for Gigabit Ethernet port 25: TL-SL3428(config)#interface gigabitEthernet 1/0/25 TL-SL3428(config-if)#duplex full speed Description The speed command is used to conf igure the Speed Mode for an Ethernet port. T o return to the default configurat[...]

  • Page 132

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 120 storm-control broadcast no storm-control broadcast Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEtherne t / interface range gigabitEthernet) Example Enable the broadcast control function for Fast Ethernet port 5: TL-S[...]

  • Page 133

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 121 unicast command. Unicast control f unction allows the switch to filter UL frame in the network. If the transmission rate of the UL frames exceeds the set bandwidth in the storm-contorl rate , the packe ts will be automatically discarded to avoid network broadcast storm. Synt ax storm-con[...]

  • Page 134

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 122 Example S pecify the storm control rate as 2Mbp s for port5: TL-SL3428(config)# interface fastEthernet 1/0/5 TL-SL3428(config-if)# storm-control rate 2m bandwidth Description The bandwid th command is used to configure the bandwidth limit for an Ethernet port. T o disable t he band width[...]

  • Page 135

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 123 Synt ax clear counters Command Mode Global Configuration Mode Example Clear the statistic informat ion of all Ethernet port s TL-SL3428(config)#clear counters show interface status Description The show interface st atus command is used to display the connective-status of an Ethernet port[...]

  • Page 136

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 124 Parameter port —— The Fast/Gigabit Ethernet port number . By default, the statistic information of all ports is displayed. Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the statistic information of all Ethernet port s: TL-SL3428(config)#show interface [...]

  • Page 137

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 125 Parameter port —— The Fast/Gigabit Ethernet port number . Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the flow-control inform ation of all Ethernet ports: TL-SL3428#show interface flowcontrol show interface configuration Description The show interfac[...]

  • Page 138

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 126 port-list —— The list of Fast/Gigabit Ethernet ports. Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the storm-control informat ion of port Gigabit Ethernet port 25: TL-SL3428(config)#show storm-control interface gigabitEthernet 1/0/25 Display the storm[...]

  • Page 139

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 127 Chapter 19 QoS Commands QoS (Quality of Service) f unction is used to optimiz e the network perfor mance. It provides yo u with network servi ce experience of a better qualit y . qos Description The qos command is used to configure CoS (Class of Service) based on port. T o return to the [...]

  • Page 140

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 128 Synt ax qos cos no qos cos Command Mode Global Configuration Mode User Guidelines IEEE 802.1P gives the Pri field in IEEE 802.1Q tag a recommended definition. When the mapping relation between IEEE 802.1P Priority and TC egress queue is enabled, the data will be classified into the egres[...]

  • Page 141

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 129 qos queue cos-map Description The qos queue cos-map command is used to conf igure the mapping relation between IEEE 802.1P priority t ag/IEEE 802.1Q tag, CoS value and the TC egress queue. T o return to the default configurat ion, please use no qos queue cos-map command. When 802.1P Prio[...]

  • Page 142

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 130 divide IP dat agram into 64 priorities. When DSCP Priority is enabled, IP datagram are mapped to different priority levels based on DSCP priority mode; non-IP datagram with IEEE 802.1Q tag are mapped to different priority levels based on IEEE 802.1P priority mode if IEEE 802.1P Priority [...]

  • Page 143

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 131 queues and scheduling algorithms you set. On th is switch, the priority levels are labeled as TC0, TC1… TC3. Synt ax qos queue mode { sp | wrr | sp+wrr | equ } no qos queue mode Parameter sp —— S trict-Priority Mode. In this mode, the queue with hi gher priority will occupy the who[...]

  • Page 144

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 132 Synt ax show qos interface [ fastEthernet port | gigabitEthernet port | range fastEthernet por t-list | range gigabit Ethernet port-l ist ] Parameter port —— The Fast/Gigabit Ethernet port number . port-list —— The list of Ethernet port s. Command Mode Privileged EXEC Mode and An[...]

  • Page 145

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 133 Synt ax show qos dscp-map Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the configuration of DSCP Priority: TL-SL3428#show qos dscp-map show qos queue mode Description The show qos queue mode command is used to display the schedule rule of the egress queue[...]

  • Page 146

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 134 Chapter 20 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 packet s for monitoring and troubleshooting th[...]

  • Page 147

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 135 monitor session source interface Description The monitor session source interface command is used to configure the monitored port. T o delete the corre spondin g monitored port, please use no monitor session source interface command. Synt ax monitor session session_num source interface {[...]

  • Page 148

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 136 TL-SL3428(config)#monitor session 1 source interface fastEthernet 1/0/4-5,1/0/7 rx Delete the Fast Ethernet port 4 in m onitor session 1 and its configuration: TL-SL3428(config)#no monitor session 1 source interface fastEthernet 1/0/4 rx show monitor session Description The show monitor [...]

  • Page 149

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 137 Chapter 21 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 t[...]

  • Page 150

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 138 show port isolation Description The show port isolation command is used to display the forward port list of a port. Synt ax show port isolation interf ace [ fastEthernet port | g igabitEthernet port ] Parameter port —— The number of Ethernet port you want to show its forward port lis[...]

  • Page 151

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 139 Chapter 22 Loopback Detection Commands With loopback detection feature enabled, the switch can detect loops us ing loopback detection packet s. When a loop is detected, the switch will di splay an alert or further block the corresponding port according to the configuration. loopback-dete[...]

  • Page 152

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 140 Example S pecify the interval -time as 50 seconds: TL-SL3428(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 s[...]

  • Page 153

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 141 Example Enable the loopback detection function of Gigabit Ethernet ports 25-27: TL-SL3428(config)#interface range gigabitEthernet 1/0/25-2 7 TL-SL3428(config-if-range)#loopback-detection loopback-detection config Description The loopback-detection config command is used to configure the [...]

  • Page 154

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 142 loopback-detection recover Description The loopback-detection recover command is used to remove the block status of selected ports, recovering the blocked ports to no rmal status, Synt ax loopback-detection recover Command Mode Interface Configuration Mode (interface fastEthernet / inter[...]

  • Page 155

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 143 configuration of loopback detection function and the status of all ports or of a specified Fast/Gigabit Ethernet port. Synt ax show loopback-detection interface [ fastEthernet port | gigabitEthernet port ] Parameter port —— The Fast/Gigabit Ethernet port numbe r . Command Mode Privil[...]

  • Page 156

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 144 Chapter 23 ACL Commands ACL (Access Control List) is used to filter data p ackets by configur ing a series of match conditions, operations and time ranges. It prov ides a flexible and secured acce ss control policy and facilitates you to control the network security . time-range Descript[...]

  • Page 157

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 145 Synt ax absolute st art start-date end end-date no absolute 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 defaul t, it is 01/[...]

  • Page 158

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 146 Example Configure the time-range tSeg1 with ti me from 8:30 to 12:00 at weekend: TL-SL3428(config)#time-range tSeg1 TL-SL3428(config-time-range)#periodic w eek-date off-day time-slice1 08:30-12:00 holiday Description The holiday command is used to configure t he time-range into Holiday M[...]

  • Page 159

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 147 end-date —— The end date of the holiday , in the format of MM/DD, for instance, 05/03. Command Mode Global Configuration Mode Example Define National Day , configuring the st art date as October 1st, and the end date as October 3rd: TL-SL3428(config)#holiday nationalday start-date 10[...]

  • Page 160

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 148 Synt ax mac access-list access-list-num no mac access-list access-list-num Parameter access-list-num —— ACL ID, ranging from 0 to 99. Command Mode Global Configuration Mode Example Create a MAC ACL whose ID is 23: TL-SL3428(config)#mac access-list 23 access-list standard Description [...]

  • Page 161

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 149 destination-ip-mask —— The destination IP address mask. It is required if you typed the destination IP address. time-segmen t —— The time-range for the rule to take effect. By default, it is not limited. frag —— Enable/Disable Fragme nt. By default, it is disabled. If Fragmen[...]

  • Page 162

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 150 source-ip —— The source IP address contained in the rule. source-ip-mask —— The source IP address mask. It is required if you typed the source IP address. destination-ip —— The destination IP address contained in the rule. destination-ip-mask —— The destination IP address[...]

  • Page 163

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 151 rule Description The rule command is used to configure MAC ACL rule. T o delete the corresponding rule, please use no rule command. Synt ax rule rule-id [deny | permit] [ [ smac source-mac ] smask source-mac-mask ] [ [ dmac destination-mac ] dmask destination-mac- mask ] [ vid vlan-id ] [...]

  • Page 164

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 152 TL-SL3428(config)#mac access-list 20 TL-SL3428(config-mac-acl)#rule 10 permit smac 00:01:3F:48:16:23 smask 1 1:1 1:1 1:1 1:1 1:00 vid 2 pri 5 tseg tSeg1 access-list policy name Description The acces s-list policy name command is used to add Policy . T o delete the corresponding Policy , [...]

  • Page 165

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 153 Parameter policy-name —— The Policy Name, ranging from 1 to 16 characters. acl-id —— The ID of the ACL to whic h the above policy is applied. Command Mode Global Configuration Mode Example Add ACL whose ID is 120 to policy1 and create an action for them: TL-SL3428(config)#access-[...]

  • Page 166

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 154 Synt ax s-condition rate rate osd {none | discard} Parameter rate —— The rate of S tream Condition, ranging from 0 to 100000kbps. osd —— Out of Band disposal of S tream Condi tion. It is the di sposal way of the data packet s those are transmitted beyon d the r ate. There are two[...]

  • Page 167

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 155 access-list bind(interface) Description The access-list bind command is used to bind a policy to a specified port. T o cancel the bind re lation, please use no access-list bind command. Synt ax access-list bind policy-name no access-list bind policy-name Parameter policy-name —— The [...]

  • Page 168

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 156 TL-SL3428(config-if)#access-list bind policy1 show time-range Description The show time-range command is used to displa y the configuration of time-range. Synt ax show time-range Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the configuration of T ime-Rang[...]

  • Page 169

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 157 Parameter acl-id —— The ID of the ACL selected to display the configuration. Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the configuration of the MAC ACL whose ID is 20: TL-SL3428#show access-list 20 show access-list policy Description The show acces[...]

  • Page 170

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 158 Example Display the configuration of Policy bind: TL-SL3428#show access-list bind[...]

  • Page 171

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 159 Chapter 24 MSTP Commands MSTP (Multiple S panning T ree Protocol), comp at ible with both STP and RSTP and subject to IEEE 802.1s, can disbranch a ri ng network. STP is to block redundant links and backup links as well as optimize paths. spanning-tree(global) Description The spanning-tre[...]

  • Page 172

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 160 TL-SL3428(config)#interface fastEthernet 1/0/2 TL-SL3428(config-if)#spanning-tree spanning-tree common-config Description The sp anning-tree common-config command is used to configure the parameters of the port s for comparison in the CIST and the common parameters of all insta nces. T o[...]

  • Page 173

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 161 designated port, they can transit their states to forwarding rapidly to reduce the unnecessary forward delay . Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEtherne t / interface range gigabitEthernet) Example Enable t[...]

  • Page 174

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 162 spanning-tree mst configuration Description The spanning-tree mst configuration command is used to access MST Configuration Mode from Global Confi guration Mode, as to configure the VLAN-Instance mapping, region name and revision level. T o return to the default configuration of the co r[...]

  • Page 175

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 163 Example Map the VLANs 1-100 to Instance 1: TL-SL3428(config)#sp anning-tree mst configuration TL-SL3428(config-mst)#instance 1 vlan 1-100 Disable Instance 1, namely remove all the mapping VLANs 1-100: TL-SL3428(config)#sp anning-tree mst configuration TL-SL3428(config-mst)#no inst ance 1[...]

  • Page 176

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 164 Parameters revision —— The revision level for MST region identification, ranging from 0 to 65535. Command Mode MST Configuration Mode Example Configure the revision level of MST as 100: TL-SL3428(config)#sp anning-tree mst configuration TL-SL3428(config-mst)#revision 100 spanning-tre[...]

  • Page 177

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 165 return to the default conf iguration of the corresponding Instance Port, please use no sp anning-tree mst command. A port can play different roles in differ ent spanning tree instance. Y ou can use this command to configure the parameters of the ports in dif ferent instance IDs as well a[...]

  • Page 178

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 166 Parameter pri —— Bridge prio rity , ranging from 0 to 61440. It is 32768 by default. Command Mode Global Configuration Mode Example Configure the bridge priority as 4096: TL-SL3428(config)#sp anning-tree priority 4096 spanning-tree tc-defend Description The spanning-tree tc-defend co[...]

  • Page 179

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 167 spanning-tree timer Description The sp anning-tree timer command is used to configure forward-time, hello-time and max-age of S panning T ree. T o return to the default configurations, please use no sp anning-tree timer command. Synt ax sp anning-tree timer { [ forward-time forward-time [...]

  • Page 180

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 168 Synt ax sp anning-tree hold-count value no sp anning-tree hold-count Parameter value —— The maximum number of BPDU packet s transmitted per Hello T im e interval, ranging from 1 to 20 in pps. By default, it is 5. Command Mode Global Configuration Mode Example Configure the hold-count[...]

  • Page 181

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 169 spanning-tree bpdufilter Description The sp anning-tree bp dufilter command is used to enabl e the BPDU filter function for a port. With the function enabled, the port can be prevented from receiving and sending any BPDU packets. T o disable the BPDU filter function, please use no sp ann[...]

  • Page 182

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 170 TL-SL3428(config)#interface fastEthernet 1/0/2 TL-SL3428(config-if)#sp anning-tree bpduguard spanning-tree guard loop Description The sp anning-tree guard loop command is used to enable t he Loop Protect function for a port. Loop Protect is to prevent the loops in the network brought by [...]

  • Page 183

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 171 fastEthernet / interface gigabitEtherne t / interface range gigabitEthernet) Example Enable the Root Protect functi on for Fast Ethernet port 2: TL-SL3428(config)#interface fastEthernet 1/0/2 TL-SL3428(config-if)#spanning-tree guard root[...]

  • Page 184

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 172 spanning-tree guard tc Description The sp anning-tree guard tc command is used to enable the TC Protect of S panning T ree function for a port. T o dis able the TC Protect of S panning T ree function, please use no sp anning-tree guard tc command. A switch removes MAC address entries upo[...]

  • Page 185

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 173 TL-SL3428(config)#interface fastEthernet 1/0/2 TL-SL3428(config-if)#spanning-tree mcheck show spanning-tree active Description The show sp anning-tree active command is used to display the active information of spanning-tree. Synt ax show spanning-tree active Command Mode Privileged EXEC[...]

  • Page 186

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 174 spanning-tree information of all ports o r a specified port. Synt ax show spanning-tree interface [ fastEthernet port | gigabitEthernet port ] [edge | ext-cost | int-cost | mode | p2p | priority | role | state | status] Parameter port —— The Fast/Gigabit Ethernet port number . Comman[...]

  • Page 187

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 175 TL-SL3428(config)#show spanning-tree interface-security gigabitEthernet 1/0/25 Display the interface security bpdufilter information: TL-SL3428(config)# show spanning-tree interface-security bp dufilter show spanning-tree mst Description The show sp anning-tree mst command is used to dis[...]

  • Page 188

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 176 Chapter 25 IGMP Commands IGMP Snooping (Internet Group Management Prot ocol 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 comman[...]

  • Page 189

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 177 Example Enable IGMP Snooping function of Gigabit Ethernet port 25: TL-SL3428(config)#interface gigabitEthernet 1/0/25 TL-SL3428(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 functi[...]

  • Page 190

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 178 Example S pecify the operation of processi ng unknown multicast as “discard”: TL-SL3428(config)#ip igmp snooping drop-unknown ip igmp snooping vlan-config Description The ip igmp snooping v lan-config command is used to enable VLAN IGMP Snooping function or to modify IGMP Snooping pa[...]

  • Page 191

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 179 the format of 1/0/2; Gigabi t Ethernet port, ranging from 1-4, in the format of 1/0/2. vlan-id —— The VLAN ID of the multicas t IP , ranging from 1 to 4094. ip —— The static multicast IP address. port-list —— The forward port list of the multicast group. Command Mode Global C[...]

  • Page 192

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 180 a leave message from a host and the switch removing the host from the multicast groups. Leave T ime ranges from 1 to 30 in seconds. By default, it is 1. port —— S tatic Router Port, which is ma inly used in the network with st able topology . There are two types of port: Fast Etherne[...]

  • Page 193

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 181 ip igmp snooping filter(global) Description The ip igmp snooping filter command is used to add or modify the multica st filtering IP-range. T o del ete the multicast filter ing IP-range, please use no ip igmp snooping filter command. Synt ax ip igmp snooping filter id st art-ip end-ip no[...]

  • Page 194

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 182 fastEthernet / interface gigabitEtherne t / interface range gigabitEthernet) Example Enable IGMP Snooping filter func tion for Gigabit Ethernet port 26: TL-SL3428(config)#interface gigabitEthernet 1/0/26 TL-SL3428(config-if)#ip ig mp snooping filter ip igmp snooping filter maxgroup Descr[...]

  • Page 195

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 183 only the multicast packets whose multicas t IP is not in the IP-range will be processed, while “accept” indicates only the multicast p ack ets whose multicast IP is in the IP-range will be processed. By default, the option is “accept”. Command Mode Interface Configuration Mode (i[...]

  • Page 196

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 184 Parameter port —— Th e Fast/Gigabit Ethernet port number . By default, the configuration of all ports is displayed. basic-config | filter | pa cket-stat —— The related configuration information selected to display . port-list —— The list group of Ethernet port s. Command Mode[...]

  • Page 197

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 185 Synt ax show ip igmp snooping multi-vlan Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the Multicast VLAN configuration: TL-SL3428#show ip igmp snooping multi-vlan show ip igmp snooping groups Description The show ip igmp snooping group s command is used t[...]

  • Page 198

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 186 Display the count of multic ast entries in VLAN 5: TL-SL3428(config)#show ip igmp snooping groups vlan 5 count show ip igmp snooping filter Description The show ip igmp snooping filter command is used to display the Multicast Filter address table. Synt ax show ip igmp snooping filter [ f[...]

  • Page 199

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 187 Chapter 26 SNMP Commands SNMP (Simple Network Management Protocol) func tions are used to manage the network devices for a smooth communication, whic h can facilitate the network administrators to monitor the network nodes and implement the proper operation. snmp-server Description The s[...]

  • Page 200

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 188 Parameter name —— The entry name of View , ranging from 1 to 16 characters. Each View can include several entries with the same name. mib-oid —— MIB Object ID. It is the Object I dentifier (OID) for the entry of V iew , ranging from 1 to 61 characters. include | exclude —— Vi[...]

  • Page 201

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 189 smode —— Security Model, with v1 、 v2c and v3 options. They represent SNMP v1, SNMP v2c and SNMP v3. slev —— T he Security Level of SNMP v3 Group. There are three options, including noAuthNoPriv ( no authorization and no encryption ) 、 authNo Priv ( authorization and no[...]

  • Page 202

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 190 no snmp-server user name Parameter name —— User Name, ranging from 1 to 16 characters. local | remote —— User T ype, with local and remote options. Local indicates that the user is connected to a local SNMP engine, while remote indicates that the user is connected to a remote SNM[...]

  • Page 203

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 191 Example Add Local User admin to Group group2, and configure the Security Model of the user as v3, the Security Level of the group as authPriv , the Authentication Mode of the user as MD5, the Authentication Password as 1 1 1 1 1, the Privacy Mode as DES, and the Privacy Password as 22222[...]

  • Page 204

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 192 corresponding Notification, please use no snmp-server host command. With the Notification function enabled, the swit ch can initiatively report to the management station about the importa nt ev ents that occur on the Views, which allows the management station to monitor and process the e[...]

  • Page 205

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 193 Example Add a Notification entry , and configure the IP address of the management Host as 192.168.0.146, the UDP port as 162, the User name of the management station as admin, the Security Model of the management stati on as v2c, the type of the notifications as inform, the maximum time [...]

  • Page 206

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 194 snmp-server traps snmp Description The snmp-server traps snmp command is used to enable SNMP standard traps which include four types: linkup, linkdown, warmst art and coldstart. T o disable the sending of SNMP st andard traps, please use no snmp-server traps snmp command. Synt ax snmp-se[...]

  • Page 207

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 195 Command Mode Interface Configuration Mode (interfa ce gigabitEthernet / interface range gigabitEthernet) Example Enable SNMP link st atus trap for port 3: TL-SL3428(config)# interface gigabitEthernet 1/0/3 TL- SG3424P(config-if)# snmp-server traps link-st atus snmp-server traps Descripti[...]

  • Page 208

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 196 spanning-tree —— Enable spanning-tree trap. It is sent when the port forwarding status changes or the port receives TCN packet or p acket with TC flag. memory — — Enable memory trap. It is sent when CPU us age exceeds 80 %. Command Mode Global Configuration Mode Example Enable SN[...]

  • Page 209

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 197 Example Enable all SNMP extended MAC address-related traps for the switch: TL-SL3428(config)# snmp-server traps mac Enable new MAC address trap only for the switch: TL-SL3428(config)# snmp-server traps mac new snmp-server traps vlan Description The snmp-server traps vlan command is used [...]

  • Page 210

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 198 the network. History Group is one of th e commonly used RMON Group s. After a history group is configured, the switch collects network st atistics information periodically , based on which the managem ent station can monitor network effectively . Synt ax rmon history index interface { fa[...]

  • Page 211

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 199 Parameter index —— The index number of the event e n try , r anging from 1 to 12. Y ou can only select one entry for each command. user-name —— The name of the User to wh ich the event belongs, ranging from 1 to 16 characters. By default, it is “public”. descript —— The d[...]

  • Page 212

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 200 1024-10240 }] [ s-t y pe { absolute | delta} ] [ rising-threshold r-hold ] [ rising-event-index r-event ] [ falling-threshold f-hold ] [ falling-event-index f-event ] [ a-type {rise | fall | all} ] [ ow ne r owner-name ] [ interval interval ] no rmon alarm index Parameter index —— Th[...]

  • Page 213

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 201 Command Mode Global Configuration Mode Example Configure the ports of entries of 1-3 as Gi1/0/2, the owners as owner1 and the alarm intervals as 100 seconds: TL-SL3428(config)#rmon alarm 1-3 interface fastEthernet 1/0/2 ow ner owner1 interval 100 show snmp-server Description The show snm[...]

  • Page 214

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 202 show snmp-server group Description The show snmp-server group command is used to display the Group table. Synt ax show snmp-server group Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the Group table: TL-SL3428#show snmp-server group show snmp-server user D[...]

  • Page 215

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 203 Example Display the Community table: TL-SL3428#show snmp-server com munity show snmp-server host Description The show snmp-server host command is used to display the Host table. Synt ax show snmp-server host Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display th[...]

  • Page 216

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 204 Synt ax show rmon history [ index ] Parameter index —— The index nu mber of the entry sele cted to display the configuration, ranging from 1 to 12, in the format of 1- 3, 5. Y ou can select more than on e entry for each command. By default, t he configuration of all hi story sample e[...]

  • Page 217

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 205 show rmon alarm Description The sho w rmon alarm command is used to display the configuration of the Alarm Management entry . Synt ax show rmon alarm [ index ] Parameter index —— The index nu mber of the entry sele cted to display the configuration, ranging from 1 to 12, in the forma[...]

  • Page 218

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 206 Chapter 27 LLDP Commands LLDP function enables network devic es 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 fo r the information to b[...]

  • Page 219

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 207 Parameter multiplier —— Configure the Hold Multiplier parameter . It ranges from 2 to 10. By default, it is 4. Command Mode Global Configuration Mode Example S pecify Hold Multiplier as 5: TL-SL3428(config)#lld p hold-multiplier 5 lldp timer Description The lldp timer command is used[...]

  • Page 220

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 208 is, the transmit interval will be short en to a second, and several LLDPDUs will be sent out (the number of LLDPDUs equals this para meter). The value ranges from 1 to 10 and the default value is 3. Command Mode Global Configuration Mode Example S pecify the T ransmit Interval of LLD PDU[...]

  • Page 221

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 209 Synt ax lld p transmit no lld p transmit Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEtherne t / interface range gigabitEthernet) Example Enable Fast Ethernet port 1 to transmit LLDPDU: TL-SL3428(config)# interface f[...]

  • Page 222

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 210 outgoing LLDPDU. T o ex clude TL Vs, please use no lldp tlv-select command. By default, All TL Vs are included in outgoing LLDP DU. Synt ax lld p tlv-select [port-description | system-cap a bility | system-description | system-name | management-address | port- vlan | protocol-vlan | vlan[...]

  • Page 223

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 21 1 show lldp interface Description The show lldp interface command is used to display LLDP configuration of the corresponding port. By default, the LLDP conf iguration of all the ports will be displayed. Synt ax show lldp interface [ fastEthernet port | gigabitEthernet port ] Parameter por[...]

  • Page 224

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 212 TL-SL3428#show lldp local-information interface fastEthernet 1/0/1 show lldp neighbor-information interface Description The show lldp neighbor-information interface command is used to display the neighbor information of the corre sponding port. By default, the neighbo r information of al[...]

  • Page 225

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 213 Example Display the LLDP sta tistic information of Fast Ethernet port 1: TL-SL3428#show lldp traffic interface fastEthernet 1/0/1[...]

  • Page 226

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 214 Chapter 28 Cluster Commands Cluster Management function enables a network administrator to manage the scattered devices in the network via a manag ement device. After a co mmander sw itch is confi gured, management and maintenance operations intended fo r the member devices in a cl uster[...]

  • Page 227

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 215 Example Enable NDP function globally , and configure Aging T ime as 120 seconds, Hello T ime as 50 seconds: TL-SL3428(config)#cluster ndp TL-SL3428(config)#cluster nd p timer hello 50 aging 120 cluster ntdp Description The cluster nt dp command is used to configure NTDP globally . T o re[...]

  • Page 228

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 216 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 T ime as 30 minutes: TL-SL3428(config)#cluster nt dp TL-SL3428(config)#cluster nt dp timer interval-timer[...]

  • Page 229

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 217 Command Mode Interface Configuration Mode (interface fastEthernet / interface range fastEthernet / interface gigabitEtherne t / interface range gigabitEthernet) Example Enable NDP and NTDP function for Fast Ethernet port 5: TL-SL3428(config)#interface fastEthernet 1/0/5 TL-SL3428(config-[...]

  • Page 230

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 218 show cluster ndp Description The show cluster ndp command is used to display NDP configuration of certain ports. Synt ax show cluster ndp [ interface [ fastEthernet port | gigabitEthernet port ] ] Parameter port —— The Fast/Gigabit Ethernet port numbe r . By default, the configuratio[...]

  • Page 231

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 219 show cluster ntdp Description The show cluster ntd p command is used to display NTDP configuration information. Synt ax show cluster ntd p [ interface [ fastEthernet port | gigabitEthernet port ] | device-list ] Parameter port —— The Fast/Gigabit Ethernet port numbe r . By default, t[...]

  • Page 232

    TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide 220 show cluster manage role Description The sho w cluster manage role command is used to display the role of the current switch. Synt ax show cluster manage role Command Mode Privileged EXEC Mode and Any Co nfiguration Mode Example Display the role of the current switch: TL-SL3428(config)#s[...]