tp-link TL-SL5428E V2 Reference Guide
![tp-link TL-SL5428E manual cover](/images/663c54cbf69a0a5d4af8364f/thumbs/thumb175x175.webp)
![English English](/static/img/blank.webp)
TL-SL5428E
24-Port 10/100Mbps + 4-Port Gigabit JetStream L2 Managed Switch
REV1.4.0
1910010916
I
COPYRIGHT & TRADEMARKS
Specifications are subject to change without notice. is a registered trademark of
TP-LINK TECHNOLOGIES CO., LTD. Other brands and product names are trademarks or
registered trademarks of their respective holders.
No part of the specifications may be reproduced in any form or by any means or used to make any
derivative such as translation, transformation, or adaptation without permission from TP-LINK
TECHNOLOGIES CO., LTD. Copyright 2013 TP-LINK TECHNOLOGIES CO., LTD. All rights
reserved.
http://www.tp-link.com
II
CONTENTS
Preface .............................................................................................................. 1
Chapter 1 Using the CLI ....................................................................................... 4
1.1 Accessing the CLI ...........................................................................................................4
1.1.1 Logon by a console port .......................................................................................4
1.1.2 Logon by Telnet ....................................................................................................6
1.2 CLI Command Modes ...................................................................................................10
1.3 Security Levels .............................................................................................................13
1.4 Conventions..................................................................................................................13
1.4.1 Format Conventions ...........................................................................................13
1.4.2 Special Characters..............................................................................................14
1.4.3 Parameter Format...............................................................................................14
Chapter 2 User Interface .................................................................................... 15
enable....................................................................................................................................15
enable password ...................................................................................................................15
disable ...................................................................................................................................16
configure................................................................................................................................16
exit.........................................................................................................................................16
end ........................................................................................................................................17
show history ..........................................................................................................................17
clear history ...........................................................................................................................18
Chapter 3 IEEE 802.1Q VLAN Commands ........................................................ 19
vlan........................................................................................................................................19
interface vlan .........................................................................................................................20
name .....................................................................................................................................20
switchport mode ....................................................................................................................21
switchport access vlan...........................................................................................................21
switchport trunk allowed vlan.................................................................................................22
switchport general allowed vlan.............................................................................................23
switchport pvid.......................................................................................................................23
show vlan summary...............................................................................................................24
show vlan brief ......................................................................................................................24
show vlan ..............................................................................................................................25
Chapter 4 MAC-based VLAN Commands ......................................................... 26
III
mac-vlan mac-address ..........................................................................................................26
mac-vlan................................................................................................................................27
show mac-vlan ......................................................................................................................27
show mac-vlan interface........................................................................................................28
Chapter 5 Protocol-based VLAN Commands ................................................... 29
protocol-vlan template ...........................................................................................................29
protocol-vlan vlan ..................................................................................................................30
protocol-vlan..........................................................................................................................30
show protocol-vlan template..................................................................................................31
show protocol-vlan vlan .........................................................................................................31
show protocol-vlan interface..................................................................................................32
Chapter 6 VLAN-VPN Commands...................................................................... 33
dot1q-tunnel ..........................................................................................................................33
dot1q-tunnel tpid....................................................................................................................33
dot1q-tunnel mapping............................................................................................................34
switchport dot1q-tunnel mapping...........................................................................................35
switchport dot1q-tunnel mode uplink .....................................................................................35
show dot1q-tunnel .................................................................................................................36
show dot1q-tunnel mapping ..................................................................................................36
show dot1q-tunnel mapping interface....................................................................................37
show dot1q-tunnel uplink.......................................................................................................37
Chapter 7 Voice VLAN Commands.................................................................... 38
voice vlan ..............................................................................................................................38
voice vlan aging time.............................................................................................................38
voice vlan priority...................................................................................................................39
voice vlan mac-address.........................................................................................................40
switchport voice vlan mode ...................................................................................................40
switchport voice vlan security ................................................................................................41
show voice vlan .....................................................................................................................42
show voice vlan oui ...............................................................................................................42
show voice vlan switchport ....................................................................................................43
Chapter 8 Private VLAN Commands ................................................................. 44
private-vlan primary...............................................................................................................44
private-vlan community..........................................................................................................44
private-vlan association.........................................................................................................45
IV
switchport private-vlan...........................................................................................................45
switchport private-vlan host-association................................................................................46
switchport private-vlan mapping ............................................................................................47
show vlan private-vlan ...........................................................................................................48
Chapter 9 GVRP Commands.............................................................................. 49
gvrp .......................................................................................................................................49
gvrp (interface) ......................................................................................................................49
gvrp registration.....................................................................................................................50
gvrp timer ..............................................................................................................................51
show gvrp global ...................................................................................................................52
show gvrp interface ...............................................................................................................52
Chapter 10 Etherchannel Commands ................................................................. 53
channel-group .......................................................................................................................53
port-channel load-balance .....................................................................................................54
lacp system-priority ...............................................................................................................54
lacp port-priority.....................................................................................................................55
show etherchannel ................................................................................................................55
show etherchannel load-balance...........................................................................................56
show lacp ..............................................................................................................................56
show lacp sys-id ....................................................................................................................57
Chapter 11 User Manage Commands.................................................................. 58
user name .............................................................................................................................58
user access-control ip-based.................................................................................................59
user access-control mac-based.............................................................................................59
user access-control port-based .............................................................................................60
user max-number ..................................................................................................................61
user idle-timeout....................................................................................................................61
line.........................................................................................................................................62
password ...............................................................................................................................63
login.......................................................................................................................................63
login local ..............................................................................................................................64
show user account-list ...........................................................................................................65
show user configuration.........................................................................................................65
Chapter 12 Binding Table Commands................................................................. 66
ip source binding ...................................................................................................................66
V
ip source binding index..........................................................................................................67
ip dhcp snooping ...................................................................................................................68
ip dhcp snooping global.........................................................................................................68
ip dhcp snooping information option......................................................................................69
ip dhcp snooping information strategy...................................................................................70
ip dhcp snooping information remote-id.................................................................................71
ip dhcp snooping information circuit-id ..................................................................................71
ip dhcp snooping trust ...........................................................................................................72
ip dhcp snooping mac-verify..................................................................................................73
ip dhcp snooping limit rate.....................................................................................................73
ip dhcp snooping decline .......................................................................................................74
show ip source binding ..........................................................................................................74
show ip dhcp snooping..........................................................................................................75
show ip dhcp snooping information .......................................................................................75
show ip dhcp snooping interface ...........................................................................................76
Chapter 13 ARP Inspection Commands.............................................................. 77
ip arp inspection(global) ........................................................................................................77
ip arp inspection trust ............................................................................................................77
ip arp inspection(interface) ....................................................................................................78
ip arp inspection limit-rate......................................................................................................79
ip arp inspection recover .......................................................................................................79
show ip arp inspection...........................................................................................................80
show ip arp inspection interface ............................................................................................80
show ip arp inspection statistics ............................................................................................81
clear ip arp inspection statistics.............................................................................................81
Chapter 14 IP Verify Source Commands............................................................. 82
ip verify source ......................................................................................................................82
show ip verify source.............................................................................................................83
Chapter 15 DoS Defend Command...................................................................... 84
ip dos-prevent........................................................................................................................84
ip dos-prevent ping-rate.........................................................................................................84
ip dos-prevent syn-rate..........................................................................................................85
ip dos-prevent type................................................................................................................86
ip dos-prevent detect .............................................................................................................87
clear ip dos-prevent detect statistics......................................................................................87
show ip dos-prevent ..............................................................................................................88
VI
Chapter 16 IEEE 802.1X Commands ................................................................... 89
dot1x system-auth-control .....................................................................................................89
dot1x auth-method ................................................................................................................89
dot1x guest-vlan(global) ........................................................................................................90
dot1x quiet-period..................................................................................................................91
dot1x timeout.........................................................................................................................91
dot1x max-reauth-req ............................................................................................................92
dot1x......................................................................................................................................92
dot1x guest-vlan(interface) ....................................................................................................93
dot1x port-control ..................................................................................................................94
dot1x port-method .................................................................................................................94
radius.....................................................................................................................................95
radius server-account ............................................................................................................96
show dot1x global..................................................................................................................97
show dot1x interface .............................................................................................................97
show radius accounting .........................................................................................................98
show radius authentication ....................................................................................................98
Chapter 17 System Log Commands.................................................................... 99
logging buffer.........................................................................................................................99
logging file flash...................................................................................................................100
clear logging ........................................................................................................................100
logging host index ...............................................................................................................101
show logging local-config ....................................................................................................102
show logging loghost ...........................................................................................................102
show logging buffer .............................................................................................................103
show logging flash...............................................................................................................103
Chapter 18 SSH Commands................................................................................105
ip ssh server ........................................................................................................................105
ip ssh version ......................................................................................................................105
ip ssh timeout ......................................................................................................................106
ip ssh max-client..................................................................................................................106
ip ssh download...................................................................................................................107
show ip ssh..........................................................................................................................107
Chapter 19 SSL Commands ................................................................................109
ip http secure-server............................................................................................................109
VII
ip http secure-server download certificate ...........................................................................109
ip http secure-server download key..................................................................................... 110
show ip http secure-server .................................................................................................. 111
Chapter 20 MAC Address Commands................................................................112
mac address-table static...................................................................................................... 112
mac address-table aging-time ............................................................................................. 113
mac address-table filtering .................................................................................................. 113
mac address-table max-mac-count ..................................................................................... 114
show mac address-table...................................................................................................... 115
show mac address-table aging-time.................................................................................... 116
show mac address-table max-mac-count interface ............................................................. 116
show mac address-table interface....................................................................................... 117
show mac address-table count............................................................................................ 117
show mac address-table address........................................................................................ 117
show mac address-table vlan .............................................................................................. 118
Chapter 21 System Configuration Commands..................................................119
system-time manual ............................................................................................................ 119
system-time ntp ................................................................................................................... 119
system-time dst predefined .................................................................................................121
system-time dst date ...........................................................................................................122
system-time dst recurring ....................................................................................................123
hostname.............................................................................................................................124
location ................................................................................................................................124
contact-info..........................................................................................................................125
ip management-vlan............................................................................................................125
ip address............................................................................................................................126
ip address-alloc dhcp ..........................................................................................................126
ip address-alloc bootp .........................................................................................................127
reset ....................................................................................................................................127
reboot ..................................................................................................................................128
copy running-config startup-config ......................................................................................128
copy startup-config tftp ........................................................................................................129
copy tftp startup-config ........................................................................................................129
firmware upgrade ................................................................................................................130
ping .....................................................................................................................................130
tracert ..................................................................................................................................131
VIII
loopback interface ...............................................................................................................132
show system-time................................................................................................................132
show system-time dst ..........................................................................................................133
show system-time ntp..........................................................................................................133
show system-info.................................................................................................................134
show running-config ............................................................................................................134
show cable-diagnostics interface.........................................................................................135
Chapter 22 Ethernet Configuration Commands ................................................136
interface fastEthernet ..........................................................................................................136
interface range fastEthernet ................................................................................................136
interface gigabitEthernet......................................................................................................137
interface range gigabitEthernet ...........................................................................................137
description ...........................................................................................................................138
shutdown .............................................................................................................................139
flow-control ..........................................................................................................................139
media-type...........................................................................................................................140
duplex..................................................................................................................................140
speed...................................................................................................................................141
storm-control broadcast.......................................................................................................141
storm-control multicast ........................................................................................................142
storm-control unicast ...........................................................................................................143
bandwidth ............................................................................................................................143
clear counters......................................................................................................................144
show interface status...........................................................................................................144
show interface counters.......................................................................................................145
show interface description ...................................................................................................146
show interface flowcontrol ...................................................................................................146
show interface configuration................................................................................................147
show storm-control ..............................................................................................................147
show bandwidth...................................................................................................................148
Chapter 23 QoS Commands................................................................................149
qos ......................................................................................................................................149
qos cos ................................................................................................................................149
qos dscp..............................................................................................................................150
qos queue cos-map.............................................................................................................151
qos queue dscp-map...........................................................................................................151
IX
qos queue mode..................................................................................................................152
show qos interface ..............................................................................................................153
show qos cos-map ..............................................................................................................154
show qos dscp-map ............................................................................................................154
show qos queue mode ........................................................................................................155
show qos status...................................................................................................................155
Chapter 24 Port Mirror Commands ....................................................................156
monitor session destination interface ..................................................................................156
monitor session source interface.........................................................................................157
show monitor session..........................................................................................................158
Chapter 25 Port isolation Commands ................................................................159
port isolation ........................................................................................................................159
show port isolation...............................................................................................................160
Chapter 26 Loopback Detection Commands.....................................................161
loopback-detection(global) ..................................................................................................161
loopback-detection interval..................................................................................................161
loopback-detection recovery-time........................................................................................162
loopback-detection(interface) ..............................................................................................162
loopback-detection config....................................................................................................163
loopback-detection recover .................................................................................................164
show loopback-detection global ..........................................................................................164
show loopback-detection interface ......................................................................................165
Chapter 27 ACL Commands................................................................................166
time-range ...........................................................................................................................166
absolute...............................................................................................................................166
periodic................................................................................................................................167
holiday .................................................................................................................................168
holiday(global) .....................................................................................................................168
access-list create.................................................................................................................169
mac access-list....................................................................................................................169
access-list standard.............................................................................................................170
access-list extended............................................................................................................171
rule ......................................................................................................................................172
access-list policy name........................................................................................................174
access-list policy action.......................................................................................................174
X
redirect interface..................................................................................................................175
redirect vlan.........................................................................................................................175
s-condition ...........................................................................................................................176
s-mirror ................................................................................................................................177
qos-remark ..........................................................................................................................177
access-list bind(interface)....................................................................................................178
access-list bind(vlan) ...........................................................................................................178
show time-range..................................................................................................................179
show holiday........................................................................................................................179
show access-list ..................................................................................................................180
show access-list policy ........................................................................................................180
show access-list bind ..........................................................................................................180
Chapter 28 MSTP Commands .............................................................................182
spanning-tree(global)...........................................................................................................182
spanning-tree(interface) ......................................................................................................182
spanning-tree common-config .............................................................................................183
spanning-tree mode.............................................................................................................184
spanning-tree mst configuration ..........................................................................................185
instance ...............................................................................................................................185
name ...................................................................................................................................186
revision ................................................................................................................................186
spanning-tree mst instance .................................................................................................187
spanning-tree mst................................................................................................................188
spanning-tree priority...........................................................................................................188
spanning-tree tc-defend.......................................................................................................189
spanning-tree timer..............................................................................................................190
spanning-tree hold-count.....................................................................................................190
spanning-tree max-hops......................................................................................................191
spanning-tree bpdufilter.......................................................................................................192
spanning-tree bpduguard ....................................................................................................192
spanning-tree guard loop.....................................................................................................193
spanning-tree guard root .....................................................................................................193
spanning-tree guard tc.........................................................................................................194
spanning-tree mcheck .........................................................................................................194
show spanning-tree active...................................................................................................195
show spanning-tree bridge ..................................................................................................195
show spanning-tree interface ..............................................................................................196
XI
show spanning-tree interface-security .................................................................................196
show spanning-tree mst ......................................................................................................197
Chapter 29 IGMP Commands..............................................................................199
ip igmp snooping(global) .....................................................................................................199
ip igmp snooping(interface) .................................................................................................199
ip igmp snooping immediate-leave ......................................................................................200
ip igmp snooping drop-unknown..........................................................................................200
ip igmp snooping vlan-config ...............................................................................................201
ip igmp snooping multi-vlan-config ......................................................................................202
ip igmp snooping filter add-id...............................................................................................203
ip igmp snooping filter(global)..............................................................................................204
ip igmp snooping filter(interface) .........................................................................................204
ip igmp snooping filter maxgroup.........................................................................................205
ip igmp snooping filter mode................................................................................................205
ip igmp snooping querier vlan..............................................................................................206
ip igmp snooping querier vlan (general query) ....................................................................207
ip igmp snooping querier vlan (specific query) ....................................................................208
show ip igmp snooping........................................................................................................209
show ip igmp snooping interface .........................................................................................209
show ip igmp snooping vlan ................................................................................................210
show ip igmp snooping multi-vlan........................................................................................210
show ip igmp snooping groups ............................................................................................ 211
show ip igmp snooping filter .................................................................