Management
Software
AT-S62
Command Line User’s Guide
AT-8516F/SC, AT-8524M, AT-8524POE,
AT-8550GB and AT-8550SP LAYER 2+
FAST ETHERNET SWITCHES
VERSION 1.3.0
PN 613-50486-00 Rev E
Copyright © 2005 Allied Telesyn, Inc.
All rights reserved. No part of this publication may be reproduced without prior written permission from Allied Telesyn, Inc.
Microsoft is a registered trademark of Microsoft Corporation, Netscape Navigator is a registered trademark of Netscape Communications Corporation. All other product names, company names, logos or other designations mentioned herein are trademarks or registered trademarks of their respective owners.
Allied Telesyn, Inc. reserves the right to make changes in specifications and other information contained in this document without prior written notice. The information provided herein is subject to change without notice. In no event shall Allied Telesyn, Inc. be liable for any incidental, special, indirect, or consequential damages whatsoever, including but not limited to lost profits, arising out of or related to this manual or the information contained herein, even if Allied Telesyn, Inc. has been advised of, known, or should have known, the possibility of such damages.
Preface .................................................................................................................................................................................................................... |
12 |
Document Conventions .................................................................................................................................................................................... |
14 |
Contacting Allied Telesyn ................................................................................................................................................................................. |
15 |
Online Support ............................................................................................................................................................................................ |
15 |
Email and Telephone Support ............................................................................................................................................................... |
15 |
Returning Products .................................................................................................................................................................................... |
15 |
For Sales or Corporate Information ..................................................................................................................................................... |
15 |
Management Software Updates ........................................................................................................................................................... |
15 |
Chapter 1 |
|
Starting a Command Line Management Session ............................................................................................................................... |
16 |
Starting a Management Session ..................................................................................................................................................................... |
17 |
Command Line Interface Features ................................................................................................................................................................. |
18 |
Command Formatting ....................................................................................................................................................................................... |
19 |
Chapter 2 |
|
Basic Command Line Commands ............................................................................................................................................................... |
20 |
CLEAR SCREEN ....................................................................................................................................................................................................... |
21 |
EXIT ............................................................................................................................................................................................................................ |
22 |
HELP .......................................................................................................................................................................................................................... |
23 |
LOGOFF, LOGOUT, and QUIT ........................................................................................................................................................................... |
24 |
MENU ........................................................................................................................................................................................................................ |
25 |
SAVE CONFIGURATION ...................................................................................................................................................................................... |
26 |
SET PROMPT ........................................................................................................................................................................................................... |
27 |
SET SWITCH CONSOLEMODE ........................................................................................................................................................................... |
28 |
SHOW USER ............................................................................................................................................................................................................ |
29 |
Chapter 3 |
|
Enhanced Stacking Commands .................................................................................................................................................................. |
30 |
ACCESS SWITCH .................................................................................................................................................................................................... |
31 |
SET SWITCH STACKMODE ................................................................................................................................................................................. |
33 |
SHOW REMOTELIST ............................................................................................................................................................................................. |
35 |
Chapter 4 |
|
Basic Switch Commands ................................................................................................................................................................................. |
36 |
DISABLE DHCPBOOTP ........................................................................................................................................................................................ |
38 |
DISABLE IP REMOTEASSIGN ............................................................................................................................................................................. |
39 |
DISABLE TELNET ................................................................................................................................................................................................... |
40 |
ENABLE BOOTP ..................................................................................................................................................................................................... |
41 |
3
Table of Contents |
|
ENABLE DHCP ....................................................................................................................................................................................................... |
42 |
ENABLE IP REMOTEASSIGN .............................................................................................................................................................................. |
43 |
ENABLE TELNET .................................................................................................................................................................................................... |
44 |
FORMAT DEVICE ................................................................................................................................................................................................... |
45 |
PING .......................................................................................................................................................................................................................... |
47 |
PURGE IP ................................................................................................................................................................................................................. |
48 |
RESET SWITCH ....................................................................................................................................................................................................... |
49 |
RESET SYSTEM ....................................................................................................................................................................................................... |
50 |
RESTART REBOOT ................................................................................................................................................................................................ |
51 |
RESTART SWITCH ................................................................................................................................................................................................. |
52 |
SET ASYN ................................................................................................................................................................................................................ |
54 |
SET IP INTERFACE ................................................................................................................................................................................................. |
55 |
SET IP ROUTE ......................................................................................................................................................................................................... |
57 |
SET PASSWORD MANAGER .............................................................................................................................................................................. |
58 |
SET PASSWORD OPERATOR ............................................................................................................................................................................. |
59 |
SET SWITCH CONSOLETIMER .......................................................................................................................................................................... |
60 |
SET SYSTEM ............................................................................................................................................................................................................ |
61 |
SET USER PASSWORD ......................................................................................................................................................................................... |
62 |
SHOW ASYN ........................................................................................................................................................................................................... |
63 |
SHOW CONFIG ...................................................................................................................................................................................................... |
64 |
SHOW DHCPBOOTP ............................................................................................................................................................................................ |
65 |
SHOW IP INTERFACE ........................................................................................................................................................................................... |
66 |
SHOW IP ROUTE ................................................................................................................................................................................................... |
67 |
SHOW SWITCH ...................................................................................................................................................................................................... |
68 |
SHOW SYSTEM ...................................................................................................................................................................................................... |
69 |
Chapter 5 |
|
Simple Network Time Protocol (SNTP) Commands .......................................................................................................................... |
70 |
ADD SNTPSERVER PEER|IPADDRESS ............................................................................................................................................................. |
71 |
DELETE SNTPSERVER PEER|IPADDRESS ....................................................................................................................................................... |
72 |
DISABLE SNTP ....................................................................................................................................................................................................... |
73 |
ENABLE SNTP ........................................................................................................................................................................................................ |
74 |
PURGE SNTP .......................................................................................................................................................................................................... |
75 |
SET DATE TIME ...................................................................................................................................................................................................... |
76 |
SET SNTP ................................................................................................................................................................................................................. |
77 |
SHOW SNTP ........................................................................................................................................................................................................... |
78 |
SHOW TIME ............................................................................................................................................................................................................ |
79 |
Chapter 6 |
|
SNMPv1 and SNMPv2 Community Strings and Trap Commands ............................................................................................. |
80 |
ADD SNMP COMMUNITY .................................................................................................................................................................................. |
81 |
CREATE SNMP COMMUNITY ............................................................................................................................................................................ |
83 |
DELETE SNMP COMMUNITY ............................................................................................................................................................................ |
86 |
DESTROY SNMP COMMUNITY ........................................................................................................................................................................ |
88 |
DISABLE SNMP ...................................................................................................................................................................................................... |
89 |
DISABLE SNMP AUTHENTICATETRAP ........................................................................................................................................................... |
90 |
DISABLE SNMP COMMUNITY .......................................................................................................................................................................... |
91 |
ENABLE SNMP ....................................................................................................................................................................................................... |
92 |
ENABLE SNMP AUTHENTICATETRAP ............................................................................................................................................................ |
93 |
ENABLE SNMP COMMUNITY ............................................................................................................................................................................ |
94 |
SET SNMP COMMUNITY .................................................................................................................................................................................... |
95 |
SHOW SNMP .......................................................................................................................................................................................................... |
97 |
Chapter 7 |
|
SNMPv3 Commands ........................................................................................................................................................................................ |
99 |
ADD SNMPV3 USER ........................................................................................................................................................................................... |
101 |
4
|
AT-S62 Command Line User’s Guide |
CLEAR SNMPV3 ACCESS ................................................................................................................................................................................. |
103 |
CLEAR SNMPV3 COMMUNITY ....................................................................................................................................................................... |
105 |
CLEAR SNMPV3 NOTIFY .................................................................................................................................................................................. |
106 |
CLEAR SNMPV3 TARGETADDR ..................................................................................................................................................................... |
107 |
CLEAR SNMPV3 VIEW ....................................................................................................................................................................................... |
108 |
CREATE SNMPV3 ACCESS ............................................................................................................................................................................... |
109 |
CREATE SNMPV3 COMMUNITY .................................................................................................................................................................... |
112 |
CREATE SNMPV3 GROUP ................................................................................................................................................................................ |
114 |
CREATE SNMPV3 NOTIFY ................................................................................................................................................................................ |
116 |
CREATE SNMPV3 TARGETADDR ................................................................................................................................................................... |
118 |
CREATE SNMPV3 TARGETPARAMS ............................................................................................................................................................. |
120 |
CREATE SNMPV3 VIEW .................................................................................................................................................................................... |
122 |
DELETE SNMPV3 USER ..................................................................................................................................................................................... |
124 |
DESTROY SNMPv3 ACCESS ............................................................................................................................................................................ |
125 |
DESTROY SNMPv3 COMMUNITY ................................................................................................................................................................. |
127 |
DESTROY SNMPv3 GROUP ............................................................................................................................................................................. |
128 |
DESTROY SNMPv3 NOTIFY ............................................................................................................................................................................. |
129 |
DESTROY SNMPv3 TARGETADDR ................................................................................................................................................................ |
130 |
DESTROY SNMPv3 TARGETPARMS ............................................................................................................................................................. |
131 |
DESTROY SNMPV3 VIEW ................................................................................................................................................................................. |
132 |
SET SNMPV3 ACCESS ....................................................................................................................................................................................... |
133 |
SET SNMPV3 COMMUNITY ............................................................................................................................................................................. |
135 |
SET SNMPV3 GROUP ........................................................................................................................................................................................ |
137 |
SET SNMPV3 NOTIFY ........................................................................................................................................................................................ |
139 |
SET SNMPV3 TARGETADDR ........................................................................................................................................................................... |
141 |
SET SNMPV3 TARGETPARAMS ...................................................................................................................................................................... |
143 |
SET SNMPV3 USER ............................................................................................................................................................................................ |
145 |
SET SNMPV3 VIEW ............................................................................................................................................................................................. |
147 |
SHOW SNMPV3 ACCESS ................................................................................................................................................................................. |
149 |
SHOW SNMPV3 COMMUNITY ....................................................................................................................................................................... |
150 |
SHOW SNMPv3 GROUP ................................................................................................................................................................................... |
151 |
SHOW SNMPV3 NOTIFY .................................................................................................................................................................................. |
152 |
SHOW SNMPV3 TARGETADDR ..................................................................................................................................................................... |
153 |
SHOW SNMPV3 TARGETPARAMS ................................................................................................................................................................ |
154 |
SHOW SNMPV3 USER ....................................................................................................................................................................................... |
155 |
SHOW SNMPV3 VIEW ....................................................................................................................................................................................... |
156 |
Chapter 8 |
|
Port Parameter Commands ....................................................................................................................................................................... |
157 |
ACTIVATE SWITCH PORT ................................................................................................................................................................................. |
158 |
DISABLE INTERFACE LINKTRAP .................................................................................................................................................................... |
159 |
DISABLE SWITCH PORT ................................................................................................................................................................................... |
160 |
DISABLE SWITCH PORT FLOW ...................................................................................................................................................................... |
161 |
ENABLE INTERFACE LINKTRAP ...................................................................................................................................................................... |
162 |
ENABLE SWITCH PORT ..................................................................................................................................................................................... |
163 |
ENABLE SWITCH PORT FLOW ........................................................................................................................................................................ |
164 |
RESET SWITCH PORT ........................................................................................................................................................................................ |
165 |
SET SWITCH PORT ............................................................................................................................................................................................. |
166 |
SET SWITCH PORT RATELIMIT ....................................................................................................................................................................... |
171 |
SHOW INTERFACE ............................................................................................................................................................................................. |
174 |
SHOW SWITCH PORT ........................................................................................................................................................................................ |
176 |
Chapter 9 |
|
MAC Address Table Commands ............................................................................................................................................................... |
177 |
ADD SWITCH FDB|FILTER ............................................................................................................................................................................... |
178 |
DELETE SWITCH FDB ........................................................................................................................................................................................ |
180 |
5
Table of Contents |
|
RESET SWITCH FDB ........................................................................................................................................................................................... |
181 |
SET SWITCH AGINGTIMER|AGEINGTIMER ................................................................................................................................................. |
182 |
SHOW SWITCH AGINGTIMER|AGEINGTIMER ........................................................................................................................................... |
183 |
SHOW SWITCH FDB ........................................................................................................................................................................................... |
184 |
Chapter 10 |
|
Port Trunking Commands ........................................................................................................................................................................... |
186 |
ADD SWITCH TRUNK ........................................................................................................................................................................................ |
187 |
CREATE SWITCH TRUNK .................................................................................................................................................................................. |
188 |
DELETE SWITCH TRUNK ................................................................................................................................................................................... |
190 |
DESTROY SWITCH TRUNK ............................................................................................................................................................................... |
191 |
SET SWITCH TRUNK ........................................................................................................................................................................................... |
192 |
SHOW SWITCH TRUNK ..................................................................................................................................................................................... |
193 |
Chapter 11 |
|
Networking Stack Commands .................................................................................................................................................................. |
194 |
DELETE IP ARP ..................................................................................................................................................................................................... |
195 |
DELETE TCP .......................................................................................................................................................................................................... |
196 |
RESET IP ARP ........................................................................................................................................................................................................ |
197 |
SET IP ARP ............................................................................................................................................................................................................. |
198 |
SHOW IP ARP ....................................................................................................................................................................................................... |
199 |
SHOW IP ROUTE ................................................................................................................................................................................................. |
200 |
SHOW TCP ............................................................................................................................................................................................................ |
201 |
Chapter 12 |
|
LACP Commands ............................................................................................................................................................................................. |
204 |
ADD LACP PORT ................................................................................................................................................................................................. |
205 |
CREATE LACP AGGREGATOR ......................................................................................................................................................................... |
207 |
DELETE LACP PORT ........................................................................................................................................................................................... |
209 |
DESTROY LACP AGGREGATOR ...................................................................................................................................................................... |
210 |
DISABLE LACP ..................................................................................................................................................................................................... |
211 |
ENABLE LACP ...................................................................................................................................................................................................... |
212 |
SET LACP AGGREGATOR ................................................................................................................................................................................. |
213 |
SET LACP PORT ................................................................................................................................................................................................... |
214 |
SET LACP PRIORITY ........................................................................................................................................................................................... |
216 |
SET LACP STATE ................................................................................................................................................................................................. |
217 |
SHOW LACP ......................................................................................................................................................................................................... |
218 |
Chapter 13 |
|
Port Mirroring Commands .......................................................................................................................................................................... |
219 |
SET SWITCH MIRROR ........................................................................................................................................................................................ |
220 |
SET SWITCH PORT MIRROR ............................................................................................................................................................................ |
221 |
SHOW SWITCH MIRROR ................................................................................................................................................................................... |
222 |
Chapter 14 |
|
Statistics Commands ..................................................................................................................................................................................... |
223 |
RESET SWITCH PORT COUNTER .................................................................................................................................................................... |
224 |
SHOW SWITCH COUNTER ............................................................................................................................................................................... |
225 |
SHOW SWITCH PORT COUNTER ................................................................................................................................................................... |
226 |
Chapter 15 |
|
File System Commands ................................................................................................................................................................................ |
227 |
COPY ...................................................................................................................................................................................................................... |
228 |
CREATE CONFIG ................................................................................................................................................................................................. |
229 |
DELETE FILE .......................................................................................................................................................................................................... |
230 |
RENAME ................................................................................................................................................................................................................ |
231 |
6
|
AT-S62 Command Line User’s Guide |
SET CONFIG ......................................................................................................................................................................................................... |
232 |
SHOW FILE ........................................................................................................................................................................................................... |
234 |
Chapter 16 |
|
File Download and Upload Commands ............................................................................................................................................... |
235 |
LOAD METHOD=LOCAL .................................................................................................................................................................................. |
236 |
LOAD METHOD=TFTP ...................................................................................................................................................................................... |
238 |
LOAD METHOD=XMODEM ............................................................................................................................................................................ |
242 |
UPLOAD METHOD=LOCAL ............................................................................................................................................................................ |
246 |
UPLOAD METHOD=REMOTESWITCH ......................................................................................................................................................... |
248 |
UPLOAD METHOD=TFTP ................................................................................................................................................................................ |
253 |
UPLOAD METHOD=XMODEM ...................................................................................................................................................................... |
256 |
Chapter 17 |
|
Event Log and Syslog Server Commands ........................................................................................................................................... |
258 |
ADD LOG OUTPUT ............................................................................................................................................................................................ |
259 |
CREATE LOG OUTPUT ...................................................................................................................................................................................... |
262 |
DESTROY LOG OUTPUT ................................................................................................................................................................................... |
266 |
DISABLE LOG ....................................................................................................................................................................................................... |
267 |
DISABLE LOG OUTPUT ..................................................................................................................................................................................... |
268 |
ENABLE LOG ........................................................................................................................................................................................................ |
269 |
ENABLE LOG OUTPUT ...................................................................................................................................................................................... |
270 |
PURGE LOG .......................................................................................................................................................................................................... |
271 |
SAVE LOG ............................................................................................................................................................................................................. |
272 |
SET LOG FULLACTION ...................................................................................................................................................................................... |
274 |
SET LOG OUTPUT .............................................................................................................................................................................................. |
275 |
SHOW LOG ........................................................................................................................................................................................................... |
278 |
SHOW LOG OUTPUT ......................................................................................................................................................................................... |
283 |
SHOW LOG STATUS .......................................................................................................................................................................................... |
285 |
Chapter 18 |
|
Classifier Commands .................................................................................................................................................................................... |
286 |
CREATE CLASSIFIER .......................................................................................................................................................................................... |
287 |
DESTROY CLASSIFIER ....................................................................................................................................................................................... |
291 |
PURGE CLASSIFIER ............................................................................................................................................................................................ |
292 |
SET CLASSIFIER ................................................................................................................................................................................................... |
293 |
SHOW CLASSIFIER ............................................................................................................................................................................................. |
297 |
Chapter 19 |
|
ACL Commands ................................................................................................................................................................................................ |
298 |
CREATE ACL ......................................................................................................................................................................................................... |
299 |
DESTROY ACL ..................................................................................................................................................................................................... |
301 |
PURGE ACL ........................................................................................................................................................................................................... |
302 |
SET ACL ................................................................................................................................................................................................................. |
303 |
SHOW ACL ........................................................................................................................................................................................................... |
305 |
Chapter 20 |
|
Quality of Service (QoS) Commands ..................................................................................................................................................... |
306 |
ADD QOS FLOWGROUP .................................................................................................................................................................................. |
308 |
ADD QOS POLICY .............................................................................................................................................................................................. |
309 |
ADD QOS TRAFFICCLASS ............................................................................................................................................................................... |
310 |
CREATE QOS FLOWGROUP ............................................................................................................................................................................ |
311 |
CREATE QOS POLICY ........................................................................................................................................................................................ |
314 |
CREATE QOS TRAFFICCLASS ......................................................................................................................................................................... |
320 |
DELETE QOS FLOWGROUP ............................................................................................................................................................................ |
324 |
DELETE QOS POLICY ......................................................................................................................................................................................... |
325 |
7
Table of Contents |
|
DELETE QOS TRAFFICCLASS .......................................................................................................................................................................... |
326 |
DESTROY QOS FLOWGROUP ......................................................................................................................................................................... |
327 |
DESTROY QOS POLICY ..................................................................................................................................................................................... |
328 |
DESTROY QOS TRAFFICCLASS ...................................................................................................................................................................... |
329 |
SET QOS FLOWGROUP ..................................................................................................................................................................................... |
330 |
SET QOS POLICY ................................................................................................................................................................................................. |
333 |
SET QOS PORT ..................................................................................................................................................................................................... |
336 |
SET QOS TRAFFICCLASS .................................................................................................................................................................................. |
337 |
SHOW QOS FLOWGROUP ............................................................................................................................................................................... |
341 |
SHOW QOS POLICY ........................................................................................................................................................................................... |
342 |
SHOW QOS TRAFFICCLASS ............................................................................................................................................................................ |
343 |
Chapter 21 |
|
Class of Service (CoS) Commands ........................................................................................................................................................... |
344 |
MAP QOS COSP .................................................................................................................................................................................................. |
345 |
SET QOS COSP .................................................................................................................................................................................................... |
347 |
SET QOS SCHEDULING ..................................................................................................................................................................................... |
348 |
SHOW QOS CONFIG .......................................................................................................................................................................................... |
349 |
Chapter 22 |
|
Power Over Ethernet Commands ............................................................................................................................................................ |
350 |
DISABLE POE PORT ............................................................................................................................................................................................ |
351 |
ENABLE POE PORT ............................................................................................................................................................................................. |
352 |
SET POE PORT ..................................................................................................................................................................................................... |
353 |
SET POE THRESHOLD ....................................................................................................................................................................................... |
355 |
SHOW POE CONFIG ........................................................................................................................................................................................... |
356 |
SHOW POE STATUS ........................................................................................................................................................................................... |
357 |
Chapter 23 |
|
IGMP Snooping Commands ....................................................................................................................................................................... |
359 |
DISABLE IGMPSNOOPING ............................................................................................................................................................................... |
360 |
ENABLE IGMPSNOOPING ................................................................................................................................................................................ |
361 |
SET IP IGMP .......................................................................................................................................................................................................... |
362 |
SHOW IGMPSNOOPING ................................................................................................................................................................................... |
364 |
SHOW IP IGMP .................................................................................................................................................................................................... |
365 |
Chapter 24 |
|
Denial of Service (DoS) Defense Commands ..................................................................................................................................... |
367 |
SET DOS ................................................................................................................................................................................................................. |
368 |
SET DOS IPOPTION ............................................................................................................................................................................................ |
369 |
SET DOS LAND .................................................................................................................................................................................................... |
370 |
SET DOS PINGOFDEATH .................................................................................................................................................................................. |
371 |
SET DOS SMURF ................................................................................................................................................................................................. |
373 |
SET DOS SYNFLOOD ......................................................................................................................................................................................... |
374 |
SET DOS TEARDROP .......................................................................................................................................................................................... |
375 |
SHOW DOS ........................................................................................................................................................................................................... |
377 |
Chapter 25 |
|
STP Commands ................................................................................................................................................................................................ |
379 |
ACTIVATE STP ...................................................................................................................................................................................................... |
380 |
DISABLE STP ........................................................................................................................................................................................................ |
381 |
ENABLE STP .......................................................................................................................................................................................................... |
382 |
PURGE STP ............................................................................................................................................................................................................ |
383 |
SET STP .................................................................................................................................................................................................................. |
384 |
SET STP PORT ...................................................................................................................................................................................................... |
387 |
8
|
AT-S62 Command Line User’s Guide |
SET SWITCH MULTICASTMODE .................................................................................................................................................................... |
389 |
SHOW STP ............................................................................................................................................................................................................ |
391 |
Chapter 26 |
|
RSTP Commands ............................................................................................................................................................................................. |
392 |
ACTIVATE RSTP ................................................................................................................................................................................................... |
393 |
DISABLE RSTP ..................................................................................................................................................................................................... |
394 |
ENABLE RSTP ....................................................................................................................................................................................................... |
395 |
PURGE RSTP ......................................................................................................................................................................................................... |
396 |
SET RSTP ............................................................................................................................................................................................................... |
397 |
SET RSTP PORT ................................................................................................................................................................................................... |
401 |
SHOW RSTP ......................................................................................................................................................................................................... |
404 |
Chapter 27 |
|
MSTP Commands ............................................................................................................................................................................................ |
406 |
ACTIVATE MSTP ................................................................................................................................................................................................. |
408 |
ADD MSTP ............................................................................................................................................................................................................ |
409 |
CREATE MSTP ...................................................................................................................................................................................................... |
410 |
DELETE MSTP ...................................................................................................................................................................................................... |
411 |
DESTROY MSTP MSTIID ................................................................................................................................................................................... |
412 |
DISABLE MSTP .................................................................................................................................................................................................... |
413 |
ENABLE MSTP ..................................................................................................................................................................................................... |
414 |
PURGE MSTP ....................................................................................................................................................................................................... |
415 |
SET MSTP .............................................................................................................................................................................................................. |
416 |
SET MSTP CIST .................................................................................................................................................................................................... |
419 |
SET MSTP MSTI ................................................................................................................................................................................................... |
421 |
SET MSTP MSTIVLANASSOC .......................................................................................................................................................................... |
423 |
SET MSTP PORT .................................................................................................................................................................................................. |
424 |
SHOW MSTP ........................................................................................................................................................................................................ |
429 |
Chapter 28 |
|
VLANs and Multiple VLAN Mode Commands ................................................................................................................................... |
432 |
ADD VLAN ............................................................................................................................................................................................................ |
433 |
CREATE VLAN ...................................................................................................................................................................................................... |
435 |
DELETE VLAN ...................................................................................................................................................................................................... |
439 |
DESTROY VLAN .................................................................................................................................................................................................. |
442 |
SET SWITCH INFILTERING ............................................................................................................................................................................... |
443 |
SET SWITCH MANAGEMENTVLAN ............................................................................................................................................................... |
444 |
SET SWITCH VLANMODE ................................................................................................................................................................................ |
445 |
SET VLAN .............................................................................................................................................................................................................. |
447 |
SHOW VLAN ........................................................................................................................................................................................................ |
448 |
Chapter 29 |
|
GARP VLAN Registration Protocol Commands ................................................................................................................................ |
449 |
DISABLE GARP .................................................................................................................................................................................................... |
450 |
ENABLE GARP ..................................................................................................................................................................................................... |
451 |
PURGE GARP ....................................................................................................................................................................................................... |
452 |
SET GARP PORT .................................................................................................................................................................................................. |
453 |
SET GARP TIMER ................................................................................................................................................................................................. |
454 |
SHOW GARP ........................................................................................................................................................................................................ |
456 |
SHOW GARP COUNTER ................................................................................................................................................................................... |
457 |
SHOW GARP DATABASE ................................................................................................................................................................................. |
459 |
SHOW GARP GIP ................................................................................................................................................................................................ |
460 |
SHOW GARP MACHINE .................................................................................................................................................................................... |
461 |
9
Table of Contents |
|
Chapter 30 |
|
Protected Ports VLAN Commands .......................................................................................................................................................... |
462 |
ADD VLAN GROUP ............................................................................................................................................................................................ |
463 |
CREATE VLAN PORTPROTECTED .................................................................................................................................................................. |
466 |
DELETE VLAN ....................................................................................................................................................................................................... |
467 |
DESTROY VLAN ................................................................................................................................................................................................... |
469 |
SET VLAN .............................................................................................................................................................................................................. |
470 |
SHOW VLAN ......................................................................................................................................................................................................... |
471 |
Chapter 31 |
|
MAC Address Security Commands ......................................................................................................................................................... |
472 |
SET SWITCH PORT INTRUSIONACTION ...................................................................................................................................................... |
473 |
SET SWITCH PORT SECURITYMODE ............................................................................................................................................................ |
474 |
SHOW SWITCH PORT INTRUSION ................................................................................................................................................................ |
477 |
SHOW SWITCH PORT SECURITYMODE ....................................................................................................................................................... |
478 |
Chapter 32 |
|
802.1x Port-based Access Control Commands ................................................................................................................................. |
479 |
DISABLE PORTACCESS|PORTAUTH ............................................................................................................................................................. |
480 |
DISABLE RADIUSACCOUNTING .................................................................................................................................................................... |
481 |
ENABLE PORTACCESS|PORTAUTH ............................................................................................................................................................... |
482 |
ENABLE RADIUSACCOUNTING ..................................................................................................................................................................... |
483 |
SET PORTACCESS|PORTAUTH PORT ROLE=AUTHENTICATOR .......................................................................................................... |
484 |
SET PORTACCESS|PORTAUTH PORT ROLE=SUPPLICANT ................................................................................................................... |
489 |
SET RADIUSACCOUNTING .............................................................................................................................................................................. |
491 |
SHOW PORTACCESS|PORTAUTH ................................................................................................................................................................. |
493 |
SHOW PORTACCESS|PORAUTH PORT ........................................................................................................................................................ |
494 |
SHOW RADIUSACCOUNTING ........................................................................................................................................................................ |
495 |
Chapter 33 |
|
Web Server Commands ................................................................................................................................................................................ |
496 |
DISABLE HTTP SERVER ..................................................................................................................................................................................... |
497 |
ENABLE HTTP SERVER ...................................................................................................................................................................................... |
498 |
PURGE HTTP SERVER ........................................................................................................................................................................................ |
499 |
SET HTTP SERVER ............................................................................................................................................................................................... |
500 |
SHOW HTTP SERVER ......................................................................................................................................................................................... |
506 |
Chapter 34 |
|
Encryption Key Commands ........................................................................................................................................................................ |
507 |
CREATE ENCO KEY ............................................................................................................................................................................................. |
508 |
DESTROY ENCO KEY ......................................................................................................................................................................................... |
512 |
SET ENCO KEY ..................................................................................................................................................................................................... |
513 |
SHOW ENCO ........................................................................................................................................................................................................ |
514 |
Chapter 35 |
|
Public Key Infrastructure (PKI) Certificate Commands ................................................................................................................. |
515 |
ADD PKI CERTIFICATE ....................................................................................................................................................................................... |
516 |
CREATE PKI CERTIFICATE ................................................................................................................................................................................ |
518 |
CREATE PKI ENROLLMENTREQUEST ........................................................................................................................................................... |
521 |
DELETE PKI CERTIFICATE ................................................................................................................................................................................. |
523 |
PURGE PKI ............................................................................................................................................................................................................. |
524 |
SET PKI CERTIFICATE ......................................................................................................................................................................................... |
525 |
SET PKI CERTSTORELIMIT ................................................................................................................................................................................ |
527 |
SET SYSTEM DISTINGUISHEDNAME ............................................................................................................................................................ |
528 |
SHOW PKI ............................................................................................................................................................................................................. |
529 |
SHOW PKI CERTIFICATE ................................................................................................................................................................................... |
530 |
10
|
AT - S62 Command Line User’s Guide |
Chapter 36 |
|
Secure Sockets Layer (SSL) Commands |
............................................................................................................................................... 531 |
SET SSL .................................................................................................................................................................................................................. |
532 |
SHOW SSL ............................................................................................................................................................................................................ |
533 |
Chapter 37 |
|
Secure Shell (SSH) Commands ................................................................................................................................................................. |
534 |
DISABLE SSH SERVER ....................................................................................................................................................................................... |
535 |
ENABLE SSH SERVER ......................................................................................................................................................................................... |
536 |
SET SSH SERVER ................................................................................................................................................................................................. |
539 |
SHOW SSH ........................................................................................................................................................................................................... |
541 |
Chapter 38 |
|
TACACS+ and RADIUS Commands ......................................................................................................................................................... |
542 |
ADD RADIUSSERVER ........................................................................................................................................................................................ |
543 |
ADD TACACSSERVER ........................................................................................................................................................................................ |
545 |
DELETE RADIUSSERVER ................................................................................................................................................................................... |
546 |
DELETE TACACSSERVER .................................................................................................................................................................................. |
547 |
DISABLE AUTHENTICATION ........................................................................................................................................................................... |
548 |
ENABLE AUTHENTICATION ............................................................................................................................................................................ |
549 |
PURGE AUTHENTICATION .............................................................................................................................................................................. |
550 |
SET AUTHENTICATION ..................................................................................................................................................................................... |
551 |
SHOW AUTHENTICATION ............................................................................................................................................................................... |
553 |
Chapter 39 |
|
Management ACL Commands .................................................................................................................................................................. |
554 |
ADD MGMTACL .................................................................................................................................................................................................. |
555 |
DELETE MGMTACL ............................................................................................................................................................................................ |
557 |
DISABLE MGMTACL .......................................................................................................................................................................................... |
558 |
ENABLE MGMTACL ........................................................................................................................................................................................... |
559 |
SET MGMTACL .................................................................................................................................................................................................... |
560 |
SET MGMTACL STATE ...................................................................................................................................................................................... |
562 |
SHOW MGMTACL .............................................................................................................................................................................................. |
563 |
Index ..................................................................................................................................................................................................................... |
564 |
11
This guide describes how to configure an AT-8500 Series switch using the AT-S62 command line interface. The commands are grouped by topic into the following chapters:
Chapter 1: Starting a Command Line Management Session on page 16
Chapter 2: Basic Command Line Commands on page 20
Chapter 3: Enhanced Stacking Commands on page 30
Chapter 4: Basic Switch Commands on page 36
Chapter 5: Simple Network Time Protocol (SNTP) Commands on page 70
Chapter 6: SNMPv1 and SNMPv2 Community Strings and Trap Commands on page 80
Chapter 7: SNMPv3 Commands on page 99
Chapter 8: Port Parameter Commands on page 157
Chapter 9: MAC Address Table Commands on page 177
Chapter 10: Port Trunking Commands on page 186
Chapter 11: Networking Stack Commands on page 194
Chapter 12: LACP Commands on page 204
Chapter 13: Port Mirroring Commands on page 219
Chapter 14: Statistics Commands on page 223
Chapter 15: File System Commands on page 227
12
AT-S62 Command Line User’s Guide
Chapter 16: File Download and Upload Commands on page 235
Chapter 17: Event Log and Syslog Server Commands on page 258
Chapter 18: Classifier Commands on page 286
Chapter 19: ACL Commands on page 298
Chapter 20: Quality of Service (QoS) Commands on page 306
Chapter 21: Class of Service (CoS) Commands on page 344
Chapter 22: Power Over Ethernet Commands on page 350
Chapter 23: IGMP Snooping Commands on page 359
Chapter 24: Denial of Service (DoS) Defense Commands on page 367
Chapter 25: STP Commands on page 379
Chapter 26: RSTP Commands on page 392
Chapter 27: MSTP Commands on page 406
Chapter 28: VLANs and Multiple VLAN Mode Commands on page 432
Chapter 29: GARP VLAN Registration Protocol Commands on page 449
Chapter 30: Protected Ports VLAN Commands on page 462
Chapter 31: MAC Address Security Commands on page 472
Chapter 32: 802.1x Port-based Access Control Commands on page 479
Chapter 33: Web Server Commands on page 496
Chapter 34: Encryption Key Commands on page 507
Chapter 35: Public Key Infrastructure (PKI) Certificate Commands on page 515
Chapter 36: Secure Sockets Layer (SSL) Commands on page 531
Chapter 37: Secure Shell (SSH) Commands on page 534
Chapter 38: TACACS+ and RADIUS Commands on page 542
Chapter 39: Management ACL Commands on page 554
13
Preface
A list of the commands appear on the first page of each chapter. The commands are described in alphabetical order.
Caution
The software described in this documentation contains certain cryptographic functionality and its export is restricted by U.S. law. As of this writing, it has been submitted for review as a “retail encryption item” in accordance with the Export Administration Regulations, 15 C.F.R. Part 730-772, promulgated by the U.S. Department of Commerce, and conditionally may be exported in accordance with the pertinent terms of License Exception ENC (described in 15 C.F.R. Part 740.17). In no case may it be exported to Cuba, Iran, Iraq, Libya, North Korea, Sudan, or Syria. If you wish to transfer this software outside the United States or Canada, please contact your local Allied Telesyn sales representative for current information on this product’s export status.
This document uses the following conventions:
Note
Notes provide additional information.
Warning
Warnings inform you that performing or omitting a specific action may result in bodily injury.
Caution
Cautions inform you that performing or omitting a specific action may result in equipment damage or loss of data.
14
AT-S62 Command Line User’s Guide
This section provides Allied Telesyn contact information for technical support as well as sales or corporate information.
Email and
Telephone
Support
Returning
Products
Management
Software
Updates
For Technical Support via email or telephone, refer to the Support & Services section of the Allied Telesyn web site: www.alliedtelesyn.com.
Products for return or repair must first be assigned a Return Materials Authorization (RMA) number. A product sent to Allied Telesyn without a RMA number will be returned to the sender at the sender’s expense.
To obtain a RMA number, contact Allied Telesyn’s Technical Support at our web site: www.alliedtelesyn.com.
You can contact Allied Telesyn for sales or corporate information at our web site: www.alliedtelesyn.com. To find the contact information for your country, select Contact Us -> Worldwide Contacts.
You can download new releases of management software for our managed products from either of the following Internet sites:
Allied Telesyn web site: www.alliedtelesyn.com
Allied Telesyn FTP server: ftp://ftp.alliedtelesyn.com
To download new software from the Allied Telesyn FTP server using your workstation’s command prompt, you need FTP client software and you must log in to the server. Enter “anonymous” as the user name and your email address for the password.
15
Starting a Command Line
Management Session
This chapter contains the following topics:
Starting a Management Session on page 17
Command Line Interface Features on page 18
Command Formatting on page 19
16
AT-S62 Command Line User’s Guide
In order to manage an AT-8500 Series switch using command line commands, you must first start a local or Telnet management session. For instructions, refer to the AT-S62 Management Software Menus Interface User’s Guide.
The default management interface is the command line. The prompt that you will see will differ depending on whether you logged in as Manager or Operator. If you logged in as Manager, you will see “#.” If you logged in as Operator, you will see “$.” You can now manage the switch with the command line commands.
If you prefer to use the menu interface instead of the command line, type MENU at the command prompt and press Return. To make the menu interface as the default management interface, refer to SET SWITCH CONSOLEMODE on page 28.
Note
Web browser management does not support the command line interface.
17
Chapter 1: Starting a Command Line Management Session
The following features are supported in the command line interface:
Command history - Use the up and down arrow keys.
Context-specific help - Press the question mark key at any time to see a list of legal next parameters.
Keyword abbreviations - Any keyword can be recognized by typing an unambiguous prefix (for example., “sh” for “show”).
Tab key - Pressing the tab key fills in the rest of a keyword. For example, typing “DI” and pressing the tab key enters “DISABLE.”
18
AT-S62 Command Line User’s Guide
The following formatting conventions are used in this manual:
screen text font - This font illustrates the format of a command and command examples.
screen text font - Italicized screen text indicates a variable for you to enter.
[ ] - Brackets indicate optional parameters.
| - Bar symbol separates parameter options for you to choose from.
19
This chapter contains the following commands:
CLEAR SCREEN on page 21
EXIT on page 22
HELP on page 23
LOGOFF, LOGOUT, and QUIT on page 24
MENU on page 25
SAVE CONFIGURATION on page 26
SET PROMPT on page 27
SET SWITCH CONSOLEMODE on page 28
SHOW USER on page 29
Note
Remember to save your changes with the SAVE CONFIGURATION command.
20
AT-S62 Command Line User’s Guide
Syntax
clear screen
Parameters
None.
Description
This command clears the screen.
Example
The following command clears the screen:
clear screen
21
Chapter 2: Basic Command Line Commands
Syntax
exit
Parameters
None.
Description
This command displays the AT-S62 Main Menu. It performs the same function as the MENU command. For instructions on how to use the management menus, refer to the AT-S62 Management Software Menus Interface User’s Guide.
Example
The following command displays the Main Menu:
exit
22
AT-S62 Command Line User’s Guide
Syntax
help
Parameters
None.
Description
This command displays a list of the CLI keywords with a brief description for each keyword.
Example
The following command displays the CLI keywords:
help
23
Chapter 2: Basic Command Line Commands
Syntax
logoff
logout
quit
Parameters
None.
Description
These three commands perform the same function: they end a management session. If you are managing a slave switch, the commands return you to the master switch from which you started the management session.
Example
The following command ends a management session:
logoff
24
AT-S62 Command Line User’s Guide
Syntax
menu
Parameters
None.
Description
This command displays the AT-S62 Main Menu. This command performs the same function as the EXIT command. For instructions on how to use the management menus, refer to the AT-S62 Management Software Menus Interface User’s Guide.
Example
The following command displays the AT-S62 Main Menu:
menu
25
Chapter 2: Basic Command Line Commands
Syntax
save configuration
Parameters
None.
Description
This command saves your changes to the switch’s active boot configuration file for permanent storage.
Whenever you make a change to an operating parameter of the switch, such as enter a new IP address or create a new VLAN, the change is stored in temporary memory. It will be lost the next time you reset the switch or power cycle the unit.
To permanently save your changes, you must use this command. The changes are saved in the active boot configuration file as a series of commands. The commands in the file are used by the switch to recreate all of its settings, such as VLANs and port settings, whenever you reset or power cycle the unit.
To view the name of the currently active boot configuration file, see SHOW CONFIG on page 64. To view the contents of a configuration file, see SHOW FILE on page 234. For background information on boot configuration files, refer to the AT-S62 Management Software Menus Interface User’s Guide.
Example
The following command saves your configuration changes to the active boot configuration file:
save configuration
26
AT-S62 Command Line User’s Guide
Syntax
set prompt=”prompt”
Parameter |
|
prompt |
Specifies the command line prompt. The prompt can |
|
be from one to 12 alphanumeric characters. Spaces |
|
and special characters are allowed. The prompt must |
|
be enclosed in double quotes. |
Description |
|
This command changes the command line prompt. Assigning each switch a different command line prompt can make it easier for you to identify the different switches in your network when you manage them.
If you define the system name before you set the command line prompt, the switch uses the system name as the prompt. To set the system name, refer to SET SYSTEM on page 61.
Example
The following command changes the command line prompt to “Sales
Switch”:
set prompt=”Sales Switch”
27
Chapter 2: Basic Command Line Commands
Syntax
set switch consolemode=menu|cli
Parameter |
|
|
consolemode |
Specifies the mode you want management sessions to |
|
|
start in. Options are: |
|
|
menu |
Specifies the AT-S62 Main Menu. |
|
cli |
Specifies the command line prompt. This is |
|
|
the default. |
Description
You use this command to specify whether you want your management sessions to start by displaying the command line interface or the AT-S62 Main Menu. The default is the command line interface.
Example
The following command configures the management software to display the menu interface whenever you start a management session:
set switch consolemode=menu
28
AT-S62 Command Line User’s Guide
Syntax
show user
Parameter
None.
Description
Displays the user account you used to log on to manage the switch.
Example
show user
29
This chapter contains the following commands:
ACCESS SWITCH on page 31
SET SWITCH STACKMODE on page 33
SHOW REMOTELIST on page 35
Note
Remember to save your changes with the SAVE CONFIGURATION command.
Note
Refer to the AT-S62 Management Software Menus Interface User’s
Guide for background information on enhanced stacking.
30