TP-Link T2500G-10TS REV2.1.0 CLI Reference Guide

CLI Reference Guide
T2500G-10TS (TL-SG3210)
1910012660 REV2.1.0
December 2019
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 © 2020 TP-Link Technologies Co., Ltd. All rights
reserved.
https://www.tp-link.com
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 Logon by Telnet ......................................................................................................................... 8
1.1.3 Logon by SSH ............................................................................................................................. 9
1.2 CLI Command Modes ............................................................................................................................... 15
1.3 Privilege Restrictions ................................................................................................................................ 18
1.4 Conventions ................................................................................................................................................. 18
1.4.1 Format Conventions .............................................................................................................. 18
1.4.2 Special Characters ................................................................................................................ 19
1.4.3 Parameter Format .................................................................................................................. 19
Chapter 2 Line Commands ............................................................................................. 20
2.1 line ......................................................................................................................................................... 20
2.2 media-type rj45 ................................................................................................................................ 21
Chapter 3 User Interface ................................................................................................ 22
3.1 enable................................................................................................................................................... 22
3.2 service password-encryption .................................................................................................... 22
3.3 enable password ............................................................................................................................. 23
3.4 enable secret .................................................................................................................................... 24
3.5 configure ............................................................................................................................................. 25
3.6 exit ......................................................................................................................................................... 25
3.7 end ........................................................................................................................................................ 26
3.8 clipaging .............................................................................................................................................. 26
3.9 history .................................................................................................................................................. 27
3.10 history clear ....................................................................................................................................... 27
Chapter 4 User Management Commands .................................................................. 29
4.1 user name (password) ................................................................................................................... 29
4.2 user name (secret) .......................................................................................................................... 30
4.3 service password-recovery ........................................................................................................ 31
4.4 show user account-list .................................................................................................................. 32
4.5 show user configuration ............................................................................................................... 33
II
Chapter 5 System Configuration Commands ........................................................... 34
5.1 system-time manual ....................................................................................................................... 34
5.2 system-time ntp ............................................................................................................................... 34
5.3 system-time dst predefined ........................................................................................................ 36
5.4 system-time dst date ..................................................................................................................... 37
5.5 system-time dst recurring ........................................................................................................... 38
5.6 hostname ............................................................................................................................................ 39
5.7 location ................................................................................................................................................ 40
5.8 contact-info ....................................................................................................................................... 40
5.9 ip address ........................................................................................................................................... 41
5.10 ip address-alloc ................................................................................................................................ 42
5.11 reset ...................................................................................................................................................... 43
5.12 service reset-disable ..................................................................................................................... 43
5.13 reboot .................................................................................................................................................. 44
5.14 reboot-schedule .............................................................................................................................. 44
5.15 copy running-config startup-config ........................................................................................ 45
5.16 copy startup-config tftp ............................................................................................................... 46
5.17 copy tftp startup-config ............................................................................................................... 46
5.18 copy backup-config tftp ............................................................................................................... 47
5.19 copy backup-config startup-config ......................................................................................... 48
5.20 copy running-config backup-config ........................................................................................ 48
5.21 copy tftp backup-config ............................................................................................................... 49
5.22 boot application ............................................................................................................................... 50
5.23 boot config ......................................................................................................................................... 50
5.24 remove backup-image .................................................................................................................. 51
5.25 firmware upgrade ............................................................................................................................ 52
5.26 boot autoinstall start ...................................................................................................................... 53
5.27 boot autoinstall persistent-mode ............................................................................................. 53
5.28 boot autoinstall auto-save ........................................................................................................... 54
5.29 boot autoinstall auto-reboot ....................................................................................................... 54
5.30 boot autoinstall retry-count ........................................................................................................ 55
5.31 show boot autoinstall ..................................................................................................................... 55
5.32 show boot autoinstall downloaded-config ............................................................................ 56
5.33 ping ....................................................................................................................................................... 56
5.34 tracert .................................................................................................................................................. 57
5.35 show system-info ............................................................................................................................ 58
5.36 show image-info .............................................................................................................................. 59
III
5.37 show boot ........................................................................................................................................... 59
5.38 show running-config ...................................................................................................................... 60
5.39 show startup-config ....................................................................................................................... 60
5.40 show system-time ........................................................................................................................... 61
5.41 show system-time dst ................................................................................................................... 61
5.42 show system-time ntp ................................................................................................................... 62
5.43 show cable-diagnostics interface ............................................................................................ 62
5.44 show cpu-utilization........................................................................................................................ 63
5.45 show memory-utilization .............................................................................................................. 63
Chapter 6 EEE Configuration Commands .................................................................. 64
6.1 eee ......................................................................................................................................................... 64
6.2 show interface eee ......................................................................................................................... 64
Chapter 7 SDM Template Commands ......................................................................... 66
7.1 sdm prefer .......................................................................................................................................... 66
7.2 show sdm prefer .............................................................................................................................. 67
Chapter 8 Time Range Commands ............................................................................... 68
8.1 time-range .......................................................................................................................................... 68
8.2 absolute............................................................................................................................................... 68
8.3 periodic................................................................................................................................................ 69
8.4 holiday (time-range mode) ........................................................................................................... 70
8.5 holiday .................................................................................................................................................. 71
8.6 show holiday ...................................................................................................................................... 71
8.7 show time-range .............................................................................................................................. 72
Chapter 9 Port Configuration Commands ................................................................. 73
9.1 interface gigabitEthernet ............................................................................................................. 73
9.2 interface range gigabitEthernet ................................................................................................ 73
9.3 description ......................................................................................................................................... 74
9.4 shutdown ............................................................................................................................................ 75
9.5 flow-control ....................................................................................................................................... 76
9.6 duplex ................................................................................................................................................... 76
9.7 jumbo-size .......................................................................................................................................... 77
9.8 speed ................................................................................................................................................... 78
9.9 serdes-mode .....................................................................................................................................
9.10 clear counters ................................................................................................................................... 79
9.11 show fiber-ports .............................................................................................................................. 80
IV
78
9.12 show interface status .................................................................................................................... 80
9.13 show interface counters ............................................................................................................... 81
9.14 show interface configuration ...................................................................................................... 81
Chapter 10 Port Isolation Commands ........................................................................... 83
10.1 port isolation ..................................................................................................................................... 83
10.2 show port isolation interface ...................................................................................................... 84
Chapter 11 Loopback Detection Commands .............................................................. 85
11.1 loopback-detection (global) ........................................................................................................ 85
11.2 loopback-detection interval ........................................................................................................ 85
11.3 loopback-detection recovery-time .......................................................................................... 86
11.4 loopback-detection (interface) .................................................................................................. 87
11.5 loopback-detection config process-mode ........................................................................... 87
11.6 loopback-detection recover ....................................................................................................... 88
11.7 show loopback-detection global .............................................................................................. 89
11.8 show loopback-detection interface ......................................................................................... 89
Chapter 12 DDM Commands ............................................................................................ 91
12.1 ddm state enable ............................................................................................................................. 91
12.2 ddm shutdown .................................................................................................................................. 91
12.3 ddm temperature_threshold ....................................................................................................... 92
12.4 ddm voltage_threshold ................................................................................................................. 93
12.5 ddm bias_current_threshold ....................................................................................................... 94
12.6 ddm tx_power_threshold ............................................................................................................. 95
12.7 ddm rx_power_threshold ............................................................................................................. 96
12.8 show ddm configuration ............................................................................................................... 97
12.9 show ddm status ............................................................................................................................. 98
Chapter 13 Etherchannel Commands ........................................................................... 99
13.1 channel-group .................................................................................................................................. 99
13.2 port-channel load-balance ....................................................................................................... 100
13.3 lacp system-priority .................................................................................................................... 101
13.4 lacp port-priority ........................................................................................................................... 102
13.5 show etherchannel ...................................................................................................................... 102
13.6 show etherchannel load-balance ........................................................................................... 103
13.7 show lacp ......................................................................................................................................... 104
13.8 show lacp sys-
id ........................................................................................................................... 104
V
Chapter 14 MAC Address Commands ........................................................................ 106
14.1 mac address-table static .......................................................................................................... 106
14.2 no mac address-table dynamic .............................................................................................. 107
14.3 mac address-table aging-time ................................................................................................ 107
14.4 mac address-table filtering ...................................................................................................... 108
14.5 mac address-table notification ............................................................................................... 109
14.6 mac address-table max-mac-count ..................................................................................... 109
14.7 mac address-table notification (interface) ......................................................................... 111
14.8 mac address-table security ..................................................................................................... 112
14.9 mac address-table vlan-security ........................................................................................... 113
14.10 show mac address-table ........................................................................................................... 114
14.11 clear mac address-table ............................................................................................................ 114
14.12 show mac address-table aging-time .................................................................................... 115
14.13 show mac address-table max-mac-count ......................................................................... 115
14.14 show mac address-table interface ........................................................................................ 116
14.15 show mac address-table count .............................................................................................. 117
14.16 show mac address-table address ......................................................................................... 117
14.17 show mac address-table vlan .................................................................................................. 118
14.18 show mac address-table notification ................................................................................... 118
14.19 show mac address-table vlan-security ............................................................................... 119
Chapter 15 IEEE 802.1Q VLAN Commands ............................................................... 120
15.1 vlan ..................................................................................................................................................... 120
15.2 name .................................................................................................................................................. 121
15.3 vlan_trunk (globally) ..................................................................................................................... 121
15.4 vlan_trunk (interface) .................................................................................................................. 122
15.5 switchport general allowed vlan ............................................................................................. 122
15.6 switchport pvid .............................................................................................................................. 123
15.7 switchport check ingress .......................................................................................................... 124
15.8 switchport acceptable frame ................................................................................................... 125
15.9 show vlan summary ..................................................................................................................... 125
15.10 show vlan brief ............................................................................................................................... 126
15.11 show vlan ......................................................................................................................................... 126
15.12 show interface switchport ........................................................................................................ 127
Chapter 16 MAC-based VLAN Commands ................................................................ 128
16.1 mac-vlan mac-address .............................................................................................................. 128
16.2 mac-vlan .......................................................................................................................................... 129
VI
16.3 show mac-vlan ............................................................................................................................... 129
16.4 show mac-vlan interface ........................................................................................................... 130
Chapter 17 Protocol-based VLAN Commands ........................................................ 131
17.1 protocol-vlan template ............................................................................................................... 131
17.2 protocol-vlan vlan ........................................................................................................................ 132
17.3 protocol-vlan group..................................................................................................................... 133
17.4 show protocol-vlan template ................................................................................................... 134
17.5 show protocol-vlan vlan............................................................................................................. 134
Chapter 18 VLAN-VPN Commands ............................................................................. 135
18.1 dot1q-tunnel................................................................................................................................... 135
18.2 switchport dot1q-tunnel tpid ................................................................................................... 135
18.3 dot1q-tunnel mapping ................................................................................................................ 136
18.4 switchport dot1q-tunnel mode ............................................................................................... 137
18.5 switchport dot1q-tunnel missdrop ....................................................................................... 138
18.6 switchport dot1q-tunnel mapping ......................................................................................... 138
18.7 show dot1q-tunnel ....................................................................................................................... 139
18.8 show dot1q-tunnel mapping .................................................................................................... 140
18.9 show dot1q-tunnel interface ................................................................................................... 140
Chapter 19 GVRP Commands ....................................................................................... 142
19.1 gvrp .................................................................................................................................................... 142
19.2 gvrp (interface) .............................................................................................................................. 142
19.3 gvrp registration ........................................................................................................................... 143
19.4 gvrp timer ........................................................................................................................................ 144
19.5 show gvrp interface ..................................................................................................................... 145
19.6 show gvrp global ........................................................................................................................... 146
Chapter 20 IGMP Snooping Commands..................................................................... 147
20.1 ip igmp snooping (global) .......................................................................................................... 147
20.2 ip igmp snooping version .......................................................................................................... 147
20.3 ip igmp snooping drop-unknown ........................................................................................... 148
20.4 ip igmp snooping header-validation ..................................................................................... 149
20.5 ip igmp snooping vlan-config .................................................................................................. 149
20.6 ip igmp snooping vlan-config (immediate-leave) ............................................................. 151
20.7 ip igmp snooping vlan-config (report-suppression) .......................................................
20.8 ip igmp snooping vlan-config (router-ports-forbidden) ................................................ 152
20.9 ip igmp snooping vlan-config (rport interface) ................................................................. 153
VII
151
20.10 ip igmp snooping vlan-config (static) ................................................................................... 154
20.11 ip igmp snooping vlan-config (querier) ................................................................................ 155
20.12 ip igmp snooping (interface) .................................................................................................... 156
20.13 ip igmp snooping max-groups ................................................................................................ 157
20.14 ip igmp snooping immediate-leave ....................................................................................... 158
20.15 ip igmp snooping authentication ............................................................................................ 159
20.16 ip igmp snooping accounting .................................................................................................. 159
20.17 ip igmp profile ................................................................................................................................ 160
20.18 deny ................................................................................................................................................... 161
20.19 permit ................................................................................................................................................ 161
20.20 range ................................................................................................................................................. 162
20.21 ip igmp filter .................................................................................................................................... 162
20.22 clear ip igmp snooping statistics ........................................................................................... 163
20.23 show ip igmp snooping .............................................................................................................. 163
20.24 show ip igmp snooping interface ........................................................................................... 164
20.25 show ip igmp snooping vlan ..................................................................................................... 165
20.26 show ip igmp snooping groups ............................................................................................... 165
20.27 show ip igmp profile .................................................................................................................... 166
Chapter 21 MLD Snooping Commands ...................................................................... 168
21.1 ipv6 mld snooping (global) ........................................................................................................ 168
21.2 ipv6 mld snooping drop-unknown ......................................................................................... 168
21.3 ipv6 mld snooping vlan-config ................................................................................................ 169
21.4 ipv6 mld snooping vlan-config (immediate-leave) .......................................................... 170
21.5 ipv6 mld snooping vlan-config (report-suppression) ..................................................... 171
21.6 ipv6 mld snooping vlan-config (router-ports-forbidden) ............................................. 172
21.7 ipv6 mld snooping vlan-config (rport interface) ............................................................... 173
21.8 ipv6 mld snooping vlan-config (static) ................................................................................. 173
21.9 ipv6 mld snooping vlan-config (querier) .............................................................................. 174
21.10 ipv6 mld snooping (interface) .................................................................................................. 176
21.11 ipv6 mld snooping max-groups .............................................................................................. 176
21.12 ipv6 mld snooping immediate-leave ..................................................................................... 178
21.13 ipv6 mld profile .............................................................................................................................. 178
21.14 deny ................................................................................................................................................... 179
21.15 permit ................................................................................................................................................ 179
21.16
range ................................................................................................................................................. 180
21.17 ipv6 mld filter .................................................................................................................................. 181
21.18 clear ipv6 mld snooping statistics ......................................................................................... 181
VIII
21.19 show ipv6 mld snooping ............................................................................................................ 182
21.20 show ipv6 mld snooping interface ......................................................................................... 182
21.21 show ipv6 mld snooping vlan ................................................................................................... 183
21.22 show ipv6 mld snooping groups ............................................................................................ 184
21.23 show ipv6 mld profile .................................................................................................................. 184
Chapter 22 MVR Commands ......................................................................................... 186
22.1 mvr (global) ...................................................................................................................................... 186
22.2 mvr group ........................................................................................................................................ 186
22.3 mvr mode ......................................................................................................................................... 187
22.4 mvr querytime ................................................................................................................................ 188
22.5 mvr vlan ............................................................................................................................................ 189
22.6 mvr (interface) ................................................................................................................................ 189
22.7 mvr type ........................................................................................................................................... 190
22.8 mvr immediate ............................................................................................................................... 191
22.9 mvr vlan (group) ............................................................................................................................. 191
22.10 show mvr .......................................................................................................................................... 192
22.11 show mvr interface ...................................................................................................................... 193
22.12 show mvr members ..................................................................................................................... 193
Chapter 23 MSTP Commands ....................................................................................... 195
23.1 debug spanning-tree .................................................................................................................. 195
23.2 spanning-tree (global) ................................................................................................................. 196
23.3 spanning-tree (interface) ........................................................................................................... 196
23.4 spanning-tree common-config ............................................................................................... 197
23.5 spanning-tree mode .................................................................................................................... 198
23.6 spanning-tree mst configuration ........................................................................................... 199
23.7 instance ............................................................................................................................................ 200
23.8 name .................................................................................................................................................. 200
23.9 revision ............................................................................................................................................. 201
23.10 spanning-tree mst instance ..................................................................................................... 202
23.11 spanning-tree mst ........................................................................................................................ 202
23.12 spanning-tree priority ................................................................................................................. 203
23.13 spanning-tree timer ..................................................................................................................... 204
23.14 spanning-tree hold-count ......................................................................................................... 205
23.15 spanning-tree max-hops ........................................................................................................... 205
23.16 spanning-tree bpdufilter ............................................................................................................ 206
23.17 spanning-tree bpduflood .......................................................................................................... 207
IX
23.18 spanning-tree bpduguard ......................................................................................................... 207
23.19 spanning-tree guard loop ......................................................................................................... 208
23.20 spanning-tree guard root .......................................................................................................... 209
23.21 spanning-tree guard tc .............................................................................................................. 209
23.22 spanning-tree mcheck ............................................................................................................... 210
23.23 show spanning-tree active ....................................................................................................... 211
23.24 show spanning-tree bridge ...................................................................................................... 211
23.25 show spanning-tree interface ................................................................................................. 212
23.26 show spanning-tree interface-security ............................................................................... 213
23.27 show spanning-tree mst ............................................................................................................ 213
Chapter 24 LLDP Commands ........................................................................................ 215
24.1 lldp ...................................................................................................................................................... 215
24.2 lldp forward_message ................................................................................................................ 215
24.3 lldp hold-multiplier ....................................................................................................................... 216
24.4 lldp timer .......................................................................................................................................... 217
24.5 lldp receive ...................................................................................................................................... 218
24.6 lldp transmit .................................................................................................................................... 218
24.7 lldp snmp-trap ............................................................................................................................... 219
24.8 lldp tlv-select .................................................................................................................................. 220
24.9 lldp management-address ....................................................................................................... 220
24.10 lldp med-fast-count ..................................................................................................................... 221
24.11 lldp med-status ............................................................................................................................. 222
24.12 lldp med-tlv-select ....................................................................................................................... 222
24.13 lldp med-location .......................................................................................................................... 223
24.14 show lldp .......................................................................................................................................... 224
24.15 show lldp interface ....................................................................................................................... 225
24.16 show lldp local-information interface ................................................................................... 225
24.17 show lldp neighbor-information interface .......................................................................... 226
24.18 show lldp traffic interface .......................................................................................................... 226
Chapter 25 L2PT Commands ........................................................................................ 228
25.1 l2protocol-tunnel .......................................................................................................................... 228
25.2 l2protocol-tunnel type ............................................................................................................... 228
25.3 show l2protocol-tunnel global ................................................................................................ 230
25.4 show l2protocol-tunnel interface .......................................................................................... 230
Chapter 26 PPPoE ID-Insertion Commands ............................................................. 232
26.1 pppoe id-insertion (global) ........................................................................................................ 232
X
26.2 pppoe circuit-id (interface) ....................................................................................................... 233
26.3 pppoe circuit-id type ................................................................................................................... 233
26.4 pppoe remote-id ........................................................................................................................... 234
26.5 show pppoe id-insertion global .............................................................................................. 235
26.6 show pppoe id-insertion interface ........................................................................................ 235
Chapter 27 Static Routes Commands ........................................................................ 237
27.1 ip routing .......................................................................................................................................... 237
27.2 interface vlan .................................................................................................................................. 237
27.3 interface loopback ....................................................................................................................... 238
27.4 switchport ....................................................................................................................................... 238
27.5 interface range port-channel ................................................................................................... 239
27.6 Description...................................................................................................................................... 240
27.7 shutdown ......................................................................................................................................... 240
27.8 interface port-channel................................................................................................................ 241
27.9 ip route .............................................................................................................................................. 242
27.10 ipv6 routing ..................................................................................................................................... 242
27.11 ipv6 route ......................................................................................................................................... 243
27.12 show interface vlan ...................................................................................................................... 244
27.13 show ip interface .......................................................................................................................... 244
27.14 show ip interface brief ................................................................................................................ 245
27.15 show ip route .................................................................................................................................. 245
27.16 show ip route specify .................................................................................................................. 246
27.17 show ip route summary .............................................................................................................. 247
27.18 show ipv6 interface ..................................................................................................................... 247
27.19 show ipv6 route ............................................................................................................................. 248
27.20 show ipv6 route summary ......................................................................................................... 248
Chapter 28 IPv6 Address Configuration Commands ............................................. 250
28.1 ipv6 enable ...................................................................................................................................... 250
28.2 ipv6 address autoconfig ............................................................................................................ 250
28.3 ipv6 address link-local ................................................................................................................ 251
28.4 ipv6 address dhcp ........................................................................................................................ 252
28.5 ipv6 address ra .............................................................................................................................. 252
28.6 ipv6 address eui-64 ..................................................................................................................... 253
28.7 ipv6 address ................................................................................................................................... 254
28.8 show ipv6 interface ..................................................................................................................... 255
XI
Chapter 29 ARP Commands .......................................................................................... 256
29.1 arp ....................................................................................................................................................... 256
29.2 clear arp-cache ............................................................................................................................. 257
29.3 arp dynamicrenew ........................................................................................................................ 257
29.4 arp timeout ...................................................................................................................................... 258
29.5 gratuitous-arp intf-status-up enable .................................................................................... 258
29.6 gratuitous-arp dup-ip-detected enable .............................................................................. 259
29.7 gratuitous-arp learning enable ................................................................................................ 259
29.8 gratuitous-arp send-interval .................................................................................................... 260
29.9 ip proxy-arp .................................................................................................................................... 261
29.10 ip local-proxy-arp ......................................................................................................................... 261
29.11 show arp ........................................................................................................................................... 262
29.12 show ip arp (interface) ................................................................................................................ 263
29.13 show ip arp summary .................................................................................................................. 263
29.14 show gratuitous-arp .................................................................................................................... 264
29.15 show ip proxy-arp ......................................................................................................................... 264
Chapter 30 DHCP Server Commands ......................................................................... 266
30.1 service dhcp server ..................................................................................................................... 266
30.2 ip dhcp server extend-option capwap-ac-ip ..................................................................... 266
30.3 ip dhcp server extend-option vendor-class-id ................................................................. 267
30.4 ip dhcp server exclude-address ............................................................................................. 268
30.5 ip dhcp server pool ...................................................................................................................... 269
30.6 ip dhcp server ping timeout ..................................................................................................... 269
30.7 ip dhcp server ping packets ..................................................................................................... 270
30.8 network ............................................................................................................................................. 271
30.9 lease .................................................................................................................................................. 271
30.10 address hardware-address ...................................................................................................... 272
30.11 address client-identifier ............................................................................................................. 273
30.12 default-gateway ............................................................................................................................ 273
30.13 dns-server ....................................................................................................................................... 274
30.14 netbios-name-server .................................................................................................................. 275
30.15
netbios-node-type ....................................................................................................................... 275
30.16 next-server...................................................................................................................................... 276
30.17 domain-name ................................................................................................................................. 277
30.18 bootfile .............................................................................................................................................. 277
30.19 show ip dhcp server status ...................................................................................................... 278
30.20 show ip dhcp server statistics ................................................................................................. 278
XII
30.21 show ip dhcp server extend-option ...................................................................................... 279
30.22 show ip dhcp server pool .......................................................................................................... 279
30.23 show ip dhcp server excluded-address .............................................................................. 280
30.24 show ip dhcp server manual-binding .................................................................................... 280
30.25 show ip dhcp server binding .................................................................................................... 281
30.26 clear ip dhcp server statistics ................................................................................................. 281
30.27 clear ip dhcp server binding ..................................................................................................... 282
Chapter 31 DHCP Relay Commands ........................................................................... 283
31.1 service dhcp relay ........................................................................................................................ 283
31.2 ip dhcp relay hops ........................................................................................................................ 283
31.3 ip dhcp relay time ......................................................................................................................... 284
31.4 ip helper-address ......................................................................................................................... 285
31.5 ip dhcp relay information ........................................................................................................... 285
31.6 ip dhcp relay information strategy ......................................................................................... 286
31.7 ip dhcp relay information format ............................................................................................ 287
31.8 ip dhcp relay information circuit-id........................................................................................ 288
31.9 ip dhcp relay information remote-id ..................................................................................... 288
31.10 ip dhcp relay default-interface ................................................................................................ 289
31.11 ip dhcp relay vlan .......................................................................................................................... 290
31.12 show ip dhcp relay ....................................................................................................................... 290
Chapter 32 DHCP L2 Relay Commands ..................................................................... 292
32.1 ip dhcp l2relay ................................................................................................................................ 292
32.2 ip dhcp l2relay vlan ...................................................................................................................... 292
32.3 ip dhcp l2relay information ....................................................................................................... 293
32.4 ip dhcp l2relay information strategy ..................................................................................... 293
32.5 ip dhcp l2relay information format ........................................................................................ 294
32.6 ip dhcp l2relay information circuit-id .................................................................................... 295
32.7 ip dhcp l2relay information remote-id .................................................................................. 296
32.8 show ip dhcp l2relay .................................................................................................................... 296
32.9 show ip dhcp l2relay interface ................................................................................................ 297
Chapter 33 QoS Commands .......................................................................................... 298
33.1 qos trust mode .............................................................................................................................. 298
33.2 qos port-priority ............................................................................................................................ 299
33.3 qos cos-map .................................................................................................................................. 299
33.4 qos dot1p-remap .........................................................................................................................
33.5 qos dscp-map ................................................................................................................................ 301
XIII
300
33.6 qos dscp-remap ........................................................................................................................... 302
33.7 qos queue mode ........................................................................................................................... 302
33.8 show qos cos-map ...................................................................................................................... 303
33.9 show qos dot1p-remap.............................................................................................................. 304
33.10 show qos dscp-map .................................................................................................................... 304
33.11 show qos dscp-remap ................................................................................................................ 305
33.12 show qos port-priority interface ............................................................................................ 305
33.13 show qos trust interface ............................................................................................................ 306
33.14 show qos queue interface ......................................................................................................... 306
Chapter 34 Bandwidth Control Commands .............................................................. 308
34.1 storm-control rate-mode .......................................................................................................... 308
34.2 storm-control ................................................................................................................................. 309
34.3 storm-control exceed ................................................................................................................. 310
34.4 storm-control recover ................................................................................................................ 310
34.5 bandwidth ........................................................................................................................................ 311
34.6 show storm-control ..................................................................................................................... 312
34.7 show bandwidth ............................................................................................................................ 312
Chapter 35 Voice VLAN Commands ........................................................................... 314
35.1 voice vlan ......................................................................................................................................... 314
35.2 voice vlan (interface) ................................................................................................................... 314
35.3 voice vlan priority ......................................................................................................................... 315
35.4 voice vlan oui .................................................................................................................................. 316
35.5 show voice vlan ............................................................................................................................. 316
35.6 show voice vlan oui-table .......................................................................................................... 317
35.7 show voice vlan interface .......................................................................................................... 317
Chapter 36 Auto VoIP Commands ............................................................................... 319
36.1 auto-voip .......................................................................................................................................... 319
36.2 auto-voip (interface) .................................................................................................................... 319
36.3 auto-voip dot1p ............................................................................................................................ 320
36.4 auto-voip untagged ..................................................................................................................... 321
36.5 auto-voip none .............................................................................................................................. 321
36.6 no auto-voip (interface) .............................................................................................................. 322
36.7
36.8 auto-voip data priority ................................................................................................................ 323
36.9 show auto-voip .............................................................................................................................. 324
auto-voip dscp .............................................................................................................................. 322
XIV
Chapter 37 Access Control Commands .................................................................... 325
37.1 user access-control ip-based enable .................................................................................. 325
37.2 user access-control ip-based ................................................................................................. 325
37.3 user access-control mac-based enable ............................................................................. 326
37.4 user access-control mac-based ............................................................................................ 327
37.5 user access-control port-based enable ............................................................................. 328
37.6 user access-control port-based ............................................................................................ 328
Chapter 38 HTTP and HTTPS Commands ................................................................. 330
38.1 ip http server .................................................................................................................................. 330
38.2 ip http port ....................................................................................................................................... 331
38.3 ip http max-users .......................................................................................................................... 331
38.4 ip http session timeout ............................................................................................................... 332
38.5 ip http secure-server .................................................................................................................. 333
38.6 ip http secure-port ....................................................................................................................... 333
38.7 ip http secure-protocol .............................................................................................................. 334
38.8 ip http secure-ciphersuite ........................................................................................................ 335
38.9 ip http secure-max-users .......................................................................................................... 336
38.10 ip http secure-session timeout ............................................................................................... 337
38.11 ip http secure-server download certificate ....................................................................... 337
38.12 ip http secure-server download key ..................................................................................... 338
38.13 show ip http configuration ........................................................................................................ 339
38.14 show ip http secure-server ...................................................................................................... 340
Chapter 39 SSH Commands .......................................................................................... 341
39.1 ip ssh server ................................................................................................................................... 341
39.2 ip ssh port ........................................................................................................................................ 341
39.3 ip ssh version ................................................................................................................................. 342
39.4 ip ssh algorithm ............................................................................................................................. 343
39.5 ip ssh timeout ................................................................................................................................. 343
39.6 ip ssh max-client ........................................................................................................................... 344
39.7 ip ssh download ............................................................................................................................ 345
39.8 remove public-key ....................................................................................................................... 345
39.9 show ip ssh ................................................................
..................................................................... 346
Chapter 40 Telnet Commands ...................................................................................... 347
40.1 telnet ................................................................................................................................................. 347
40.2 telnet enable ................................................................................................................................... 347
XV
40.3 telnet port ........................................................................................................................................ 348
40.4 show telnet-status ....................................................................................................................... 348
Chapter 41 Serial Port Commands .............................................................................. 350
41.1 serial_port baud-rate .................................................................................................................. 350
Chapter 42 AAA Commands .......................................................................................... 351
42.1 tacacas-server host .................................................................................................................... 351
42.2 show tacacs-server ..................................................................................................................... 352
42.3 radius-server host ........................................................................................................................ 353
42.4 show radius-server ...................................................................................................................... 354
42.5 aaa group ......................................................................................................................................... 355
42.6 server ................................................................................................................................................ 356
42.7 show aaa group ............................................................................................................................. 356
42.8 aaa authentication login ............................................................................................................. 357
42.9 aaa authentication enable ......................................................................................................... 358
42.10 aaa authentication dot1x default ........................................................................................... 359
42.11 aaa accounting dot1x default .................................................................................................. 360
42.12 show aaa authentication ............................................................................................................ 360
42.13 show aaa accounting .................................................................................................................. 361
42.14 line telnet ......................................................................................................................................... 361
42.15 login authentication (telnet) ...................................................................................................... 362
42.16 line ssh .............................................................................................................................................. 363
42.17 login authentication (ssh) .......................................................................................................... 363
42.18 line console ..................................................................................................................................... 364
42.19 login authentication (console) ................................................................................................. 364
42.20 enable authentication (telnet) .................................................................................................. 365
42.21 enable authentication (ssh) ...................................................................................................... 366
42.22 enable authentication (console) ............................................................................................. 367
42.23 ip http login authentication ....................................................................................................... 367
42.24 ip http enable authentication ................................................................................................... 368
42.25 show aaa global ............................................................................................................................. 369
42.26 enable admin password ............................................................................................................. 369
42.27 enable admin secret .................................................................................................................... 370
42.28 enable-admin ................................................................................................................................. 371
Chapter 43 IEEE 802.1x Commands ............................................................................ 373
43.1 dot1x system
43.2 dot1x handshake .......................................................................................................................... 374
-auth-control ...................................................................................................... 373
XVI
43.3 dot1x auth-protocol .................................................................................................................... 374
43.4 dot1x vlan-assignment .............................................................................................................. 375
43.5 dot1x accounting ......................................................................................................................... 376
43.6 dot1x mab ....................................................................................................................................... 377
43.7 dot1x guest-vlan ........................................................................................................................... 377
43.8 dot1x timeout quiet-period ...................................................................................................... 378
43.9 dot1x timeout supp-timeout .................................................................................................... 379
43.10 dot1x max- req .............................................................................................................................. 380
43.11 dot1x ................................................................................................................................................. 381
43.12 dot1x port-control ....................................................................................................................... 381
43.13 dot1x port-method ...................................................................................................................... 382
43.14 dot1x auth-init................................................................................................................................ 383
43.15 dot1x auth-reauth ........................................................................................................................ 384
43.16 show dot1x global ........................................................................................................................ 384
43.17 show dot1x interface .................................................................................................................. 385
43.18 show dot1x auth-state ............................................................................................................... 386
Chapter 44 Port Security Commands ......................................................................... 387
44.1 mac address-table max-mac count ...................................................................................... 387
44.2 show mac address-table max-mac-count ......................................................................... 387
Chapter 45 Port Mirroring Commands ....................................................................... 389
45.1 monitor session destination interface ................................................................................. 389
45.2 monitor session source ............................................................................................................. 390
45.3 show monitor session ................................................................................................................. 391
Chapter 46 ACL Commands .......................................................................................... 393
46.1 access-list create ......................................................................................................................... 393
46.2 access-list resequence ............................................................................................................. 393
46.3 access-list mac ............................................................................................................................. 394
46.4 access-list ip .................................................................................................................................. 396
46.5 access-list combined ................................................................................................................. 397
46.6 access-list ipv6 ............................................................................................................................. 399
46.7 access-list action ......................................................................................................................... 401
46.8 redirect ............................................................................................................................................. 402
46.9 s-condition ...................................................................................................................................... 403
46.10 s-mirror ............................................................................................................................................. 403
46.11 qos-remark ..................................................................................................................................... 404
46.12 access bind ..................................................................................................................................... 405
XVII
46.13 show access-list ........................................................................................................................... 406
46.14 show access-list bind ................................................................................................................. 406
46.15 show access-list status ............................................................................................................. 407
46.16 show access-list counter .......................................................................................................... 407
46.17 clear access-list ............................................................................................................................ 408
Chapter 47 IPv4 IMPB Commands ............................................................................... 409
47.1 ip source binding .......................................................................................................................... 409
47.2 ip dhcp snooping .......................................................................................................................... 410
47.3 ip dhcp snooping vlan ................................................................................................................. 411
47.4 ip dhcp snooping max-entries ................................................................................................ 411
47.5 show ip source binding .............................................................................................................. 412
47.6 show ip dhcp snooping .............................................................................................................. 413
47.7 show ip dhcp snooping interface ........................................................................................... 413
Chapter 48 IPv6 IMPB Commands ............................................................................... 415
48.1 Ipv6 source binding ..................................................................................................................... 415
48.2 ipv6 dhcp snooping ..................................................................................................................... 416
48.3 ipv6 dhcp snooping vlan ............................................................................................................ 417
48.4 ipv6 dhcp snooping max-entries ........................................................................................... 417
48.5 ipv6 nd snooping .......................................................................................................................... 418
48.6 ipv6 nd snooping vlan ................................................................................................................. 419
48.7 ipv6 nd snooping max-entries ................................................................................................. 419
48.8 show ipv6 source binding ......................................................................................................... 420
48.9 show ipv6 dhcp snooping ......................................................................................................... 421
48.10 show ipv6 dhcp snooping interface ...................................................................................... 421
48.11 show ipv6 nd snooping .............................................................................................................. 422
48.12 show ipv6 nd snooping interface ........................................................................................... 423
Chapter 49 IP Verify Source Commands ................................................................... 424
49.1 ip verify source .............................................................................................................................. 424
49.2 ip verify source logging .............................................................................................................. 425
49.3 show ip verify source .................................................................................................................. 425
49.4 show ip verify source interface ............................................................................................... 426
Chapter 50 IPv6 Verify Source Commands .............................................................. 427
50.1 ipv6 verify source ......................................................................................................................... 427
50.2 show ipv6 verify source ............................................................................................................. 428
50.3 show ipv6 verify source interface .......................................................................................... 428
XVIII
Chapter 51 DHCPv4 Filter Commands ....................................................................... 430
51.1 ip dhcp filter .................................................................................................................................... 430
51.2 ip dhcp filter (interface) .............................................................................................................. 430
51.3 ip dhcp filter mac-verify ............................................................................................................. 431
51.4 ip dhcp filter limit rate ................................................................................................................. 432
51.5 ip dhcp filter decline rate ........................................................................................................... 433
51.6 ip dhcp filter server permit-entry ........................................................................................... 433
51.7 show ip dhcp filter ........................................................................................................................ 434
51.8 show ip dhcp filter interface ..................................................................................................... 435
51.9 show ip dhcp filter server permit-entry ............................................................................... 435
Chapter 52 DHCPv6 Filter Commands ....................................................................... 437
52.1 ipv6 dhcp filter ............................................................................................................................... 437
52.2 ipv6 dhcp filter (interface) ......................................................................................................... 437
52.3 ipv6 dhcp filter limit rate ............................................................................................................ 438
52.4 ipv6 dhcp filter decline rate ...................................................................................................... 439
52.5 ipv6 dhcp filter server permit-entry ...................................................................................... 440
52.6 show ipv6 dhcp filter ................................................................................................................... 441
52.7 show ipv6 dhcp filter interface ................................................................................................ 441
52.8 show ip dhcp filter server permit-entry ............................................................................... 442
Chapter 53 DoS Defend Commands ........................................................................... 443
53.1 ip dos-prevent ............................................................................................................................... 443
53.2 ip dos-prevent type ..................................................................................................................... 443
53.3 show ip dos-prevent ................................................................................................................... 445
Chapter 54 Ethernet OAM Commands ....................................................................... 447
54.1 ethernet-oam ................................................................................................................................. 447
54.2 ethernet-oam mode .................................................................................................................... 447
54.3 ethernet-oam link-monitor symbol-period ........................................................................ 448
54.4 ethernet-oam link-monitor frame .......................................................................................... 449
54.5 ethernet-oam link-monitor frame-period ........................................................................... 450
54.6 ethernet-oam link-monitor frame-seconds ....................................................................... 451
54.7 ethernet-oam remote-failure ................................................................................................... 452
54.8 clear ethernet-oam statistics .................................................................................................. 453
54.9 clear ethernet
54.10 show ethernet-oam configuration ......................................................................................... 454
54.11 show ethernet-oam event-log ................................................................................................ 455
-oam event-log ................................................................................................. 454
XIX
54.12 show ethernet-oam statistics ................................................................................................. 456
54.13 show ethernet-oam status ....................................................................................................... 456
Chapter 55 DLDP Commands ....................................................................................... 458
55.1 dldp (global) .................................................................................................................................... 458
55.2 dldp interval .................................................................................................................................... 458
55.3 dldp shut-mode ............................................................................................................................. 459
55.4 dldp(interface) ................................................................................................................................ 460
55.5 show dldp ........................................................................................................................................ 460
55.6 show dldp interface ..................................................................................................................... 461
Chapter 56 SNMP Commands ....................................................................................... 462
56.1 snmp-server ................................................................................................................................... 462
56.2 snmp-server view ......................................................................................................................... 462
56.3 snmp-server group ...................................................................................................................... 463
56.4 snmp-server user ......................................................................................................................... 465
56.5 snmp-server community ........................................................................................................... 466
56.6 snmp-server host ......................................................................................................................... 467
56.7 snmp-server engineID ................................................................................................................ 469
56.8 snmp-server traps snmp ........................................................................................................... 470
56.9 snmp-server traps ....................................................................................................................... 471
56.10 snmp-server traps ddm ............................................................................................................. 472
56.11 snmp-server traps vlan .............................................................................................................. 473
56.12 snmp-server traps security ...................................................................................................... 474
56.13 snmp-server traps acl ................................................................................................................ 475
56.14 snmp-server traps ip ................................................................................................................... 475
56.15 snmp-server traps link-status ................................................................................................. 476
56.16 rmon history ................................................................................................................................... 477
56.17 rmon event ...................................................................................................................................... 478
56.18 rmon alarm ...................................................................................................................................... 479
56.19 rmon statistics ............................................................................................................................... 480
56.20 show snmp-server ....................................................................................................................... 481
56.21 show snmp-server view ............................................................................................................. 481
56.22 show snmp-server group
56.23 show snmp-server user ............................................................................................................. 482
56.24 show snmp-server community ............................................................................................... 483
56.25 show snmp-server host ............................................................................................................. 483
56.26 show snmp-server engineID .................................................................................................... 484
.......................................................................................................... 482
XX
56.27 show rmon history ....................................................................................................................... 484
56.28 show rmon event .......................................................................................................................... 485
56.29 show rmon alarm .......................................................................................................................... 485
56.30 show rmon statistics ................................................................................................................... 486
Chapter 57 ARP Inspection Commands ..................................................................... 487
57.1 ip arp inspection ........................................................................................................................... 487
57.2 ip arp inspection validate .......................................................................................................... 487
57.3 ip arp inspection vlan .................................................................................................................. 488
57.4 ip arp inspection vlan logging .................................................................................................. 489
57.5 ip arp inspection trust ................................................................................................................. 490
57.6 ip arp inspection limit-rate ........................................................................................................ 490
57.7 ip arp inspection burst-interval ............................................................................................... 491
57.8 ip arp inspection recover .......................................................................................................... 492
57.9 show ip arp inspection................................................................................................................ 492
57.10 show ip arp inspection interface ............................................................................................ 493
57.11 show ip arp inspection vlan ...................................................................................................... 494
57.12 show ip arp inspection statistics ............................................................................................ 494
57.13 clear ip arp inspection statistics ............................................................................................. 495
Chapter 58 ND Detection Commands ........................................................................ 496
58.1 ipv6 nd detection .......................................................................................................................... 496
58.2 ipv6 nd detection vlan ................................................................................................................ 496
58.3 ipv6 nd detection vlan logging ................................................................................................ 497
58.4 ipv6 nd detection trust ............................................................................................................... 497
58.5 show ipv6 nd detection .............................................................................................................. 498
58.6 show ipv6 nd detection interface........................................................................................... 498
58.7 show ipv6 nd detection statistics .......................................................................................... 499
58.8 show ipv6 nd detection vlan .................................................................................................... 500
Chapter 59 System Log Commands ........................................................................... 501
59.1 logging buffer ................................................................................................................................. 501
59.2 logging buffer level ...................................................................................................................... 501
59.3 logging file flash ............................................................................................................................ 502
59.4 logging file flash frequency ...................................................................................................... 503
59.5 logging file flash level .................................................................................................................. 504
59.6 logging host index ........................................................................................................................ 504
59.7 logging console ............................................................................................................................. 505
59.8 logging console level .................................................................................................................. 506
XXI
59.9 logging monitor ............................................................................................................................. 507
59.10 logging monitor level .................................................................................................................. 507
59.11 clear logging ................................................................................................................................... 508
59.12 show logging local-config ......................................................................................................... 509
59.13 show logging loghost .................................................................................................................. 509
59.14 show logging buffer ..................................................................................................................... 510
59.15 show logging flash ....................................................................................................................... 510
XXII

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 T2500G-10TS JetStream 8-Port Gigabit L2 Managed Switch with 2 SFP Slots without any explanation.
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: User Management Commands
Provide information about the commands used for user management.
Chapter 4: 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
cable test.
Chapter 5: EEE Configuration Commands
Provide information about the commands used for configuring EEE.
Chapter 6: SDM Template Commands
Provide information about the commands used for configuring the SDM templates.
Chapter 7: Time Range Commands
Provide information about the commands used for configuring the time range.
Chapter 8: Port Configuration Commands
Provide information about the commands used for configuring the Speed, Negotiation Mode,
and Flow Control for Ethernet ports.
Chapter 9: Port Isolation Commands
Provide information about the commands used for configuring Port Isolation function.
Chapter 10: Loopback Detection Commands
Provide information about the commands used for configuring the Loopback Detection
function.
Chapter 11: DDM Commands
Provide information about the commands used for DDM (Digital Diagnostic Monitoring)
function.
1
Chapter 12: Etherchannel Commands
Provide information about the commands used for configuring LAG (Link Aggregation Group)
and LACP (Link Aggregation Control Protocol).
Chapter 13: MAC Address Commands
Provide information about the commands used for Address configuration.
Chapter 14 IEEE 802.1Q VLAN Commands
Provide information about the commands used for configuring IEEE 802.1Q VLAN.
Chapter 15: MAC-based VLAN Commands
Provide information about the commands used for configuring MAC-based VLAN.
Chapter 16: Protocol-based VLAN Commands
Provide information about the commands used for configuring Protocol VLAN.
Chapter 17: VLAN-VPN Commands
Provide information about the commands used for configuring VLAN-VPN (Virtual Private
Network) function.
Chapter 18: GVRP Commands
Provide information about the commands used for configuring GVRP (GARP VLAN registration
protocol).
Chapter 19: IGMP Snooping Commands
Provide information about the commands used for configuring the IGMP Snooping (Internet
Group Management Protocol Snooping).
Chapter 20: MLD Snooping Commands
Provide information about the commands used for configuring the MLD Snooping (Multicast
Listener Discovery Snooping).
Chapter 21: MVR Commands
Provide information about the commands used for configuring the MVR.
Chapter 22: MSTP Commands
Provide information about the commands used for configuring the MSTP (Multiple Spanning
Tree Protocol).
Chapter 23: LLDP Commands
Provide information about the commands used for configuring LLDP function.
Chapter 24: L2PT Commands
Provide information about the commands used for configuring L2PT (Layer 2 Protocol
Tunneling).
Chapter 25: PPPoE ID-Insertion Commands
Provide information about the commands used for configuring PPPoE ID-Insertion.
2
Chapter 26: DHCP Relay Commands
Provide information about the commands used for configuring the DHCP Relay function.
Chapter 27: DHCP L2 Relay Commands
Provide information about the commands used for configuring the DHCP L2 Relay function.
Chapter 28: QoS Commands
Provide information about the commands used for configuring the QoS function.
Chapter 29: Bandwidth Commands
Provide information about the commands used for configuring the Bandwidth Control.
Chapter 30: Voice VLAN Commands
Provide information about the commands used for configuring Voice VLAN.
Chapter 31: Auto VoIP Commands
Provide information about the commands used for configuring Auto VoIP.
Chapter 32: Access Control Commands
Provide information about the commands used for configuring Access Control.
Chapter 33: HTTP and HTTPS Commands
Provide information about the commands used for configuring the HTTP and HTTPS logon.
Chapter 34: SSH Commands
Provide information about the commands used for configuring and managing SSH (Security
Shell).
Chapter 35: Telnet Commands
Provide information about the commands used for configuring and managing SSH (Security
Shell).
Chapter 36: Serial Port Commands
Provide information about the commands used for configuring and managing SSH (Security
Shell).
Chapter 37: AAA Commands
Provide information about the commands used for configuring AAA (authentication,
authorization and accounting).
Chapter 38: IEEE 802.1X Commands
Provide information about the commands used for configuring IEEE 802.1X function.
Chapter 39: Port Security Commands
Provide information about the commands used for configuring Port Security.
3
Chapter 40: Port Mirroring Commands
Provide information about the commands used for configuring the Port Mirror function.
Chapter 41: ACL Commands
Provide information about the commands used for configuring the ACL (Access Control List).
Chapter 42: IPv4 IMPB 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 43: IPv6 IMPB Commands
Provide information about the commands used for binding the IPv6 address, MAC address,
VLAN and the connected Port number of the Host together.
Chapter 44: 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 45: IPv6 Verify Source Commands
Provide information about the commands used for guarding the IPv6 Source by filtering the IP
packets based on the IP-MAC Binding entries.
Chapter 46: DHCPv4 Filter Commands
Provide information about the commands used for configuring the DHCPv4 Filter.
Chapter 47: DHCPv6 Filter Commands
Provide information about the commands used for configuring the DHCPv6 Filter.
Chapter 48: DoS Defend Command
Provide information about the commands used for DoS defend and detecting the DoS attack.
Chapter 49: DLDP Commands
Provide information about the commands used for configuring the DLDP (Device Link
Detection Protocol).
Chapter 50: SNMP Commands
Provide information about the commands used for configuring the SNMP (Simple Network
Management Protocol) functions.
Chapter 51: ARP Inspection Commands
Provide information about the commands used for protecting the switch from the ARP
cheating or ARP Attack.
Chapter 52: ND Detection Commands
Provide information about the commands used for configuring ND detection.
Chapter 53: System Log Commands
Provide information about the commands used for configuring system log.
4

Chapter 1 Using the CLI

1.1 Accessing the CLI

You can log on to the switch and access the CLI by logging on to the switch remotely by a
Telnet or 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
64-bit Windows 8
32-bit Windows 8.1
5
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 on 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
6
Stop bits: 1
Flow control: none
5. Type the Username and Password in the Hyper Terminal window. The default value for
both of them are admin. Press Enter in the main window and “T2500G-10TS>” will appear
indicating that you have successfully logged in to the switch and you can use the CLI now.
Figure 1-2 Log in to the Switch
Note:
The first time you log in, change the password to better protect your network and devices.
7
Loading...
+ 504 hidden pages