-
CLI Reference Guide
1
-
COPYRIGHT & TRADEMARKS
2
-
Chapter 12: HTTP and HTTPS Commands
18
-
Chapter 25: Port Mirror Commands
19
-
Using the CLI
20
-
Now, you can logon by Telnet in login local mode.
23
-
1.1.3 Logon by SSH
26
-
Password Authentication Mode
27
-
Key Authentication Mode
28
-
Logout or Access the
33
-
1.4.1 Format Conventions
35
-
Privileged EXEC Mode and Any Configuration Mode
41
-
Privileged EXEC Mode and any Configuration Mode
43
-
IEEE 802.1Q VLAN Commands
44
-
switchport access vlan
47
-
Display the information of vlan 5:
52
-
MAC-based VLAN Commands
53
-
Protocol-based VLAN Commands
56
-
dot1q-tunnel tpid tpid
61
-
switchport dot1q-tunnel mapping
62
-
switchport dot1q-tunnel missdrop
63
-
uni ——The port connected to the clients.
64
-
show dot1q-tunnel mapping
65
-
Voice VLAN Commands
66
-
voice vlan aging time time
67
-
Configure the priority of the Voice VLAN as 5:
68
-
switchport voice vlan mode
69
-
l2protocol-tunnel type nni
73
-
show gvrp global
80
-
Chapter 10 Etherchannel Commands
81
-
Chapter 11 User Management Commands
87
-
Global Configuration Mode
92
-
Disable the Telnet function:
97
-
Chapter 12 HTTP and HTTPS Commands
99
-
ip http max-users
100
-
no ip http session timeout
101
-
ip http secure-protocol
102
-
ip http secure-server download certificate
105
-
12.10 ip http secure-server download key
106
-
12.11 show ip http configuration
107
-
Chapter 13 Binding Table Commands
108
-
ip dhcp snooping global
111
-
ip dhcp snooping information option
112
-
13.10 ip dhcp snooping trust
116
-
Set the Flow Control of port 2 as 20 pps:
118
-
port ——The Ethernet port number.
120
-
Chapter 14 ARP Inspection Commands
121
-
ip arp inspection trust
122
-
ip arp inspection recover
124
-
Display the ARP detection configuration globally:
125
-
Chapter 15 DoS Defend Commands
127
-
show ip dos-prevent
129
-
Chapter 16 IEEE 802.1X Commands
130
-
16.15 show dot1x global
141
-
Chapter 17 PPPoE ID-Insertion Commands
143
-
Chapter 18 System Log Commands
148
-
logging file flash
149
-
Display the configuration of the Local Log:
153
-
Chapter 19 SSH Commands
155
-
ip ssh timeout
157
-
Chapter 20 MAC Address Commands
161
-
mac address-table aging-time
162
-
show mac address-table aging-time
166
-
show mac address-table interface
167
-
20.11 show mac address-table address
168
-
Chapter 21 System Configuration Commands
169
-
21.11 copy running-config startup-config
177
-
Backup the configuration files to TFTP se
178
-
21.14 boot application
179
-
Delete the backup image file:
180
-
It will only upgrade the backup image. Continu
181
-
T2500G-10TS# ping 192.168.0.131 –n 8 –l 512
182
-
Display the system boot configuration information:
184
-
Chapter 22 IPv6 Address Configuration Commands
189
-
show ipv6 interface
194
-
Chapter 23 Ethernet Configuration Commands
195
-
interface range gigabitEthernet port-list
196
-
no bandwidth { all | ingress | egress }
201
-
23.11 show interface status
202
-
23.13 show interface configuration
203
-
23.15 show bandwidth
204
-
Chapter 24 QoS Commands
205
-
port-list —— The list of Ethernet ports.
210
-
Chapter 25 Port Mirror Commands
213
-
Chapter 26 Port Isolation Commands
216
-
show port isolation interface
217
-
Chapter 27 Loopback Detection Commands
218
-
Recover the blocked port 1/0/2 to normal status:
222
-
Chapter 28 ACL Commands
224
-
absolute start start-date end end-date
225
-
The holiday command is used to define a holiday.
227
-
s-port —— The source port number.
231
-
s-condition rate rate osd { none | discard }
235
-
28.17 access-list bind(interface)
237
-
Display the status of ACL hardware entry table:
239
-
Display the configuration of Policy bind:
240
-
Chapter 29 MSTP Commands
241
-
spanning-tree mst instance
247
-
no spanning-tree mst instance instance-id
248
-
29.13 spanning-tree timer
250
-
29.14 spanning-tree hold-count
251
-
Enable the Loop Protect function for port 2:
254
-
29.22 show spanning-tree active
256
-
29.24 show spanning-tree interface
257
-
port —— The Ethernet port number.
258
-
Chapter 30 DLDP Commands
260
-
T2500G-10TS (config-if-range)# dldp
263
-
Display the global configuration of DLDP function:
264
-
Chapter 31 IGMP Snooping Commands
265
-
ip igmp snooping immediate-leave
267
-
ip igmp snooping filter(global)
271
-
ip igmp snooping filter
272
-
ip igmp snooping filter mode mode
274
-
31.17 ip igmp snooping accounting
278
-
31.19 show ip igmp snooping
279
-
show ip igmp snooping multi-vlan
281
-
Chapter 32 MLD Snooping Commands
283
-
ipv6 mld snooping report-suppression
285
-
Enable unknown multicast filter function:
286
-
no ipv6 mld snooping last-listener query-count
287
-
ipv6 mld snooping multicast-vlan vlan-id
288
-
32.12 ipv6 mld snooping vlan member-aging-time
290
-
32.15 ipv6 mld snooping vlan static
292
-
32.18 ipv6 mld snooping querier vlan query-in
294
-
static —— Display static groups.
301
-
port —— Specify the port number.
302
-
show ipv6 mld snooping querier [vlan vlan-id]
303
-
Chapter 33 SNMP Commands
304
-
T2500G-10TS(config)# snmp-server traps vlan
316
-
Display SNMP configuration globally:
321
-
33.20 show snmp-server user
322
-
show snmp-server host
323
-
33.26 show rmon alarm
325
-
Chapter 34 LLDP Commands
327
-
34.12 show lldp
335
-
34.14 show lldp local-information interface
336
-
Chapter 35 AAA Commands
338
-
Enable the AAA function globally:
339
-
no server ip-address
346
-
35.11 aaa authentication login
347
-
35.12 aaa authentication enable
348
-
35.13 aaa authentication dot1x default
349
-
35.16 show aaa accounting
351
-
35.19 enable authentication(console)
353
-
35.22 line ssh
355
-
35.25 enable authentication(ssh)
357
-
no ip http login authentication
358
-
Chapter 36 DHCP Relay Commands
360
-
ip dhcp relay information format
362
-
ip dhcp relay vlan
364
-
Display the configuration of DHCP Relay:
365