More Information .................................................................................................................................................................2
Accessing the Switch
Determine the Management Method .......................................................................................................................... 4
Web Interface Access ........................................................................................................................................................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
Change the Switch's IP Address and Default Gateway .....................................................................................................18
Managing System
System .................................................................................................................................................................................. 20
Supported Features ..............................................................................................................................................................................20
System Info Configurations .......................................................................................................................................... 22
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
Using the CLI .............................................................................................................................................................................................46
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
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
Using the GUI ............................................................................................................................................................................................75
Using the CLI .............................................................................................................................................................................................76
Time Range Configuration ............................................................................................................................................. 78
Using the GUI ............................................................................................................................................................................................78
Adding Time Range Entries .................................................................................................................................................78
Using the CLI .............................................................................................................................................................................................81
Adding Time Range Entries .................................................................................................................................................81
Example for PoE Configurations ................................................................................................................................. 84
Using the GUI ............................................................................................................................................................................................84
Using the CLI .............................................................................................................................................................................................87
Supported Features ..............................................................................................................................................................................92
Using the GUI ............................................................................................................................................................................................93
Using the CLI .............................................................................................................................................................................................94
Port Isolation Configurations ....................................................................................................................................... 97
Using the GUI ............................................................................................................................................................................................97
Using the CLI .............................................................................................................................................................................................98
Using the GUI .........................................................................................................................................................................................100
Using the CLI ..........................................................................................................................................................................................102
Example for Port Isolation ...............................................................................................................................................................104
Using the GUI ............................................................................................................................................................................104
Using the CLI ............................................................................................................................................................................106
Example for Loopback Detection...............................................................................................................................................107
Using the GUI ............................................................................................................................................................................108
Using the CLI ............................................................................................................................................................................109
LAG .......................................................................................................................................................................................112
Supported Features ...........................................................................................................................................................................112
LAG Configuration ..........................................................................................................................................................113
Using the GUI .........................................................................................................................................................................................114
Configuring Static LAG or LACP....................................................................................................................................115
Using the CLI ..........................................................................................................................................................................................117
Configuring Static LAG or LACP....................................................................................................................................118
Configuration Example .................................................................................................................................................122
Using the GUI .........................................................................................................................................................................................123
Using the CLI ..........................................................................................................................................................................................124
MAC Address Table .......................................................................................................................................................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
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
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
Using the GUI .........................................................................................................................................................................................148
Using the CLI ..........................................................................................................................................................................................151
MAC VLAN Configuration ............................................................................................................................................157
Using the GUI .........................................................................................................................................................................................157
Binding the MAC Address to the VLAN .....................................................................................................................157
Enabling MAC VLAN for the Port ...................................................................................................................................158
Using the CLI ..........................................................................................................................................................................................159
Binding the MAC Address to the VLAN .....................................................................................................................159
Enabling MAC VLAN for the Port ...................................................................................................................................160
Configuration Example ................................................................................................................................................161
Using the GUI .........................................................................................................................................................................................162
Using the CLI ..........................................................................................................................................................................................167
Using the GUI .........................................................................................................................................................................................174
Using the CLI ..........................................................................................................................................................................................177
Creating a Protocol Template .........................................................................................................................................177
Configuration Example ................................................................................................................................................181
Using the GUI .........................................................................................................................................................................................183
Using the CLI ..........................................................................................................................................................................................188
Using the GUI .........................................................................................................................................................................................197
Using the CLI ..........................................................................................................................................................................................198
Configuration Example .................................................................................................................................................201
Using the GUI .........................................................................................................................................................................................202
Using the CLI ..........................................................................................................................................................................................206
Supported Features ...........................................................................................................................................................................214
Using the GUI .........................................................................................................................................................................................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 for VLANs ....................................................................................................................223
Configuring IGMP Snooping for Ports ........................................................................................................................228
Configuring Hosts to Statically Join a Group .........................................................................................................229
Using the GUI .........................................................................................................................................................................................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 for VLANs ......................................................................................................................237
Configuring MLD Snooping for Ports .........................................................................................................................242
Configuring Hosts to Statically Join a Group .........................................................................................................243
Using the GUI .........................................................................................................................................................................................245
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 MVR for the Ports .......................................................................................................................................252
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 Statistics on Each Port .....................................................................................................266
Viewing IPv6 Multicast Statistics on Each Port .....................................................................................................268
Using the CLI ..........................................................................................................................................................................................269
Viewing IPv4 Multicast Snooping Information .......................................................................................................269
Example for Configuring Basic IGMP Snooping .................................................................................................................270
Using the GUI ............................................................................................................................................................................271
Using the CLI ............................................................................................................................................................................273
Example for Configuring MVR ......................................................................................................................................................275
Using the GUI ............................................................................................................................................................................276
Using the CLI ............................................................................................................................................................................279
Example for Configuring Unknown Multicast and Fast Leave ....................................................................................282
Using the GUI ............................................................................................................................................................................283
Using the CLI ............................................................................................................................................................................285
Example for Configuring Multicast Filtering ..........................................................................................................................286
Using the GUI ............................................................................................................................................................................287
Using the CLI ............................................................................................................................................................................291
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
Using the GUI .........................................................................................................................................................................................306
Configuring STP/RSTP Parameters on Ports .........................................................................................................306
Verifying the STP/RSTP Configurations ....................................................................................................................310
Using the CLI ..........................................................................................................................................................................................312
Configuring STP/RSTP Parameters on Ports .........................................................................................................312
Configuring Global STP/RSTP Parameters .............................................................................................................314
Using the GUI .........................................................................................................................................................................................318
Configuring Parameters on Ports in CIST ................................................................................................................318
Configuring the MSTP Region ........................................................................................................................................321
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
Using the GUI .........................................................................................................................................................................................338
Using the CLI ..........................................................................................................................................................................................339
Configuring the STP Security ..........................................................................................................................................339
Configuration Example for MSTP .............................................................................................................................342
Using the GUI .........................................................................................................................................................................................343
Using the CLI ..........................................................................................................................................................................................350
Supported Features ...........................................................................................................................................................................360
Using the GUI .........................................................................................................................................................................................361
Configuring LLDP For the Port .......................................................................................................................................363
Using the CLI ..........................................................................................................................................................................................364
Global Config ............................................................................................................................................................................364
Port Config .................................................................................................................................................................................366
Using the GUI .........................................................................................................................................................................................369
Configuring LLDP-MED for Ports ..................................................................................................................................370
Using the CLI ..........................................................................................................................................................................................372
Global Config ............................................................................................................................................................................372
Port Config .................................................................................................................................................................................373
Using GUI ..................................................................................................................................................................................................376
Viewing LLDP Device Info .................................................................................................................................................376
Using CLI ..................................................................................................................................................................................................381
Using GUI ..................................................................................................................................................................................................382
Using CLI ..................................................................................................................................................................................................385
Configuration Example .................................................................................................................................................386
Using the GUI .........................................................................................................................................................................................386
Using CLI ..................................................................................................................................................................................................387
Supported Features ...........................................................................................................................................................................396
Using the GUI .........................................................................................................................................................................................400
Enabling DHCP Relay and Configuring Option 82 ...............................................................................................400
Using the CLI ..........................................................................................................................................................................................403
Using the GUI .........................................................................................................................................................................................408
Configuring Option 82 for Ports ....................................................................................................................................409
Using the CLI ..........................................................................................................................................................................................410
Example for DHCP VLAN Relay ...................................................................................................................................................414
Using the GUI ............................................................................................................................................................................415
Using the CLI ............................................................................................................................................................................418
Example for Option82 in DHCP Relay .....................................................................................................................................420
Configuring the DHCP Relay Switch............................................................................................................................422
Configuring the DHCP Server .........................................................................................................................................425
Example for DHCP L2 Relay ..........................................................................................................................................................426
Configuring the DHCP Relay Switch............................................................................................................................428
Configuring the DHCP Server .........................................................................................................................................430
Supported Features ...........................................................................................................................................................................436
Class of Service Configuration ..................................................................................................................................438
Using the GUI .........................................................................................................................................................................................439
Configuring Port Priority .....................................................................................................................................................439
Specifying the Scheduler Settings ..............................................................................................................................446
Using CLI ..................................................................................................................................................................................................447
Configuring Port Priority .....................................................................................................................................................447
Specifying the Scheduler Settings ..............................................................................................................................456
Bandwidth Control Configuration .............................................................................................................................459
Using the GUI .........................................................................................................................................................................................459
Configuring Storm Control ...............................................................................................................................................460
Using the CLI ..........................................................................................................................................................................................461
Configuring Storm Control ...............................................................................................................................................462
Using the GUI .........................................................................................................................................................................................465
Adding Ports to Voice VLAN ...........................................................................................................................................467
Using the CLI ..........................................................................................................................................................................................468
Auto VoIP Configuration ..............................................................................................................................................471
Using the GUI .........................................................................................................................................................................................471
Using the CLI ..........................................................................................................................................................................................472
Example for Class of Service ........................................................................................................................................................476
Using the GUI ............................................................................................................................................................................477
Using the CLI ............................................................................................................................................................................479
Example for Voice VLAN .................................................................................................................................................................481
Using the GUI ............................................................................................................................................................................482
Using the CLI ............................................................................................................................................................................486
Example for Auto VoIP ......................................................................................................................................................................489
Using the GUI ............................................................................................................................................................................490
Using the CLI ............................................................................................................................................................................495
Supported Features ...........................................................................................................................................................................505
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
Using the GUI .........................................................................................................................................................................................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
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
Using the GUI .........................................................................................................................................................................................547
Using the CLI ..........................................................................................................................................................................................549
Using the GUI .........................................................................................................................................................................................556
Configuring the RADIUS Server .....................................................................................................................................556
Configuring 802.1x on Ports ............................................................................................................................................560
View the Authenticator State ..........................................................................................................................................562
Using the CLI ..........................................................................................................................................................................................563
Configuring the RADIUS Server .....................................................................................................................................563
Configuring 802.1x on Ports ............................................................................................................................................567
Viewing Authenticator State ............................................................................................................................................569
Configuration Example .................................................................................................................................................571
Using the GUI .........................................................................................................................................................................................572
Using the CLI ..........................................................................................................................................................................................574
Port Security Configuration ........................................................................................................................................580
Using the GUI .........................................................................................................................................................................................580
Using the CLI ..........................................................................................................................................................................................581
Using the GUI .........................................................................................................................................................................................587
Configuring Time Range ..................................................................................................................................................587
Creating an ACL ......................................................................................................................................................................587
Configuring MAC ACL Rule ..............................................................................................................................588
Configuring IP ACL Rule .....................................................................................................................................592
Using the CLI ..........................................................................................................................................................................................606
Configuring Time Range ..................................................................................................................................................606
Configuration Example for ACL .................................................................................................................................619
Using the GUI .........................................................................................................................................................................................620
Using the CLI ..........................................................................................................................................................................................626
Supported Features ...........................................................................................................................................................................631
Using the GUI .........................................................................................................................................................................................632
Binding Entries via ARP Scanning .................................................................................................................................633
Binding Entries via DHCP Snooping ............................................................................................................................635
Viewing the Binding Entries ..............................................................................................................................................637
Using the CLI ..........................................................................................................................................................................................638
Using the GUI .........................................................................................................................................................................................642
Using the CLI ..........................................................................................................................................................................................645
Using the GUI .........................................................................................................................................................................................649
Using the CLI ..........................................................................................................................................................................................650
Example for ARP Detection ...........................................................................................................................................................652
Using the GUI ............................................................................................................................................................................653
Using the CLI ............................................................................................................................................................................655
Example for IP Source Guard ........................................................................................................................................................657
Using the GUI ............................................................................................................................................................................658
Using the CLI ............................................................................................................................................................................659
Supported Features ...........................................................................................................................................................................664
Using the GUI .........................................................................................................................................................................................666
Binding Entries via ND Snooping ...................................................................................................................................667
Binding Entries via DHCPv6 Snooping.......................................................................................................................669
Viewing the Binding Entries ..............................................................................................................................................670
Using the CLI ..........................................................................................................................................................................................671
Binding Entries via ND Snooping ...................................................................................................................................673
Binding Entries via DHCPv6 Snooping.......................................................................................................................674
Using the GUI .........................................................................................................................................................................................676
Using the CLI ..........................................................................................................................................................................................678
Using the GUI .........................................................................................................................................................................................681
Using the CLI ..........................................................................................................................................................................................682
Example for ND Detection ..............................................................................................................................................................684
Using the GUI ............................................................................................................................................................................685
Using the CLI ............................................................................................................................................................................687
Example for IPv6 Source Guard ..................................................................................................................................................688
Using the GUI ............................................................................................................................................................................689
Using the CLI ............................................................................................................................................................................691
Supported Features ...........................................................................................................................................................................695
Using the GUI .........................................................................................................................................................................................697
Configuring the Basic DHCPv4 Filter Parameters ...............................................................................................697
Using the CLI ..........................................................................................................................................................................................699
Configuring the Basic DHCPv4 Filter Parameters ...............................................................................................699
Using the GUI .........................................................................................................................................................................................703
Configuring the Basic DHCPv6 Filter Parameters ...............................................................................................703
Using the CLI ..........................................................................................................................................................................................705
Configuring the Basic DHCPv6 Filter Parameters ...............................................................................................705
Example for DHCPv4 Filter .............................................................................................................................................................708
Using the GUI ............................................................................................................................................................................709
Using the CLI ............................................................................................................................................................................710
Example for DHCPv6 Filter .............................................................................................................................................................711
Using the GUI ............................................................................................................................................................................712
Using the CLI ............................................................................................................................................................................714
DoS Defend Configuration ..........................................................................................................................................719
Using the GUI .........................................................................................................................................................................................719
Using the CLI ..........................................................................................................................................................................................720
Monitoring the CPU .......................................................................................................................................................726
Using the GUI .........................................................................................................................................................................................726
Using the CLI ..........................................................................................................................................................................................726
Monitoring the Memory ................................................................................................................................................728
Using the GUI .........................................................................................................................................................................................728
Using the CLI ..........................................................................................................................................................................................728
Using the GUI .........................................................................................................................................................................................731
Using the CLI ..........................................................................................................................................................................................735
Using the GUI .........................................................................................................................................................................................738
Using the CLI ..........................................................................................................................................................................................740
Using the GUI .........................................................................................................................................................................................742
Using the CLI ..........................................................................................................................................................................................743
Using the GUI .........................................................................................................................................................................................748
Using the CLI ..........................................................................................................................................................................................750
Using the GUI .........................................................................................................................................................................................758
Creating an SNMP View......................................................................................................................................................759
Creating an SNMP Group (For SNMP v3)..................................................................................................................761
Using the CLI ..........................................................................................................................................................................................763
Creating an SNMP View......................................................................................................................................................765
Creating an SNMP Group (For SNMPv3) ...................................................................................................................767
Using the GUI .........................................................................................................................................................................................771
Configuring the Information of NMS Hosts .............................................................................................................771
Using the CLI ..........................................................................................................................................................................................775
Configuring the NMS Host ................................................................................................................................................775
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 History ...............................................................................................................................................................792
Configuration Example .................................................................................................................................................797
Using the GUI .........................................................................................................................................................................................798
Using the CLI ..........................................................................................................................................................................................803
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
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
Using the GUI ........................................................................................................................................................................................830
Using the CLI .........................................................................................................................................................................................831
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 FontAn unalterable keyword.
For example: show logging
User Guide 1
About This GuideMore Information
Normal FontA 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:
bandwidthingress
bandwidth.
bandwidthegress
bandwidth.
bandwidthingress
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 SwitchDetermine 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 SwitchWeb 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 SwitchWeb 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 SwitchWeb 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
Accessing the SwitchWeb Interface Access
Figure 2-7 Change the switch's IP address and default gateway
2) Enter the new IP address in the web browser to access the switch.
3) Click to save the settings.
User Guide 8
Accessing the SwitchCommand Line Interface Access
3
Command Line Interface Access
Users can access the switch's command line interface through the console (only for switch
with console port), Telnet or SSH connection, and manage the switch with the command
lines.
Console connection requires the host PC connecting to the switch’s console port directly,
while Telnet and SSH connection support both local and remote access.
The following table shows the typical applications used in the CLI access.
Table 3-1 Method list
MethodUsing PortTypical Applications
ConsoleConsole port (connected
directly)
TelnetRJ-45 portCMD
SSHRJ-45 portPutty
Hyper Terminal
3.1 Console Login (only for switch with console port)
Follow these steps to log in to the switch via the Console port:
1) Connect the PC or terminal to the Console port on the switch with the serial cable.
2) Start the terminal emulation program (such as the Hyper Terminal) on the PC and
configure the terminal emulation program as follows:
■Baud Rate: 38400bps
■Data Bits: 8
■Parity: None
■Stop Bits: 1
■Flow Control: None
3) Type the User name and Password in the Hyper Terminal window. The default value
for both of them is admin. Press Enter in the main window and Switch> will appear,
indicating that you have successfully logged in to the switch and you can use the CLI
now.
User Guide 9
Accessing the SwitchCommand Line Interface Access
Figure 3-1 CLI Main Window
Note:
The first time you log in, change the password to better protect your network and devices.
4) Enter enable to enter the User EXEC Mode to further configure the switch.
Figure 3-2 User EXEC Mode
Note:
In Windows XP, go to Start > All Programs > Accessories > Communications > Hyper Terminal to
open the Hyper Terminal and configure the above settings to log in to the switch.
User Guide 10
Accessing the SwitchCommand Line Interface Access
3.2 Telnet Login
The switch supports Login Local Mode for authentication by default.
Login Local Mode: Username and password are required, which are both admin by default.
The following steps show how to manage the switch via the Login Local Mode:
1) Make sure the switch and the PC are in the same LAN (Local Area Network). Click Start
and type in cmd in the Search bar and press Enter.
Figure 3-3 Open the cmd Window
2) Type in telnet 192.168.0.1 in the cmd window and press Enter.
Figure 3-4 Log In to the Switch
3) Type in the login username and password (both admin by default). Press Enter and you
will enter User EXEC Mode.
Figure 3-5 Enter User EXEC Mode
Note:
The first time you log in, change the password to better protect your network and devices.
User Guide 11
Accessing the SwitchCommand Line Interface Access
4) Type in enable command and you will enter Privileged EXEC Mode. By default no
password is needed. Later you can set a password for users who want to access the
Privileged EXEC Mode.
Figure 3-6 Enter Privileged EXEC Mode
Now you can manage your switch with CLI commands through Telnet connection.
3.3 SSH Login
SSH login supports the following two modes: Password Authentication Mode and Key
Authentication Mode. You can choose one according to your needs:
■Password Authentication Mode: Username and password are required, which are both
admin by default.
■Key Authentication Mode (Recommended): A public key for the switch and a private key
for the client software (PuTTY) are required. You can generate the public key and the
private key through the PuTTY Key Generator.
Before logging in via SSH, follow the steps below to enable SSH on the terminal emulation
program:
Figure 3-7 Enable SSH
User Guide 12
Accessing the SwitchCommand Line Interface Access
Password Authentication Mode
1) Open PuTTY and go to the Session page. Enter the IP address of the switch in the Host
Name field and keep the default value 22 in the Port field; select SSH as the Connection type. Click Open.
Figure 3-8 Configurations in PuTTY
2) Enter the login username and password to log in to the switch, and you can continue to
configure the switch.
Figure 3-9 Log In to the Switch
Note:
The first time you log in, change the password to better protect your network and devices.
Key Authentication Mode
1) Open the PuTTY Key Generator. In the Parameters section, select the key type and
enter the key length. In the Actions section, click Generate to generate a public/private
key pair. In the following figure, an SSH-2 RSA key pair is generated, and the length of
each key is 1024 bits.
User Guide 13
Accessing the SwitchCommand Line Interface Access
Figure 3-10 Generate a Public/Private Key Pair
Note:
The key length should be between 512 and 3072 bits.
•
You can accelerate the key generation process by moving the mouse quickly and randomly in
•
the Key section.
2) After the keys are successfully generated, click Save public key to save the public key
to a TFTP server; click Save private key to save the private key to the host PC.
Figure 3-11 Save the Generated Keys
User Guide 14
Accessing the SwitchCommand Line Interface Access
3) On Hyper Terminal, download the public key file from the TFTP server to the switch as
shown in the following figure:
Figure 3-12 Download the Public Key to the Switch
Note:
The key type should accord with the type of the key file. In the above CLI, v1 corresponds to
•
SSH-1 (RSA), and v2 corresponds to SSH-2 RSA and SSH-2 DSA.
The key downloading process cannot be interrupted.
•
4) After the public key is downloaded, open PuTTY and go to the Session page. Enter the
IP address of the switch and select SSH as the Connection type (keep the default value
in the Port field).
Figure 3-13 Configure the Host Name and Connection Type
User Guide 15
Accessing the SwitchCommand Line Interface Access
5) Go to Connection > SSH > Auth. Click Browse to download the private key file to
PuTTY. Click Open to start the connection and negotiation.
Figure 3-14 Download the Private Key to PuTTY
6) After negotiation is completed, enter the username to log in. If you can log in without
entering the password, the key authentication completed successfully.
Figure 3-15 Log In to the Switch
Note:
The first time you log in, change the password to better protect your network and devices.
3.4 Disable Telnet Login
You can shut down the Telnet function to block any Telnet access to the CLI interface.
■Using the GUI:
Go to SECURITY > Access Security > Telnet Config, disable the Telnet function and click
Apply.
User Guide 16
Accessing the SwitchCommand Line Interface Access
Figure 3-16 Disable Telnet login
■Using the CLI:
Switch#configure
Switch(config)#telnet disable
3.5 Disable SSH Login
You can shut down the SSH server to block any SSH access to the CLI interface.
■Using the GUI:
Go to SECURITY > Access Security > SSH Config, disable the SSH server and click Apply.
Figure 3-17 Shut down SSH server
■Using the CLI:
Switch#configure
Switch(config)#no ip ssh server
3.6 Copy running-config startup-config
The switch’s configuration files fall into two types: the running configuration file and the
start-up configuration file.
After you enter each command line, the modifications will be saved in the running
configuration file. The configurations will be lost when the switch reboots.
User Guide 17
Accessing the SwitchCommand Line Interface Access
If you need to keep he configurations after the switch reboots, please user the command
copy running-config startup-config to save the configurations in the start-up
configuration file.
Switch(config)#end
Switch#copy running-config startup-config
3.7 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
configure the switch’s IP address as 192.168.0.10/24 and configure the default gateway as
The connection will be interrupted and you should telnet to the switch's new IP address
192.168.0.10.
C:\Users\Administrator>telnet 192.168.0.10
User:admin
Password:admin
Switch>enable
Switch#copy running-config startup-config
User Guide 18
Part 2
Managing System
CHAPTERS
1. System
2. System Info Configurations
3. User Management Configurations
4. System Tools Configurations
5. EEE Configuration
6. PoE Configurations (Only for Certain Devices)
7. SDM Template Configuration
8. Time Range Configuration
9. Example for PoE Configurations
10. Appendix: Default Parameters
Managing SystemSystem
1
System
1.1 Overview
In System module, you can view the system information and configure the system
parameters and features of the switch.
1.2 Supported Features
System Info
You can view the switch’s port status and system information, and configure the device
description, system time, daylight saving time, and system IP/IPv6.
User Management
You can manage the user accounts for login to the switch. There are multiple user types
which have different access levels, and you can create different user accounts according
to your need.
System Tools
You can configure the boot file of the switch, backup and restore the configurations,
update the firmware, reset the switch, and reboot the switch.
EEE
EEE (Energy Efficient Ethernet) is used to save power consumption of the switch during
periods of low data activity. You can simply enable this feature on ports to allow power
reduction.
PoE
Note:
Only T1500-28PCT, TL-SG2210MP and TL-SG2210P support the PoE feature.
Power over Ethernet (PoE) is a remote power supply function. With this function, the switch
can supply power to the connected devices over twisted-pair cable.
Some devices such as IP phones, access points (APs) and cameras may be located far
away from the AC power source in actual use. PoE can provide power for these devices
without requiring to deploy power cables. This allows a single cable to provide both data
connection and electric power to devices.
User Guide 20
Managing SystemSystem
IEEE 802.3af and 802.3at are both PoE standards. The standard process of PoE power
supply contains powered-device discovery, power administration, disconnect detection
and optional power-device power classification.
■PSE
Power sourcing equipment (PSE) is a device that provides power for PDs on the Ethernet,
for example, the PoE switch. PSE can detect the PDs and determine the device power
requirements.
■PD
Powered device (PD) is a device receiving power from the PSE, for example, IP phones and
access points. According to whether PDs comply with IEEE standard, they can be classified
into standard PDs and non-standard PDs. Only standard PDs can be powered via TP-Link
PoE switches.
SDM Template
SDM (Switch Database Management) Template is used to prioritize hardware resources for
certain features. The switch provides three templates which allocate different hardware
resources for different usage, and you can choose one according to your need.
Time Range
With this feature, you can configure a time range. You can use the time range when you
configure other features like ACL.
User Guide 21
Managing SystemSystem Info Configurations
2
System Info Configurations
With system information configurations, you can:
■View the System Summary
■Configure the Device Description
■Configure the System Time
■Configure the Daylight Saving Time
■Configuring LED (Only for Certain Devices)
■Configure the System IP
■Configure the System IPv6
2.1 Using the GUI
2.1.1 Viewing the System Summary
Choose the menu SYSTEM > System Info > System Summary to load the System
Summary page. You can view the port status and system information of the switch.
Viewing the Port Status
In the Port Status section, you can view the status and bandwidth utilization of each port.
Figure 2-1 Viewing the System Summary
The following table introduces the meaning of each port status:
Port StatusIndication
Indicates that the corresponding 1000Mbps port is not connected to a device.
Indicates that the corresponding 1000Mbps port is at the speed of 1000Mbps.
User Guide 22
Managing SystemSystem Info Configurations
Indicates that the corresponding 1000Mbps port is at the speed of 10Mbps or
100Mbps.
Indicates that the corresponding SFP port is not connected to a device.
Indicates the SFP port is at the speed of 1000Mbps.
Indicates the SFP port is at the speed of 100Mbps.
You can move your cursor to a port to view the detailed information of the port.
Figure 2-2 Port Information
Port InformationIndication
PortDisplays the port number.
TypeDisplays the type of the port.
SpeedDisplays the maximum transmission rate and duplex mode of the port.
StatusDisplays the connection status of the port.
You can click a port to view the bandwidth utilization on this port.
User Guide 23
Managing SystemSystem Info Configurations
Figure 2-3 Bnadwidth Utilization
RXDisplays the bandwidth utilization of receiving packets on this port.
TX Displays the bandwidth utilization of sending packets on this port.
User Guide 24
Managing SystemSystem Info Configurations
Viewing the System Information
In the System Info section, you can view the system information of the switch.
Figure 2-4 System Information
System
Description
Device NameDisplays the name of the switch. You can edit it on the Device Description page.
Device LocationDisplays the location of the switch. You can edit it on the Device Description page.
Contact
Information
Hardware
Version
Firmware
Version
Boot Loader
Version
Displays the system description of the switch.
Displays the contact information of the switch. You can edit it on the Device
Description page.
Displays the hardware version of the switch.
Displays the firmware version of the switch.
Displays the boot loader version of the switch.
User Guide 25
Managing SystemSystem Info Configurations
MAC AddressDisplays the MAC address of the switch.
System TimeDisplays the system time of the switch.
Running TimeDisplays the running time of the switch.
Serial NumberDisplays the serial number of the switch.
Jumbo FrameDisplays whether Jumbo Frame is enabled. You can click Settings to jump to the
Jumbo Frame configuration page.
SNTPDisplays whether the switch gets system time from NTP Server. You can click
Settings to jump to the System Time configuration page.
IGMP SnoopingDisplays whether IGMP Snooping is enabled. You can click Settings to jump to the
IGMP Snooping configuration page.
SNMPDisplays whether SNMP is enabled. You can click Settings to jump to the SNMP
configuration page.
Spanning TreeDisplays whether Spanning Tree is enabled. You can click Settings to jump to the
Spanning Tree configuration page.
DHCP RelayDisplays whether DHCP Relay is enabled. You can click Settings to jump to the DHCP
Relay configuration page.
802.1xDisplays whether Jumbo Frame is enabled. You can click Settings to jump to the
Jumbo Frame configuration page.
HTTP ServerDisplays whether HTTP server is enabled. You can click Settings to jump to the HTTP
configuration page.
TelnetDisplays whether Telnet is enabled. You can click Settings to jump to the Telnet
configuration page.
SSHDisplays whether SSH is enabled. You can click Settings to jump to the SSH
configuration page.
2.1.2 Configuring the Device Description
Choose the menu SYSTEM > System Info > Device Description to load the following
page.
Figure 2-5 Configuring the Device Description
1) In the Device Description section, configure the following parameters.
User Guide 26
Managing SystemSystem Info Configurations
Device NameSpecify a name for the switch.
Device LocationEnter the location of the switch.
System ContactEnter the contact information.
2) Click Apply.
2.1.3 Configuring the System Time
Choose the menu SYSTEM > System Info > System Time to load the following page.
Figure 2-6 Configuring the System Time
In the Time Info section, you can view the current time information of the switch.
Current System
Time
Current Time
Source
Displays the current date and time of the switch.
Displays how the switch gets the current time.
In the Time Config section, follow these steps to configure the system time:
1) Choose one method to set the system time and specify the related parameters.
ManualSet the system time manually.
Date: Specify the date of the system.
Time: Specify the time of the system.
User Guide 27
Managing SystemSystem Info Configurations
Get Time from
NTP Server
Synchronize
with PC’s Clock
Get the system time from an NTP server. Make sure the NTP server is accessible
on your network. If the NTP server is on the internet, connect the switch to the
internet first.
Time Zone: Select your local time zone.
Primary Server: Enter the IP Address of the primary NTP server.
Secondary Server: Enter the IP Address of the secondary NTP server. Once the
primary NTP server is down, the EAP can get the system time from the secondary
NTP server.
Update Rate: Specify the interval the switch fetching time from NTP server, which
ranges from 1 to 24 hours.
Synchronize the system time with the clock of your currently logged-in host.
2) Click Apply.
2.1.4 Configuring the Daylight Saving Time
Choose the menu SYSTEM > System Info > Daylight Saving Time to load the following
page.
Figure 2-7 Configuring the Daylight Saving Time
Follow these steps to configure Daylight Saving Time:
1) In the DST Config section, enable the Daylight Saving Time function.
2) Choose one method to set the Daylight Saving Time and specify the related
parameters.
Predefined
Mode
If you select Predefined Mode, choose a predefined DST schedule for the switch.
USA: Select the Daylight Saving Time of the USA. It is from 2: 00 a.m. on the
Second Sunday in March to 2:00 a.m. on the First Sunday in November.
Australia: Select the Daylight Saving Time of Australia. It is from 2:00 a.m. on the
First Sunday in October to 3:00 a.m. on the First Sunday in April.
Europe: Select the Daylight Saving Time of Europe. It is from 1: 00 a.m. on the Last
Sunday in March to 1:00 a.m. on the Last Sunday in October.
New Zealand: Select the Daylight Saving Time of New Zealand. It is from 2: 00 a.m.
on the Last Sunday in September to 3:00 a.m. on the First Sunday in April.
User Guide 28
Managing SystemSystem Info Configurations
Recurring ModeIf you select Recurring Mode, specify a cycle time range for the Daylight Saving
Time of the switch. This configuration will be used every year.
Offset: Specify the time to set the clock forward by.
Start Time: Specify the start time of Daylight Saving Time. The interval between
start time and end time should be more than 1 day and less than 1 year(365 days).
End Time: Specify the end time of Daylight Saving Time. The interval between
start time and end time should be more than 1 day and less than 1 year (365 days).
Date ModeIf you select Date Mode, specify an absolute time range for the Daylight Saving
Time of the switch. This configuration will be used only one time.
Offset: Specify the time to set the clock forward by.
Start Time: Specify the start time of Daylight Saving Time. The interval between
start time and end time should be more than 1 day and less than 1 year(365 days).
End Time: Specify the end time of Daylight Saving Time. The interval between
start time and end time should be more than 1 day and less than 1 year (365 days).
3) Click Apply.
2.1.5 Configuring LED
Note:
Only TL-SG2210P supports LED On/Off.
Choose the menu System > LED On/Off to load the following page. Choose the LED status
and click Apply.
Figure 2-8 Configuring LED On/Off
(Only for Certain Devices)
User Guide 29
Managing SystemSystem Info Configurations
2.1.6 Configuring the System IP
Choose the menu SYSTEM > System Info > System IP to load the following page.
Figure 2-9 Configuring the Sysrtem IP Parameters
Follow these steps to configure the System IP:
1) Configure the corresponding parameters for the system IP
Management
VLAN ID
IP Address ModeSpecify the IP address assignment mode of the interface.
DHCP Option 12If you select the IP Address Mode as DHCP, configure the Option 12 here.
IP Address Specify the IP address of the management interface if you select the IP Address
Specify the management VLAN 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
Static: Assign an IP address to the management interface.
DHCP: Assign an IP address to the management interface through the DHCP
server.
BOOTP: Assign an IP address to the management interface through the BOOTP
server.
DHCP Option 12 is used to specify the client’s name.
Mode as Static.
.
Subnet MaskSpecify the subnet mask of the management interface if you select the IP
Address Mode as Static.
Default GatewaySpecify the default gateway of the management interface if you select the IP
Address Mode as Static. The default gateway is the IP address to which the
packet should be sent next.
2) Click Apply.
User Guide 30
Managing SystemSystem Info Configurations
2.1.7 Configuring the System IPv6
Choose the menu SYSTEM > System Info > System IPv6 to load the following page.
Figure 2-10 Configuring the System IPv6 Parameters
1) In the System IPv6 Config section, enable IPv6 feature for the interface and configure
the corresponding parameters . Then click Apply.
Management
VLAN ID
IPv6 EnableEnable the IPv6 feature of the management interface.
Link-local
Address Mode
Link-local
Address
Displays the Management VLAN ID. 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
Select the link-local address configuration mode.
Manual: With this option selected, you can assign a link-local address manually.
Auto: With this option selected, the switch generates a link-local address
automatically.
Enter a link-local address if you choose “Manual” as the Link-Local Address
Mode.
.
User Guide 31
Managing SystemSystem Info Configurations
StatusDisplays the status of the link-local address. An IPv6 address cannot be used
before pass the DAD (Duplicate Address Detection), which is used to detect the
address conflicts. In the DAD process, the IPv6 address may in three different
status:
Normal: Indicates that the link-local address passes the DAD and can be used
normally.
Try: Indicates that the link-local address is in the progress of DAD and cannot be
used right now.
Repeat: Indicates that the link-local address is duplicated, this address is already
used by another node and cannot be used by the interface.
2) Configure IPv6 global address of the interface via following three ways:
Via RA Message:
Enable global
address auto
configuration via
RA message
With this option enabled, the interface automatically generates a global address
and other information according to the address prefix and other configuration
parameters from the received RA (Router Advertisement) message.
Via DHCPv6 Server:
Enable global
address auto
configuration via
DHCPv6 Server
With this option enabled, the switch will try to obtain the global address from the
DHCPv6 Server.
Manually:
In the Global Address Cong section, click to manually assign an IPv6 global
address to the interface.
Address FormatSelect the global address format according to your needs.
EUI-64: Indicates that you only need to specify an address prefix, then the
system will create a global address automatically.
Not EUI-64: Indicates that you have to specify an intact global address.
Global AddressWhen EUI-64 is selected, please input the address prefix here, otherwise, please
input an intact IPv6 address here.
User Guide 32
Managing SystemSystem Info Configurations
Prefix LengthConfigure the prefix length of the global address.
3) View the global address entry in the Global Address Config section.
Global AddressView or modify the global address.
Prefix LengthView or modify the prefix length of the global address.
TypeDisplays the configuration mode of the global address.
Manual: Indicates that the corresponding address is configured manually.
Auto: Indicates that the corresponding address is created automatically using
the RA message or obtained from the DHCPv6 Server.
Preferred
Lifetime
Valid LifetimeDisplays the valid lifetime of the global address.
StatusDisplays the status of the link-local address. An IPv6 address cannot be used
Displays the preferred lifetime of the global address.
Preferred lifetime is the length of time that a valid IPv6 address is preferred.
When the preferred time expires, the address becomes deprecated but still can
be used, and you need to switch to another address.
Valid lifetime is the length of time that an IPv6 address is in the valid state. When
the valid lifetime expires, the address become invalid and can be no longer
usable.
before pass the DAD (Duplicate Address Detection), which is used to detect the
address conflicts. In the DAD process, the IPv6 address may in three different
status:
Normal: Indicates that the global address passes the DAD and can be normally
used.
Try: Indicates that the global address is in the progress of DAD and cannot be
used right now.
Repeat: Indicates that the global address is duplicated, this address is already
used by another node. This address cannot be used by the interface.
2.2 Using the CLI
2.2.1 Viewing the System Summary
On privileged EXEC mode or any other configuration mode, you can use the following
commands to view the system information of the switch:
show interface status [ fastEthernet
View status of the interface.
port
: Enter the number of the Ethernet port.
port
| gigabitEthernet
port
| ten-gigabitEthernet
port
]
User Guide 33
Managing SystemSystem Info Configurations
show system-info
View the system information including System Description, Device Name, Device Location, System
Contact, Hardware Version, Firmware Version, System Time, Run Time and so on.
The following example shows how to view the interface status and the system information
of the switch.
Switch#show interface status
Port Status Speed Duplex FlowCtrl Jumbo Active-Medium
System Description - JetStream 48-Port Gigabit Smart Switch with 4 SFP Slots
System Name - T1500-28PCT
System Location - SHENZHEN
Contact Information - www.tp-link.com
Hardware Version - T1500-28PCT 3.0
Software Version - 3.0.0 Build 20171129 Rel.38400(s)
Bootloader Version - TP-LINK BOOTUTIL(v1.0.0)
Mac Address - 00-0A-EB-13-23-A0
Serial Number -
System Time - 2017-12-12 11:23:32
Running Time - 1 day - 2 hour - 33 min - 42 sec
2.2.2 Configuring the Device Description
Follow these steps to configure the device description:
Step 1configure
Enter global configuration mode.
User Guide 34
Managing SystemSystem Info Configurations
Step 2hostname [
Specify the system name of the switch.
hostname
default, it is the model name of the switch.
Step 3location [
Specify the system location of the switch.
location
it is “SHENZHEN”.
Step 4contact-info [
Specify the system contact Information.
contact-info
By default, it is “www.tp-link.com”.
Step 5show system-info
Verify the system information including system Description, Device Name, Device Location,
System Contact, Hardware Version, Firmware Version, System Time, Run Time and so on.
Step 6end
Return to privileged EXEC mode.
hostname
: Enter the device name. The length of the name ranges from 1 to 32 characters. By
location
: Enter the device location. It should consist of no more than 32 characters. By default,
contact-info
: Enter the contact information. It should consist of no more than 32 characters.
]
]
]
Step 7copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to set the device name as Switch_A, set the location as
BEIJING and set the contact information as https://www.tp-link.com.
System Description - JetStream 24-Port Gigabit L2 Managed Switch with 4 SFP Slots
System Name - Switch_A
System Location - BEIJING
Contact Information - https://www.tp-link.com
...
Switch(config)#end
Switch#copy running-config startup-config
User Guide 35
Managing SystemSystem Info Configurations
2.2.3 Configuring the System Time
Follow these steps to configure the system time:
Note:
The mode of Synchronize with PC’s Clock does not support CLI command.
Step 1configure
Enter global configuration mode.
Step 2Use the following command to set the system time manually:
system-time manual
Configure the system time manually.
time
: Specify the date and time manually in the format of MM/DD/YYYY-HH:MM:SS. The valid
value of the year ranges from 2000 to 2037.
Use the following command to set the system time by getting time from the NTP server.
Ensure the NTP server is accessible. If the NTP server is on the internet, connect the switch to
the internet first.
system-time ntp {
timezone
The detailed information of each time-zone are displayed as follows:
UTC-12:00 —— TimeZone for International Date Line West.
UTC-11:00 —— TimeZone for Coordinated Universal Time-11.
UTC-10:00 —— TimeZone for Hawaii.
UTC-09:00 —— TimeZone for Alaska.
UTC-08:00 —— TimeZone for Pacific Time (US Canada).
UTC-07:00 —— TimeZone for Mountain Time (US Canada).
UTC-06:00 —— TimeZone for Central Time (US Canada).
: Enter your local time-zone, which ranges from UTC-12:00 to UTC+13:00.
time
timezone
} {
ntp-server
} {
backup-ntp-server
} {
fetching-rate
}
UTC-05:00 —— TimeZone for Eastern Time (US Canada).
UTC-04:30 —— TimeZone for Caracas.
UTC-04:00 —— TimeZone for Atlantic Time (Canada).
UTC-03:30 —— TimeZone for Newfoundland.
UTC-03:00 —— TimeZone for Buenos Aires, Salvador, Brasilia.
UTC-02:00 —— TimeZone for Mid-Atlantic.
UTC-01:00 —— TimeZone for Azores, Cape Verde Is.
UTC —— TimeZone for Dublin, Edinburgh, Lisbon, London.
UTC+01:00 —— TimeZone for Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna.
UTC+02:00 —— TimeZone for Cairo, Athens, Bucharest, Amman, Beirut, Jerusalem.
UTC+03:00 —— TimeZone for Kuwait, Riyadh, Baghdad.
UTC+03:30 —— TimeZone for Tehran.
User Guide 36
Managing SystemSystem Info Configurations
UTC+04:00 —— TimeZone for Moscow, St.Petersburg, Volgograd, Tbilisi, Port Louis.
UTC+04:30 —— TimeZone for Kabul.
UTC+05:00 —— TimeZone for Islamabad, Karachi, Tashkent.
UTC+05:30 —— TimeZone for Chennai, Kolkata, Mumbai, New Delhi.
UTC+05:45 —— TimeZone for Kathmandu.
UTC+06:00 —— TimeZone for Dhaka,Astana, Ekaterinburg.
UTC+06:30 —— TimeZone for Yangon (Rangoon).
UTC+07:00 —— TimeZone for Novosibrisk, Bangkok, Hanoi, Jakarta.
UTC+08:00 —— TimeZone for Beijing, Chongqing, Hong Kong, Urumqi, Singapore.
UTC+09:00 —— TimeZone for Seoul, Irkutsk, Osaka, Sapporo, Tokyo.
UTC+09:30 —— TimeZone for Darwin, Adelaide.
UTC+10:00 —— TimeZone for Canberra, Melbourne, Sydney, Brisbane.
UTC+11:00 —— TimeZone for Solomon Is., New Caledonia, Vladivostok.
UTC+12:00 —— TimeZone for Fiji, Magadan, Auckland, Welington.
UTC+13:00 —— TimeZone for Nuku’alofa, Samoa.
ntp-server
backup-ntp-server
fetching-rate
Step 3Use the following command to verify the system time information.
show system-time
Verify the system time information.
Use the following command to verify the NTP mode configuration information.
show system-time ntp
Verify the system time information of NTP mode.
Step 4end
Return to privileged EXEC mode.
Step 5copy running-config startup-config
Save the settings in the configuration file.
: Specify the IP address of the primary NTP server.
: Specify the IP address of the backup NTP server.
: Specify the interval fetching time from the NTP server.
The following example shows how to set the system time by Get Time from NTP Server and
set the time zone as UTC+08:00, set the NTP server as 133.100.9.2, set the backup NTP
server as 139.78.100.163 and set the update rate as 11.
Follow these steps to configure the Daylight Saving Time:
Step 1configure
Enter global configuration mode.
Step 2Use the following command to select a predefined Daylight Saving Time configuration:
system-time dst predefined [ USA | Australia | Europe | New-Zealand ]
Specify the Daylight Saving Time using a predefined schedule.
USA | Australia | Europe | New-Zealand: Select one mode of Daylight Saving Time.
USA: 02:00 a.m. on the Second Sunday in March ~ 02:00 a.m. on the First Sunday in November.
Australia: 02:00 a.m. on the First Sunday in October ~ 03:00 a.m. on the First Sunday in April.
Europe: 01:00 a.m. on the Last Sunday in March ~ 01:00 a.m. on the Last Sunday in October.
New Zealand: 02:00 a.m. on the Last Sunday in September ~ 03:00 a.m. on the First Sunday in
April.
Use the following command to set the Daylight Saving Time in recurring mode:
system-time dst recurring {
etime
} [
offset
]
Specify the Daylight Saving Time in Recuring mode.
sweek
: Enter the start week of Daylight Saving Time. There are 5 values showing as follows:
first, second, third, fourth, last.
sday
: Enter the start day of Daylight Saving Time. There are 7 values showing as follows: Sun,
Mon, Tue, Wed, Thu, Fri, Sat.
smonth
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
: Enter the start month of Daylight Saving Time. There are 12 values showing as follows:
sweek
} {
sday
} {
smonth
} {
stime
} {
eweek
} {
eday
} {
emonth
} {
stime
: Enter the start time of Daylight Saving Time,in the format of HH:MM.
eweek
: Enter the end week of Daylight Saving Time. There are 5 values showing as follows:
first, second, third, fourth, last.
eday
: Enter the end day of Daylight Saving Time. There are 7 values showing as follows: Sun,
Mon, Tue, Wed, Thu, Fri, Sat.
emonth
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
etime
offset
: Enter the end month of Daylight Saving Time. There are 12 values showing as follows:
: Enter the end time of Daylight Saving Time,in the format of HH:MM.
: Enter the offset of Daylight Saving Time. The default value is 60.
User Guide 38
Managing SystemSystem Info Configurations
Use the following command to set the Daylight Saving Time in date mode:
system-time dst date {
offset
]
Specify the Daylight Saving Time in Date mode.
smonth
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
sday
stime
syear
emonth
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
eday
etime
eyear
offset
Step 3show system-time dst
Verify the DST information of the switch.
Step 4end
Return to privileged EXEC mode.
: Enter the start month of Daylight Saving Time. There are 12 values showing as follows:
: Enter the start day of Daylight Saving Time, which ranges from 1 to 31.
: Enter the start time of Daylight Saving Time,in the format of HH:MM.
: Enter the start year of Daylight Saving Time.
: Enter the end month of Daylight Saving Time. There are 12 values showing as follows:
: Enter the end day of Daylight Saving Time, which ranges from 1 to 31.
: Enter the end time of Daylight Saving Time,in the format of HH:MM.
: Enter the end year of Daylight Saving Time.
: Enter the offset of Daylight Saving Time. The default value is 60.
smonth
} {
sday
} {
stime
} {
syear
} {
emonth
} {
eday
} {
etime
} {
eyear
} [
Step 5copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to set the Daylight Saving Time by Date Mode. Set the
start time as 01:00 August 1st, 2017, set the end time as 01:00 September 1st,2017 and
set the offset as 50.
Switch#configure
Switch(config)#system-time dst date Aug 1 01:00 2017 Sep 1 01:00 2017 50
Switch(config)#show system-time dst
DST starts at 01:00:00 on Aug 1 2017
DST ends at 01:00:00 on Sep 1 2017
DST offset is 50 minutes
DST configuration is one-off
Switch(config)#end
Switch#copy running-config startup-config
User Guide 39
Managing SystemSystem Info Configurations
2.2.5 Configuring LED
(Only for Certain Devices)
Note:
Only TL-SG2210P supports LED On/Off.
Follow these steps to configure the LED status:
Step 1configure
Enter global configuration mode.
Step 2service led {on | off}
Configure the LED status. By default, the LEDs are on.
on | off: Turn on or turn off the LEDs.
2.2.6 Configuring the System IP
Follow these steps to configure the System IP parameters.
Step 1configure
Enter global configuration mode.
Step 2ip management-vlan {
Configure the management VLAN of the switch. Only the computers in the management
VLAN can access the management interface of the switch.
Step 3interface vlan {
Enter the Interface VLAN Mode.
vlan-id:
Step 4Automatically assign an IP Address and default gateway for the management interface via
DHCP or BOOTP:
ip address-alloc { dhcp | bootp }
Specify the IP Address assignment mode of the management interface.
dhcp: Specify the management interface to obtain an IPv4 address from the DHCP Server.
bootp: Specify the management interface to obtain an IPv4 address from the BOOTP
Server.
Manually assign an IP Address and default gateway for the management interface:
ip address {
Configure the IP address and default gateway for the management interface manually.
ip-addr
mask
default gateway
the IP Address Mode as Static. The default gateway is the IP address to which the packet
should be sent next.
The management VLAN ID.
ip-addr
: Specify thse IP address of the management interface.
: Specify the subnet mask of the management interface.
vlan-id
}
vlan-id
}
} {
mask
} gateway {
: Specify the default gateway of the management interface if you select
default-gateway
}
User Guide 40
Managing SystemSystem Info Configurations
Step 5show interface vlan {
vlan-id:
Verify the summary information of the management interface.
Step 6end
Return to privileged EXEC mode.
Step 7copy running-config startup-config
Save the settings in the configuration file.
The management VLAN ID.
vlan-id
}
The following example shows how to configure the switch’s IP address as 192.168.0.10/24
and configure the default gateway as 192.168.0.100.
The connection will be interrupted and you should telnet to the switch's new IP address
192.168.0.10.
C:\Users\Administrator>telnet 192.168.0.10
User:admin
Password:admin
Switch>enable
Switch#show interface vlan 1
Switch#copy running-config startup-config
2.2.7 Configuring System IPv6 Parameters
Follow these steps to configure the system IPv6 parameters.
Step 1configure
Enter global configuration mode.
Step 2ip management-vlan {
Configure the management VLAN of the switch. Only the computers in the management
VLAN can access the management interface of the switch.
vlan-id
}
Step 3interface vlan {
Enter the Interface VLAN Mode.
vlan-id:
The management VLAN ID.
vlan-id
}
User Guide 41
Managing SystemSystem Info Configurations
Step 4ipv6 enable
Enable the IPv6 feature on the management interface.
Step 5Configure the IPv6 link-local address for the management interface:
Manually configure the ipv6 link-local address for the management interface:
ipv6 address
ipv6-addr
address with the prefix fe80::/10, otherwise this command will be invalid.
Automatically configure the ipv6 link-local address for the management interface:
ipv6 address autoconfig
Step 6Configure the IPv6 global address for the management interface:
Automatically configure the interface’s global IPv6 address via RA message:
ipv6 address ra
Configure the interface’s global IPv6 address according to the address prefix and other
configuration parameters from its received RA (Router Advertisement) message.
ipv6-addr
: Specify the link-local address of the interface. It should be a standardized IPv6
link-local
Automatically configure the interface’s global IPv6 address via DHCPv6 server:
ipv6 address dhcp
Enable the DHCPv6 Client function. When this function is enabled, the Layer 3 interface will
try to obtain the IPv6 address from DHCPv6 server.
Manually configure the interface’s global IPv6 address:
ipv6 address
ipv6-addr:
ipv6 address
Specify a global IPv6 address with an extended unique identifier (EUI) in the low-order 64
bits of the IPv6 address. Specify only the network prefix; the last 64 bits are automatically
computed from the switch MAC address. This enables IPv6 processing on the interface.
Manually configure the IPv6 gateway address:
ipv6 gateway
Specify an IPv6 gateway address manually, for example 2001::1.
Step 7show ipv6 interface
Verify the configured ipv6 information of the interface.
Step 8end
Return to privileged EXEC mode.
Step 9copy running-config startup-config
ipv6-addr
The Global IPv6 address with network prefix, for example 3ffe::1/64.
ipv6-addr
ipv6-addr
eui-64
Save the settings in the configuration file.
The following example shows how to enable the IPv6 function and configure the IPv6
parameters of the management interface:
Switch#configure
User Guide 42
Managing SystemSystem Info Configurations
Switch(config)#interface vlan 1
Switch(config-if)#ipv6 enable
Switch(config-if)#ipv6 address autoconfig
Switch(config-if)#ipv6 address dhcp
Switch(config-if)#show ipv6 interface
Vlan2 is up, line protocol is up
IPv6 is enable, Link-Local Address: fe80::20a:ebff:fe13:237b[NOR]
Global Address RA: Disable
Global Address DHCPv6: Enable
Global unicast address(es): ff02::1:ff13:237b
Joined group address(es): ff02::1
ICMP error messages limited to one every 1000 milliseconds
ICMP redirects are enable
MTU is 1500 bytes
ND DAD is enable, number of DAD attempts: 1
ND retrans timer is 1000 milliseconds
ND reachable time is 30000 milliseconds
Switch(config-if)#end
Switch#copy running-config startup-config
User Guide 43
Managing SystemUser Management Configurations
3
User Management Configurations
With User Management, you can create and manage the user accounts for login to the
switch.
3.1 Using the GUI
There are four types of user accounts with different access levels: Admin, Operator, Power
User and User.
■There is a default Admin account which cannot be deleted. The default username and
password of this account are both admin. You can also create more Admin accounts.
■If you create Operator, Power User or User accounts, you need go to the AAA section
to create an Enable Password. If needed, these types of users can use the Enable
Password to change their access level to Admin.
3.1.1 Creating Accounts
Choose the menu SYSTEM > User Management > User Config to load the following page.
Figure 3-1 User Config Page
By default, there is a default Admin account in the table. You can click to edit this Admin
account but you cannot delete it.
You can create new user accounts. Click and the following window will pop up.
User Guide 44
Managing SystemUser Management Configurations
Figure 3-2 Adding Account
Follow these steps to create a new user account.
1) Configure the following parameters:
UsernameSpecify a username for the account. It contains 16 characters at most,
composed of digits, English letters and symbols. No spaces, question
marks and double quotation marks are allowed.
Access LevelSelect the access level. There are four options provided:
Admin: Admin can edit, modify and view all the settings of different
functions.
Operator: Operator can edit, modify and view most of the settings of
different functions.
Power User: Power User can edit, modify and view some of the settings of
different functions.
User: User can only view the settings without the right to edit or modify.
PasswordSpecify a password for the account. It contains 6–31 alphanumeric
characters (case-sensitive) and symbols. No spaces are allowed.
Confirm PasswordRetype the password.
2) Click Create.
3.1.2 Configuring Enable Password
Choose the menu SECURITY > AAA > Global Config to load the following page.
Figure 3-3 Configure Enable Password
User Guide 45
Managing SystemUser Management Configurations
Follow these steps to configure Enable Password:
1) Select Set Password and specify the enable password in the Password field. It should
be a string with 31 characters at most, which can contain only English letters (case
sensitive) digits and 17 kinds of special characters. The special characters are !$%’()*,-./[]_{|}.
2) Click Apply.
Tips:
The logged-in users can enter the Enable Password on this page to get the administrative
privileges.
3.2 Using the CLI
There are four types of user accounts with different access levels: Admin, Operator, Power
User and User.
■There is a default Admin account which cannot be deleted. The default username and
password of this account are both admin. You can also create more Admin accounts.
■If you create Operator, Power User or User accounts, you need go to the AAA section
to create an Enable Password. If needed, these types of users can use the Enable
Password to change their access level to Admin.
3.2.1 Creating Accounts
Follow these steps to create an account:
Step 1configure
Enter global configuration mode.
User Guide 46
Managing SystemUser Management Configurations
Step 2Use the following command to create an account unencrypted or symmetric encrypted.
user name
7
encrypted-password
name
digits, English letters and symbols. No spaces, question marks and double quotation marks are
allowed.
admin | operator | power_user | user: Specify the access level for the user. Admin can edit,
modify and view all the settings of different functions. Operator can edit, modify and view
mostly the settings of different functions. Power User can edit, modify and view some the
settings of different functions. User only can view the settings without the right to edit and
modify.
0: Specify the encryption type. 0 indicates that the password you entered is unencrypted, and
the password is saved to the configuration file unencrypted. By default, the encryption type is 0.
password
sensitive) and symbols. No spaces are allowed.
7: Specify the encryption type. 7 indicates that the password you entered is symmetric
encrypted, and the password is saved to the configuration file symmetric encrypted.
encrypted-password
copy from another switch’s configuration file. After the encrypted password is configured, you
should use the corresponding unencrypted password to reenter this mode.
Use the following command to create an account MD5 encrypted.
: Enter a user name for users’ login. It contains 16 characters at most, composed of
: Enter a password for users’ login. It contains 6–31 alphanumeric characters (case-
: Enter a symmetric encrypted password with fixed length, which you can
password
|
user name
encrypted-password
Create an account whose access level is Admin.
name
digits, English letters and symbols. No spaces, question marks and double quotation marks are
allowed.
admin | operator | power_user | user: Specify the access level for the user. Admin can edit,
modify and view all the settings of different functions. Operator can edit, modify and view
mostly the settings of different functions. Power User can edit, modify and view some the
settings of different functions. User only can view the settings without the right to edit and
modify.
0: Specify the encryption type. 0 indicates that the password you entered is unencrypted, but
the password is saved to the configuration file MD5 encrypted. By default, the encryption type
is 0.
password
sensitive) and symbols. No spaces are allowed.
5: Specify the encryption type. 5 indicates that the password you entered is MD5 encrypted,
and the password is saved to the configuration file MD5 encrypted.
: Enter a user name for users’ login. It contains 16 characters at most, composed of
: Enter a password for users’ login. It contains 6–31 alphanumeric characters (case-
: Enter a MD5 encrypted password with fixed length, which you can copy
password
| 5
Step 3show user account-list
Verify the information of the current users.
User Guide 47
Managing SystemUser Management Configurations
Step 4end
Return to privileged EXEC mode.
Step 5copy running-config startup-config
Save the settings in the configuration file.
3.2.2 Configuring Enable Password
Follow these steps to create an account of other type:
Step 1configure
Enter global configuration mode.
Step 2Use the following command to create an enable password unencrypted or symmetric
encrypted.
enable admin password { [ 0 ]
Create an Enable Password. It can change the users’ access level to Admin. By default, it is
empty.
0: Specify the encryption type. 0 indicates that the password you entered is unencrypted, and
the password is saved to the configuration file unencrypted. By default, the encryption type is 0.
password
sensitive), digits and 17 kinds of special characters. The special characters are !$%’()*,-./[]_{|}.
7: Specify the encryption type. 7 indicates that the password you entered is symmetric
encrypted, and the password is saved to the configuration file symmetric encrypted.
encrypted-password
copy from another switch’s configuration file. After the encrypted password is configured, you
should use the corresponding unencrypted password to reenter this mode.
Use the following command to create an enable password unencrypted or MD5 encrypted.
enable admin secret { [ 0 ]
Create an Enable Password. It can change the users’ access level to Admin. By default, it is
empty.
0: Specify the encryption type. 0 indicates that the password you entered is unencrypted, but
the password is saved to the configuration file MD5 encrypted. By default, the encryption type
is 0.
: It is a string with 31 characters at most, which can contain only English letters (case-
: Enter a symmetric encrypted password with fixed length, which you can
password
password
| 7
encrypted-password
| 5
encrypted-password
}
}
password
sensitive), digits and 17 kinds of special characters. The special characters are !$%’()*,-./[]_{|}.
5: Specify the encryption type. 5 indicates that the password you entered is MD5 encrypted,
and the password is saved to the configuration file MD5 encrypted.
encrypted-password
from another switch’s configuration file. After the encrypted password is configured, you
should use the corresponding unencrypted password to reenter this mode.
Step 3show user account-list
Verify the information of the current users.
: It is a string with 31 characters at most, which can contain only English letters (case-
: Enter a MD5 encrypted password with fixed length, which you can copy
User Guide 48
Managing SystemUser Management Configurations
Step 4end
Return to privileged EXEC mode.
Step 5copy running-config startup-config
Save the settings in the configuration file.
Tips:
The logged-in users can enter the enable-admin command and the Enable Password to get
the administrative privileges.
The following example shows how to create a uesr with the access level of Operator, set
the username as user1 and password as 123, and set the enable password as abc123.
Switch#configure
Switch(config)#user name user1 privilege operator password 123
Switch(config)#enable admin password abc123
Switch(config)#show user account-list
Index User-Name User-Type
----- --------- ---------
1 user1 Operator
2 admin Admin
Switch(config)#end
Switch#copy running-config startup-config
User Guide 49
Managing SystemSystem Tools Configurations
4
System Tools Configurations
With System Tools, you can:
■Configure the boot file
■Restore the configuration of the switch
■Back up the configuration file
■Upgrade the firmware
■Reboot the switch
■Reset the switch
4.1 Using the GUI
4.1.1 Configuring the Boot File
Choose the menu SYSTEM > System Tools > Boot Config to load the following page.
Figure 4-1 Configuring the Boot File
User Guide 50
Managing SystemSystem Tools Configurations
Follow these steps to configure the boot file:
1) In the Boot Table section, select one or more units and configure the relevant
parameters.
UnitDisplays the number of the unit.
Current Startup
Image
Next Startup
Image
Backup ImageSelect the backup image. When the switch fails to start up with the next startup
Current Startup
Config
Next Startup
Config
Backup ConfigSpecify the backup configuration. When the switch fails to start up with the next
Displays the current startup image.
Select the next startup image. When the switch is powered on, it will try to start up
with the next startup image. The next startup image and backup image should not
be the same.
image, it will try to start up with the backup image. The next startup and backup
image should not be the same.
Displays the current startup configuration.
Specify the next startup configuration. When the switch is powered on, it will try
to start up with the next startup configuration. The next startup configuration and
backup configuration should not be the same.
startup configuration, it will try to start up with the backup configuration. The next
startup and backup configuration should not be the same.
2) Click Apply.
In the Image Table, you can view the information of the current startup image, next startup
image and backup image. The displayed information is as follows:
Image NameDisplays the name of the image.
Software
Version
Flash VersionDisplays the flash version of the image.
Displays the software version of the image.
User Guide 51
Managing SystemSystem Tools Configurations
4.1.2 Restoring the Configuration of the Switch
Choose the menu SYSTEM > System Tools > Restore Config to load the following page.
Figure 4-2 Restoring the Configuration of the Switch
Follow these steps to restore the current configuration of the switch:
1) In the Restore Config section, select the unit to be restored.
2) Click Browse and select the desired configuration file to be imported.
3) Choose whether to reboot the switch after restoring is completed. Only after the switch
is rebooted will the imported configuration take effect.
4) Click Import to import the configuration file.
Note:
It will take some time to restore the configuration. Please wait without any operation.
4.1.3 Backing up the Configuration File
Choose the menu SYSTEM > System Tools > Backup Config to load the following page.
Figure 4-3 Backing up the Configuration File
In the Config Backup section, select one unit and click Export to export the configuration
file.
Note:
It will take some time to export the configuration. Please wait without any operation.
User Guide 52
Managing SystemSystem Tools Configurations
4.1.4 Upgrading the Firmware
Choose the menu SYSTEM > System Tools > Firmware Upgrade to load the following
page.
Figure 4-4 Upgrading the Firmware
You can view the current firmware information on this page:
Firmware VersionDisplays the current firmware version of the system.
Hardware Version
Image NameDisplays the image to upgrade. The operation will only affect the image displayed
Displays the current hardware version of the system.
here.
Follow these steps to upgrade the firmware of the switch:
1) Click Browse and select the proper firmware upgrade file.
2) Choose whether to reboot the switch after upgrading is completed. Only after the
switch is rebooted will the new firmware take effect.
3) Click Upgrade to upgrade the system.
Note:
It will take some time to upgrade the switch. Please wait without any operation.
•
It is recommended to backup your configuration before upgrading.
•
User Guide 53
Managing SystemSystem Tools Configurations
4.1.5 Rebooting the switch
There are two methods to reboot the switch: manually reboot the switch and configure
reboot schedule to automatically reboot the switch.
Manually Rebooting the Switch
Choose the menu SYSTEM > System Tools > System Reboot > System Reboot to load
the following page.
Figure 4-5 Manually Rebooting the Switch
Follow these steps to reboot the switch:
1) In the System Reboot section, select the desired unit.
2) Choose whether to save the current configuration before reboot.
3) Click Reboot.
Configuring Reboot Schedule
Choose the menu SYSTEM > System Tools > System Reboot > Reboot Schedule to load
the following page.
Figure 4-6 Configuring the Reboot Schedule
Follow these steps to configure the reboot schedule:
1) Enable Reboot Schedule, and select one time schedule for the switch to reboot.
Time IntervalSpecify a period of time. The switch will reboot after this period. Valid values are
from 1 to 43200 minutes.
To make this schedule recur, you need to click to save current configuration
or enable the option Save the current configuration before reboot.
User Guide 54
Managing SystemSystem Tools Configurations
Special TimeSpecify the date and time for the switch to reboot.
Month/Day/Year: Specify the date for the switch to reboot.
Time (HH:MM): Specify the time for the switch to reboot, in the format of HH:MM.
2) Choose whether to save the current configuration before the reboot.
3) Click Apply.
4.1.6 Reseting the Switch
Choose the menu SYSTEM > System Tools > System Reset to load the following page.
Figure 4-7 Reseting the Switch
Follow these steps to reset the switch:
1) In the System Reset section, select the desired unit.
2) Choose whether to maintain the IP address of selected unit when resetting.
3) Click Reset.
After reset, all congurations of the switch will be reset to the factory defaults.
Specify the configuration of the boot file. By default, config1.cfg is the startup configuration
file and config2.cfg is the backup configuration file.
config1 | config2: Select the configuration file to be configured.
startup | backup: Specify the property of the configuration file.
Step 4show boot
Verify the boot configuration of the system.
Step 5end
Return to privileged EXEC mode.
Step 6copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to set the next startup image as image1, the
backup image as image2, the next startup configuration file as config1 and the backup
configuration file as config2.
It will only upgrade the backup image. Continue? (Y/N):Y
Operation OK!
Reboot with the backup image? (Y/N): Y
4.2.5 Rebooting the Switch
Manually Rebooting the Switch
Follow these steps to reboot the switch:
Step 1enable
Enter privileged mode.
Step 2reboot
Reboot the switch.
Configuring Reboot Schedule
Follow these steps to configure the reboot schedule:
Step 1configure
Enter global configuration mode.
User Guide 58
Managing SystemSystem Tools Configurations
Step 2Use the following command to set the interval of reboot:
reboot-schedule in
(Optional) Specify the reboot schedule.
interval
: Specify a period of time. The switch will reboot after this period. The valid values are
from 1 to 43200 minutes.
save_before_reboot: Save the configuration file before the switch reboots. To make this
schedule recur, you can add this part to the command.
Use the following command to set the special time of reboot:
reboot-schedule at
(Optional) Specify the reboot schedule.
time
: Specify the time for the switch to reboot, in the format of HH:MM.
date
: Specify the date for the switch to reboot, in the format of DD/MM/YYYY. The date should
be within 30 days.
save_before_reboot: Save the configuration file before the switch reboots.
If no date is specified, the switch will reboot according to the time you have set. If the time you
set is later than the time that this command is executed, the switch will reboot later the same
day; otherwise the switch will reboot the next day.
interval
time
[
[ save_before_reboot ]
date
] [ save_before_reboot ]
Step 3end
Return to privileged EXEC mode.
Step 4copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to set the switch to reboot at 12:00 on 15/08/2017.
Switch#configure
Switch(config)#reboot-schedule at 12:00 15/08/2017 save_before_reboot
Reboot system at 15/08/2017 12:00. Continue? (Y/N): Y
Reboot Schedule Settings
---------------------------
Reboot schedule at 2017-08-15 12:00 (in 25582 minutes)
Save before reboot: Yes
Switch(config)#end
Switch#copy running-config startup-config
User Guide 59
Managing SystemSystem Tools Configurations
4.2.6 Reseting the Switch
Follow these steps to reset the switch:
Step 1enable
Enter privileged mode.
Step 2reset [ except-ip ]
Reset the switch, and all configurations of the switch will be reset to the factory defaults.
except-ip: To maintain the IP address when resetting the switch, add this part to the command
Follow these steps to disable the reset function of console port or reset button:
Step 1configure
Enter global configuration mode.
Step 2service reset-disable
Disable the reset function of console port or reset button. By default, the reset function is
enabled.
Note: use the no service reset-disable command to enable the reset function of console port.
User Guide 60
Managing SystemEEE Configuration
5
EEE Configuration
Choose the menu SYSTEM > EEE to load the following page.
Figure 5-1 Configuring EEE
Follow these steps to configure EEE:
1) In the EEE Config section, select one or more ports to be configured.
2) Enable or disable EEE on the selected port(s).
3) Click Apply.
5.1 Using the CLI
Follow these steps to configure EEE:
Step 1configure
Enter global configuration mode.
Step 2interface { fastEthernet
gigabitEthernet
Enter interface configuration mode.
Step 3eee
Enable EEE on the port.
port-list
port
| range fastEthernet
| ten-gigabitEthernet
port-list
port
| gigabitEthernet
| range ten-gigabitEthernet
port
| range
port-list
}
User Guide 61
Managing SystemEEE Configuration
Step 4end
Return to privileged EXEC mode.
Step 5copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to enable the EEE feature on port 1/0/1.
Switch#config
Switch(config)#interface gigabitEthernet 1/0/1
Switch(config-if)#eee
Switch(config-if)#show interface eee
Port EEE status
Gi1/0/1 Enable
Gi1/0/2 Disable
...
Switch(config-if)#end
Switch#copy running-config startup-config
User Guide 62
Managing SystemPoE Configurations (Only for Certain Devices)
6
PoE Configurations (Only for Certain Devices)
Note:
Only T1500-28PCT, TL-SG2210MP and TL-SG2210P support the PoE feature.
With the PoE feature, you can:
■Configure the PoE parameters manually
■Configure the PoE parameters using the profile
You can configure the PoE parameters one by one via configuring the PoE parameters
manually. You can also set a profile with the desired parameters and bind the profile to the
corresponding ports to quickly configure the PoE parameters.
User Guide 63
Managing SystemPoE Configurations (Only for Certain Devices)
6.1 Using the GUI
6.1.1 Configuring the PoE Parameters Manually
Choose the menu SYSTEM > PoE > PoE Config to load the following page.
Figure 6-1 Configuring PoE Parameters Manually
Follow these steps to configure the basic PoE parameters:
1) In the PoE Config section, you can view the current PoE parameters.
System Power
Limit (W)
System Power
Consumption (W)
System Power
Remain (W)
Displays the maximum power the PoE switch can supply.
Displays the real-time system power consumption of the PoE switch.
Displays the real-time system remaining power of the PoE switch.
In addition, you can click and configure the System Power Limit. Click Apply.
User Guide 64
Managing SystemPoE Configurations (Only for Certain Devices)
Figure 6-2 Configuring System Power Limit
UnitDisplays the unit number.
System Power
Limit
Specify the maximum power the PoE switch can supply.
2) In the Port Config section, select the port you want to configure and specify the
parameters. Click Apply.
PoE StatusEnable or disable the PoE function for the corresponding port. The port can
supply power to the PD when its status is enable.
PoE PrioritySelect the priority level for the corresponding port. When the supply power
exceeds the system power limit, the switch will power off PDs on low-priority
ports to ensure stable running of other PDs.
Power LimitSpecify the maximum power the corresponding port can supply. The following
options are provided:
Auto: The switch will allocate a value as the maximum power that the port can
supply automatically.
Class1: The maximum power that the port can supply is 4 W.
Class2: The maximum power that the port can supply is 7 W.
Class3: The maximum power that the port can supply is 15.4 W.
Class4: The maximum power that the port can supply is 30 W.
Manual: You can enter a value manually.
Power Limit Value
( 0.1–30.0 W)
Time RangeSelect a time range, then the port will supply power only during the time range.
PoE ProfileA quick configuration method for the corresponding ports. If one profile is
If you select Manual as Power Limit mode, specify a maximum power supply
value in this field.
If you select Class1 to Class4 as Power Limit mode, you can view the maximum
power supply value in this field.
For how to create a time range, refer to Time Range Configuration.
selected, you will not be able to modify PoE status, PoE priority or power limit
manually. For how to create a profile, refer to Configuring the PoE Parameters
Using the Profile.
User Guide 65
Managing SystemPoE Configurations (Only for Certain Devices)
Power (W)Displays the port’s real-time power supply.
Current (mA)Displays the port’s real-time current.
Voltage (V)Displays the port’s real-time voltage.
PD ClassDisplays the class the linked PD belongs to.
Power StatusDisplays the port’s real-time power status.
User Guide 66
Managing SystemPoE Configurations (Only for Certain Devices)
6.1.2 Configuring the PoE Parameters Using the Profile
■Creating a PoE Profile
Choose the menu SYSTEM > PoE > PoE Profile and click to load the following
page.
Figure 6-3 Creating a PoE Profile
Follow these steps to create a PoE profile:
1) In the Create PoE Profile section, specify the desired configurations of the profile.
Profile NameSpecify a name for the PoE profile.
PoE StatusSpecify the PoE status for the PoE profile.
PoE PrioritySpecify the priority level for the PoE profile. The following options are provided:
High, Middle and Low. When the supply power exceeds the system power limit,
the switch will power off PDs on low-priority ports to ensure stable running of
other PDs.
Power LimitSpecify the maximum power the port can supply for the PoE profile. The following
options are provided:
Auto: The switch will allocate a value as the maximum power that the port can
supply automatically.
Class1 (4 W): The maximum power that the port can supply is 4 W.
Class2 (7 W): The maximum power that the port can supply is 7 W.
Class3 (15.4 W): The maximum power that the port can supply is 15.4 W.
2) Click Create.
Class4 (30 W): The maximum power that the port can supply is 30 W.
Manual: Enter a value manually.
User Guide 67
Managing SystemPoE Configurations (Only for Certain Devices)
■Binding the Profile to the Corresponding Ports
Choose the menu SYSTEM > PoE > PoE Config to load the following page.
Figure 6-4 Binding the Profile to the Corresponding Ports
Follow these steps to bind the profile to the corresponding ports:
1) In the PoE Config section, you can view the current PoE parameters.
System Power
Limit (W)
System Power
Consumption (W)
System Power
Remain (W)
Displays the maximum power the PoE switch can supply.
Displays the real-time system power consumption of the PoE switch.
Displays the real-time system remaining power of the PoE switch.
In addition, you can click and configure the System Power Limit. Click Apply.
User Guide 68
Managing SystemPoE Configurations (Only for Certain Devices)
Figure 6-5 Configuring System Power Limit
UnitDisplays the unit number.
System Power
Limit
Specify the maximum power the PoE switch can supply.
2) In the Port Config section, select one or more ports and configure the following two
parameters: Time Range and PoE Profile. Click Apply and the PoE parameters of the
selected PoE Profile, such as PoE Status and PoE Priority, will be displayed in the table.
PoE StatusDisplays the PoE function for the corresponding port. The port can supply
power to the PD when its status is enable.
PoE PriorityDisplays the priority level for the corresponding port. When the supply power
exceeds the system power limit, the switch will power off PDs on low-priority
ports to ensure stable running of other PDs.
Power LimitDisplays the maximum power the corresponding port can supply.
Power Limit Value
(0.1–30.0 W)
Time RangeSelect a time range, then the port will supply power only during the time range.
PoE ProfileSelect the PoE profile for the desired port. If one profile is selected, you will not
Displays the power limit value.
For how to create a time range, refer to Time Range Configuration.
be able to modify PoE status, PoE priority or power limit manually.
Power (W)Displays the port’s real-time power supply.
Current (mA)Displays the port’s real-time current.
Voltage (V)Displays the port’s real-time voltage.
PD ClassDisplays the class the linked PD belongs to.
Power StatusDisplays the port’s real-time power status.
User Guide 69
Managing SystemPoE Configurations (Only for Certain Devices)
6.2 Using the CLI
6.2.1 Configuring the PoE Parameters Manually
Follow these steps to configure the basic PoE parameters:
Step 1configure
Enter global configuration mode.
Step 2power inline consumption
Specify the maximum power the PoE switch can supply globally.
power-limit
For T1500-28PCT, the valid value ranges from 1 to 192 W. By default, the value is 192.
For TL-SG2210MP, the valid value ranges from 1 to 150 W. By default, the value is 150.
For TL-SG2210P, the valid value ranges from 1 to 58 W. By default, the value is 58.
Step 3interface { fastEthernet
gigabitEthernet
Enter Interface Configuration mode.
port
port-list:
Step 4power inline supply { enable | disable }
Specify the PoE status for the corresponding port.
enable | disable: Enable or disable the PoE function. By default, it is enable.
: Specify the maximum power the PoE switch can supply.
port-list
: Specify the Ethernet port number, for example 1/0/1.
Specify the list of Ethernet ports, for example 1/0/1-3, 1/0/5.
power-limit
port
| range fastEthernet
| ten-gigabitEthernet
port-list
port
| gigabitEthernet
| range ten-gigabitEthernet
port
| range
port-list
}
Specify the PoE priority for the corresponding port.
low | middle | high: Select the priority level for the corresponding port. When the supply power
exceeds the system power limit, the switch will power off PDs on low-priority ports to ensure
stable running of other PDs. The default setting is low.
Step 6power inline consumption {
Specify the maximum power the corresponding port can supply.
power-limit
corresponding port can supply. The following options are provided: Auto represents that
the switch will allocate the maximum power that the port can supply automatically. Class1
represents 4 W, Class2 represents 7 W, Class3 represents 15.4 W and Class4 represents 30 W,
or you can enter a value manually. The value ranges from 1 to 300. It is in the unit of 0.1 watt.
For instance, if you want to configure the maximum power as 5 W, you should enter 50. By
default, it is Class4.
Step 7time-range
Specify a time range for the port. Then the port will supply power only during the time range.
For how to create a time range, refer to Time Range Configuration.
name:
| auto | class1 | class2 | class3 | class4: Select or enter the maximum power the
name
Specify the name of the time range.
power-limit
| auto | class1 | class2 | class3 | class4 }
User Guide 70
Managing SystemPoE Configurations (Only for Certain Devices)
Step 8show power inline
Verify the global PoE information of the system.
Step 9show power inline configuration interface [ fastEthernet {
port
|
port-list
Verify the PoE configuration of the corresponding port.
port
: Specify the Ethernet port number, for example 1/0/1.
port-list
Step 10show power inline information interface [ fastEthernet {
port
|
port-list
Verify the real-time PoE status of the corresponding port.
port
: Specify the Ethernet port number, for example 1/0/1.
port-list
Step 11end
Return to privileged EXEC mode.
Step 12copy running-config startup-config
Save the settings in the configuration file.
} | ten-gigabitEthernet {
: Specify the list of Ethernet ports, in the format of 1/0/1-3, 1/0/5.
} | ten-gigabitEthernet {
: Specify the list of Ethernet ports, in the format of 1/0/1-3, 1/0/5.
port
port
|
port-list
|
port-list
}]
} ]
port
port
|
port-list
|
port-list
} | gigabitEthernet {
} | gigabitEthernet {
The following example shows how to set the system power limit as 160 W. Set the priority
as middle and set the power limit as class3 for the port 1/0/5.
Switch#configure
Switch(config)#power inline consumption 160
Switch(config)#interface gigabitEthernet 1/0/5
Switch(config-if)#power inline supply enable
Switch(config-if)#power inline priority middle
Switch(config-if)#power inline consumption class3
Switch(config-if)#show power inline
System Power Limit: 160.0w
System Power Consumption: 0.0w
System Power Remain: 160.0w
Switch(config-if)#show power inline configuration interface gigabitEthernet 1/0/5
6.2.2 Configuring the PoE Parameters Using the Profile
Follow these steps to configure the PoE profile:
Step 1configure
Enter global configuration mode.
Step 2power inline consumption
Specify the maximum power the PoE switch can supply globally.
power-limit
For T1500-28PCT, the valid value ranges from 1 to 192 W. By default, the value is 192.
For TL-SG2210MP, the valid value ranges from 1 to 150 W. By default, the value is 150.
For TL-SG2210P, the valid value ranges from 1 to 58 W. By default, the value is 58.
Step 3power profile
power-limit
Create a PoE profile for the switch. In a profile, the PoE status, PoE priority and power limit
are configured. You can bind a profile to the corresponding port to quickly configure the PoE
function.
name
contains spaces, enclose the name in double quotes.
enable | disable: Specify the PoE status for the profile. By default, it is enable.
low | middle | high: Select the priority level for the profile. When the supply power exceeds the
system power limit, the switch will power off PDs on low-priority ports to ensure stable running
of other PDs.
power-limit
corresponding port can supply. The following options are provided: Auto represents that the
switch will assign a value of maximum power automatically. Class1 represents 4 W, Class2
represents 7 W, Class3 represents 15.4 W and Class4 represents 30 W or you can enter a
value manually. The value ranges from 1 to 300. It is in the unit of 0.1 watt. For instance, if you
want to configure the maximum power as 5 W, you should enter 50.
: Specify the maximum power the PoE switch can supply.
: Specify a name for the PoE profile. It ranges from 1 to 16 characters. If the name
| auto | class1 | class2 | class3 | class4: Select or enter the maximum power the
power-limit
User Guide 72
Managing SystemPoE Configurations (Only for Certain Devices)
Step 4interface { fastEthernet
gigabitEthernet
Enter Interface Configuration mode.
port
: Specify the Ethernet port number, for example 1/0/1.
port-list:
Step 5power inline profile
Bind a PoE profile to the desired port. If one profile is selected, you will not be able to modify
PoE status, PoE priority or power limit manually.
name
double quotes.
Step 6time-range
Specify a time range for the port. Then the port will supply power only during the time range.
For how to create a time range, refer to Time Range Configuration.
name:
Step 7show power profile
Verify the defined PoE profile.
Specify the list of Ethernet ports, for example 1/0/1-3, 1/0/5.
: Specify the name of the PoE profile. If the name contains spaces, enclose the name in
Specify the name of the time range.
port-list
name
name
port
| range fastEthernet
| ten-gigabitEthernet
port-list
port
| gigabitEthernet
| range ten-gigabitEthernet
port
| range
port-list
}
Step 8show power inline configuration interface [ fastEthernet {
port
|
port-list
Verify the PoE configuration of the corresponding port.
port
: Specify the Ethernet port number, for example 1/0/1.
port-list
Step 9show power inline information interface [ fastEthernet {
port
|
port-list
Verify the real-time PoE status of the corresponding port.
port
: Specify the Ethernet port number, for example 1/0/1.
port-list
Step 10end
Return to privileged EXEC mode.
Step 11copy running-config startup-config
Save the settings in the configuration file.
} | ten-gigabitEthernet {
: Specify the list of Ethernet ports, in the format of 1/0/1-3, 1/0/5.
} | ten-gigabitEthernet {
: Specify the list of Ethernet ports, in the format of 1/0/1-3, 1/0/5.
port
port
|
port-list
|
port-list
}]
} ]
port
port
|
port-list
|
port-list
} | gigabitEthernet {
} | gigabitEthernet {
The following example shows how to create a profile named profile1and bind the profile to
the port 1/0/6.