TP-Link TL-SG2210P User Manual

User Guide
Jetstream Smart Switches
T1500G-8T (TL-SG2008)/T1500-28PCT (TL-SL2428P)
TL-SG2210MP/TL-SG2210P
1910012765 REV3.3.0
March 2020
CONTENTS
About This Guide
Conventions ...........................................................................................................................................................................1
More Information .................................................................................................................................................................2
Accessing the Switch
Determine the Management Method .......................................................................................................................... 4
Web Interface Access ........................................................................................................................................................5
Login .................................................................................................................................................................................................................5
Save Config Function ..............................................................................................................................................................................6
Disable the Web Server .........................................................................................................................................................................7
Change the Switch's IP Address and Default Gateway ........................................................................................................7
Command Line Interface Access .................................................................................................................................. 9
Console Login (only for switch with console port) ..................................................................................................................9
Telnet Login ...............................................................................................................................................................................................11
SSH Login ...................................................................................................................................................................................................12
Disable Telnet Login .............................................................................................................................................................................16
Disable SSH Login..................................................................................................................................................................................17
Copy running-config startup-config ............................................................................................................................................17
Change the Switch's IP Address and Default Gateway .....................................................................................................18
Managing System
Overview ......................................................................................................................................................................................................20
Supported Features ..............................................................................................................................................................................20
Using the GUI ............................................................................................................................................................................................22
Viewing the System Summary ...........................................................................................................................................22
Configuring the Device Description ...............................................................................................................................26
Configuring the System Time ............................................................................................................................................27
Configuring the Daylight Saving Time ...........................................................................................................................28
Configuring LED
Configuring the System IP ...................................................................................................................................................30
Configuring the System IPv6 ..............................................................................................................................................31
(Only for Certain Devices) ....................................................................................................... 29
Using the CLI .............................................................................................................................................................................................33
Viewing the System Summary ...........................................................................................................................................33
Configuring the Device Description ...............................................................................................................................34
Configuring the System Time ............................................................................................................................................36
Configuring the Daylight Saving Time ...........................................................................................................................38
Configuring LED
Configuring the System IP ...................................................................................................................................................40
Configuring System IPv6 Parameters ..........................................................................................................................41
(Only for Certain Devices) ....................................................................................................... 40
User Management Configurations ............................................................................................................................. 44
Using the GUI ............................................................................................................................................................................................44
Creating Accounts ...................................................................................................................................................................44
Configuring Enable Password ............................................................................................................................................45
Using the CLI .............................................................................................................................................................................................46
Creating Accounts ...................................................................................................................................................................46
Configuring Enable Password ............................................................................................................................................48
System Tools Configurations ...................................................................................................................................... 50
Using the GUI ............................................................................................................................................................................................50
Configuring the Boot File ......................................................................................................................................................50
Restoring the Configuration of the Switch .................................................................................................................52
Backing up the Configuration File ....................................................................................................................................52
Upgrading the Firmware ........................................................................................................................................................53
Rebooting the switch ..............................................................................................................................................................54
Reseting the Switch .................................................................................................................................................................55
Using the CLI .............................................................................................................................................................................................55
Configuring the Boot File ......................................................................................................................................................55
Restoring the Configuration of the Switch .................................................................................................................57
Backing up the Configuration File ....................................................................................................................................57
Upgrading the Firmware ........................................................................................................................................................58
Rebooting the Switch .............................................................................................................................................................58
Reseting the Switch .................................................................................................................................................................60
EEE Configuration ............................................................................................................................................................. 61
Using the CLI .............................................................................................................................................................................................61
PoE Configurations (Only for Certain Devices) ..................................................................................................... 63
Using the GUI ............................................................................................................................................................................................64
Configuring the PoE Parameters Manually .................................................................................................................64
Configuring the PoE Parameters Using the Profile ................................................................................................67
Using the CLI .............................................................................................................................................................................................70
Configuring the PoE Parameters Manually .................................................................................................................70
Configuring the PoE Parameters Using the Profile ................................................................................................72
SDM Template Configuration ....................................................................................................................................... 75
Using the GUI ............................................................................................................................................................................................75
Using the CLI .............................................................................................................................................................................................76
Time Range Configuration ............................................................................................................................................. 78
Using the GUI ............................................................................................................................................................................................78
Adding Time Range Entries .................................................................................................................................................78
Configuring Holiday .................................................................................................................................................................80
Using the CLI .............................................................................................................................................................................................81
Adding Time Range Entries .................................................................................................................................................81
Configuring Holiday .................................................................................................................................................................82
Example for PoE Configurations ................................................................................................................................. 84
Network Requirements ........................................................................................................................................................................84
Configuring Scheme .............................................................................................................................................................................84
Using the GUI ............................................................................................................................................................................................84
Using the CLI .............................................................................................................................................................................................87
Appendix: Default Parameters ..................................................................................................................................... 88
Managing Physical Interfaces
Physical Interface ............................................................................................................................................................. 92
Overview ......................................................................................................................................................................................................92
Supported Features ..............................................................................................................................................................................92
Basic Parameters Configurations ............................................................................................................................... 93
Using the GUI ............................................................................................................................................................................................93
Using the CLI .............................................................................................................................................................................................94
Port Isolation Configurations ....................................................................................................................................... 97
Using the GUI ............................................................................................................................................................................................97
Using the CLI .............................................................................................................................................................................................98
Loopback Detection Configuration .........................................................................................................................100
Using the GUI .........................................................................................................................................................................................100
Using the CLI ..........................................................................................................................................................................................102
Configuration Examples ...............................................................................................................................................104
Example for Port Isolation ...............................................................................................................................................................104
Network Requirements .......................................................................................................................................................104
Configuration Scheme ........................................................................................................................................................104
Using the GUI ............................................................................................................................................................................104
Using the CLI ............................................................................................................................................................................106
Example for Loopback Detection...............................................................................................................................................107
Network Requirements .......................................................................................................................................................107
Configuration Scheme ........................................................................................................................................................107
Using the GUI ............................................................................................................................................................................108
Using the CLI ............................................................................................................................................................................109
Appendix: Default Parameters ...................................................................................................................................110
Configuring LAG
LAG .......................................................................................................................................................................................112
Overview ...................................................................................................................................................................................................112
Supported Features ...........................................................................................................................................................................112
LAG Configuration ..........................................................................................................................................................113
Using the GUI .........................................................................................................................................................................................114
Configuring Load-balancing Algorithm .....................................................................................................................114
Configuring Static LAG or LACP....................................................................................................................................115
Using the CLI ..........................................................................................................................................................................................117
Configuring Load-balancing Algorithm .....................................................................................................................117
Configuring Static LAG or LACP....................................................................................................................................118
Configuration Example .................................................................................................................................................122
Network Requirements .....................................................................................................................................................................122
Configuration Scheme .....................................................................................................................................................................122
Using the GUI .........................................................................................................................................................................................123
Using the CLI ..........................................................................................................................................................................................124
Appendix: Default Parameters ...................................................................................................................................126
Managing MAC Address Table
MAC Address Table .......................................................................................................................................................128
Overview ...................................................................................................................................................................................................128
Supported Features ...........................................................................................................................................................................128
MAC Address Configurations ....................................................................................................................................129
Using the GUI .........................................................................................................................................................................................129
Adding Static MAC Address Entries ..........................................................................................................................129
Modifying the Aging Time of Dynamic Address Entries...................................................................................131
Adding MAC Filtering Address Entries.......................................................................................................................132
Viewing Address Table Entries .......................................................................................................................................132
Using the CLI ..........................................................................................................................................................................................133
Adding Static MAC Address Entries ..........................................................................................................................133
Modifying the Aging Time of Dynamic Address Entries...................................................................................134
Adding MAC Filtering Address Entries.......................................................................................................................135
Appendix: Default Parameters ...................................................................................................................................137
Configuring 802.1Q VLAN
Overview ...........................................................................................................................................................................139
802.1Q VLAN Configuration .......................................................................................................................................140
Using the GUI .........................................................................................................................................................................................141
Configuring the VLAN ..........................................................................................................................................................141
Configuring the Port Parameters for 802.1Q VLAN ...........................................................................................142
Using the CLI ..........................................................................................................................................................................................143
Creating a VLAN .....................................................................................................................................................................143
Adding the Port to the Specified VLAN .....................................................................................................................144
Configuring the Port .............................................................................................................................................................145
Configuration Example .................................................................................................................................................147
Network Requirements .....................................................................................................................................................................147
Configuration Scheme .....................................................................................................................................................................147
Network Topology ...............................................................................................................................................................................148
Using the GUI .........................................................................................................................................................................................148
Using the CLI ..........................................................................................................................................................................................151
Appendix: Default Parameters ..................................................................................................................................154
Configuring MAC VLAN
Overview ............................................................................................................................................................................156
MAC VLAN Configuration ............................................................................................................................................157
Using the GUI .........................................................................................................................................................................................157
Configuring 802.1Q VLAN ................................................................................................................................................157
Binding the MAC Address to the VLAN .....................................................................................................................157
Enabling MAC VLAN for the Port ...................................................................................................................................158
Using the CLI ..........................................................................................................................................................................................159
Configuring 802.1Q VLAN ................................................................................................................................................159
Binding the MAC Address to the VLAN .....................................................................................................................159
Enabling MAC VLAN for the Port ...................................................................................................................................160
Configuration Example ................................................................................................................................................161
Network Requirements .....................................................................................................................................................................161
Configuration Scheme .....................................................................................................................................................................161
Using the GUI .........................................................................................................................................................................................162
Using the CLI ..........................................................................................................................................................................................167
Appendix: Default Parameters ...................................................................................................................................171
Configuring Protocol VLAN
Overview ............................................................................................................................................................................173
Protocol VLAN Configuration.....................................................................................................................................174
Using the GUI .........................................................................................................................................................................................174
Configuring 802.1Q VLAN ................................................................................................................................................174
Creating Protocol Template ............................................................................................................................................175
Configuring Protocol VLAN .............................................................................................................................................176
Using the CLI ..........................................................................................................................................................................................177
Configuring 802.1Q VLAN ................................................................................................................................................177
Creating a Protocol Template .........................................................................................................................................177
Configuring Protocol VLAN ..............................................................................................................................................178
Configuration Example ................................................................................................................................................181
Network Requirements .....................................................................................................................................................................181
Configuration Scheme .....................................................................................................................................................................181
Using the GUI .........................................................................................................................................................................................183
Using the CLI ..........................................................................................................................................................................................188
Appendix: Default Parameters ...................................................................................................................................193
Configuring GVRP
Overview ............................................................................................................................................................................195
GVRP Configuration .......................................................................................................................................................196
Using the GUI .........................................................................................................................................................................................197
Using the CLI ..........................................................................................................................................................................................198
Configuration Example .................................................................................................................................................201
Network Requirements .....................................................................................................................................................................201
Configuration Scheme .....................................................................................................................................................................201
Using the GUI .........................................................................................................................................................................................202
Using the CLI ..........................................................................................................................................................................................206
Appendix: Default Parameters ...................................................................................................................................210
Configuring Layer 2 Multicast
Layer 2 Multicast .............................................................................................................................................................212
Overview ...................................................................................................................................................................................................212
Supported Features ...........................................................................................................................................................................214
IGMP Snooping Configuration ...................................................................................................................................215
Using the GUI .........................................................................................................................................................................................215
Configuring IGMP Snooping Globally .........................................................................................................................215
Configuring IGMP Snooping for VLANs ....................................................................................................................216
Configuring IGMP Snooping for Ports ........................................................................................................................220
Configuring Hosts to Statically Join a Group .........................................................................................................220
Using the CLI ..........................................................................................................................................................................................221
Configuring IGMP Snooping Globally .........................................................................................................................221
Configuring IGMP Snooping for VLANs ....................................................................................................................223
Configuring IGMP Snooping for Ports ........................................................................................................................228
Configuring Hosts to Statically Join a Group .........................................................................................................229
MLD Snooping Configuration .....................................................................................................................................231
Using the GUI .........................................................................................................................................................................................231
Configuring MLD Snooping Globally ...........................................................................................................................231
Configuring MLD Snooping for VLANs ......................................................................................................................232
Configuring MLD Snooping for Ports .........................................................................................................................235
Configuring Hosts to Statically Join a Group .........................................................................................................236
Using the CLI ..........................................................................................................................................................................................236
Configuring MLD Snooping Globally ...........................................................................................................................236
Configuring MLD Snooping for VLANs ......................................................................................................................237
Configuring MLD Snooping for Ports .........................................................................................................................242
Configuring Hosts to Statically Join a Group .........................................................................................................243
MVR Configuration .........................................................................................................................................................245
Using the GUI .........................................................................................................................................................................................245
Configuring 802.1Q VLANs ..............................................................................................................................................245
Configuring MVR Globally ..................................................................................................................................................246
Adding Multicast Groups to MVR ..................................................................................................................................247
Configuring MVR for the Port ..........................................................................................................................................248
(Optional) Adding Ports to MVR Groups Statically .............................................................................................249
Using the CLI ..........................................................................................................................................................................................250
Configuring 802.1Q VLANs ..............................................................................................................................................250
Configuring MVR Globally ..................................................................................................................................................250
Configuring MVR for the Ports .......................................................................................................................................252
Multicast Filtering Configuration ...............................................................................................................................255
Using the GUI .........................................................................................................................................................................................255
Creating the Multicast Profile ..........................................................................................................................................255
Configure Multicast Filtering for Ports .......................................................................................................................257
Using the CLI ..........................................................................................................................................................................................258
Creating the Multicast Profile ..........................................................................................................................................258
Binding the Profile to Ports ...............................................................................................................................................261
Viewing Multicast Snooping Information ...............................................................................................................265
Using the GUI .........................................................................................................................................................................................265
Viewing IPv4 Multicast Table ...........................................................................................................................................265
Viewing IPv4 Multicast Statistics on Each Port .....................................................................................................266
Viewing IPv6 Multicast Table ...........................................................................................................................................267
Viewing IPv6 Multicast Statistics on Each Port .....................................................................................................268
Using the CLI ..........................................................................................................................................................................................269
Viewing IPv4 Multicast Snooping Information .......................................................................................................269
Viewing IPv6 Multicast Snooping Configurations ................................................................................................269
Configuration Examples ...............................................................................................................................................270
Example for Configuring Basic IGMP Snooping .................................................................................................................270
Network Requirements .......................................................................................................................................................270
Configuration Scheme ........................................................................................................................................................270
Using the GUI ............................................................................................................................................................................271
Using the CLI ............................................................................................................................................................................273
Example for Configuring MVR ......................................................................................................................................................275
Network Requirements .......................................................................................................................................................275
Network Topology .................................................................................................................................................................275
Configuration Scheme ........................................................................................................................................................276
Using the GUI ............................................................................................................................................................................276
Using the CLI ............................................................................................................................................................................279
Example for Configuring Unknown Multicast and Fast Leave ....................................................................................282
Network Requirement ..........................................................................................................................................................282
Configuration Scheme ........................................................................................................................................................283
Using the GUI ............................................................................................................................................................................283
Using the CLI ............................................................................................................................................................................285
Example for Configuring Multicast Filtering ..........................................................................................................................286
Network Requirements .......................................................................................................................................................286
Configuration Scheme ........................................................................................................................................................286
Network Topology .................................................................................................................................................................287
Using the GUI ............................................................................................................................................................................287
Using the CLI ............................................................................................................................................................................291
Appendix: Default Parameters ..................................................................................................................................294
Default Parameters for IGMP Snooping .................................................................................................................................294
Default Parameters for MLD Snooping ...................................................................................................................................295
Default Parameters for MVR ..........................................................................................................................................................296
Default Parameters for Multicast Filtering .............................................................................................................................296
Configuring Spanning Tree
Spanning Tree ..................................................................................................................................................................298
Overview ...................................................................................................................................................................................................298
Basic Concepts ....................................................................................................................................................................................298
STP/RSTP Concepts ............................................................................................................................................................298
MSTP Concepts .....................................................................................................................................................................302
STP Security ...........................................................................................................................................................................................303
STP/RSTP Configurations ...........................................................................................................................................306
Using the GUI .........................................................................................................................................................................................306
Configuring STP/RSTP Parameters on Ports .........................................................................................................306
Configuring STP/RSTP Globally .....................................................................................................................................308
Verifying the STP/RSTP Configurations ....................................................................................................................310
Using the CLI ..........................................................................................................................................................................................312
Configuring STP/RSTP Parameters on Ports .........................................................................................................312
Configuring Global STP/RSTP Parameters .............................................................................................................314
Enabling STP/RSTP Globally ............................................................................................................................................316
MSTP Configurations ....................................................................................................................................................318
Using the GUI .........................................................................................................................................................................................318
Configuring Parameters on Ports in CIST ................................................................................................................318
Configuring the MSTP Region ........................................................................................................................................321
Configuring MSTP Globally ...............................................................................................................................................325
Verifying the MSTP Configurations .............................................................................................................................327
Using the CLI ..........................................................................................................................................................................................328
Configuring Parameters on Ports in CIST ................................................................................................................328
Configuring the MSTP Region .......................................................................................................................................331
Configuring Global MSTP Parameters .......................................................................................................................334
Enabling Spanning Tree Globally...................................................................................................................................336
STP Security Configurations ......................................................................................................................................338
Using the GUI .........................................................................................................................................................................................338
Using the CLI ..........................................................................................................................................................................................339
Configuring the STP Security ..........................................................................................................................................339
Configuration Example for MSTP .............................................................................................................................342
Network Requirements .....................................................................................................................................................................342
Configuration Scheme .....................................................................................................................................................................342
Using the GUI .........................................................................................................................................................................................343
Using the CLI ..........................................................................................................................................................................................350
Appendix: Default Parameters ...................................................................................................................................357
Configuring LLDP
LLDP .....................................................................................................................................................................................360
Overview ...................................................................................................................................................................................................360
Supported Features ...........................................................................................................................................................................360
LLDP Configurations .....................................................................................................................................................361
Using the GUI .........................................................................................................................................................................................361
Configuring LLDP Globally ................................................................................................................................................361
Configuring LLDP For the Port .......................................................................................................................................363
Using the CLI ..........................................................................................................................................................................................364
Global Config ............................................................................................................................................................................364
Port Config .................................................................................................................................................................................366
LLDP-MED Configurations ..........................................................................................................................................369
Using the GUI .........................................................................................................................................................................................369
Configuring LLDP Globally ...............................................................................................................................................369
Configuring LLDP-MED Globally ...................................................................................................................................369
Configuring LLDP-MED for Ports ..................................................................................................................................370
Using the CLI ..........................................................................................................................................................................................372
Global Config ............................................................................................................................................................................372
Port Config .................................................................................................................................................................................373
Viewing LLDP Settings..................................................................................................................................................376
Using GUI ..................................................................................................................................................................................................376
Viewing LLDP Device Info .................................................................................................................................................376
Viewing LLDP Statistics .....................................................................................................................................................380
Using CLI ..................................................................................................................................................................................................381
Viewing LLDP-MED Settings ......................................................................................................................................382
Using GUI ..................................................................................................................................................................................................382
Using CLI ..................................................................................................................................................................................................385
Configuration Example .................................................................................................................................................386
Network Requirements .....................................................................................................................................................................386
Network Topology ...............................................................................................................................................................................386
Configuration Scheme .....................................................................................................................................................................386
Using the GUI .........................................................................................................................................................................................386
Using CLI ..................................................................................................................................................................................................387
Appendix: Default Parameters ...................................................................................................................................394
Configuring DHCP Service
DHCP ...................................................................................................................................................................................396
Overview ...................................................................................................................................................................................................396
Supported Features ...........................................................................................................................................................................396
DHCP Relay Configuration ..........................................................................................................................................400
Using the GUI .........................................................................................................................................................................................400
Enabling DHCP Relay and Configuring Option 82 ...............................................................................................400
Configuring DHCP VLAN Relay ......................................................................................................................................402
Using the CLI ..........................................................................................................................................................................................403
Enabling DHCP Relay ...........................................................................................................................................................403
(Optional) Configuring Option 82 ..................................................................................................................................404
Configuring DHCP VLAN Relay ......................................................................................................................................406
DHCP L2 Relay Configuration ....................................................................................................................................408
Using the GUI .........................................................................................................................................................................................408
Enabling DHCP L2 Relay ....................................................................................................................................................408
Configuring Option 82 for Ports ....................................................................................................................................409
Using the CLI ..........................................................................................................................................................................................410
Enabling DHCP L2 Relay ....................................................................................................................................................410
Configuring Option 82 for Ports ....................................................................................................................................411
Configuration Examples ...............................................................................................................................................414
Example for DHCP VLAN Relay ...................................................................................................................................................414
Network Requirements .......................................................................................................................................................414
Configuration Scheme ........................................................................................................................................................414
Using the GUI ............................................................................................................................................................................415
Using the CLI ............................................................................................................................................................................418
Example for Option82 in DHCP Relay .....................................................................................................................................420
Network Requirements .......................................................................................................................................................420
Configuration Scheme ........................................................................................................................................................421
Configuring the DHCP Relay Switch............................................................................................................................422
Configuring the DHCP Server .........................................................................................................................................425
Example for DHCP L2 Relay ..........................................................................................................................................................426
Network Requirements .......................................................................................................................................................426
Configuration Scheme ........................................................................................................................................................427
Configuring the DHCP Relay Switch............................................................................................................................428
Configuring the DHCP Server .........................................................................................................................................430
Appendix: Default Parameters ...................................................................................................................................433
Configuring QoS
QoS .......................................................................................................................................................................................436
Overview ...................................................................................................................................................................................................436
Supported Features ...........................................................................................................................................................................436
Class of Service Configuration ..................................................................................................................................438
Using the GUI .........................................................................................................................................................................................439
Configuring Port Priority .....................................................................................................................................................439
Configuring 802.1p Priority ..............................................................................................................................................441
Configuring DSCP Priority .................................................................................................................................................443
Specifying the Scheduler Settings ..............................................................................................................................446
Using CLI ..................................................................................................................................................................................................447
Configuring Port Priority .....................................................................................................................................................447
Configuring 802.1p Priority ..............................................................................................................................................449
Configuring DSCP Priority .................................................................................................................................................452
Specifying the Scheduler Settings ..............................................................................................................................456
Bandwidth Control Configuration .............................................................................................................................459
Using the GUI .........................................................................................................................................................................................459
Configuring Rate Limit .........................................................................................................................................................459
Configuring Storm Control ...............................................................................................................................................460
Using the CLI ..........................................................................................................................................................................................461
Configuring Rate Limit .........................................................................................................................................................461
Configuring Storm Control ...............................................................................................................................................462
Voice VLAN Configuration ..........................................................................................................................................465
Using the GUI .........................................................................................................................................................................................465
Configuring OUI Addresses .............................................................................................................................................465
Configuring Voice VLAN Globally .................................................................................................................................466
Adding Ports to Voice VLAN ...........................................................................................................................................467
Using the CLI ..........................................................................................................................................................................................468
Auto VoIP Configuration ..............................................................................................................................................471
Using the GUI .........................................................................................................................................................................................471
Using the CLI ..........................................................................................................................................................................................472
Configuration Examples ...............................................................................................................................................476
Example for Class of Service ........................................................................................................................................................476
Network Requirements .......................................................................................................................................................476
Configuration Scheme ........................................................................................................................................................476
Using the GUI ............................................................................................................................................................................477
Using the CLI ............................................................................................................................................................................479
Example for Voice VLAN .................................................................................................................................................................481
Network Requirements .......................................................................................................................................................481
Configuration Scheme ........................................................................................................................................................482
Using the GUI ............................................................................................................................................................................482
Using the CLI ............................................................................................................................................................................486
Example for Auto VoIP ......................................................................................................................................................................489
Network Requirements .......................................................................................................................................................489
Configuration Scheme ........................................................................................................................................................490
Using the GUI ............................................................................................................................................................................490
Using the CLI ............................................................................................................................................................................495
Appendix: Default Parameters ...................................................................................................................................500
Configuring Access Security
Access Security ..............................................................................................................................................................505
Overview ...................................................................................................................................................................................................505
Supported Features ...........................................................................................................................................................................505
Access Security Configurations ...............................................................................................................................506
Using the GUI .........................................................................................................................................................................................506
Configuring the Access Control Feature ..................................................................................................................506
Configuring the HTTP Function .....................................................................................................................................509
Configuring the HTTPS Function ..................................................................................................................................511
Configuring the SSH Feature ..........................................................................................................................................514
Configuring the Telnet Function ....................................................................................................................................515
Using the CLI ..........................................................................................................................................................................................516
Configuring the Access Control Feature ..................................................................................................................516
Configuring the HTTP Function .....................................................................................................................................517
Configuring the HTTPS Function ..................................................................................................................................519
Configuring the SSH Feature ..........................................................................................................................................522
Configuring the Telnet Function ....................................................................................................................................524
Appendix: Default Parameters ...................................................................................................................................525
Configuring AAA
Overview ............................................................................................................................................................................528
AAA Configuration ..........................................................................................................................................................529
Using the GUI .........................................................................................................................................................................................530
Adding Servers ........................................................................................................................................................................530
Configuring Server Groups ...............................................................................................................................................532
Configuring the Method List ............................................................................................................................................532
Configuring the AAA Application List .........................................................................................................................534
Configuring Login Account and Enable Password .............................................................................................534
Using the CLI ..........................................................................................................................................................................................535
Adding Servers ........................................................................................................................................................................535
Configuring Server Groups ...............................................................................................................................................538
Configuring the Method List ............................................................................................................................................539
Configuring the AAA Application List .........................................................................................................................540
Configuring Login Account and Enable Password .............................................................................................543
Configuration Example .................................................................................................................................................546
Network Requirements .....................................................................................................................................................................546
Configuration Scheme .....................................................................................................................................................................546
Using the GUI .........................................................................................................................................................................................547
Using the CLI ..........................................................................................................................................................................................549
Appendix: Default Parameters ...................................................................................................................................552
Configuring 802.1x
Overview ............................................................................................................................................................................555
802.1x Configuration .....................................................................................................................................................556
Using the GUI .........................................................................................................................................................................................556
Configuring the RADIUS Server .....................................................................................................................................556
Configuring 802.1x Globally .............................................................................................................................................559
Configuring 802.1x on Ports ............................................................................................................................................560
View the Authenticator State ..........................................................................................................................................562
Using the CLI ..........................................................................................................................................................................................563
Configuring the RADIUS Server .....................................................................................................................................563
Configuring 802.1x Globally .............................................................................................................................................565
Configuring 802.1x on Ports ............................................................................................................................................567
Viewing Authenticator State ............................................................................................................................................569
Configuration Example .................................................................................................................................................571
Network Requirements .....................................................................................................................................................................571
Configuration Scheme .....................................................................................................................................................................571
Network Topology ...............................................................................................................................................................................571
Using the GUI .........................................................................................................................................................................................572
Using the CLI ..........................................................................................................................................................................................574
Appendix: Default Parameters ...................................................................................................................................577
Configuring Port Security
Overview ............................................................................................................................................................................579
Port Security Configuration ........................................................................................................................................580
Using the GUI .........................................................................................................................................................................................580
Using the CLI ..........................................................................................................................................................................................581
Appendix: Default Parameters ...................................................................................................................................584
Configuring ACL
Overview ............................................................................................................................................................................586
ACL Configuration ..........................................................................................................................................................587
Using the GUI .........................................................................................................................................................................................587
Configuring Time Range ..................................................................................................................................................587
Creating an ACL ......................................................................................................................................................................587
Configuring ACL Rules ........................................................................................................................................................588
Configuring MAC ACL Rule ..............................................................................................................................588
Configuring IP ACL Rule .....................................................................................................................................592
Configuring Combined ACL Rule ..................................................................................................................596
Configuring the IPv6 ACL Rule .......................................................................................................................601
Configuring ACL Binding ....................................................................................................................................................605
Using the CLI ..........................................................................................................................................................................................606
Configuring Time Range ..................................................................................................................................................606
Configuring ACL .....................................................................................................................................................................606
Configuring Policy ..................................................................................................................................................................615
Configuring ACL Binding ....................................................................................................................................................617
Viewing ACL Counting ........................................................................................................................................................618
Configuration Example for ACL .................................................................................................................................619
Network Requirements .....................................................................................................................................................................619
Configuration Scheme .....................................................................................................................................................................619
Using the GUI .........................................................................................................................................................................................620
Using the CLI ..........................................................................................................................................................................................626
Appendix: Default Parameters ...................................................................................................................................628
Configuring IPv4 IMPB
IPv4 IMPB ...........................................................................................................................................................................631
Overview ...................................................................................................................................................................................................631
Supported Features ...........................................................................................................................................................................631
IP-MAC Binding Configuration ...................................................................................................................................632
Using the GUI .........................................................................................................................................................................................632
Binding Entries Manually ....................................................................................................................................................632
Binding Entries via ARP Scanning .................................................................................................................................633
Binding Entries via DHCP Snooping ............................................................................................................................635
Viewing the Binding Entries ..............................................................................................................................................637
Using the CLI ..........................................................................................................................................................................................638
Binding Entries Manually ....................................................................................................................................................638
Binding Entries via DHCP Snooping ............................................................................................................................640
Viewing Binding Entries ......................................................................................................................................................641
ARP Detection Configuration .....................................................................................................................................642
Using the GUI .........................................................................................................................................................................................642
Adding IP-MAC Binding Entries .....................................................................................................................................642
Enabling ARP Detection .....................................................................................................................................................642
Configuring ARP Detection on Ports ..........................................................................................................................643
Viewing ARP Statistics ........................................................................................................................................................644
Using the CLI ..........................................................................................................................................................................................645
Adding IP-MAC Binding Entries .....................................................................................................................................645
Enabling ARP Detection .....................................................................................................................................................645
Configuring ARP Detection on Ports ..........................................................................................................................646
Viewing ARP Statistics ........................................................................................................................................................648
IPv4 Source Guard Configuration .............................................................................................................................649
Using the GUI .........................................................................................................................................................................................649
Adding IP-MAC Binding Entries .....................................................................................................................................649
Configuring IPv4 Source Guard .....................................................................................................................................649
Using the CLI ..........................................................................................................................................................................................650
Adding IP-MAC Binding Entries .....................................................................................................................................650
Configuring IPv4 Source Guard .....................................................................................................................................650
Configuration Examples ...............................................................................................................................................652
Example for ARP Detection ...........................................................................................................................................................652
Network Requirements .......................................................................................................................................................652
Configuration Scheme ........................................................................................................................................................652
Using the GUI ............................................................................................................................................................................653
Using the CLI ............................................................................................................................................................................655
Example for IP Source Guard ........................................................................................................................................................657
Network Requirements .......................................................................................................................................................657
Configuration Scheme ........................................................................................................................................................657
Using the GUI ............................................................................................................................................................................658
Using the CLI ............................................................................................................................................................................659
Appendix: Default Parameters ...................................................................................................................................661
Configuring IPv6 IMPB
IPv6 IMPB ...........................................................................................................................................................................664
Overview ...................................................................................................................................................................................................664
Supported Features ...........................................................................................................................................................................664
IPv6-MAC Binding Configuration ..............................................................................................................................666
Using the GUI .........................................................................................................................................................................................666
Binding Entries Manually ....................................................................................................................................................666
Binding Entries via ND Snooping ...................................................................................................................................667
Binding Entries via DHCPv6 Snooping.......................................................................................................................669
Viewing the Binding Entries ..............................................................................................................................................670
Using the CLI ..........................................................................................................................................................................................671
Binding Entries Manually ....................................................................................................................................................671
Binding Entries via ND Snooping ...................................................................................................................................673
Binding Entries via DHCPv6 Snooping.......................................................................................................................674
Viewing Binding Entries ......................................................................................................................................................675
ND Detection Configuration .......................................................................................................................................676
Using the GUI .........................................................................................................................................................................................676
Adding IPv6-MAC Binding Entries ................................................................................................................................676
Enabling ND Detection ........................................................................................................................................................676
Configuring ND Detection on Ports .............................................................................................................................677
Viewing ND Statistics ...........................................................................................................................................................677
Using the CLI ..........................................................................................................................................................................................678
Adding IPv6-MAC Binding Entries ................................................................................................................................678
Enabling ND Detection ........................................................................................................................................................678
Configuring ND Detection on Ports .............................................................................................................................679
Viewing ND Statistics ...........................................................................................................................................................680
IPv6 Source Guard Configuration .............................................................................................................................681
Using the GUI .........................................................................................................................................................................................681
Adding IPv6-MAC Binding Entries ................................................................................................................................681
Configuring IPv6 Source Guard .....................................................................................................................................681
Using the CLI ..........................................................................................................................................................................................682
Adding IPv6-MAC Binding Entries ................................................................................................................................682
Configuring IPv6 Source Guard .....................................................................................................................................682
Configuration Examples ...............................................................................................................................................684
Example for ND Detection ..............................................................................................................................................................684
Network Requirements .......................................................................................................................................................684
Configuration Scheme ........................................................................................................................................................684
Using the GUI ............................................................................................................................................................................685
Using the CLI ............................................................................................................................................................................687
Example for IPv6 Source Guard ..................................................................................................................................................688
Network Requirements .......................................................................................................................................................688
Configuration Scheme ........................................................................................................................................................689
Using the GUI ............................................................................................................................................................................689
Using the CLI ............................................................................................................................................................................691
Appendix: Default Parameters ...................................................................................................................................692
Configuring DHCP Filter
DHCP Filter ........................................................................................................................................................................695
Overview ...................................................................................................................................................................................................695
Supported Features ...........................................................................................................................................................................695
DHCPv4 Filter Configuration ......................................................................................................................................697
Using the GUI .........................................................................................................................................................................................697
Configuring the Basic DHCPv4 Filter Parameters ...............................................................................................697
Configuring Legal DHCPv4 Servers ............................................................................................................................698
Using the CLI ..........................................................................................................................................................................................699
Configuring the Basic DHCPv4 Filter Parameters ...............................................................................................699
Configuring Legal DHCPv4 Servers ............................................................................................................................701
DHCPv6 Filter Configuration ......................................................................................................................................703
Using the GUI .........................................................................................................................................................................................703
Configuring the Basic DHCPv6 Filter Parameters ...............................................................................................703
Configuring Legal DHCPv6 Servers ............................................................................................................................704
Using the CLI ..........................................................................................................................................................................................705
Configuring the Basic DHCPv6 Filter Parameters ...............................................................................................705
Configuring Legal DHCPv6 Servers ............................................................................................................................706
Configuration Examples ...............................................................................................................................................708
Example for DHCPv4 Filter .............................................................................................................................................................708
Network Requirements .......................................................................................................................................................708
Configuration Scheme ........................................................................................................................................................708
Using the GUI ............................................................................................................................................................................709
Using the CLI ............................................................................................................................................................................710
Example for DHCPv6 Filter .............................................................................................................................................................711
Network Requirements .......................................................................................................................................................711
Configuration Scheme ........................................................................................................................................................712
Using the GUI ............................................................................................................................................................................712
Using the CLI ............................................................................................................................................................................714
Appendix: Default Parameters ...................................................................................................................................716
Configuring DoS Defend
Overview ............................................................................................................................................................................718
DoS Defend Configuration ..........................................................................................................................................719
Using the GUI .........................................................................................................................................................................................719
Using the CLI ..........................................................................................................................................................................................720
Appendix: Default Parameters ...................................................................................................................................723
Monitoring the System
Overview ...........................................................................................................................................................................725
Monitoring the CPU .......................................................................................................................................................726
Using the GUI .........................................................................................................................................................................................726
Using the CLI ..........................................................................................................................................................................................726
Monitoring the Memory ................................................................................................................................................728
Using the GUI .........................................................................................................................................................................................728
Using the CLI ..........................................................................................................................................................................................728
Monitoring Traffic
Traffic Monitor .................................................................................................................................................................731
Using the GUI .........................................................................................................................................................................................731
Using the CLI ..........................................................................................................................................................................................735
Appendix: Default Parameters ...................................................................................................................................736
Mirroring Traffic
Mirroring .............................................................................................................................................................................738
Using the GUI .........................................................................................................................................................................................738
Using the CLI ..........................................................................................................................................................................................740
Configuration Examples ...............................................................................................................................................742
Network Requirements .....................................................................................................................................................................742
Configuration Scheme .....................................................................................................................................................................742
Using the GUI .........................................................................................................................................................................................742
Using the CLI ..........................................................................................................................................................................................743
Appendix: Default Parameters ...................................................................................................................................745
Configuring DLDP
Overview ...........................................................................................................................................................................747
DLDP Configuration .......................................................................................................................................................748
Using the GUI .........................................................................................................................................................................................748
Using the CLI ..........................................................................................................................................................................................750
Appendix: Default Parameters ...................................................................................................................................752
Configuring SNMP & RMON
SNMP ...................................................................................................................................................................................754
Overview ...................................................................................................................................................................................................754
Basic Concepts ....................................................................................................................................................................................754
SNMP Configurations ....................................................................................................................................................758
Using the GUI .........................................................................................................................................................................................758
Enabling SNMP ........................................................................................................................................................................758
Creating an SNMP View......................................................................................................................................................759
Creating SNMP Communities (For SNMP v1/v2c) ..............................................................................................760
Creating an SNMP Group (For SNMP v3)..................................................................................................................761
Creating SNMP Users (For SNMP v3) .........................................................................................................................762
Using the CLI ..........................................................................................................................................................................................763
Enabling SNMP ........................................................................................................................................................................763
Creating an SNMP View......................................................................................................................................................765
Creating SNMP Communities (For SNMP v1/v2c) ..............................................................................................766
Creating an SNMP Group (For SNMPv3) ...................................................................................................................767
Creating SNMP Users (For SNMPv3) ..........................................................................................................................769
Notification Configurations .........................................................................................................................................771
Using the GUI .........................................................................................................................................................................................771
Configuring the Information of NMS Hosts .............................................................................................................771
Enabling SNMP Traps ..........................................................................................................................................................773
Using the CLI ..........................................................................................................................................................................................775
Configuring the NMS Host ................................................................................................................................................775
Enabling SNMP Traps ..........................................................................................................................................................777
RMON ..................................................................................................................................................................................784
RMON Configurations ...................................................................................................................................................785
Using the GUI .........................................................................................................................................................................................785
Configuring the Statistics Group ...................................................................................................................................785
Configuring History Group ................................................................................................................................................786
Configuring Event Group ...................................................................................................................................................787
Configuring Alarm Group ...................................................................................................................................................788
Using the CLI ..........................................................................................................................................................................................790
Configuring Statistics ..........................................................................................................................................................790
Configuring History ...............................................................................................................................................................792
Configuring Event ..................................................................................................................................................................793
Configuring Alarm ..................................................................................................................................................................794
Configuration Example .................................................................................................................................................797
Network Requirements .....................................................................................................................................................................797
Configuration Scheme .....................................................................................................................................................................798
Using the GUI .........................................................................................................................................................................................798
Using the CLI ..........................................................................................................................................................................................803
Appendix: Default Parameters ...................................................................................................................................809
Diagnosing the Device & Network
Diagnosing the Device ..................................................................................................................................................814
Using the GUI .........................................................................................................................................................................................814
Using the CLI ..........................................................................................................................................................................................815
Diagnosing the Network ...............................................................................................................................................816
Using the GUI .........................................................................................................................................................................................816
Troubleshooting with Ping Testing ..............................................................................................................................816
Troubleshooting with Tracert Testing ........................................................................................................................817
Using the CLI ..........................................................................................................................................................................................818
Configuring the Ping Test ..................................................................................................................................................818
Configuring the Tracert Test ...........................................................................................................................................819
Appendix: Default Parameters ...................................................................................................................................820
Configuring System Logs
Overview ............................................................................................................................................................................822
System Logs Configurations ......................................................................................................................................823
Using the GUI .........................................................................................................................................................................................824
Configuring the Local Logs ..............................................................................................................................................824
Configuring the Remote Logs.........................................................................................................................................824
Backing up the Logs ............................................................................................................................................................825
Viewing the Log Table .........................................................................................................................................................826
Using the CLI ..........................................................................................................................................................................................827
Configuring the Local Logs ..............................................................................................................................................827
Configuring the Remote Logs.........................................................................................................................................828
Configuration Example .................................................................................................................................................830
Network Requirements .....................................................................................................................................................................830
Configuration Scheme .....................................................................................................................................................................830
Using the GUI ........................................................................................................................................................................................830
Using the CLI .........................................................................................................................................................................................831
Appendix: Default Parameters ...................................................................................................................................832
About This Guide Intended Readers

About This Guide

This User Guide provides information for managing Jetstream Smart Switches. Please read this guide carefully before operation.

Intended Readers

This Guide is intended for network managers familiar with IT concepts and network terminologies.

Conventions

When using this guide, notice that features available in JetStream Smart Switches may vary by model and software version. Availability of JetStream Smart Switches may also vary by region or ISP. All images, steps, and descriptions in this guide are only examples and may not reflect your actual experience.
Some models featured in this guide may be unavailable in your country or region. For local sales information, visit https://www.tp-link.com.
PoE budget calculations are based on laboratory testing. Actual PoE power budget is not guaranteed and will vary as a result of client limitations and environmental factors.
The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute the warranty of any kind, express or implied. Users must take full responsibility for their application of any products.
In this Guide, the following conventions are used:
The symbol stands for make better use of your device.
For GUI:
Menu Name > Submenu Name > Tab page indicates the menu structure. SYSTEM > System Info > System Summary means the System Summary page under the System Info
menu option that is located under the System menu.
Note
. Notes contains suggestions or references that helps you
Bold font indicates a button, a toolbar icon, menu or menu item.
For CLI:
Bold Font An unalterable keyword.
For example: show logging
User Guide 1
About This Guide More Information
Normal Font A constant (several options are enumerated and only one can be
selected).
For example: no bandwidth {all | ingress | egress}
{} Items in braces { } are required.
[] Items in square brackets [ ] are optional.
| Alternative items are grouped in braces and separated by vertical bars |.
For example: speed {10 | 100 | 1000}
Italic Font
Common combination:
{[ ][ ][ ]} A least one item in the square brackets must be selected.
A variable (an actual value must be assigned).
For example: bridge aging-time
For example: bandwidth {[ingress
rate
]}
This command can be used on three occasions: bandwidth ingress bandwidth. bandwidth egress bandwidth. bandwidth ingress restrict ingress and egress bandwidth.
ingress-rate
egress-rate
ingress-rate
aging-time
ingress-rate
is used to restrict ingress
is used to restrict egress
egress
egress-rate
] [egress

More Information

egress-
is used to
The latest software and documentations can be found at Download Center at
https://www.tp-link.com/support.
The Installation Guide (IG) can be found where you find this guide or inside the package of the switch.
Specifications can be found on the product page at https://www.tp-link.com.
To ask questions, find answers, and communicate with TP-Link users or engineers, please visit https://community.tp-link.com to join TP-Link Community.
Our Technical Support contact information can be found at the Contact Technical Support page at https://www.tp-link.com/support.
User Guide 2
Part 1

Accessing the Switch

CHAPTERS
1. Determine the Management Method
2. Web Interface Access
3. Command Line Interface Access
Accessing the Switch Determine the Management Method
1

Determine the Management Method

Before building your network, choose a proper method to manage your switch based on your actual network situation. The switch can support two configuration options: Standalone Mode or Controller Mode.
Note:
Only TL-SG2210MP supports Controller Mode.
Controller Mode
If you want to configure and manage a large-scale network centrally, which consists of devices such as access points, switches, and gateways, Controller Mode is recommended. In Controller Mode, the switch can be centrally configured and monitored via an Omada Software Controller, Hardware Controller, or Cloud-Based Controller.
For detailed instructions about the network topology in such situations and how to use an Omada Software Controller, Hardware Controller or Cloud-Based Controller, refer to the Omada SDN Controller User Guide. The guide can be found on the download center of our official website: https://www.tp-link.com/download-center.html.
Standalone Mode
If you have a relatively small-sized network and only one or just a small number of devices need to be managed, Standalone Mode is recommended. In Standalone Mode, the switch can be singly configured and monitored via the GUI (Graphical User Interface, also called web interface in this text) or via the CLI (Command Line Interface). There are equivalent functions in the web interface and the command line interface, while web configuration is easier and more visual than the CLI configuration. You can choose the method according to their available applications and preference.
This User Guide introduces how to configure and monitor the switch in Standalone Mode.
Note:
The GUI and CLI is inaccessible while the switch is managed by a controller. To turn the switch
back to Standalone Mode and access its GUI and CLI, you can forget the switch on the controller to reset the switch.
The first time you log in, change the password to better protect your network and devices.
User Guide 4
Accessing the Switch Web Interface Access
2

Web Interface Access

You can access the switch’s web interface through the web-based authentication. The switch uses two built-in web servers, HTTP server and HTTPS server, for user authentication.
The following example shows how to login via the HTTP server.

2.1 Login

To manage your switch through a web browser in the host PC:
1) Make sure that the route between the host PC and the switch is available.
2) Launch a web browser. The supported web browsers include, but are not limited to, the following types:
IE 8.0, 9.0, 10.0, 11.0
Firefox 26.0, 27.0
Chrome 32.0, 33.0
3) Enter the switch’s IP address in the web browser’s address bar. The switch’s default IP address is 192.168.0.1.
Figure 2-1 Enter the switch's IP addresss in the browser
4) Enter the username and password in the pop-up login window. Use admin for both username and password in lower case letters.
Figure 2-2 Login authentication
Note:
The first time you log in, change the password to better protect your network and devices.
User Guide 5
Accessing the Switch Web Interface Access
5) The typical web interface displays below. You can view the switch’s running status and configure the switch on this interface.
Figure 2-3 Web interface

2.2 Save Config Function

The switch’s configuration files fall into two types: the running configuration file and the start-up configuration file.
After you perform configurations on the sub-interfaces and click Apply, the modifications will be saved in the running configuration file. The configurations will be lost when the switch reboots.
If you need to keep the configurations after the switch reboots, please use the Save function on the main interface to save the configurations in the start-up configuration file.
Figure 2-4 Save the Configuration
User Guide 6
Accessing the Switch Web Interface Access

2.3 Disable the Web Server

You can shut down the HTTP server and HTTPS server to block any access to the web interface.
SECURITY > Access Security > HTTP Config,
Go to
Figure 2-5 Shut down HTTP server
Go to SECURITY > Access Security > HTTPS Config, disable the HTTPS server and click Apply.
disable the HTTP server and click Apply.
Figure 2-6 Disbale the HTTPS Server

2.4 Change the Switch's IP Address and Default Gateway

If you want to access the switch, you can configure the system IP address of the switch. If you want the switch to accss a network, you can configure the default gateway of the switch. Only the computers in the management VLAN can access the management interface of the switch. By default, VLAN 1 owning all the ports is the management VLAN and you can access the switch via any port. By default, the system IP address is
192.168.0.1, and the switch has no default gateway. The following example shows how to
change the system IP address and default gateway of the switch,
1) Go to
the IP address mode as Static. Enter the new IP address, subnet mask and default gateway. Make sure that the route between the host PC and the switch’s new IP address is available. Click Apply.
SYSTEM > System Info > System IP
. Specify the management VLAN ID. Specify
User Guide 7
Loading...
+ 831 hidden pages