This equipment has been tested and found to comply with the limits for a Class A digital
device, pursuant to part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference when the equipment is operated in a
commercial environment. This equipment generates, uses, and can radiate radio frequency
energy and, if not installed and used in accordance with the instruction manual, may cause
harmful interference to radio communications. Operation of this equipment in a residential
area is likely to cause harmful interference in which case the user will be required to correct
the interference at his own expense.
This device complies with part 15 of the FCC Rules. Operation is subject to the following
two conditions:
1) This device may not cause harmful interference.
2) This device must accept any interference received, including interference that may
cause undesired operation.
Any changes or modifications not expressly approved by the party responsible for
compliance could void the user’s authority to operate the equipment.
CE Mark Warning
This is a class A product. In a domestic environment, this product may cause radio
interference, in which case the user may be required to take adequate measures.
Canadian Compliance Statement
This device complies with Industry Canada license-exempt RSSs. Operation is subject to
the following two conditions:
1) This device may not cause interference, and
2) This device must accept any interference, including interference that may cause
undesired operation of the device.
Le présent appareil est conforme aux CNR d’Industrie Canada applicables aux appareils
radio exempts de licence. L’exploitation est autorisée aux deux conditions suivantes :
1) l’appareil ne doit pas produire de brouillage;
2) l’utilisateur de l’appareil doit accepter tout brouillage radioélectrique subi, meme si le
brouillage est susceptible d’en compromettre le fonctionnement.
Продукт сертифіковано згідно с правилами системи УкрСЕПРО на відповідність
вимогам нормативних документів та вимогам, що передбачені чинними законодавчими
актами України.
この装置は、クラス A 情報技術装置です。この装置を家庭環境で使用すると電波妨害を引き
起こすことがあります。この場合には使用者が適切な対策を講ずるよう要求されることがあ
ります。 VCCI-A
Safety Information
When product has power button, the power button is one of the way to shut off the
product; When there is no power button, the only way to completely shut off power is to
disconnect the product or the power adapter from the power source.
Don’t disassemble the product, or make repairs yourself. You run the risk of electric
shock and voiding the limited warranty. If you ne ed service, please contact us.
Avoid water and wet locations.
Explanation of the symbols on the product label
SymbolExplanation
AC voltage.
Indoor use only
RECYCLING
This product bears the selective sorting symbol for Waste electrical and
electronic equipment (WEEE). This means that this product must be handled
pursuant to European directive 2012/19/EU in order to be recycled or
dismantled to minimize its impact on the environment.
User has the choice to give his product to a competent recycling
organization or to the retailer when he buys a new electrical or electronic
equipment.
More Information .................................................................................................................................................................2
Web Interface Access ........................................................................................................................................................5
Login 5
Save Config Function ..............................................................................................................................................................................6
Disable the Web Server .........................................................................................................................................................................7
Configure 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
Specifying the Device Description ..................................................................................................................................24
Setting the System Time ......................................................................................................................................................25
Setting the Daylight Saving Time .....................................................................................................................................26
Specifying the System IP ......................................................................................................................................................27
Using the CLI .............................................................................................................................................................................................28
Viewing the System Summary ...........................................................................................................................................28
Specifying the Device Description ..................................................................................................................................29
Setting the System Time ......................................................................................................................................................30
Setting the Daylight Saving Time .....................................................................................................................................33
Specifying the System IP......................................................................................................................35
User Management Configurations ............................................................................................................................. 38
Using the GUI ............................................................................................................................................................................................38
Creating Accounts of Other Types .................................................................................................................................39
Using the CLI .............................................................................................................................................................................................41
Creating Accounts of Other Types .................................................................................................................................42
System Tools Configurations ...................................................................................................................................... 46
Using the GUI ............................................................................................................................................................................................46
Configuring the Boot File ......................................................................................................................................................46
Restoring the Configuration of the Switch .................................................................................................................47
Backing up the Configuration File ....................................................................................................................................48
Upgrading the Firmware ........................................................................................................................................................48
Rebooting the switch ..............................................................................................................................................................49
Reseting the Switch .................................................................................................................................................................49
Using the CLI .............................................................................................................................................................................................50
Configuring the Boot File ......................................................................................................................................................50
Restoring the Configuration of the Switch .................................................................................................................50
Backing up the Configuration File ....................................................................................................................................51
Upgrading the firmware .........................................................................................................................................................52
Rebooting the switch ..............................................................................................................................................................52
Reseting the Switch .................................................................................................................................................................52
Using the GUI ............................................................................................................................................................................................54
Configuring the Access Control Feature .....................................................................................................................54
Configuring the HTTP Function ........................................................................................................................................56
Configuring the HTTPS Function .....................................................................................................................................57
Configuring the SSH Feature .............................................................................................................................................59
Enabling the Telnet Function ..............................................................................................................................................60
Using the CLI .............................................................................................................................................................................................60
Configuring the Access Control .......................................................................................................................................60
Configuring the HTTP Function ........................................................................................................................................62
Configuring the HTTPS Function .....................................................................................................................................63
Configuring the SSH Feature .............................................................................................................................................66
Enabling the Telnet Function ..............................................................................................................................................68
Supported Features ..............................................................................................................................................................................73
Using the GUI ............................................................................................................................................................................................74
Using the CLI .............................................................................................................................................................................................75
Port Mirror Configuration ............................................................................................................................................... 78
Using the GUI ............................................................................................................................................................................................78
Using the CLI .............................................................................................................................................................................................80
Port Security Configuration .......................................................................................................................................... 82
Using the GUI ............................................................................................................................................................................................82
Using the CLI .............................................................................................................................................................................................83
Port Isolation Configurations ....................................................................................................................................... 85
Using the GUI ............................................................................................................................................................................................85
Using the CLI .............................................................................................................................................................................................86
Using the GUI ............................................................................................................................................................................................88
Using the CLI .............................................................................................................................................................................................89
Example for Port Mirror .......................................................................................................................................................................92
Using the GUI ...............................................................................................................................................................................92
Using the CLI ...............................................................................................................................................................................94
Example for Port Isolation ..................................................................................................................................................................94
Using the GUI ...............................................................................................................................................................................95
Using the CLI ...............................................................................................................................................................................96
Example for Loopback Detection..................................................................................................................................................97
Using the GUI ...............................................................................................................................................................................97
Using the CLI ...............................................................................................................................................................................98
LAG ......................................................................................................................................................................................103
Supported Features ...........................................................................................................................................................................103
LAG Configuration ..........................................................................................................................................................104
Using the GUI .........................................................................................................................................................................................105
Configuring Static LAG or LACP....................................................................................................................................106
Using the CLI ..........................................................................................................................................................................................108
Configuring Static LAG or LACP....................................................................................................................................109
Configuration Example .................................................................................................................................................113
Using the GUI .........................................................................................................................................................................................114
Using the CLI ..........................................................................................................................................................................................115
Using the GUI .........................................................................................................................................................................................119
Viewing the Traffic Summary ..........................................................................................................................................119
Viewing the Traffic Statistics in Detail ........................................................................................................................120
Using the CLI ..........................................................................................................................................................................................122
MAC Address Table .......................................................................................................................................................125
Supported Features ...........................................................................................................................................................................125
Using the GUI .........................................................................................................................................................................................126
Adding Static MAC Address Entries ..........................................................................................................................126
Modifying the Aging Time of Dynamic Address Entries...................................................................................128
Adding MAC Filtering Address Entries.......................................................................................................................129
Using the CLI ..........................................................................................................................................................................................130
Adding Static MAC Address Entries ..........................................................................................................................130
Modifying the Aging Time of Dynamic Address Entries...................................................................................131
Adding MAC Filtering Address Entries.......................................................................................................................132
Using the GUI .........................................................................................................................................................................................137
Configuring the PVID of the Port ...................................................................................................................................137
Configuring the VLAN ..........................................................................................................................................................138
Using the CLI ..........................................................................................................................................................................................139
Creating a VLAN .....................................................................................................................................................................139
Configuring the PVID of the Port ...................................................................................................................................140
Adding the Port to the Specified VLAN .....................................................................................................................141
Configuration Example .................................................................................................................................................143
Using the GUI .........................................................................................................................................................................................144
Using the CLI ..........................................................................................................................................................................................146
Spanning Tree ..................................................................................................................................................................150
Using the GUI .........................................................................................................................................................................................158
Configuring STP/RSTP Parameters on Ports .........................................................................................................158
Verifying the STP/RSTP Configurations ....................................................................................................................162
Using the CLI ..........................................................................................................................................................................................163
Configuring STP/RSTP Parameters on Ports .........................................................................................................163
Configuring Global STP/RSTP Parameters .............................................................................................................165
Using the GUI .........................................................................................................................................................................................168
Configuring Parameters on Ports in CIST ................................................................................................................168
Configuring the MSTP Region ........................................................................................................................................170
Verifying the MSTP Configurations .............................................................................................................................177
Using the CLI ..........................................................................................................................................................................................178
Configuring Parameters on Ports in CIST ................................................................................................................178
Configuring the MSTP Region .......................................................................................................................................180
Configuring Global MSTP Parameters .......................................................................................................................183
Enabling Spanning Tree Globally...................................................................................................................................185
Using the GUI .........................................................................................................................................................................................188
Configuring the STP Security ..........................................................................................................................................188
Using the CLI ..........................................................................................................................................................................................189
Configuring the STP Security ..........................................................................................................................................189
Configuration Example for MSTP .............................................................................................................................192
Using the GUI .........................................................................................................................................................................................193
Using the CLI ..........................................................................................................................................................................................204
Using the GUI .........................................................................................................................................................................................218
Configuring Router Port Time and Member Port Time .....................................................................219
Configuring IGMP Snooping Last Listener Query ...............................................................................219
Verifying IGMP Snooping Status ...................................................................................................................220
Configuring the Port’s Basic IGMP Snooping Features....................................................................................221
Enabling IGMP Snooping on the Port .........................................................................................................221
(Optional) Configuring Fast Leave ................................................................................................................221
Configuring IGMP Snooping in the VLAN .................................................................................................................222
Configuring IGMP Snooping Globally in the VLAN ..............................................................................222
(Optional) Configuring the Static Router Ports in the VLAN ..........................................................223
(Optional) Configuring the Forbidden Router Ports in the VLAN ................................................223
Configuring the Multicast VLAN ....................................................................................................................................223
Creating Multicast VLAN and Configuring Basic Settings ..............................................................224
(Optional) Creating Replace Source IP ......................................................................................................225
Viewing Dynamic Router Ports in the Multicast VLAN ......................................................................225
(Optional) Configuring the Static Router Ports ......................................................................................225
(Optional) Configuring the Forbidden Router Ports ............................................................................225
(Optional) Configuring the Querier ................................................................................................................................226
Configuring the Querier ......................................................................................................................................226
Viewing Settings of IGMP Querier ................................................................................................................227
Editing IP Range of the Profile ........................................................................................................................228
Binding Profile and Member Ports ................................................................................................................................228
Binding Profile and Member Ports ...............................................................................................................229
Configuring Max Groups a Port Can Join.................................................................................................229
Viewing IGMP Statistics on Each Port ........................................................................................................................230
Configuring Auto Refresh .................................................................................................................................230
Configuring Static Member Port ....................................................................................................................................231
Configuring Static Member Port ...................................................................................................................231
Viewing IGMP Static Multicast Groups ......................................................................................................232
Using the CLI ..........................................................................................................................................................................................232
Enabling IGMP Snooping on the Port .........................................................................................................................232
Configuring IGMP Snooping Parameters on the Port .......................................................................................236
Configuring Router Port Time and Member Port Time .....................................................................236
Configuring Fast Leave ......................................................................................................................................237
Configuring Max Group and Overflow Action on the Port ..............................................................238
Configuring IGMP Snooping Last Listener Query ...............................................................................................239
Configuring IGMP Snooping Parameters in the VLAN ......................................................................................240
Configuring Router Port Time and Member Port Time .....................................................................240
Configuring Static Router Port .......................................................................................................................241
Configuring Forbidden Router Port .............................................................................................................242
Configuring Static Multicast (Multicast IP and Forward Port)........................................................243
Configuring IGMP Snooping Parameters in the Multicast VLAN ................................................................244
Configuring Router Port Time and Member Port Time .....................................................................244
Configuring Static Router Port .......................................................................................................................245
Configuring Forbidden Router Port .............................................................................................................246
Configuring Replace Source IP ......................................................................................................................247
Configuring the Querier ......................................................................................................................................................248
Binding Profile to the Port .................................................................................................................................251
Using the GUI .........................................................................................................................................................................................253
Using the CLI ..........................................................................................................................................................................................253
Example for Configuring Basic IGMP Snooping .................................................................................................................255
Using the GUI ............................................................................................................................................................................256
Using the CLI ............................................................................................................................................................................259
Example for Configuring Multicast VLAN ...............................................................................................................................261
Using the GUI ............................................................................................................................................................................262
Using the CLI ............................................................................................................................................................................265
Example for Configuring Unknown Multicast and Fast Leave ....................................................................................267
Using the GUI ............................................................................................................................................................................268
Using the CLI ............................................................................................................................................................................271
Example for Configuring Multicast Filtering ..........................................................................................................................272
Using the GUI ............................................................................................................................................................................273
Using the CLI ............................................................................................................................................................................280
Supported Features ...........................................................................................................................................................................285
Using the GUI .........................................................................................................................................................................................287
Using CLI ..................................................................................................................................................................................................290
Bandwidth Control Configuration .............................................................................................................................296
Using the GUI .........................................................................................................................................................................................296
Configuring Storm Control ...............................................................................................................................................297
Using the CLI ..........................................................................................................................................................................................298
Configuring Rate Limit on Port .......................................................................................................................................298
Configuring Storm Control ...............................................................................................................................................299
Example for Configuring SP Mode .............................................................................................................................................301
Using the GUI ............................................................................................................................................................................302
Using the CLI ............................................................................................................................................................................302
Example for Configuring WRR Mode ........................................................................................................................................303
Using the GUI ............................................................................................................................................................................304
Using the CLI ............................................................................................................................................................................313
Using the GUI .........................................................................................................................................................................................322
Configuring Voice VLAN Mode on Ports ..................................................................................................................324
Using the CLI .........................................................................................................................................................................................325
Configuration Example .................................................................................................................................................328
Using the GUI .........................................................................................................................................................................................329
Using the CLI ..........................................................................................................................................................................................337
Supported Features ...........................................................................................................................................................................343
PoE Power Management Configurations ..............................................................................................................344
Using the GUI .........................................................................................................................................................................................344
Configuring the PoE Parameters Manually ..............................................................................................................344
Configuring the PoE Parameters Using the Profile .............................................................................................346
Using the CLI ..........................................................................................................................................................................................348
Configuring the PoE Parameters Manually ..............................................................................................................348
Configuring the PoE Parameters Using the Profile .............................................................................................350
Time-Range Function Configurations .....................................................................................................................352
Using the GUI .........................................................................................................................................................................................352
Creating a Time-Range .......................................................................................................................................................352
Configuring the Holiday Parameters ...........................................................................................................................354
Viewing the Time-Range Table ......................................................................................................................................354
Using the CLI ..........................................................................................................................................................................................355
Configuring a Time-Range ................................................................................................................................................355
Configuring the Holiday Parameters ...........................................................................................................................357
Viewing the Time-Range Table ......................................................................................................................................358
Example for PoE Configurations ...............................................................................................................................359
Using the GUI .........................................................................................................................................................................................359
Using the CLI ..........................................................................................................................................................................................361
Supported Features ...........................................................................................................................................................................365
Using the GUI .........................................................................................................................................................................................366
Creating an ACL ......................................................................................................................................................................366
Configuring the ACL Binding and Policy Binding .................................................................................................371
Using the CLI ..........................................................................................................................................................................................376
ACL Binding and Policy Binding .....................................................................................................................................381
Configuration Example for ACL .................................................................................................................................384
Using the GUI .........................................................................................................................................................................................385
Using the CLI ..........................................................................................................................................................................................389
Supported Features ...........................................................................................................................................................................393
Using the GUI .........................................................................................................................................................................................397
Viewing the Binding Entries ..............................................................................................................................................400
Using the CLI ..........................................................................................................................................................................................401
Using the GUI .........................................................................................................................................................................................404
Enabling DHCP Snooping on VLAN .............................................................................................................................404
Configuring DHCP Snooping on Ports ......................................................................................................................405
Using the CLI ..........................................................................................................................................................................................407
Enabling DHCP Snooping on VLAN .............................................................................................................................407
Configuring DHCP Snooping on Ports ......................................................................................................................408
Using the GUI .........................................................................................................................................................................................412
Using the CLI ..........................................................................................................................................................................................416
DoS Defend Configuration ..........................................................................................................................................419
Using the GUI .........................................................................................................................................................................................419
Using the CLI ..........................................................................................................................................................................................420
Using the GUI .........................................................................................................................................................................................423
Configuring the RADIUS Server .....................................................................................................................................423
Configuring 802.1X on Ports ...........................................................................................................................................429
Using the CLI ..........................................................................................................................................................................................430
Configuring the RADIUS Server .....................................................................................................................................430
Configuring 802.1X on Ports ...........................................................................................................................................434
Using the GUI .........................................................................................................................................................................................438
Configuring Server Groups ...............................................................................................................................................440
Configuring the Method List ............................................................................................................................................441
Configuring the AAA Application List .........................................................................................................................442
Configuring Login Account and Enable Password .............................................................................................443
Using the CLI ..........................................................................................................................................................................................444
Configuring Server Groups ...............................................................................................................................................447
Configuring the Method List ............................................................................................................................................448
Configuring the AAA Application List .........................................................................................................................449
Configuring Login Account and Enable Password .............................................................................................454
Example for DHCP Snooping and ARP Detection ............................................................................................................456
Using the GUI ............................................................................................................................................................................457
Using the CLI ............................................................................................................................................................................460
Example for 802.1X ............................................................................................................................................................................462
Using the GUI ............................................................................................................................................................................463
Using the CLI ............................................................................................................................................................................466
Example for AAA ..................................................................................................................................................................................468
Using the GUI ............................................................................................................................................................................469
Using the CLI ............................................................................................................................................................................472
Using the GUI .........................................................................................................................................................................................485
Creating an SNMP View......................................................................................................................................................485
Creating an SNMP Group ..................................................................................................................................................486
Using the CLI ..........................................................................................................................................................................................490
Creating an SNMP View......................................................................................................................................................492
Creating an SNMP Group ..................................................................................................................................................493
Using the GUI .........................................................................................................................................................................................498
Using the CLI ..........................................................................................................................................................................................500
Configuring the Host ............................................................................................................................................................500
Using the GUI .........................................................................................................................................................................................506
Configuring History ...............................................................................................................................................................507
Using the CLI ..........................................................................................................................................................................................511
Configuring History ...............................................................................................................................................................512
Configuration Example ................................................................................................................................................517
Using the GUI .........................................................................................................................................................................................518
Using the CLI ..........................................................................................................................................................................................523
Supported Features ...........................................................................................................................................................................534
Using the GUI .........................................................................................................................................................................................535
Global Config ............................................................................................................................................................................535
Port Config .................................................................................................................................................................................537
Using the CLI ..........................................................................................................................................................................................538
Global Config ............................................................................................................................................................................538
Port Config .................................................................................................................................................................................540
Using the GUI .........................................................................................................................................................................................542
Global Config ............................................................................................................................................................................542
Port Config .................................................................................................................................................................................543
Using the CLI ..........................................................................................................................................................................................545
Global Config ............................................................................................................................................................................545
Port Config .................................................................................................................................................................................546
Using GUI ..................................................................................................................................................................................................549
Viewing LLDP Device Info .................................................................................................................................................549
Using CLI ..................................................................................................................................................................................................553
Using GUI ..................................................................................................................................................................................................554
Using CLI ..................................................................................................................................................................................................556
Configuration Example .................................................................................................................................................558
Example for Configuring LLDP ....................................................................................................................................................558
Using the GUI ............................................................................................................................................................................558
Using CLI .....................................................................................................................................................................................559
Example for Configuring LLDP-MED ........................................................................................................................................565
Using the GUI ............................................................................................................................................................................566
Using the CLI ............................................................................................................................................................................570
Supported Features ...........................................................................................................................................................................579
Monitoring the System .................................................................................................................................................580
Using the GUI .........................................................................................................................................................................................580
Monitoring the CPU ..............................................................................................................................................................580
Monitoring the Memory ......................................................................................................................................................581
Using the CLI ..........................................................................................................................................................................................582
Monitoring the CPU ..............................................................................................................................................................582
Monitoring the Memory ......................................................................................................................................................582
System Log Configurations .......................................................................................................................................583
Using the GUI .........................................................................................................................................................................................584
Configuring the Local Log .................................................................................................................................................584
Configuring the Remote Log ...........................................................................................................................................584
Backing up the Log File .....................................................................................................................................................585
Viewing the Log Table .........................................................................................................................................................586
Using the CLI ..........................................................................................................................................................................................586
Configuring the Local Log .................................................................................................................................................586
Configuring the Remote Log ...........................................................................................................................................588
Diagnosing the Device ..................................................................................................................................................590
Using the GUI .........................................................................................................................................................................................590
Using the CLI ..........................................................................................................................................................................................591
Diagnosing the Network ...............................................................................................................................................592
Using the GUI .........................................................................................................................................................................................592
Configuring the Ping Test ..................................................................................................................................................592
Configuring the Tracert Test ...........................................................................................................................................593
Using the CLI ..........................................................................................................................................................................................593
Configuring the Ping Test ..................................................................................................................................................593
Configuring the Tracert Test ...........................................................................................................................................594
Configuration Example for Remote Log .................................................................................................................596
Using the GUI ........................................................................................................................................................................................596
Using the CLI .........................................................................................................................................................................................597
This Configuration Guide provides information for managing T1600G Series 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
Some models featured in this guide may be unavailable in your country or region. For local
sales information, visit http://www.tp-link.com.
When using this guide,please notice that features of the switch may vary slightly
depending on the model and software version you have. All screenshots, images,
parameters and descriptions documented in this guide are used for demonstration only.
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
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.
stands for
. Notes contains suggestions or references that helps you
Note
Bold font indicates a button, a toolbar icon, menu or menu item.
For CLI:
Bold FontAn unalterable keyword.
For example: show logging
Configuration 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.
The latest software and documentations can be found at Download Center at http://
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 http://www.tp-link.com.
A Technical Support Forum is provided for you to discuss our products at http://forum.
tp-link.com.
Our Technical Support contact information can be found at the Contact Technical
Support page at http://www.tp-link.com/support.
Configuration Guide 2
Part 1
Accessing the Switch
CHAPTERS
1. Overview
2. Web Interface Access
3. Command Line Interface Access
Accessing the SwitchOverview
1
Overview
You can access and manage the switch using the GUI (Graphical User Interface, also called
web interface in this text) or using 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.
Configuration 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
5) The typical web interface displays below. You can view the switch’s running status and
configure the switch on this interface.
Configuration Guide
5
Accessing the SwitchWeb Interface Access
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 user the Save Config
function on the main interface to save the configurations in the start-up configuration file.
Figure 2-4 Save Config
Configuration Guide 6
Accessing the SwitchWeb Interface Access
2.3 Disable the Web Server
You can shut down the HTTP server or HTTPS server to block any access to the web
interface.
System > Access Security > HTTP Config, disable the HTTP server and click Apply.
Go to
Figure 2-5 Shut down HTTP server
System > Access Security > HTTPS Config, disable the HTTPS server and click Apply.
Go to
Figure 2-6 Disbale the HTTPS Server
2.4 Configure the Switch's IP Address and Default Gateway
The default IP address of the switch is 192.168.0.1, and the default gateway is 0.0.0.0. You
can change the IP address and default gateway of the switch according to your needs.
System > System Info > System IP
Go to
to load the following page.
Configuration Guide
7
Accessing the SwitchWeb Interface Access
Figure 2-7 Change the default IP address
IP Address
Mode
Management
VLAN
IP AddressEnter a new IP address. Make sure the route between the management host and the
Subnet MaskEnter a new subnet mask.
Default GatewayEnter your desired default gateway.
Choose the IP address mode as Static IP.
This is the only VLAN through which you can get access to the switch. By default, all
the ports are belonged to VLAN 1, and VLAN 1 is the Management VLAN, you can
connect to the switch through VLAN 1. However, if another VLAN is created and set to
be the Management VLAN, you may have to reconnect the management station to a
port that is a member of the Management VLAN.
switch’s new IP address id available.
Configuration 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) 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.
Configuration Guide
9
Accessing the SwitchCommand Line Interface Access
Figure 3-1 CLI Main Window
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.
Configuration 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
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.
Configuration Guide
11
Accessing the SwitchCommand Line Interface Access
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
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.
Configuration Guide 12
Accessing the SwitchCommand Line Interface Access
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
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.
Configuration 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
Configuration 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
5) Go to Connection > SSH > Auth. Click Browse to download the private key file to
PuTTY. Click Open to start the connection and negotiation.
Configuration Guide
15
Accessing the SwitchCommand Line Interface Access
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
3.4 Disable Telnet login
You can shut down the Telnet function to block any Telnet access to the CLI interface.
Using the GUI:
System > Access Security > Telnet Config, disable the Telnet function and click Apply.
Go to
Figure 3-16 Disable Telnet login
Configuration Guide 16
Accessing the SwitchCommand Line Interface Access
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:
System > Access Security > SSH Config, disable the SSH server and click Apply.
Go to
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.
If you need to keep he configurations after the switch reboots, please use 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
Configuration Guide
17
Accessing the SwitchCommand Line Interface Access
3.7 Change the Switch's IP Address and Default Gateway
If you want to access the switch via a specified port (hereafter referred to as the access
port), you can configure the port as a routed port and specify its IP address, or configure
the IP address of the VLAN which the access port belongs to.
Change the IP Address
By default, all the ports belong to VLAN 1 with the VLAN interface IP 192.168.0.1/24. In
the following example, we will show how to replace the switch’s default access IP address
The System module is mainly used to configure and view the system information of the
switch. It provides controls over the type of the access users and the access security.
1.2 Supported Features
System Info
The System Info is mainly used for the basic properties configuration. You can view the
switch’s port status and system information, and configure the device description, system
time, and daylight saving time.
User management
User Management function is used to configure the user name and password for users to
log into the switch with a certain access level so as to protect the settings of the switch
from being randomly changed.
System Tools
The System Tools are used to manage the configuration file of the switch. With these tools,
you can configure the boot file of the switch, backup and restore the configurations of the
switch, update the firmware, reset the switch, and reboot the switch.
Boot Config function is used to configure the boot file of the switch uploaded before, and
the switch will boot up according to your configuration file.
Access Security
Access Security provides different security measures for accessing the switch remotely
so as to enhance the configuration management security.
Access Control function is used to control the users’ access to the switch by filtering IP
address, MAC address or port.
HTTP Config function is based on the HTTP protocol. It can allow or deny users to access
the switch via a web browser.
HTTPS Config function is based on the SSL or TLS protocol working in transport layer. It
supports a security access via a web browser.
Configuration Guide 20
Managing SystemSystem
SSH Config function is based on the SSH protocol, a security protocol established on
application and transport layers. The function with SSH is similar to a telnet connection, but
SSH can provide information security and powerful authentication.
Configuration Guide
21
Managing SystemSystem Info Configurations
2
System Info Configurations
With system information configurations, you can:
View the system summary
Specify the device description
Set the system time
Set the daylight saving time
Specify the system IP
2.1 Using the GUI
2.1.1 Viewing the System Summary
Choose the menu System > System Info > System Summary to load the following page.
Figure 2-1 Viewing the System Summary
Port StatusIndication
Configuration Guide 22
Managing SystemSystem Info Configurations
Indicates that the corresponding 100Mbps port is not connected to a device.
Indicates that the corresponding 1000Mbps port is at the speed of 100Mbps.
Indicates that the corresponding 1000Mbps port is not connected to a device.
Indicates that the corresponding 1000Mbps port is at the speed of 1000Mbps.
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.
Move the cursor to the port to view the detailed information of the port.
Figure 2-2 Port Information
Port InformationIndication
PortDisplays the port number of the switch.
TypeDisplays the type of the port.
SpeedDisplays the maximum transmission rate of the port.
StatusDisplays the connection status of the port.
Click a port to view the bandwidth utilization on this port.
Configuration Guide
23
Managing SystemSystem Info Configurations
Figure 2-3 Bnadwidth Utilization
RxSelect Rx to view the bandwidth utilization of receiving packets on this port.
TxSelect Tx to view the bandwidth utilization of sending packets on this port.
2.1.2 Specifying the Device Description
Choose the menu System > System Info > Device Description to load the following page.
Figure 2-4 Specifying the Device Description
1) In the Device Description section, specify the following information.
Device NameEnter the name of the switch.
Device LocationEnter the location of the switch.
System ContactEnter the contact information.
2) Click Apply.
Configuration Guide 24
Managing SystemSystem Info Configurations
2.1.3 Setting the System Time
Choose the menu System > System Info > System Time to load the following page.
Figure 2-5 Setting the System Time
In the Time Info section, view the current time information of the switch.
Current System
Time
Current Time
Source
Displays the current date and time of the switch.
Displays the current time source of the switch.
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 information.
ManualSet the system time manually.
Date: Specify the date of the system.
Time: Specify the time of the system.
Configuration Guide
25
Managing SystemSystem Info Configurations
Get Time from
NTP Server
Synchronize
with PC’s Clock
Set the system time by getting time from 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.
Update Rate: Specify the interval the switch fetching time from NTP server, which
ranges from 1 to 24 hours. The default value is 12 hours.
Synchronize the system time of the switch with PC’s clock.
2) Click Apply.
2.1.4 Setting the Daylight Saving Time
Choose the menu System > System Info > Daylight Saving Time to load the following
page.
Figure 2-6 Setting the Daylight Saving Time
Follow these steps to configure Daylight Saving Time:
1) In the DST Config section, select Enable to enable the Daylight Saving Time function.
2) Choose one method to set the Daylight Saving Time of the switch and specify the
information.
Configuration Guide 26
Managing SystemSystem Info Configurations
Predefined
Mode
Recurring ModeIf you select Recurring Mode, specify a cycle time range for the Daylight Saving
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.
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 Specifying the System IP
Note:
Before configuring Management VLAN, make sure the VLAN will be set as the management VLAN is
configured correctly and at least one port’s PVID is set as the management VLAN ID.
Choose the menu System > System Info > System IP to load the following page.
Configuration Guide
27
Managing SystemSystem Info Configurations
Figure 2-7 Configuring the system IP
1) In the IP Config section, specify the following information.
IP Address
Mode
Management
VLAN
IP addressEnter the IP address for the switch.
Subnet MaskEnter the subnet mask for the switch.
Default GatewayEnter the default gateway for the switch.
2) Click Apply.
2.2 Using the CLI
Select the mode to obtain IP address for the switch.
Static IP: Select to specify the IP address, subnet mask and default gateway
manually.
DHCP: Select to let the switch obtain network parameters from the DHCP server.
BOOTP: Select to let the switch obtain network parameters from the BOOTP
server.
Enter the ID for management VLAN. Only the members belong to the management
VLAN can access to the switch.
2.2.1 Viewing the System Summary
On privileged EXEC mode or any other configuration mode, you can use the following
command to view the system information of the switch:
show interface status [ fastEthernet
View status of the interface.
: Enter the number of the Ethernet port.
port
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.
| gigabitEthernet
port
| ten-gigabitEthernet
port
]
port
Configuration Guide 28
Managing SystemSystem Info Configurations
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
Software Version - 1.0.3 Build 20170220 Rel.34965(s)
System Time - 2016-01-04 10:07:38
Running Time - 3 day - 2 hour - 8 min - 26 sec
2.2.2 Specifying the Device Description
Follow these steps to specify the device description:
Step 1configure
Enter global configuration mode.
Step 2hostname [
Specify the system name of the switch.
hostname
default, it is the model name of the switch.
: Enter the system name. The length of the name ranges from 1 to 32 characters. By
hostname
]
Configuration Guide
29
Managing SystemSystem Info Configurations
Step 3location [
Specify the system location of the switch.
location
it is “SHENZHEN”.
Step 4contact-info [
Specify the system contact Information.
contact-info
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.
Step 7copy running-config startup-config
Save the settings in the configuration file.
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. By
]
The following example shows how to set the device name as Switch_A, set the location as
BEIJING and set the contact information as http://www.tp-link.com.
System Description - JetStream 48-Port Gigabit Smart Switch with 4 SFP Slots
System Name - Switch_A
System Location - BEIJING
Contact Information - http://www.tp-link.com
...
Switch(config)#end
Switch#copy running-config startup-config
2.2.3 Setting the System Time
Follow these steps and choose one method to set the system time:
Configuration Guide 30
Managing SystemSystem Info Configurations
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.
: Specify the date and time manually in the format of MM/DD/YYYY-HH:MM:SS. The valid
time
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:
system-time ntp {
Configure the time zone and the NTP server to get 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.
timezone
: Enter your local time-zone, which ranges from UTC-12:00 to UTC+13:00.
time
timezone
} {
ntp-server
} {
backup-ntp-server
} {
fetching-rate
}
Configuration Guide
31
Managing SystemSystem Info Configurations
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).
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.
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
: 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.
Configuration Guide 32
Managing SystemSystem Info Configurations
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.
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 and choose one method to set the Daylight Saving Time:
Step 1configure
Enter global configuration mode.
Configuration Guide
33
Managing SystemSystem Info Configurations
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
Specify the Daylight Saving Time in Recuring mode.
: Enter the start week of Daylight Saving Time. There are 5 values showing as follows:
sweek
first, second, third, fourth, last.
: Enter the start day of Daylight Saving Time. There are 7 values showing as follows: Sun,
sday
Mon, Tue, Wed, Thu, Fri, Sat.
smonth
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
: Enter the start time of Daylight Saving Time,in the format of HH:MM.
stime
: Enter the end week of Daylight Saving Time. There are 5 values showing as follows:
eweek
first, second, third, fourth, last.
: Enter the end day of Daylight Saving Time. There are 7 values showing as follows: Sun,
eday
Mon, Tue, Wed, Thu, Fri, Sat.
emonth
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
: Enter the end time of Daylight Saving Time,in the format of HH:MM.
etime
: Enter the offset of Daylight Saving Time. The default value is 60.
offset
]
offset
: Enter the start month of Daylight Saving Time. There are 12 values showing as follows:
: Enter the end month of Daylight Saving Time. There are 12 values showing as follows:
sweek
} {
sday
} {
smonth
} {
stime
} {
eweek
} {
eday
} {
emonth
} {
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
} {
sday
} {
stime
} {
syear
} {
emonth
} {
eday
Configuration Guide 34
} {
etime
} {
eyear
} [
Managing SystemSystem Info Configurations
: Enter the start month of Daylight Saving Time. There are 12 values showing as follows:
smonth
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
: Enter the start day of Daylight Saving Time, which ranges from 1 to 31.
sday
: Enter the start time of Daylight Saving Time,in the format of HH:MM.
stime
: Enter the start year of Daylight Saving Time.
syear
: Enter the end month of Daylight Saving Time. There are 12 values showing as follows:
emonth
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
: Enter the end day of Daylight Saving Time, which ranges from 1 to 31.
eday
: Enter the end time of Daylight Saving Time,in the format of HH:MM.
etime
: Enter the end year of Daylight Saving Time.
eyear
: Enter the offset of Daylight Saving Time. The default value is 60.
offset
Step 3show system-time dst
Verify the DST information of the switch.
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 set the Daylight Saving Time by Date Mode. Set the
start time as 01:00 August 1st, 2016, set the end time as 01:00 September 1st, 2016 and
set the offset as 50.
Switch#configure
Switch(config)#system-time dst date Aug 1 01:00 2016 Sep 1 01:00 2016 50
Switch(config)#show system-time dst
DST starts at 01:00:00 on Aug 1 2016
DST ends at 01:00:00 on Sep 1 2016
DST offset is 50 minutes
DST configuration is one-off
Switch(config)#end
Switch#copy running-config startup-config
2.2.5 Specifying the System IP
Note:
Before configuring Management VLAN, make sure the VLAN will be set as the management VLAN is
configured correctly and at least one port’s PVID is set as the management VLAN ID.
Configuration Guide
35
Managing SystemSystem Info Configurations
Follow these steps and choose one method to specify the system IP:
Step 1configure
Enter global configuration mode.
Step 2ip management-vlan
Specify the ID for management VLAN. Only the members belong to the management VLAN
can access to the switch.
: Enter the ID for management VLAN.
vlan-id
Step 3interface vlan
Enter the Interface Configuration Mode of the management VLAN.
: Enter the IEEE 802.1Q VLAN ID of the management VLAN, ranging from 1 to 4094.
vlan-id
Step 4Use the following command to specify the network parameters manually.
ip address {
Specify the system lP of the switch manually.
ip-addr
ip-mask
gateway
Use the following command to let the switch obtain network parameters from DHCP server or
BOOTP server.
ip-addr
: Enter the system IP for the switch. By default, it is 192.168.0.1.
: Enter the subnet mask for the switch. By default, it is 255.255.255.0.
: Enter the gateway for the switch.
vlan-id
vlan-id
} {
ip-mask
} [
gateway
]
ip address-alloc { dhcp | bootp }
Specify the method how the switch obtains network parameters.
dhcp: Select to let the switch obtain network parameters from DHCP server.
bootp: Select to let the switch obtain network parameters from BOOTP server.
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 management VLAN as VLAN 2. Set the IP
address as 192.168.0.12 and set the subnet mask as 255.255.255.0.
Switch#configure
Switch(config)#ip management-vlan 2
#2006-01-01 08:08:44,[NETIF]/5/Line protocol on Interface Vlan1, changed state to down
by admin on vty0 (192.168.0.100).
#2006-01-01 08:09:19,[NETIF]/5/Line protocol on Interface Vlan2, changed state to up.
Choose the menu System > User Management > User Config to load the following page.
Figure 3-1 Create Admin Accounts
Follow these steps to create an Admin account:
1) In the User Info section, select Admin from the drop-down list and specify the user
name and password.
User NameCreate a user name for users' login. It contains 16 characters at most,
composed of digits, English letters and underscore only.
Configuration Guide 38
Managing SystemUser Management Configurations
Access LevelSelect the access level as Admin.
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.
PasswordType a password for users' login. It is a string from 1 to 31 alphanumeric
characters or symbols. You can use digits, English letters (case sensitive),
underscore and sixteen special characters.
Confirm
Password
Retype the password.
2) Click Create.
3.1.2 Creating Accounts of Other Types
You can create accounts with the access level of Operator,Power User and User here. You
also need to go to the AAA section to create an Enable Password for these accounts. The
Enable Password is used to change the users’ access level to Admin.
Creating an Account
Choose the menu System > User Management > User Config to load the following page.
Figure 3-2 Create Accounts of Other Types
Follow these steps to create an account of other types:
1) In the User Info section, select the access level from the drop-down list and specify the
user name and password.
Configuration Guide
39
Managing SystemUser Management Configurations
User NameCreate a user name for users' login. It contains 16 characters at most,
composed of digits, English letters and under dashes only.
Access LevelSelect the access level as Operator, Power User or User.
Admin: Admin can edit, modify and view all the settings of different
functions.
Operater: 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.
PasswordType a password for users' login. It is a string from 1 to 31 alphanumeric
characters or symbols. You can use digits, English letters (case sensitive),
underscore and sixteen special characters.
Confirm
Password
Retype the password.
2) Click Create.
Configuring Enable Password
Choose the menu Network Security > AAA > Global Config to load the following page.
Figure 3-3 Configure the AAA Function
1) Select Enable and Click Apply to enable the AAA function.
2) Specify the Enable Password and Click Apply.
Tips:
The AAA function applies another method to manage the access users' name and
password. For details, refer to
The logged-in users can enter the Enable Password on this page to get the
AAA Configuration
in
Configuring Network Security.
administrative privileges.
Configuration Guide 40
Managing SystemUser Management Configurations
3.2 Using the CLI
3.2.1 Creating Admin Accounts
Follow these steps to create an Admin account:
Step 1configure
Enter global configuration mode.
Step 2Use the following command to create an account unencrypted or symmetric encrypted.
user name
Create an account whose access level is Admin.
: Enter a user name for users’ login. It contains 16 characters at most, composed of
name
digits, English letters and underscore only.
admin: Select the access level for the user. Admin can edit, modify and view all the settings of
different functions.
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
or symbols. The password is case sensitive, allows digits, English letters (case sensitive),
underlines and sixteen special characters.
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.
user name
: Enter a password for users’ login. It is a string from 1 to 31 alphanumeric characters
{ privilege admin } password { [ 0 ]
name
: Enter a symmetric encrypted password with fixed length, which you can
{ privilege admin } secret { [ 0 ]
name
password
password
| 7
encrypted-password
| 5
encrypted-password
}
}
Create an account whose access level is Admin.
: Enter a user name for users’ login. It contains 16 characters at most, composed of
name
digits, English letters and underscore only.
admin: Select the access level for the user. Admin can edit, modify and view all the settings of
different functions.
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
or symbols. The password is case sensitive, allows digits, English letters (case sensitive),
underlines and sixteen special characters.
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.
: Enter a password for users’ login. It is a string from 1 to 31 alphanumeric characters
: Enter a MD5 encrypted password with fixed length, which you can copy
Configuration Guide
41
Managing SystemUser Management Configurations
Step 3show user account-list
Verify the information of the current users.
Step 4end
Return to privileged EXEC mode.
Step 5copy running-config startup-config
Save the settings in the configuration file.
3.2.2 Creating Accounts of Other Types
You can create accounts with the access level of Operator, Power user and User here. You
also need to go to the AAA section to create an Enable Password for these accounts. The
Enable Password is used to change the users’ access level to Admin.
Follow these steps to create an account of other type:
Step 1configure
Enter global configuration mode.
Configuration Guide 42
Managing SystemUser Management Configurations
Step 2Use the following command to create an account unencrypted or symmetric encrypted.
user name
encrypted-password
Create an account whose access level is Operator, Power User or User.
: Enter a user name for users’ login. It contains 16 characters at most, composed of
name
digits, English letters and underscore only.
operator | power_user | user: Select the access level for the user. 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
or symbols. The password is case sensitive, allows digits, English letters (case sensitive),
underlines and sixteen special characters.
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.
: Enter a password for users’ login. It is a string from 1 to 31 alphanumeric characters
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.
: Enter a symmetric encrypted password with fixed length, which you can
password
| 7
Use the following command to create an account MD5 encrypted.
user name
password
Create an account whose access level is Operator, Power User or User.
name
digits, English letters and underscore only.
operator | power_user | user: Select the access level for the user. 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
or symbols. The password is case sensitive, allows digits, English letters (case sensitive),
underlines and sixteen special characters.
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 is a string from 1 to 31 alphanumeric characters
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.
: Enter a MD5 encrypted password with fixed length, which you can copy
password
| 5
encrypted-
Step 3aaa enable
Globally enable the AAA function.
Configuration Guide
43
Managing SystemUser Management Configurations
Step 4Use 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
or symbols. The password is case sensitive, allows digits, English letters (case sensitive),
underlines and sixteen special characters.
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.
: Enter an enable password. It is a string from 1 to 31 alphanumeric characters
: Enter a symmetric encrypted password with fixed length, which you can
password
password
| 7
encrypted-password
| 5
encrypted-password
}
}
password
or symbols. The password is case sensitive, allows digits, English letters (case sensitive),
underlines and sixteen special characters.
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 5show user account-list
Verify the information of the current users.
Step 6end
Return to privileged EXEC mode.
Step 7copy running-config startup-config
Save the settings in the configuration file.
: Enter an enable password. It is a string from 1 to 31 alphanumeric characters
: Enter a MD5 encrypted password with fixed length, which you can copy
Tips:
The AAA function applies another method to manage the access users’ name and
password. For details, refer to
AAA Configuration
in
Configuring Network Security
.
The logged-in users can enter the Enable Password on this page to get the
administrative privileges.
Configuration Guide 44
Managing SystemUser Management Configurations
The following example shows how to create a uesr with the access level of Operator, set
the user name as user1 and set the password as 123. Enable AAA function and set the
enable password as abc123.
Switch#configure
Switch(config)#user name user1 privilege operator password 123
Switch(config)#aaa enable
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
Configuration Guide
45
Managing SystemSystem Tools Configurations
4
System Tools Configurations
With system tools configurations, 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
Follow these steps to configure the boot file:
1) In the Boot Table section, select one or more units and configure the relevant
parameters.
SelectSelect one or more units to be configured.
Configuration Guide 46
Managing SystemSystem Tools Configurations
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
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 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.
2) Click Apply.
4.1.2 Restoring the Configuration of the Switch
Choose the menu System > System Tools > Config Restore to load the following page.
Figure 4-2 Restoring the Configuration of the Switch
Follow these steps to restore the configuration of the switch:
1) In the Config Restore section, select one unit and one configuration file.
Target UnitSelect a member switch to import configuration file. .
Config fileSelect the desired configuration file to import.
2) Click Import to import the configuration file.
Note:
It will take a long time to restore the configuration. Please wait without any operation.
•
After the configuration is restored successfully, the device will reboot to make the configura-
•
tion change effective.
Configuration Guide
47
Managing SystemSystem Tools Configurations
4.1.3 Backing up the Configuration File
Choose the menu System > System Tools > Config Backup 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.
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
In the Firmware Upgrade section, select one file and click Upgrade to upgrade the system.
Firmware FileSelect the desired firmware file to upgrade the system.
Image NameDisplays the image to upgrade. It means that the operation will only effect the
backup image.
Firmware VersionDisplays the current firmware version of the system.
Hardware Version
Displays the current hardware version of the system.
Configuration Guide 48
Managing SystemSystem Tools Configurations
After upgrading, the
device will reboot
automatically with
the backup image
Select this option to reboot automatically with the backup image after upgrading.
4.1.5 Rebooting the switch
Choose the menu System > System Tools > System Reboot to load the following page.
Figure 4-5 Rebooting the switch
In the System Reboot section, select the desired unit and click Reboot.
Target UnitSelect the desired unit to reboot. By default, it is ALL Unit.
Save ConfigSelect this option to save the configuration before the reboot.
4.1.6 Reseting the Switch
Choose the menu System > System Tools > System Reset to load the following page.
Figure 4-6 Reseting the Switch
In the System Reset section, select the desired unit and click Reset.
Target UnitSelect the desired unit to reset. By default, it is ALL Unit.
Note:
After the system is reset, configurations of the switch will be reset to the default.
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
Follow these steps to reboot the switch:
Step 1enable
Enter privileged mode.
Step 2reboot
Reboot the switch.
4.2.6 Reseting the Switch
Follow these steps to reset the switch:
Step 1enable
Enter privileged mode.
Step 2reset
Reset the switch.
Configuration Guide 52
Managing SystemSystem Tools Configurations
Note:
After the system is reset, configurations of the switch will be reset to the default.
Configuration Guide
53
Managing SystemAccess Security Configurations
5
Access Security Configurations
With access security configurations, you can:
Configure the Access Control feature
Configure the HTTP feature
Configure the HTTPS feature
Configure the SSH feature
Enable the telnet function
5.1 Using the GUI
5.1.1 Configuring the Access Control Feature
Choose the menu System > Access Security > Access Control to load the following page.
Figure 5-1 Configuring the Access Control
1) In the Access Control section, select one control mode and specify the parameters.
Control ModeSelect the control mode for users to log in to the web management page.
Disable: The Access Control function is disabled.
IP-based: Only the users within the IP-range you set here are allowed to access
the switch.
MAC-based: Only the users with the MAC address you set here are allowed to
access the switch.
Port-based: Only the users connecting to the ports you set here are allowed to
access the switch.
Configuration Guide 54
Managing SystemAccess Security Configurations
Access
Interface
IP Address/
Mask
MAC Address
Select the interface to control the methods for users’ accessing. The selected
access interfaces will only affect the users you set before.
SNMP: A function to manage the network devices via NMS.
Telnet: A connection type for users to remote login.
SSH: A connection type based on SSH protocol.
HTTP: A connection type based on HTTP protocol.
HTTPS: A connection type based on SSL protocol.
Ping: A communication protocol to test the connection of the network.
If you select IP-based mode, enter the IP address and mask to specify an IP
range. Only the users within this IP range can access the switch.
If you select MAC-based mode, specify the MAC address. Only the users with the
correct MAC address can access the switch.
When the IP-based mode is selected, the following section will display.
IP AddressDisplays the IP range of the entry.
Access
Interface
Operation
Displays the access interface you set of the entry.
Click Edit to modify the parameters of the desired entry.
When the Port-based mode is selected, the following section will display.
PortSelect one or more ports to configure. Only the users connected to these ports are
allowed to access the switch.
2) Click Apply.
Configuration Guide
55
Managing SystemAccess Security Configurations
5.1.2 Configuring the HTTP Function
Choose the menu System > Access Security > HTTP Config to load the following page.
Figure 5-2 Configuring the HTTP Function
1) In the Global Control section, Select Enable and click Apply to enable the HTTP
function.
HTTPHTTP function is based on the HTTP protocol. It allows users to manage the
switch through a web browser.
2) In the Session Config section, specify the Session Timeout and click Apply.
Session
Timeout
The system will log out automatically if users do nothing within the Session
Timeout time.
3) In the Access User Number section, select Enable and specify the parameters.
Number ControlSelect Enable to control the number of the users logging on to the web
management page at the same time. The total number of users should be no more
than 16.
Admin NumberSpecify the maximum number of users whose access levels are Admin.
Operator
Number
Power User
Number
Specify the maximum number of users whose access levels are Operatorr.
Specify the maximum number of users whose access levels are Power User.
User NumberSpecify the maximum number of users whose access levels are User.
4) Click Apply.
Configuration Guide 56
Managing SystemAccess Security Configurations
5.1.3 Configuring the HTTPS Function
Choose the menu System > Access Security > HTTPS Config to load the following page.
Table 5-1 Configuring the HTTPS Function
1) In the Global Config section, select Enable to enable HTTPS function and select the
protocol the switch supports. Click Apply.
HTTPSSelect Enable to enable the HTTPS function.
HTTPS function is based on the SSL or TLS protocol. It provides a secure
connection between the client and the switch.
Configuration Guide
57
Managing SystemAccess Security Configurations
SSL Version 3Select Enable to make the switch support SSL Version 3 protocol.
SSL is a transport protocol. It can provide server authentication, encryption and
message integrity to allow secure HTTP connection.
TLS Version 1Select Enable to make the switch support TLS Version 1 protocol.
TLS is a transport protocol upgraded from SSL. It supports a different encryption
algorithm from SSL, so TLS and SSL are not compatible. TLS can support a more
secure connection.
2) In the CipherSuite Config section, select the algorithm to be enabled and click Apply.
RSA_WITH_
RC4_128_MD5
RSA_WITH_
RC4_128_SHA
RSA_WITH_
DES_CBC_SHA
RSA_
WITH_3DES_
EDE_CBC_SHA
Key exchange with RC4 128-bit encryption and MD5 for message digest.
Key exchange with RC4 128-bit encryption and SHA for message digest.
Key exchange with DES-CBC for message encryption and SHA for message
digest.
Key exchange with 3DES and DES-EDE3-CBC for message encryption and SHA
for message digest.
3) In the Session Config section, specify the Session Timeout and click Apply.
Session
Timeout
The system will log out automatically if users do nothing within the Session
Timeout time.
4) In the Access User Number section, select Enable and specify the parameters. Click
Apply.
Number ControlSelect Enable to control the number of the users logging in to the web
management page at the same time.
Admin NumberSpecify the maximum number of users whose access levels are Admin.
Operator
Number
Power User
Number
User NumberSpecify the maximum number of users whose access levels are User.
Specify the maximum number of users whose access levels are Operator.
Specify the maximum number of users whose access levels are Power User.
5) In the Certificate Download and Key Download section, download the certificate and
key.
Certificate FileSelect the desired certificate to download to the switch. The certificate must be
BASE64 encoded. The SSL certificate and key downloaded must match each
other, otherwise the HTTPS connection will not work.
Configuration Guide 58
Managing SystemAccess Security Configurations
Key FileSelect the desired Key to download to the switch. The key must be BASE64
encoded. The SSL certificate and key downloaded must match each other,
otherwise the HTTPS connection will not work.
5.1.4 Configuring the SSH Feature
Choose the menu System > Access Security > SSH Config to load the following page.
Figure 5-3 Configuring the SSH Feature
1) In the Global Config section, select Enable to enable SSH function and specify other
parameters.
SSHSelect Enable to enable the SSH function.
SSH is a protocol working in application layer and transport layer. It can provide a
secure, remote connection to a device. It is more secure than Telnet protocol as it
provides strong encryption.
Protocol V1Select Enable to enable SSH version 1.
Protocol V2Select Enable to enable SSH version 2.
Idle TimeoutSpecify the idle timeout time. The system will automatically release the
connection when the time is up.
Configuration Guide
59
Managing SystemAccess Security Configurations
Max ConnectSpecify the maximum number of the connections to the SSH server. New
connection will not be established when the number of the connections reaches
the maximum number you set.
2) In the Encryption Algorithm section, select the encryption algorithm you want the
switch to support and click Apply.
3) In Data Integrity Algorithm section, select the integrity algorithm you want the switch
to support and click Apply.
4) In Key Download section, select key type from the drop-down list and select the
desired key file to down.
Key TypeSelect the key type. The algorithm of the corresponding type is used for both key
generation and authentication.
Key FileSelect the desired public key to download to the switch. The key length of the
downloaded file ranges of 512 to 3072 bits.
Note:
It will take a long time to download the key file. Please wait without any operation.
5.1.5 Enabling the Telnet Function
Choose the menu System > Access Security > Telnet Config to load the following page.
Figure 5-4 Configuring the Telnet Function
In Global Config section, select Enable and click Apply.
TelnetSelect Enable to make the Telnet function effective. Telnet function is based on the
Telnet protocol subjected to TCP/IP protocol. It allows users to log on to the switch
remotely.
5.2 Using the CLI
5.2.1 Configuring the Access Control
Follow these steps to configure the access control:
Step 1configure
Enter global configuration mode.
Configuration Guide 60
Managing SystemAccess Security Configurations
Step 2Use the following command to control the users’ access by limiting the IP address:
user access-control ip-based {
] [ all ]
Only the users within the IP-range you set here are allowed to access the switch.
: Specify the IP address of the user.
ip-addr
ip-mask
[ snmp ] [ telnet ] [ ssh ] [ http ] [ https ] [ ping ] [ all ]: Select to control the types for users’
accessing. By default, these types are all enabled.
Use the following command to control the users’ access by limiting the MAC address:
user access-control mac-based {
all ]
Only the users with the MAC address you set here are allowed to access the switch.
mac-addr
[ snmp ] [ telnet ] [ ssh ] [ http ] [ https ] [ ping ] [ all ]: Select to control the types for users’
accessing. By default, these types are all enabled.
Use the following command to control the users’ access by limiting the ports connected to the
users:
The following example shows how to set the type of access control as IP-based. Set the
IP address as 192.168.0.100,set the subnet mask as 255.255.255.0 and make the switch
support snmp, telnet, http and https.
Enable the corresponding ciphersuite. By default, these types are all enabled.
[ 3des-ede-cbc-sha ]: Key exchange with 3DES and DES-EDE3-CBC for message encryption
and SHA for message digest.
[ rc4-128-md5 ]: Key exchange with RC4 128-bit encryption and MD5 for message digest.
[ rc4-128-sha ]: Key exchange with RC4 128-bit encryption and SHA for message digest.
[ des-cbc-sha ]: Key exchange with DES-CBC for message encryption and SHA for message
digest.
Step 5ip http secure-session timeout
Specify the Session Timeout time. The system will log out automatically if users do nothing
within the Session Timeout time.
minutes
Step 6ip http secure-max-users
Specify the maximum number of users that are allowed to connect to the HTTPS server. The
total number of users should be no more than 16.
admin-num
are from 1 to 16.
operator-num
User or User. The valid values are from 0 to 15.
power-user-num
valid values are from 0 to 15.
user-num
are from 0 to 15.
Step 7ip http secure-server download certificate
Download the desired certificate to the switch from TFTP server.
: Specify the timeout time, which ranges from 5 to 30 minutes. The default value is 10.
: Enter the maximum number of users whose access level is Admin. The valid values
: Enter the maximum number of users whose access level is Operator, Power
: Enter the maximum number of users whose access level is Power User,. The
: Enter the maximum number of users whose access level is User,. The valid values
minutes
admin-num operator-num power-user-num user-num
ssl-cert
ip-address
ip-addr
: Specify the name of the SSL certificate, which ranges from 1 to 25 characters. The
ssl-cert
certificate must be BASE64 encoded. The SSL certificate and key downloaded must match
each other.
: Specify the IP address of the TFTP server. Both IPv4 and IPv6 addresses are
ip-addr
supported.
Step 8ip http secure-server download key
Download the desired key to the switch from TFTP server.
: Specify the name of the key file saved in TFTP server. The key must be BASE64
ssl-key
encoded.
: Specify the IP address of the TFTP server. Both IPv4 and IPv6 addresses are
ip-addr
supported.
Step 9show ip http secure-server
Verify the global configuration of HTTPS.
ssl-key
ip-address
ip-addr
Configuration Guide 64
Managing SystemAccess Security Configurations
Step 10end
Return to privileged EXEC mode.
Step 11copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the HTTPS function. Enable SSL3 and TLS1
protocol. Enable the ciphersuite of 3des-ede-cbc-sha. Set the session timeout time as 15,
the admin number as 1 and the guest number as 2. Download the certificate named ca.crt
and the key named ca.key from the TFTP server with the IP address 192.168.0.100.
Enable the SSH function. By default, it is disabled.
Step 3ip ssh version { v1 | v2 }
Configure to make the switch support the corresponding protocol. By default, the switch
supports SSHv1 and SSHv3.
v1 | v2: Select to enable the corresponding protocol.
Step 4ip ssh timeout
Specify the idle timeout time. The system will automatically release the connection when the
time is up.
: Enter the value of the timeout time, which ranges from 1 to 120 seconds. The default
value
value is 120 seconds.
Step 5ip ssh max-client
Specify the maximum number of the connections to the SSH server. New connection will not
be established when the number of the connections reaches the maximum number you set.
: Enter the number of the connections, which ranges from 1 to 5. The default value is 5.
Specify the encryption algorithm you want the switch supports.
HMAC-SHA1 | HMAC-MD5: Specify the data integrity algorithm you want the switch supports.
Step 7ip ssh download { v1 | v2 }
value
num
key-file
ip-address
ip-addr
Select the type of the key file and download the desired file to the switch from TFTP server.
v1 | v2: Select the key type. The algorithm of the corresponding type is used for both key
generation and authentication.
: Specify the name of the key file saved in TFTP server. Ensure the key length of the
key-file
downloaded file is in the range of 512 to 3072 bits.
: Specify the IP address of the TFTP server. Both IPv4 and IPv6 addresses are
ip-addr
supported.
Step 8show ip ssh
Verify the global configuration of SSH.
Configuration Guide 66
Managing SystemAccess Security Configurations
Step 9end
Return to privileged EXEC mode.
Step 10copy running-config startup-config
Save the settings in the configuration file.
Note:
It will take a long time to download the key file. Please wait without any operation.
The following example shows how to configure the SSH function. Set the version as SSH
V1 and SSH V2. Enable the AES128-CBC and Cast128-CBC encryption algorithm. Enable
the HMAC-MD5 data integrity algorithm. Choose the key type as SSH-2 RSA/DSA.
Enable the telnet function. By default, it is enabled.
Step 3end
Return to privileged EXEC mode.
Step 4copy running-config startup-config
Save the settings in the configuration file.
Configuration Guide 68
Managing SystemAppendix: Default Parameters
6
Appendix: Default Parameters
Default settings of System Info are listed in the following tables.
Table 6-1 Default Settings of Device Description Configuration
ParameterDefault Setting
Device NameThe model name
of the switch.
Device LocationSHENZHEN
System Contactwww.tp-link.com
Table 6-2 Default Settings of System Time Configuration
ParameterDefault Setting
Time SourceManual
System Time2006-01-01
08:01:56 Sunday
Table 6-3 Default Settings of Daylight Saving Time Configuration
ParameterDefault Setting
DST statusDisabled
Default settings of User Management are listed in the following table.
Table 6-4 Default Settings of User Configuration
ParameterDefault Setting
User Nameadmin
Passwordadmin
Access LevelAdmin
Default settings of System Tools are listed in the following table.
Table 6-5 Default Settings of Boot Configuration
ParameterDefault Setting
Current Startup Imageimage1.bin
Next Startup Imageimage1.bin
Backup Imageimage2.bin
Configuration Guide
69
Managing SystemAppendix: Default Parameters
Default settings of Access Security are listed in the following tables.
Table 6-6 Default Settings of Access Control Configuration
ParameterDefault Setting
Control ModeDisabled
Table 6-7 Default Settings of HTTP Configuration
ParameterDefault Setting
HTTPEnabled
Session Timeout10 minutes
Number ControlDisabled
Table 6-8 Default Settings of HTTPS Configuration
ParameterDefault Setting
HTTPSEnabled
SSL Version 3Enabled
TLS Version 1Enabled
RSA_WITH_RC4_128_MD5Enabled
RSA_WITH_RC4_128_SHAEnabled
RSA_WITH_DES_CBC_SHAEnabled
RSA_WITH_3DES_EDE_CBC_
SHA
Session Timeout 10 minutes
Number ControlDisabled
Table 6-9 Default Settings of SSH Configuration
ParameterDefault Setting
SSHDisabled
Protocol V1Enabled
Protocol V2Enabled
Idle Timeout120 seconds
Enabled
Max Connect5
AES128-CBCEnabled
AES192-CBCEnabled
AES256-CBC Enabled
Blowfish-CBCEnabled
Cast128-CBCEnabled
3DES-CBCEnabled
Configuration Guide 70
Managing SystemAppendix: Default Parameters
ParameterDefault Setting
HMAC-SHA1Enabled
HMAC-MD5 Enabled
Key Type:SSH-2 RSA/DSA
Table 6-10 Default Settings of Telnet Configuration
ParameterDefault Setting
Control ModeEnabled
Configuration Guide
71
Part 3
Managing Physical
Interfaces
CHAPTERS
1. Physical Interface
2. Basic Parameters Configurations
3. Port Mirror Configuration
4. Port Security Configuration
5. Port Isolation Configurations
6. Loopback Detection Configuration
7. Configuration Examples
Managing Physical InterfacesPhysical Interface
1
Physical Interface
1.1 Overview
Interfaces of a device are used to exchange data and interact with other network devices.
Interfaces are classified into physical interfaces and logical interfaces.
Physical interfaces are the ports on the front panel or rear panel of the switch.
Logical interfaces are manually configured and do not physically exist, such as
loopback interfaces and routing interfaces.
This chapter introduces the configurations for physical interfaces.
1.2 Supported Features
The switch supports the following features about physical interfaces:
Basic Parameters
You can configure port status, speed mode, duplex mode, flow control and other basic
parameters for ports.
Port Mirror
This function allows the switch to forward packet copies of the monitored ports to a
specific monitoring port. Then you can analyze the copied packets to monitor network
traffic and troubleshoot network problems.
Port Security
You can use this feature to limit the number of MAC addresses that can be learned on each
port, thus preventing the MAC address table from being exhausted by the attack packets.
Port Isolation
You can use this feature to restrict a specific port to send packets to only the ports in the
forward-port list that you configure.
Loopback Detection
This function allows the switch to detect loops in the network. When a loop is detected on a
port, the switch will send a trap message, generate an entry on the log file and further block
the corresponding port according to your configurations.
Choose the menu Switching > Port > Port Config to load the following page.
Figure 2-1 Configuring Basic Parameters
Follow these steps to set basic parameters for ports:
1) Set the jumbo frame value and click Apply. The default MTU (Maximum Transmission
Unit) size for frames received and sent on all ports is 1518 bytes. A higher value means
allowing the port to send jumbo frames. The valid values are from 1518 to 9216 bytes.
2) Select and configure your desired ports or LAGs. Then click Apply.
UNIT:1/LAGSClick 1 to configure physical ports. Click LAGS to configure LAGs.
TypeDisplays the port type. Copper indicates an Ethernet port, and Sfp indicates a fiber
port.
DescriptionGive a port description for identification.
StatusWith this option enabled, the port forwards packets normally. Otherwise, the port
discards all the received packets. By default, it is enabled.
SpeedSelect the appropriate speed mode for the port. When Auto is selected, the port
autonegotiates speed mode with the connected device. The default setting is Auto.
This value is recommended if both ends of the line support auto-negotiation.
DuplexSelect the appropriate duplex mode for the port. There are three options: Half, Full
and Auto. When Auto is selected, the port autonegotiates duplex mode with the
connected device. The default setting is Auto.
Flow ControlWith this option enabled, the switch synchronizes the data transmission speed with
the peer device, thus avoiding the packet loss caused by congestion. By default, it is
disabled.
Note:
We recommend that you set the ports on both ends of a link as the same speed and duplex mode.
2.2 Using the CLI
Follow these steps to set basic parameters for the ports.
Use shutdown to disable the port, and use no shutdown to enable the port. When the
status is enabled, the port can forward packets normally, otherwise it will discard the
received packets. By default, all ports are enabled.
speed { 10 | 100 | 1000 | auto }
Set the appropriate speed mode for the port.
10 | 100 | 1000 | auto: Speed mode of the port. The options are subject to your actual
product. The device connected to the port should be in the same speed and duplex
mode with the port. When auto is selected, the speed mode will be determined by auto
negotiation.
string
: Content of a port description, ranging from 1 to 16 characters.
duplex { auto | full | half }
Set the appropriate duplex mode for the port.
auto | full | half: Duplex mode of the port. The device connected to the port should be in the
same speed and duplex mode with the port. When auto is selected, the duplex mode will be
determined by auto negotiation.
flow-control
Enable the switch to synchronize the data transmission speed with the peer device,
avoiding the packet loss caused by congestion. By default, this feature is disabled.
jumbo-size
Change the MTU (Maximum Transmission Unit) size on the port to support jumbo frames.
The default MTU size for frames received and sent on all ports is 1518 bytes. For the port
with Jumbo enabled, the MTU size is up to 9216 bytes, thus allowing the port to send jumbo
frames.
Step 4show interface configuration [ fastEthernet
port-channel-id
Verify the configuration of the port or LAG.
Step 5end
Return to privileged EXEC mode.
size
]
| gigabitEthernet
port
| port-channel
port
Step 6copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to implement the basic configurations of port1/0/1,
including setting a description for the port, making the port autonegotiate speed and
duplex with the neighboring port, and enabling the flow-control feature.