CLI Reference Guide
T3700G-28TQ/ T3700G-52TQ
1910012359 REV3.0.0
November 2018
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
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 © 2018 TP-Link Technologies Co., Ltd. All rights
reserved.
http://www.tp-link.com
I
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
CONTENTS
Preface .............................................................................................................. 1
Chapter 1 Using the CLI ......................................................................................... 6
1.1 Accessing the CLI ....................................................................................................... 6
1.1.1 Logon by a console port .................................................................................... 6
1.1.2 Configuring the Privileged EXEC Mode Password ............................................ 8
1.1.3 Logon by Telnet .................................................................................................. 9
1.1.4 Logon by SSH ................................................................................................... 10
1.2 CLI Command Modes ................................................................................................ 11
1.3 Security Levels ......................................................................................................... 15
1.4 Conventions .............................................................................................................. 15
1.4.1 Format Conventions ......................................................................................... 15
1.4.2 Special Characters ........................................................................................... 16
1.4.3 Parameter Format............................................................................................. 16
Chapter 2 User Interface ..................................................................................... 17
2.1 enable ....................................................................................................................... 17
2.2 service password-encryption .................................................................................... 17
2.3 enable password....................................................................................................... 18
2.4 enable secret ............................................................................................................ 19
2.5 configure ................................................................................................................... 20
2.6 exit ............................................................................................................................ 20
2.7 end ............................................................................................................................ 21
2.8 show history .............................................................................................................. 21
2.9 clear history .............................................................................................................. 22
Chapter 3 Stack ................................................................................................... 23
3.1 boot auto-copy-sw .................................................................................................... 23
3.2 boot auto-copy-sw allow-downgrade ........................................................................ 23
3.3 boot auto-copy-sw trap ............................................................................................. 24
3.4 switch master ............................................................................................................ 24
3.5 switch standby .......................................................................................................... 25
3.6 switch priority ............................................................................................................ 25
3.7 switch renumber ....................................................................................................... 26
3.8 switch stack-port ....................................................................................................... 27
3.9 switch provision ........................................................................................................ 27
3.10 show switch .............................................................................................................. 28
II
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
3.11 show auto-copy-sw ................................................................................................... 29
3.12 clear switch-synchronization .................................................................................... 29
Chapter 4 IEEE 802.1Q VLAN Commands ........................................................... 31
4.1 vlan ........................................................................................................................... 31
4.2 interface vlan ............................................................................................................ 32
4.3 name ......................................................................................................................... 32
4.4 switchport mode ....................................................................................................... 33
4.5 switchport access vlan .............................................................................................. 33
4.6 switchport trunk allowed vlan ................................................................................... 34
4.7 switchport general allowed vlan ............................................................................... 35
4.8 switchport pvid .......................................................................................................... 36
4.9 switchport trunk native vlan ...................................................................................... 36
4.10 show interface switchport ......................................................................................... 37
4.11 show vlan summary .................................................................................................. 37
4.12 show vlan brief .......................................................................................................... 38
4.13 show vlan .................................................................................................................. 38
Chapter 5 MAC-based VLAN Commands ........................................................... 40
5.1 mac-vlan mac-address ............................................................................................. 40
5.2 show mac-vlan .......................................................................................................... 40
Chapter 6 Protocol VLAN Commands ................................................................. 42
6.1 protocol-vlan template .............................................................................................. 42
6.2 protocol-vlan vlan ..................................................................................................... 43
6.3 protocol-vlan ............................................................................................................. 43
6.4 show protocol-vlan template ..................................................................................... 44
6.5 show protocol-vlan vlan ............................................................................................ 44
Chapter 7 VLAN-VPN Commands ....................................................................... 46
7.1 dot1q-tunnel tpid ....................................................................................................... 46
7.2 switchport dot1q-tunnel mode nni ............................................................................ 46
7.3 show dot1q-tunnel .................................................................................................... 47
Chapter 8 Voice VLAN Commands ..................................................................... 48
8.1 voice vlan .................................................................................................................. 48
8.2 voice vlan (interface) ................................................................................................ 48
8.3 voice vlan priority ...................................................................................................... 49
8.4 voice vlan oui ............................................................................................................ 49
8.5 show voice vlan ........................................................................................................ 50
III
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
8.6 show voice vlan oui-table ......................................................................................... 50
8.7 show voice vlan interface ......................................................................................... 51
Chapter 9 Private VLAN Commands ................................................................... 52
9.1 private-vlan primary .................................................................................................. 52
9.2 private-vlan community............................................................................................. 52
9.3 private-vlan isolated .................................................................................................. 53
9.4 private-vlan association ............................................................................................ 53
9.5 switchport private-vlan .............................................................................................. 54
9.6 switchport private-vlan host-association .................................................................. 55
9.7 switchport private-vlan mapping ............................................................................... 55
9.8 show vlan private-vlan .............................................................................................. 56
9.9 show vlan private-vlan interface ............................................................................... 57
Chapter 10 GVRP Commands ............................................................................... 58
10.1 gvrp ........................................................................................................................... 58
10.2 gvrp (interface).......................................................................................................... 58
10.3 gvrp timer .................................................................................................................. 59
10.4 show gvrp global ....................................................................................................... 60
10.5 show gvrp interface .................................................................................................. 60
Chapter 11 Etherchannel Commands ................................................................... 62
11.1 channel-group ........................................................................................................... 62
11.2 port-channel load-balance ........................................................................................ 63
11.3 lacp system-priority ................................................................................................... 64
11.4 lacp port-priority ........................................................................................................ 64
11.5 show etherchannel ................................................................................................... 65
11.6 show etherchannel load-balance.............................................................................. 66
11.7 show lacp .................................................................................................................. 66
11.8 show lacp sys-id ....................................................................................................... 67
Chapter 12 User Manage Commands ................................................................... 68
12.1 user name (password) .............................................................................................. 68
12.2 user name (secret) ................................................................................................... 69
12.3 user access-control ip-based ................................................................................... 70
12.4 user access-control mac-based ............................................................................... 71
12.5 user access-control port-based ................................................................................ 72
12.6 media-type rj45 ......................................................................................................... 72
12.7 line ............................................................................................................................ 73
12.8 password .................................................................................................................. 74
IV
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
12.9 login local .................................................................................................................. 75
12.10 telnet ......................................................................................................................... 75
12.11 show user account-list .............................................................................................. 76
12.12 show user configuration............................................................................................ 76
12.13 show telnet-status ..................................................................................................... 77
Chapter 13 Binding Table Commands ................................................................... 78
13.1 ip source binding ...................................................................................................... 78
13.2 ip dhcp snooping ...................................................................................................... 79
13.3 ip dhcp snooping vlan ............................................................................................... 79
13.4 ip dhcp snooping information option ........................................................................ 80
13.5 ip dhcp snooping information strategy ..................................................................... 80
13.6 ip dhcp snooping information remote-id ................................................................... 81
13.7 ip dhcp snooping information circuit-id ..................................................................... 82
13.8 ip dhcp snooping trust .............................................................................................. 83
13.9 ip dhcp snooping mac-verify ..................................................................................... 83
13.10 ip dhcp snooping limit rate ........................................................................................ 84
13.11 show ip source binding ............................................................................................. 84
13.12 show ip dhcp snooping ............................................................................................. 85
13.13 show ip dhcp snooping interface .............................................................................. 85
Chapter 14 ARP Inspection Commands ................................................................ 87
14.1 ip arp inspection ....................................................................................................... 87
14.2 ip arp inspection validate .......................................................................................... 87
14.3 ip arp inspection trust ............................................................................................... 88
14.4 ip arp inspection limit-rate ........................................................................................ 89
14.5 ip arp inspection recover .......................................................................................... 90
14.6 show ip arp inspection .............................................................................................. 90
14.7 show ip arp inspection interface ............................................................................... 91
14.8 show ip arp inspection statistics ............................................................................... 91
14.9 clear ip arp inspection statistics ................................................................................ 92
Chapter 15 DoS Defend Commands ..................................................................... 93
15.1 ip dos-prevent type ................................................................................................... 93
Chapter 16 IP Verify Source Commands ............................................................... 95
16.1 ip verify source.......................................................................................................... 95
16.2 show ip verify source ................................................................................................ 96
16.3 show ip verify source interface ................................................................................. 96
V
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
Chapter 17 IEEE 802.1X Commands ..................................................................... 97
17.1 dot1x system-auth-control ........................................................................................ 97
17.2 dot1x timeout quiet-period ........................................................................................ 97
17.3 dot1x timeout supplicant-timeout.............................................................................. 98
17.4 dot1x timeout tx-period ............................................................................................. 99
17.5 dot1x max-req ......................................................................................................... 100
17.6 dot1x ....................................................................................................................... 100
17.7 dot1x guest-vlan ..................................................................................................... 101
17.8 dot1x timeout guest-vlan-period ............................................................................. 102
17.9 dot1x port-control .................................................................................................... 102
17.10 dot1x port-method .................................................................................................. 103
17.11 dot1x accounting .................................................................................................... 104
17.12 show dot1x global ................................................................................................... 105
17.13 show dot1x interface ............................................................................................... 105
Chapter 18 System Log Commands ................................................................... 106
18.1 logging buffer .......................................................................................................... 106
18.2 logging buffer level ................................................................................................. 106
18.3 logging file flash ...................................................................................................... 107
18.4 logging file flash level ............................................................................................. 108
18.5 logging host ............................................................................................................ 108
18.6 logging host index ................................................................................................... 109
18.7 logging console ........................................................................................................ 110
18.8 logging console level ............................................................................................... 110
18.9 logging monitor ........................................................................................................ 111
18.10 logging monitor level ................................................................................................ 111
18.11 clear logging ............................................................................................................ 112
18.12 show logging config ................................................................................................. 113
18.13 show logging loghost ............................................................................................... 113
18.14 show logging buffer ................................................................................................. 11 4
18.15 show logging flash ................................................................................................... 11 4
Chapter 19 SSH Commands ................................................................................. 116
19.1 ip ssh server ............................................................................................................ 116
19.2 ip ssh version ........................................................................................................... 116
19.3 ip ssh algorithm ....................................................................................................... 117
19.4 ip ssh timeout........................................................................................................... 117
19.5 ip ssh max-client ...................................................................................................... 118
VI
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
19.6 ip ssh download ....................................................................................................... 119
19.7 crypto key generate ................................................................................................. 119
19.8 show ip ssh ............................................................................................................. 120
Chapter 20 HTTP and HTTPS Commands ........................................................... 121
20.1 ip http server ........................................................................................................... 121
20.2 ip http session maxsessions ................................................................................... 122
20.3 ip http session hard-timeout ................................................................................... 122
20.4 ip http session soft-timeout ..................................................................................... 123
20.5 ip http secure-server ............................................................................................... 123
20.6 ip http secure-protocol ............................................................................................ 124
20.7 ip http secure-ciphersuite ....................................................................................... 125
20.8 ip http secure-session hard-timeout ....................................................................... 125
20.9 ip http secure-session soft-timeout ......................................................................... 126
20.10 ip http secure-session maxsessions ...................................................................... 126
20.11 ip http secure-server download certificate .............................................................. 127
20.12 ip http secure-server download key ....................................................................... 128
20.13 show ip http configuration ....................................................................................... 129
20.14 show ip http secure-server ..................................................................................... 129
Chapter 21 MAC Address Commands ................................................................ 130
21.1 mac address-table static ......................................................................................... 130
21.2 mac address-table aging-time ................................................................................ 131
21.3 mac address-table filtering ..................................................................................... 131
21.4 mac address-table max-mac-count ........................................................................ 132
21.5 show mac address-table ......................................................................................... 133
21.6 show mac address-table aging-time....................................................................... 134
21.7 show mac address-table max-mac-count .............................................................. 134
21.8 show mac address-table interface .......................................................................... 135
21.9 show mac address-table count ............................................................................... 136
21.10 show mac address-table address ........................................................................... 136
21.11 show mac address-table vlan ................................................................................. 137
Chapter 22 System Configuration Commands ................................................... 139
22.1 system-time manual ............................................................................................... 139
22.2 system-time ntp ...................................................................................................... 139
22.3 system-time dst predefined .................................................................................... 141
22.4 system-time dst date .............................................................................................. 142
22.5 system-time dst recurring ....................................................................................... 143
VII
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
22.6 hostname ................................................................................................................ 144
22.7 location ................................................................................................................... 144
22.8 contact-info ............................................................................................................. 145
22.9 ip address ............................................................................................................... 146
22.10 ip address-alloc dhcp .............................................................................................. 146
22.11 reset ........................................................................................................................ 147
22.12 reboot ...................................................................................................................... 147
22.13 boot application ...................................................................................................... 148
22.14 copy running-config startup-config ......................................................................... 149
22.15 copy startup-config tftp ........................................................................................... 149
22.16 copy startup-config usb .......................................................................................... 150
22.17 copy tftp startup-config ........................................................................................... 150
22.18 copy usb ................................................................................................................. 151
22.19 remove backup-image ............................................................................................ 151
22.20 firmware upgrade .................................................................................................... 152
22.21 firmware upgrade bootloader ................................................................................. 153
22.22 firmware upgrade xmodem ..................................................................................... 153
22.23 ping ......................................................................................................................... 154
22.24 tracert ...................................................................................................................... 155
22.25 show system-time ................................................................................................... 155
22.26 show system-time detail ......................................................................................... 156
22.27 show system-time ntp ............................................................................................. 156
22.28 show system-info .................................................................................................... 157
22.29 show environment .................................................................................................. 157
22.30 show usb ................................................................................................................. 158
22.31 show files-in-usb ..................................................................................................... 158
22.32 show fiber-ports ...................................................................................................... 159
22.33 show image-info ..................................................................................................... 159
22.34 show running-config ............................................................................................... 160
22.35 show startup-config ................................................................................................ 160
22.36 show boot ............................................................................................................... 161
22.37 show cable-diagnostics interface ........................................................................... 161
22.38 show cpu-utilization ................................................................................................ 162
22.39 show memory-utilization ......................................................................................... 162
Chapter 23 Ethernet Configuration Commands .................................................. 163
23.1 interface gigabitEthernet ........................................................................................ 163
23.2 interface range gigabitEthernet .............................................................................. 163
VIII
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
23.3 interface ten-gigabitEthernet .................................................................................. 164
23.4 interface range ten-gigabitEthernet ........................................................................ 165
23.5 description .............................................................................................................. 165
23.6 shutdown ................................................................................................................ 166
23.7 flow-control ............................................................................................................. 167
23.8 duplex ..................................................................................................................... 167
23.9 jumbo ...................................................................................................................... 168
23.10 speed ...................................................................................................................... 169
23.11 storm-control ........................................................................................................... 169
23.12 bandwidth ............................................................................................................... 170
23.13 clear counters ......................................................................................................... 171
23.14 show interface status .............................................................................................. 172
23.15 show interface counters.......................................................................................... 172
23.16 show interface configuration ................................................................................... 173
23.17 show storm-control ................................................................................................. 174
23.18 show bandwidth ...................................................................................................... 174
Chapter 24 Class of Service Commands ............................................................ 176
24.1 classofservice trust ................................................................................................. 176
24.2 classofservice priority ............................................................................................. 177
24.3 classofservice queue cos-map ............................................................................... 177
24.4 classofservice queue dscp-map ............................................................................. 178
24.5 classofservice queue mode .................................................................................... 179
24.6 classofservice queue min-bandwith ....................................................................... 180
24.7 show classofservice interface ................................................................................. 181
24.8 show classofservice cos-map ................................................................................. 181
24.9 show classofservice dscp-map ............................................................................... 182
24.10 show classofservice queue mode .......................................................................... 182
24.11 show classofservice queue trust ............................................................................ 183
Chapter 25 Differentiated Services Commands ................................................. 184
25.1 diffserv .................................................................................................................... 184
25.2 class-map ............................................................................................................... 184
25.3 class-map match-all ................................................................................................ 185
25.4 class-map rename .................................................................................................. 185
25.5 match any ............................................................................................................... 186
25.6 match class-map .................................................................................................... 186
25.7 match dstl4port ....................................................................................................... 187
25.8 match srcl4port ....................................................................................................... 188
IX
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
25.9 match protocol ........................................................................................................ 188
25.10 match dstip6 ........................................................................................................... 189
25.11 match srcip6 ........................................................................................................... 189
25.12 match ip dscp.......................................................................................................... 190
25.13 match ip6flowlbl ...................................................................................................... 191
25.14 match cos ............................................................................................................... 191
25.15 match secondary-cos ............................................................................................. 192
25.16 match destination-address mac ............................................................................. 192
25.17 match source-address mac .................................................................................... 193
25.18 match dstip ............................................................................................................. 194
25.19 match srcip ............................................................................................................. 194
25.20 match ethertype ...................................................................................................... 195
25.21 match ip .................................................................................................................. 195
25.22 match vlan .............................................................................................................. 196
25.23 match secondary vlan ............................................................................................. 197
25.24 policy-map .............................................................................................................. 197
25.25 policy-map in........................................................................................................... 198
25.26 policy-map out ........................................................................................................ 198
25.27 class ........................................................................................................................ 199
25.28 assign-queue .......................................................................................................... 199
25.29 conform-color .......................................................................................................... 200
25.30 drop ......................................................................................................................... 200
25.31 mark cos ................................................................................................................. 201
25.32 mark cos-as-sec-cos .............................................................................................. 202
25.33 mirror....................................................................................................................... 202
25.34 redirect .................................................................................................................... 203
25.35 redirect lag .............................................................................................................. 203
25.36 simple ..................................................................................................................... 204
25.37 single-rate ............................................................................................................... 205
25.38 two-rate ................................................................................................................... 206
25.39 service-policy .......................................................................................................... 208
25.40 service-policy (interface)......................................................................................... 208
25.41 show diffserv ........................................................................................................... 209
25.42 show diffserv service brief ...................................................................................... 209
25.43 show diffserv service .............................................................................................. 210
25.44 show class-map ...................................................................................................... 210
25.45 show policy-map ...................................................................................................... 2 11
25.46 show policy-map interface ....................................................................................... 211
X
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
25.47 show policy-map interface lag ................................................................................ 212
Chapter 26 Port Mirror Commands ..................................................................... 213
26.1 monitor session destination interface ..................................................................... 213
26.2 monitor session source interface ............................................................................ 214
26.3 show monitor session ............................................................................................. 215
Chapter 27 Port Protection Commands .............................................................. 216
27.1 switchport protected name ..................................................................................... 216
27.2 switchport protected ............................................................................................... 216
27.3 show switchport protected ...................................................................................... 217
Chapter 28 Loopback Detection Commands ..................................................... 218
28.1 loopback-detection (global) .................................................................................... 218
28.2 loopback-detection interval ..................................................................................... 218
28.3 loopback-detection recovery-time .......................................................................... 219
28.4 loopback-detection (interface) ................................................................................ 219
28.5 loopback-detection config ....................................................................................... 220
28.6 loopback-detection recover .................................................................................... 221
28.7 show loopback-detection global ............................................................................. 221
28.8 show loopback-detection interface ......................................................................... 222
Chapter 29 ACL Commands ................................................................................ 223
29.1 time-range ............................................................................................................... 223
29.2 absolute .................................................................................................................. 223
29.3 periodic ................................................................................................................... 224
29.4 access-list create .................................................................................................... 225
29.5 mac access-list ....................................................................................................... 226
29.6 access-list standard ................................................................................................ 226
29.7 access-list extended ............................................................................................... 227
29.8 rule .......................................................................................................................... 229
29.9 access-list bind acl (interface) ................................................................................ 231
29.10 access-list bind acl (vlan) ....................................................................................... 231
29.11 access-list resequence ........................................................................................... 232
29.12 show time-range ..................................................................................................... 232
29.13 show access-list ..................................................................................................... 233
29.14 show access-list bind .............................................................................................. 233
Chapter 30 MSTP Commands ............................................................................. 234
30.1 spanning-tree (global) ............................................................................................. 234
XI
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
30.2 spanning-tree (interface) ........................................................................................ 234
30.3 spanning-tree common-config ................................................................................ 235
30.4 spanning-tree mode ................................................................................................ 236
30.5 spanning-tree mst configuration ............................................................................. 237
30.6 instance .................................................................................................................. 237
30.7 name ....................................................................................................................... 238
30.8 revision ................................................................................................................... 239
30.9 spanning-tree mst instance .................................................................................... 239
30.10 spanning-tree mst ................................................................................................... 240
30.11 spanning-tree priority .............................................................................................. 241
30.12 spanning-tree timer ................................................................................................. 241
30.13 spanning-tree hold-count ........................................................................................ 242
30.14 spanning-tree max-hops ......................................................................................... 242
30.15 spanning-tree bpdufilter .......................................................................................... 243
30.16 spanning-tree bpduguard ....................................................................................... 243
30.17 spanning-tree bpduflood ......................................................................................... 244
30.18 spanning-tree guard loop........................................................................................ 245
30.19 spanning-tree guard root ........................................................................................ 245
30.20 spanning-tree guard tc ............................................................................................ 246
30.21 spanning-tree mcheck ............................................................................................ 246
30.22 show spanning-tree active ...................................................................................... 247
30.23 show spanning-tree bridge ..................................................................................... 247
30.24 show spanning-tree interface ................................................................................. 248
30.25 show spanning-tree interface-security ................................................................... 249
30.26 show spanning-tree mst ......................................................................................... 249
Chapter 31 IGMP Snooping Commands ............................................................. 251
31.1 ip igmp snooping (global) ....................................................................................... 251
31.2 ip igmp snooping (interface) ................................................................................... 251
31.3 ip igmp snooping header-validation ....................................................................... 252
31.4 ip igmp snooping rtime ........................................................................................... 252
31.5 ip igmp snooping rtime (interface) .......................................................................... 253
31.6 ip igmp snooping mtime.......................................................................................... 254
31.7 ip igmp snooping mtime (interface) ........................................................................ 254
31.8 ip igmp snooping immediate-leave ......................................................................... 255
31.9 ip igmp snooping max-response-time .................................................................... 255
31.10 ip igmp snooping drop-unknown ............................................................................ 256
31.11 ip igmp snooping vlan-config .................................................................................. 256
XII
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
31.12 ip igmp snooping querier ........................................................................................ 258
31.13 ip igmp snooping querier address .......................................................................... 258
31.14 ip igmp snooping querier query-interval ................................................................. 259
31.15 ip igmp snooping querier timer expiry .................................................................... 259
31.16 ip igmp snooping querier version ........................................................................... 260
31.17 ip igmp snooping querier vlan ................................................................................ 260
31.18 show ip igmp snooping ........................................................................................... 261
31.19 show ip igmp snooping interface ............................................................................ 262
31.20 show ip igmp snooping vlan ................................................................................... 262
31.21 show ip igmp snooping ssm ................................................................................... 263
31.22 show ip igmp snooping querier ............................................................................... 263
31.23 show ip igmp snooping querier vlan ....................................................................... 264
31.24 show ip igmp profile ................................................................................................ 264
31.25 clear ip igmp snooping statistics ............................................................................. 265
Chapter 32 MLD Snooping Commands ............................................................... 266
32.1 ipv6 mld snooping (global) ..................................................................................... 266
32.2 ipv6 mld snooping (interface) ................................................................................. 266
32.3 ipv6 mld snooping rtime.......................................................................................... 267
32.4 ipv6 mld snooping rtime (interface) ........................................................................ 267
32.5 ipv6 mld snooping mtime ........................................................................................ 268
32.6 ipv6 mld snooping mtime (interface) ...................................................................... 268
32.7 ipv6 mld snooping immediate-leave ....................................................................... 269
32.8 ipv6 mld snooping max-response-time .................................................................. 270
32.9 ipv6 mld snooping drop-unknown .......................................................................... 270
32.10 ipv6 mld snooping vlan-config ................................................................................ 271
32.11 ipv6 mld snooping querier ...................................................................................... 272
32.12 ipv6 mld snooping querier address ........................................................................ 272
32.13 ipv6 mld snooping querier query-interval ............................................................... 273
32.14 ipv6 mld snooping querier timer expiry .................................................................. 273
32.15 ipv6 mld snooping querier vlan ............................................................................... 274
32.16 ipv6 mld profile........................................................................................................ 275
32.17 deny ........................................................................................................................ 275
32.18 permit ...................................................................................................................... 276
32.19 range ....................................................................................................................... 276
32.20 ipv6 mld filter ........................................................................................................... 277
32.21 show ipv6 mld snooping ......................................................................................... 277
32.22 show ipv6 mld snooping interface .......................................................................... 278
XIII
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
32.23 show ipv6 mld snooping vlan ................................................................................. 278
32.24 show ipv6 mld snooping ssm ................................................................................. 279
32.25 show ipv6 mld snooping querier ............................................................................. 280
32.26 show ipv6 mld snooping querier vlan ..................................................................... 280
32.27 show ipv6 mld profile .............................................................................................. 281
32.28 clear ipv6 mld snooping statistics ........................................................................... 281
Chapter 33 MVR Commands ............................................................................... 282
33.1 mvr .......................................................................................................................... 282
33.2 mvr (interface)......................................................................................................... 282
33.3 mvr mode ................................................................................................................ 283
33.4 mvr vlan .................................................................................................................. 283
33.5 mvr vlan (interface) ................................................................................................. 284
33.6 mvr group ................................................................................................................ 284
33.7 mvr type .................................................................................................................. 285
33.8 mvr immediate ........................................................................................................ 286
33.9 show mvr ................................................................................................................ 286
33.10 show mvr interface ................................................................................................. 287
33.11 show mvr members ................................................................................................ 287
33.12 show mvr traffic ....................................................................................................... 288
Chapter 34 Static Multicast MAC Address Table Commands ............................ 289
34.1 multicast mac-address-table .................................................................................. 289
34.2 show multicast mac-address-table ......................................................................... 290
Chapter 35 SNMP Commands ............................................................................. 291
35.1 snmp-server view ................................................................................................... 291
35.2 snmp-server group ................................................................................................. 292
35.3 snmp-server user .................................................................................................... 293
35.4 snmp-server community ......................................................................................... 294
35.5 snmp-server host .................................................................................................... 295
35.6 snmp-server engineID ............................................................................................ 296
35.7 snmp-server traps ................................................................................................... 297
35.8 snmp-server traps ospf all ...................................................................................... 299
35.9 snmp-server traps ospf errors ................................................................................ 299
35.10 snmp-server traps ospf lsa ..................................................................................... 300
35.11 snmp-server traps ospf overflow ............................................................................ 301
35.12 snmp-server traps ospf retransmit .......................................................................... 301
35.13 snmp-server traps ospf state-change ..................................................................... 302
XIV
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
35.14 snmp-server traps link-status ................................................................................. 303
35.15 rmon history ............................................................................................................ 303
35.16 rmon event .............................................................................................................. 304
35.17 rmon alarm .............................................................................................................. 305
35.18 show snmp-server traps global .............................................................................. 307
35.19 show snmp-server traps ospf ................................................................................. 307
35.20 show snmp-server traps port .................................................................................. 307
35.21 show snmp-server view .......................................................................................... 308
35.22 show snmp-server group ........................................................................................ 308
35.23 show snmp-server user .......................................................................................... 309
35.24 show snmp-server community ................................................................................ 309
35.25 show snmp-server host .......................................................................................... 309
35.26 show snmp-server engineID ................................................................................... 310
35.27 show rmon history .................................................................................................. 310
35.28 show rmon event ..................................................................................................... 311
35.29 show rmon alarm ..................................................................................................... 311
Chapter 36 LLDP Commands .............................................................................. 312
36.1 lldp hold-multiplier ................................................................................................... 312
36.2 lldp timer ................................................................................................................. 312
36.3 lldp receive .............................................................................................................. 313
36.4 lldp transmit ............................................................................................................ 314
36.5 lldp snmp-trap ......................................................................................................... 314
36.6 lldp tlv-select ........................................................................................................... 315
36.7 lldp med-fast-count ................................................................................................. 316
36.8 lldp med-status ....................................................................................................... 316
36.9 lldp med-tlv-select ................................................................................................... 317
36.10 show lldp ................................................................................................................. 317
36.11 show lldp interface .................................................................................................. 318
36.12 show lldp local-information interface ...................................................................... 318
36.13 show lldp neighbor-information interface ............................................................... 319
36.14 show lldp traffic interface ........................................................................................ 319
36.15 clear lldp statistics................................................................................................... 320
Chapter 37 Static Routes Commands ................................................................. 321
37.1 interface vlan .......................................................................................................... 321
37.2 interface loopback .................................................................................................. 321
37.3 interface range port-channel .................................................................................. 322
37.4 interface port-channel ............................................................................................. 322
XV
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
37.5 switchport ................................................................................................................ 323
37.6 shutdown ................................................................................................................ 323
37.7 ip route .................................................................................................................... 324
37.8 ip routing ................................................................................................................. 325
37.9 show interface vlan ................................................................................................. 325
37.10 show ip interface ..................................................................................................... 326
37.11 show ip interface brief ............................................................................................. 326
37.12 show ip route .......................................................................................................... 327
37.13 show ip route specify .............................................................................................. 327
37.14 show ip route summary .......................................................................................... 328
Chapter 38 DHCP Server Commands ................................................................. 329
38.1 service dhcp server ................................................................................................ 329
38.2 option code ............................................................................................................. 329
38.3 extend-option capwap-ac-ip ................................................................................... 330
38.4 extend-option vendor-class-id ................................................................................ 330
38.5 ip dhcp server conflict-logging ................................................................................ 331
38.6 ip dhcp server exclude-address ............................................................................. 332
38.7 ip dhcp server pool ................................................................................................. 332
38.8 ip dhcp server ping packets .................................................................................... 333
38.9 network ................................................................................................................... 333
38.10 no network .............................................................................................................. 334
38.11 lease ....................................................................................................................... 334
38.12 address hardware-address ..................................................................................... 335
38.13 address client-identifier........................................................................................... 336
38.14 default-gateway ...................................................................................................... 337
38.15 dns-server ............................................................................................................... 337
38.16 ntp-server ................................................................................................................ 338
38.17 netbios-name-server ............................................................................................... 338
38.18 netbios-node-type ................................................................................................... 339
38.19 next-server .............................................................................................................. 340
38.20 domain-name .......................................................................................................... 340
38.21 bootfile .................................................................................................................... 341
38.22 show ip dhcp server conflictLogging ...................................................................... 341
38.23 show ip dhcp server status ..................................................................................... 342
38.24 show ip dhcp server statistics ................................................................................. 342
38.25 show ip dhcp server pool ........................................................................................ 343
38.26 show ip dhcp server excluded-address .................................................................. 343
XVI
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
38.27 show ip dhcp server binding ................................................................................... 343
38.28 clear ip dhcp server conflictLogging ....................................................................... 344
38.29 clear ip dhcp server statistics ................................................................................. 344
38.30 clear ip dhcp server binding ................................................................................... 345
Chapter 39 DHCP Relay ....................................................................................... 346
39.1 service dhcp relay ................................................................................................... 346
39.2 ip helper-address .................................................................................................... 346
39.3 ip dhcp relay information ........................................................................................ 347
39.4 ip dhcp relay information policy .............................................................................. 347
39.5 ip dhcp relay information circuit-id .......................................................................... 348
39.6 ip dhcp relay information remote-id ........................................................................ 348
39.7 show ip dhcp relay .................................................................................................. 349
Chapter 40 Proxy ARP Commands ...................................................................... 350
40.1 ip proxy-arp ............................................................................................................. 350
40.2 ip local-proxy-arp .................................................................................................... 350
40.3 show ip proxy-arp ................................................................................................... 351
40.4 show ip local-proxy-arp........................................................................................... 351
Chapter 41 IGMP Commands .............................................................................. 353
41.1 ip igmp (global) ....................................................................................................... 353
41.2 ip igmp (interface) ................................................................................................... 353
41.3 ip igmp header-validation ....................................................................................... 354
41.4 ip igmp version........................................................................................................ 354
41.5 ip igmp last-member-query-count........................................................................... 355
41.6 ip igmp last-member-query-interval ........................................................................ 355
41.7 ip igmp query-interval ............................................................................................. 356
41.8 ip igmp query-max-response-time .......................................................................... 357
41.9 ip igmp robustness ................................................................................................. 357
41.10 ip igmp startup-query-interval ................................................................................. 358
41.11 ip igmp startup-query-count .................................................................................... 359
41.12 ip igmp profile ......................................................................................................... 359
41.13 deny ........................................................................................................................ 360
41.14 permit ...................................................................................................................... 360
41.15 range ....................................................................................................................... 361
41.16 ip igmp filter ............................................................................................................ 361
41.17 show ip igmp ........................................................................................................... 362
41.18 show ip igmp profile ................................................................................................ 363
XVII
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
41.19 show ip igmp groups ............................................................................................... 363
41.20 show ip igmp groups interface ................................................................................ 364
41.21 show ip igmp groups interface vlan ........................................................................ 364
41.22 show ip igmp interface ............................................................................................ 365
41.23 show ip igmp interface vlan .................................................................................... 365
Chapter 42 PIM Commands ................................................................................. 367
42.1 ip multicast-routing ................................................................................................. 367
42.2 ip pim (global) ......................................................................................................... 367
42.3 ip pim (interface) ..................................................................................................... 368
42.4 ip pim ssm ............................................................................................................... 368
42.5 ip pim bsr-candidate interface ................................................................................ 369
42.6 ip pim rp-candidate interface .................................................................................. 370
42.7 ip pim rp-address .................................................................................................... 371
42.8 ip pim bsr-border .................................................................................................... 371
42.9 ip pim dr-priority ...................................................................................................... 372
42.10 ip pim join-prune-interval ........................................................................................ 373
42.11 ip pim hello-interval ................................................................................................. 373
42.12 show ip multicast .................................................................................................... 374
42.13 show ip mroute ....................................................................................................... 374
42.14 show ip mfc ............................................................................................................. 375
42.15 show ip pim interface .............................................................................................. 375
42.16 show ip pim neighbor .............................................................................................. 376
42.17 show ip pim bsr-router ............................................................................................ 377
42.18 show ip pim rp mapping.......................................................................................... 377
42.19 show ip pim rp hash ................................................................................................ 378
42.20 show ip pim ssm ..................................................................................................... 378
42.21 show ip pim statistic ................................................................................................ 379
Chapter 43 Static Multicast Routing Commands ................................................ 380
43.1 ip mroute ................................................................................................................. 380
43.2 show ip mroute static .............................................................................................. 381
Chapter 44 VRRP Commands .............................................................................. 382
44.1 ip vrrp vrid ............................................................................................................... 382
44.2 ip vrrp vrid virtual-ip ................................................................................................ 383
44.3 ip vrrp vrid virtual-ip (secondary) ............................................................................ 383
44.4 ip vrrp vrid description ............................................................................................ 384
44.5 ip vrrp vrid priority ................................................................................................... 384
XVIII
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
44.6 ip vrrp vrid timer-advertise ...................................................................................... 385
44.7 ip vrrp vrid preempt-mode ...................................................................................... 386
44.8 ip vrrp vrid authentication-mode ............................................................................. 387
44.9 ip vrrp vrid track interface ....................................................................................... 388
44.10 clear ip vrrp statistics .............................................................................................. 388
44.11 show ip vrrp ............................................................................................................ 389
44.12 show ip vrrp statistics ............................................................................................. 390
Chapter 45 RIP Commands ................................................................................. 391
45.1 router rip ................................................................................................................. 391
45.2 network ................................................................................................................... 391
45.3 version .................................................................................................................... 392
45.4 timer basic .............................................................................................................. 393
45.5 distance .................................................................................................................. 393
45.6 auto-summary ......................................................................................................... 394
45.7 default-metric .......................................................................................................... 394
45.8 redistribute .............................................................................................................. 395
45.9 poison-reverse ........................................................................................................ 396
45.10 split-horizon ............................................................................................................ 396
45.11 ip rip receive version ............................................................................................... 397
45.12 ip rip send version .................................................................................................. 397
45.13 ip rip authentication-mode ...................................................................................... 398
45.14 show ip rip ............................................................................................................... 399
Chapter 46 OSPF Commands ............................................................................. 400
46.1 router ospf ............................................................................................................... 400
46.2 router-id .................................................................................................................. 400
46.3 network ................................................................................................................... 401
46.4 maximum-paths ...................................................................................................... 402
46.5 redistribute .............................................................................................................. 402
46.6 default-metric .......................................................................................................... 403
46.7 default-information originate ................................................................................... 404
46.8 auto-cost ................................................................................................................. 405
46.9 distance .................................................................................................................. 406
46.10 timers throttle spf .................................................................................................... 407
46.11 compatible rfc1583 ................................................................................................. 407
46.12 passive-interface..................................................................................................... 408
46.13 passive-interface default ......................................................................................... 409
46.14 no area .................................................................................................................... 409
XIX
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
46.15 area stub ................................................................................................................. 410
46.16 area nssa ................................................................................................................ 410
46.17 area default-cost ...................................................................................................... 411
46.18 area range .............................................................................................................. 412
46.19 area virtual-link ....................................................................................................... 413
46.20 area virtual-link authentication ................................................................................ 414
46.21 area virtual-link authentication-key ......................................................................... 415
46.22 area virtual-link message-digest-key ...................................................................... 416
46.23 ip ospf cost .............................................................................................................. 417
46.24 ip ospf retransmit-interval ....................................................................................... 418
46.25 ip ospf transmit-delay ............................................................................................. 418
46.26 ip ospf priority ......................................................................................................... 419
46.27 ip ospf hello-interval ................................................................................................ 420
46.28 ip ospf dead-interval ............................................................................................... 420
46.29 ip ospf authentication .............................................................................................. 421
46.30 ip ospf authentication-key ....................................................................................... 422
46.31 ip ospf message-digest-key .................................................................................... 422
46.32 ip ospf network ........................................................................................................ 423
46.33 ip ospf database-filter all out................................................................................... 424
46.34 ip ospf mtu-ignore ................................................................................................... 424
46.35 clear ip ospf ............................................................................................................ 425
46.36 show ip ospf ............................................................................................................ 425
46.37 show ip ospf database ............................................................................................ 426
46.38 show ip ospf interface ............................................................................................. 427
46.39 show ip ospf neighbor ............................................................................................. 427
46.40 show ip ospf virtual-links ......................................................................................... 428
46.41 show ip ospf border-routers .................................................................................... 428
46.42 show ip route ospf .................................................................................................. 429
46.43 show ip ospf area database.................................................................................... 429
46.44 show ip ospf area interface .................................................................................... 430
46.45 show ip ospf area neighbor .................................................................................... 431
Chapter 47 SDM Template Commands ............................................................... 432
47.1 sdm prefer ............................................................................................................... 432
47.2 show sdm prefer dual-ipv4-and-ipv6 default .......................................................... 433
47.3 show sdm prefer ipv4-routing ................................................................................. 433
Chapter 48 AAA Commands ................................................................................ 434
48.1 tacacas-server host ................................................................................................ 434
XX
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
48.2 show tacacs-server ................................................................................................. 435
48.3 radius-server host ................................................................................................... 436
48.4 show radius-server ................................................................................................. 437
48.5 aaa authentication login.......................................................................................... 437
48.6 aaa authentication enable ...................................................................................... 438
48.7 aaa authentication dot1x default ............................................................................ 440
48.8 aaa accounting dot1x default ................................................................................. 440
48.9 show aaa authentication ......................................................................................... 441
48.10 show aaa accounting .............................................................................................. 441
48.11 line console ............................................................................................................. 442
48.12 login authentication (console) ................................................................................. 442
48.13 enable authentication (console) ............................................................................. 443
48.14 line telnet ................................................................................................................ 444
48.15 login authentication (telnet) .................................................................................... 444
48.16 enable authentication (telnet) ................................................................................. 445
48.17 line ssh .................................................................................................................... 445
48.18 login authentication (ssh) ....................................................................................... 446
48.19 enable authentication (ssh) .................................................................................... 447
48.20 show aaa global ...................................................................................................... 447
Chapter 49 ARP Commands ................................................................................ 449
49.1 arp ........................................................................................................................... 449
49.2 clear arp-cache ....................................................................................................... 449
49.3 arp timeout .............................................................................................................. 450
49.4 arp resptime ............................................................................................................ 450
49.5 arp retries ................................................................................................................ 451
49.6 arp dynamic-renew ................................................................................................. 452
49.7 show arp ................................................................................................................. 452
49.8 show ip arp (interface) ............................................................................................ 453
49.9 show ip arp summary ............................................................................................. 453
Chapter 50 IPv6 Address Configuration Commands .......................................... 454
50.1 ipv6 enable ............................................................................................................. 454
50.2 ipv6 address autoconfig.......................................................................................... 454
50.3 ipv6 address link-local ............................................................................................ 455
50.4 ipv6 address dhcp .................................................................................................. 456
50.5 ipv6 address ra ....................................................................................................... 456
50.6 ipv6 address eui-64 ................................................................................................ 457
50.7 ipv6 address ........................................................................................................... 458
XXI
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
50.8 ipv6 gateway ........................................................................................................... 458
50.9 show ipv6 interface ................................................................................................. 459
Chapter 51 Management Port Commands .......................................................... 460
51.1 management-port protocol ..................................................................................... 460
51.2 management-port protocol dhcp client-id ............................................................... 460
51.3 management-port ip ............................................................................................... 461
51.4 management-port ipv6 enable ................................................................................ 461
51.5 management-port ipv6 address .............................................................................. 462
51.6 management-port ipv6 address eui-64 .................................................................. 463
51.7 management-port ipv6 gateway ............................................................................. 463
51.8 management-port ipv6 address dhcp ..................................................................... 464
51.9 management-port ipv6 address autoconfig ............................................................ 464
Chapter 52 Auto VoIP Commands ...................................................................... 466
52.1 auto-voip ................................................................................................................. 466
52.2 auto-voip ................................................................................................................. 466
52.3 auto-voip dot1p ....................................................................................................... 467
52.4 auto-voip dscp ........................................................................................................ 467
52.5 auto-voip untagged ................................................................................................. 468
52.6 auto-voip none ........................................................................................................ 469
52.7 auto-voip auth ......................................................................................................... 469
52.8 auto-voip priority ..................................................................................................... 470
52.9 show auto-voip ....................................................................................................... 470
XXII
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
Preface
This Guide is intended for network administrator to provide referenced information about CLI
(Command Line Interface). The device mentioned in this Guide stands for
T3700G-28TQ/T3700G-52TQ. The commands in this guide apply to these models if not
specially noted, and T3700G-52TQ is taken as an example model in the example commands.
Some models featured in this guide may be unavailable in your country or region. For local
sales information, visit http://www.tp-link.com
Overview of this Guide
Chapter 1: Using the CLI
Provide information about how to use the CLI, CLI Command Modes, Security Levels and some
Conventions.
.
Chapter 2: User Interface
Provide information about the commands used to switch between five CLI Command Modes.
Chapter 3: Stack
Provide information about the commands used for configuring stack.
Chapter 4: IEEE 802.1Q VLAN Commands
Provide information about the commands used for configuring IEEE 802.1Q VLAN.
Chapter 5: MAC-based VLAN Commands
Provide information about the commands used for configuring MAC-based VLAN.
Chapter 6: Protocol VLAN Commands
Provide information about the commands used for configuring Protocol VLAN.
Chapter 7: VLAN-VPN Commands
Provide information about the commands used for configuring VLAN-VPN (Virtual Private
Network) function.
Chapter 8: Voice VLAN Commands
Provide information about the commands used for configuring Voice VLAN.
Chapter 9: Private VLAN Commands
Provide information about the commands used for configuring Private VLAN.
Chapter 10: GVRP Commands
Provide information about the commands used for configuring GVRP (GARP VLAN registration
protocol).
1
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
Chapter 11: EtherChannel Commands
Provide information about the commands used for configuring LAG (Link Aggregation Group)
and LACP (Link Aggregation Control Protocol).
Chapter 12: User Manage Commands
Provide information about the commands used for user management.
Chapter 13: Binding Table Commands
Provide information about the commands used for binding the IP address, MAC address, VLAN
and the connected Port number of the Host together.
Chapter 14: ARP Inspection Commands
Provide information about the commands used for protecting the switch from the ARP
cheating or ARP Attack.
Chapter 15: DoS Defend Command
Provide information about the commands used for DoS defend and detecting the DoS attack.
Chapter 16: IP Verify Source Commands
Provide information about the commands used for guarding the IP Source by filtering the IP
packets based on the IP-MAC Binding entries.
Chapter 17: IEEE 802.1X Commands
Provide information about the commands used for configuring IEEE 802.1X function.
Chapter 18: System Log Commands
Provide information about the commands used for configuring system log.
Chapter 19: SSH Commands
Provide information about the commands used for configuring and managing SSH (Security
Shell).
Chapter 20: HTTP and HTTPS Commands
Provide information about the commands used for configuring the HTTP and HTTPS logon.
Chapter 21: MAC Address Commands
Provide information about the commands used for MAC Address configuration.
Chapter 22: System Configuration Commands
Provide information about the commands used for configuring the System information and
System IP, reboot and reset the switch, upgrade the switch system and commands used for
device diagnose, including loopback test and cable test.
Chapter 23: Ethernet Configuration Commands
Provide information about the commands used for configuring the Bandwidth Control,
Negotiation Mode, and Storm Control for ethernet ports.
2
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
Chapter 24: Class of Service Commands
Provide information about the commands used for configuring the CoS function.
Chapter 25: Differentiated Services Commands
Provide information about the commands used for configuring the Differentiated Services
(DiffServ) function.
Chapter 26: Port Mirror Commands
Provide information about the commands used for configuring the Port Mirror function.
Chapter 27: Port Isolation Commands
Provide information about the commands used for configuring Port Isolation function.
Chapter 28: Loopback Detection Commands
Provide information about the commands used for configuring the Loopback Detection
function.
Chapter 29: ACL Commands
Provide information about the commands used for configuring the ACL (Access Control List).
Chapter 30: MSTP Commands
Provide information about the commands used for configuring the MSTP (Multiple Spanning
Tree Protocol).
Chapter 31: IGMP Snooping Commands
Provide information about the commands used for configuring the IGMP Snooping (Internet
Group Management Protocol Snooping).
Chapter 32: MLD Snooping Commands
Provide information about the commands used for configuring the MLD Snooping (Multicast
Listener Discovery Snooping).
Chapter 33: MVR Commands
Provide information about the commands used for configuring the MVR (Multicast VLAN
Registration).
Chapter 34: Static multicast MAC address table Commands
Provide information about the commands used for creating static multicast entries and viewing
Multicast Forwarding Database (MFDB) table information.
Chapter 35: SNMP Commands
Provide information about the commands used for configuring the SNMP (Simple Network
Management Protocol) functions.
Chapter 36: LLDP Commands
Provide information about the commands used for configuring LLDP function.
3
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
Chapter 37: Static Routes Commands
Provide information about the commands used for configuring the Static Route function.
Chatper 38: DHCP Server Commands
Provide information about the commands used for configuring the DHCP Server function.
Chapter 39: DCHP Relay Commands
Provide information about the commands used for configuring the DHCP Relay function.
Chapter 40: Proxy ARP Commands
Provide information about the commands used for configuring the Proxy ARP function.
Chapter 41: IGMP Commands
Provide information about the commands used for configuring the IGMP function.
Chapter 42: PIM Commands
Provide information about the commands used for configuring the PIM function.
Chapter 43: Static Multicast Routing Commands
Provide information about the commands used for configuring the Static Multicast Routing
function.
Chapter 44: VRRP Commands
Provide information about the commands used for configuring the VRRP function.
Chapter 45: RIP Commands
Provide information about the commands used for configuring the RIP function.
Chapter 46: OSPF Commands
Provide information about the commands used for configuring the OSPF function.
Chapter 47: SDM Template Commands
Provide information about the commands used for configuring the SDM templates.
Chapter 48: AAA Commands
Provide information about the commands used for configuring AAA (authentication,
authorization and accounting).
Chapter 49: ARP Commands
Provide information about the commands used for configuring the Address Resolution
Protocol (ARP).
Chapter 50: IPv6 Address Configuration Commands
Provide information about the commands used for configuring the System IPv6 addresses.
Chapter 51: Management Port Commands
Provide information about the commands used for configuring the management port.
4
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
Chapter 52: Auto VoIP Commands
Provide information about the commands used for configuring the Auto VoIP.
5
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
Chapter 1 Using the CLI
1.1 Accessing the CLI
You can log in to the switch and access the CLI by the following three methods:
1. Log in to the switch by the console port on the switch.
2. Log in to the switch remotely by a Telnet connection through an Ethernet port.
3. Log in to the switch remotely by an SSH connection through an Ethernet port.
1.1.1 Logon by a console port
Console Port
The switch has two console ports: an RJ-45 console port and a Micro-USB console port.
Console output is active on devices connected to both console ports, but console input is only
active on one console port at a time.
The Micro-USB connector takes precedence over the RJ-45 connector. When the switch
detects a valid connection on the Micro-USB console port, input from the RJ-45 console port is
immediately disabled, and input from the Micro-USB console port is enabled. Removing the
Micro-USB connection immediately reenables input from the RJ-45 console connection.
USB Console Driver
If you are using the USB port on the MAC OS X or Linux OS for console connection, there is no
need to run a USB driver.
If you are using the switch’s Micro-USB console port with the USB port of a Windows PC, a
driver for the USB port is required. The USB driver is provided on the resource CD. Follow the
InstallSheild Wizard to accomplish the installation.
The TP-Link USB Console Driver supports the following Windows operating systems:
32-bit Windows XP SP3
64-bit Windows XP
32-bit Windows Vista
64-bit Windows Vista
32-bit Windows 7
64-bit Windows 7
32-bit Windows 8
6
JetStream Gigabit Stackable L3 Managed Switch CLI Guide
64-bit Windows 8
32-bit Windows 8.1
64-bit Windows 8.1
After the TP-Link USB Console Driver is installed, the PC’s USB port will act as RS-232 serial
port when the PC’s USB port is connected to the switch’s Micro-USB console port. And the
PC’s USB port will act as standard USB port when the PC’s USB port is unplugged from the
switch.
Logon
Take the following steps to log in to the switch by the console port.
1. Connect the PCs or Terminals to the console port on the switch by the provided cable.
2. Start the terminal emulation program (such as the HyperTerminal) on the PC.
3. Specify the connection COM port in the terminal emulation program. If the Micro-USB
Console port is used, you can view which port is assigned to the USB serial port in the
following path:
Control Panel -> Hardware and Sound -> Device Manager -> Ports ->USB Serial Port.
Figure 1-1 USB Serial Port Number
4. Configure the terminal emulation program or the terminal to use the following settings:
Baud rate: 38400 bps
Data bits: 8
Parity: none
Stop bits: 1
Flow control: none
7