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