Allied Telesis AT-DC2552XS User Manual

AT-DC2552XS
Layer 2 Data Center Switch
Management Software Command Line Interface User’s Guide
AlliedWare Plus Version 2.5.1.1
613-001753 Rev. A
Copyright
Copyright © 2013, Allied Telesis, Inc.
This product includes software licensed under the BSD License. As such, the following language applies for those portions of the software licensed under the BSD License:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following
disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Allied Telesis, Inc. nor the names of the respective companies above may be used to endorse or
promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright 1989, 1991, 1992 by Carnegie Mellon University. Derivative Work - 1996, 1998-2000. Copyright 1996, 1998­2000 by The Regents of the University of California - All rights reserved. Copyright (c) 2001-2003 by Networks Associates Technology, Inc. - All rights reserved. Copyright (c) 2001-2003 by Cambridge Broadband Ltd. - All rights reserved. Copyright (c) 2003 by Sun Microsystems, Inc. - All rights reserved. Copyright (c) 2003-2005 by Sparta, Inc. ­All rights reserved. Copyright (c) 2004 by Cisco, Inc. and Information Network Center of Beijing University of Posts and Telecommunications. - All rights reserved. Copyright (c) 2003 by Fabasoft R&D Software GmbH & Co KG - All rights reserved. Copyright (c) 2004-2006 by Internet Systems Consortium, Inc. ("ISC") - All rights reserved. Copyright (c) 1995-2003 by Internet Software Consortium - All rights reserved. Copyright (c) 1992-2003 by David Mills - All rights reserved. Copyright (c) 1995 by Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland - All rights reserved. Copyright (c) 1998 by CORE SDI S.A., Buenos Aires, Argentina - All rights reserved. Copyright 1995, 1996 by David Mazieres - All rights reserved. Copyright 1983, 1990, 1992, 1993, 1995 by The Regents of the University of California - All rights reserved. Copyright (c) 1995 Patrick Powell - All rights reserved. Copyright (c) 1998-2005 The OpenSSL Project - All rights reserved. Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) - All rights reserved. Copyright (c) 2008, Henry Kwok - All rights reserved. Copyright (c) 1995, 1998, 1999, 2000, 2001 by Jef Poskanzer <jef@mail.acme.com>. - All rights reserved.
Some components of the SSH software are provided under a standard 2-term BSD license with the following names as copyright holders: Markus Friedl, Theo de Raadt, Niels Provos, Dug Song, Aaron Campbell, Damien Miller, Kevin Steves, Daniel Kouril, Wesley Griffin, Per Allansson, Nils Nordman, and Simon Wilkinson,
Portable OpenSSH includes code from the following copyright holders, also under the 2-term BSD license: Ben Lindstrom, Tim Rice, Andre Lucas, Chris Adams, Corinna Vinschen, Cray Inc., Denis Parker, Gert Doering, Jakob Schlyter, Jason Downs, Juha Yrjola, Michael Stone, Network Associates, Solar Designer, Todd C. Miller, Wayne Schroeder, William Jones, Darren Tucker, Sun Microsystems, The SCO Group.
Some Portable OpenSSH code is licensed under a 3-term BSD style license to the following copyright holders: Todd C. Miller, Theo de Raadt, Damien Miller, Eric P. Allman, The Regents of the University of California, and Constantin S. Svintsoff. Some Portable OpenSSH code is licensed under an ISC-style license to the following copyright holders: Internet Software Consortium, Todd C. Miller, Reyk Floeter, and Chad Mynhier. Some Portable OpenSSH code is licensed under a MIT-style license to the following copyright holder: Free Software Foundation, Inc.
This product also includes software licensed under the GNU General Public License available from:
http://www.gnu.org/licenses/gpl2.html
Allied Telesis is committed to meeting the requirements of the open source licenses including the GNU General Public License (GPL) and will make all required source code available.
If you would like a copy of the GPL source code contained in this product, please send us a request by registered mail including a check for US$15 to cover production and shipping costs, and a CD with the GPL code will be mailed to you.
GPL Code Request Allied Telesis, Inc. 3041 Orchard Parkway San Jose, California 95134
No part of this publication may be reproduced without prior written permission from Allied Telesis, Inc.
Allied Telesis, AlliedWare Plus, and the Allied Telesis logo are trademarks of Allied Telesis, Incorporated. Microsoft and Internet Explorer are registered trademarks of Microsoft Corporation. All other product names, company names, logos or other designations mentioned herein are trademarks or registered trademarks of their respective owners.
Allied Telesis, 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 Telesis, 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 Telesis, Inc. has been advised of, known, or should have known, the possibility of such damages.

Contents

Preface ........................................................................................................................15
Document Conventions .................................................................................................................................... 16
Where to Find Web-based Guides ................................................................................................................... 17
Contacting Allied Telesis .................................................................................................................................. 18
Section I: Switch Management ................................................................................................................ 19
Chapter 1: AlliedWare Plus™ Command Line Interface ............................................................................ 21
Management Sessions ..................................................................................................................................... 22
Local Management..................................................................................................................................... 22
Remote Management................................................................................................................................. 22
Manager Account ............................................................................................................................................. 24
AlliedWare Plus™ Command Modes ............................................................................................................... 25
Moving Down the Hierarchy ............................................................................................................................. 26
ENABLE Command ................................................................................................................................... 26
CONFIGURE TERMINAL Command......................................................................................................... 26
CLASS-MAP Command............................................................................................................................. 26
LINE CONSOLE 0 Command .................................................................................................................... 27
Moving Up the Hierarchy .................................................................................................................................. 28
EXIT and QUIT Commands ....................................................................................................................... 28
END Command .......................................................................................................................................... 28
DISABLE Command .................................................................................................................................. 29
Port ID Numbers in Commands........................................................................................................................ 30
Command Format............................................................................................................................................. 31
Command Line Interface Features............................................................................................................. 31
Command Formatting Conventions ........................................................................................................... 31
Command Examples.................................................................................................................................. 31
Chapter 2: Management Session Commands ............................................................................................ 33
BAUD-RATE SET............................................................................................................................................. 36
CLEAR LINE..................................................................................................................................................... 37
CRYPTO KEY DESTROY HOSTKEY.............................................................................................................. 38
CRYPTO KEY GENERATE HOSTKEY ........................................................................................................... 40
EXEC-TIMEOUT .............................................................................................................................................. 42
LENGTH ........................................................................................................................................................... 44
LINE CONSOLE 0 ............................................................................................................................................ 46
LINE VTY.......................................................................................................................................................... 47
NO EXEC-TIMEOUT ........................................................................................................................................ 48
NO LENGTH..................................................................................................................................................... 49
NO SERVICE SSH ........................................................................................................................................... 50
NO SERVICE PASSWORD-ENCRYPTION..................................................................................................... 51
NO SERVICE TELNET..............................................................................................................
NO SERVICE TERMINAL-LENGTH ................................................................................................................ 53
NO USERNAME............................................................................................................................................... 54
....................... 52
5
Contents
SERVICE MAXMANAGER ............................................................................................................................... 55
SERVICE PASSWORD-ENCRYPTION............................................................................................................56
SERVICE SSH..................................................................................................................................................57
SERVICE TELNET ........................................................................................................................................... 58
SERVICE TERMINAL-LENGTH ....................................................................................................................... 59
SHOW BAUD-RATE .........................................................................................................................................60
SHOW CRYPTO KEY HOSTKEY .................................................................................................................... 62
SHOW SSH SERVER....................................................................................................................................... 63
SHOW TELNET ................................................................................................................................................64
SHOW USERS ................................................................................................................................................. 65
TERMINAL LENGTH ........................................................................................................................................ 67
TERMINAL NO LENGTH .................................................................................................................................. 68
TELNET ............................................................................................................................................................69
USERNAME...................................................................................................................................................... 70
Chapter 3: Basic Command Line Management Commands ......................................................................73
CLEAR SCREEN ..............................................................................................................................................75
CONFIGURE TERMINAL ................................................................................................................................. 76
DISABLE........................................................................................................................................................... 77
DO..................................................................................................................................................................... 78
ENABLE............................................................................................................................................................ 79
ENABLE PASSWORD...................................................................................................................................... 80
END ..................................................................................................................................................................81
EXIT .................................................................................................................................................................. 82
LOGOUT ........................................................................................................................................................... 83
NO ENABLE PASSWORD ............................................................................................................................... 84
QUIT .................................................................................................................................................................85
Chapter 4: Basic Switch Operations Commands ........................................................................................ 87
BANNER EXEC ................................................................................................................................................89
BANNER LOGIN ............................................................................................................................................... 90
BANNER MOTD ............................................................................................................................................... 91
BOOT SYSTEM ................................................................................................................................................92
CLOCK SET...................................................................................................................................................... 93
ERASE STARTUP-CONFIG............................................................................................................................. 95
HOSTNAME...................................................................................................................................................... 96
NO BANNER EXEC ..........................................................................................................................................97
NO BANNER LOGIN ........................................................................................................................................ 98
NO BANNER MOTD .................................................................................................................
........................ 99
NO HOSTNAME ............................................................................................................................................. 100
REBOOT......................................................................................................................................................... 101
RELOAD .........................................................................................................................................................102
SHOW BOOT.................................................................................................................................................. 103
SHOW CLOCK ............................................................................................................................................... 105
SHOW CPU ....................................................................................................................................................106
SHOW CPU HISTORY ................................................................................................................................... 109
SHOW MEMORY............................................................................................................................................110
SHOW MEMORY HISTORY...........................................................................................................................112
SHOW PROCESS .......................................................................................................................................... 113
SHOW RUNNING-CONFIG ............................................................................................................................116
SHOW SWITCH.............................................................................................................................................. 117
SHOW SYSTEM .............................................................................................................................................119
SHOW SYSTEM ENVIRONMENT.................................................................................................................. 122
SHOW SYSTEM PLUGGABLE ...................................................................................................................... 124
SHOW SYSTEM PLUGGABLE DETAIL.........................................................................................................126
SHOW SYSTEM SERIALNUMBER................................................................................................................ 128
6
DC2552xs Switch Command Line User’s Guide
SHOW TECH-SUPPORT ............................................................................................................................... 129
SHOW VERSION ........................................................................................................................................... 130
Chapter 5: File Management Commands .................................................................................................. 133
COPY ............................................................................................................................................................. 134
COPY FLASH TFTP....................................................................................................................................... 135
COPY HTTP FLASH ...................................................................................................................................... 136
COPY TFTP FLASH....................................................................................................................................... 137
COPY ZMODEM ............................................................................................................................................ 138
DELETE.......................................................................................................................................................... 139
DIR ................................................................................................................................................................. 140
MOVE ............................................................................................................................................................. 141
SHOW FILE.................................................................................................................................................... 142
SHOW FILE SYSTEMS.................................................................................................................................. 143
Chapter 6: Boot Configuration File Commands ....................................................................................... 145
BOOT CONFIG-FILE...................................................................................................................................... 146
COPY RUNNING-CONFIG ............................................................................................................................ 148
COPY RUNNING-CONFIG STARTUP-CONFIG ........................................................................................... 149
COPY STARTUP-CONFIG ............................................................................................................................ 150
ERASE STARTUP-CONFIG .......................................................................................................................... 151
NO BOOT CONFIG-FILE ............................................................................................................................... 152
SHOW BOOT ................................................................................................................................................. 153
SHOW STARTUP-CONFIG ........................................................................................................................... 155
WRITE ............................................................................................................................................................ 156
Chapter 7: Event Log Commands .............................................................................................................. 157
CLEAR LOG ................................................................................................................................................... 158
DEFAULT LOG............................................................................................................................................... 159
LOG ................................................................................................................................................................ 161
LOG (FILTER) ................................................................................................................................................ 162
LOG HOST TIME ........................................................................................................................................... 165
LOG SIZE ....................................................................................................................................................... 167
NO LOG.......................................................................................................................................................... 168
SHOW LOG.................................................................................................................................................... 170
SHOW LOG CONFIG..................................................................................................................................... 172
SHOW LOG PERMANENT ............................................................................................................................ 175
TERMINAL MONITOR ................................................................................................................................... 177
Chapter 8: SNMP Commands ..................................................................................................................... 179
NO SNMP-SERVER....................................................................................................................................... 181
NO SNMP-SERVER COMMUNITY................................................................................................................ 182
NO SNMP-SERVER CONTACT .................................................................................................................... 183
NO SNMP-SERVER ENABLE TRAP ............................................................................................................. 184
NO SNMP-SERVER ENGINEID LOCAL........................................................................................................ 185
NO SNMP-SERVER GROUP......................................................................................................................... 186
NO SNMP-SERVER HOST............................................................................................................................ 187
NO SNMP-SERVER LOCATION ................................................................................................................... 189
NO SNMP-SERVER USER............................................................................................................................ 190
NO SNMP-SERVER VIEW............................................................................................................................. 191
NO SNMP TRAP LINK-STATUS.................................................................................................................... 192
SHOW SNMP-SERVER ................................................................................................................................. 193
SHOW SNMP-SERVER COMMUNITY .......................................................................................................... 195
SHOW SNMP-SERVER GROUP ................................................................................................................... 196
SHOW SNMP-SERVER USER ...................................................................................................................... 198
SHOW SNMP-SERVER VIEW ....................................................................................................................... 199
7
Contents
SNMP-SERVER..............................................................................................................................................200
SNMP-SERVER COMMUNITY.......................................................................................................................201
SNMP-SERVER CONTACT ...........................................................................................................................202
SNMP-SERVER ENABLE TRAP....................................................................................................................203
SNMP-SERVER ENGINEID LOCAL............................................................................................................... 205
SNMP-SERVER GROUP ...............................................................................................................................206
SNMP-SERVER HOST...................................................................................................................................208
SNMP-SERVER LOCATION ..........................................................................................................................210
SNMP-SERVER USER...................................................................................................................................211
SNMP-SERVER VIEW ...................................................................................................................................213
SNMP TRAP LINK-STATUS........................................................................................................................... 214
Chapter 9: RMON Commands .....................................................................................................................215
NO RMON ALARM ......................................................................................................................................... 216
NO RMON COLLECTION STATS .................................................................................................................. 217
NO RMON EVENT..........................................................................................................................................218
RMON ALARM................................................................................................................................................ 219
RMON COLLECTION STATS ........................................................................................................................222
RMON EVENT ................................................................................................................................................ 223
SHOW RMON EVENT.................................................................................................................................... 225
SHOW RMON STATISTICS ...........................................................................................................................227
Chapter 10: NTP Client Commands ............................................................................................................229
CLOCK TIMEZONE ........................................................................................................................................230
NO NTP PEER................................................................................................................................................ 231
NTP PEER ......................................................................................................................................................232
PURGE NTP ...................................................................................................................................................233
SHOW NTP ASSOCIATIONS......................................................................................................................... 234
SHOW NTP STATUS ..................................................................................................................................... 236
Section II: Layer 2 Switching .................................................................................................................237
Chapter 11: Port Parameter Commands ....................................................................................................239
CLEAR PORT COUNTER .............................................................................................................................. 241
CUT-THROUGH .............................................................................................................................................242
DESCRIPTION ............................................................................................................................................... 243
EGRESS-RATE-LIMIT.................................................................................................................................... 244
FLOWCONTROL RECEIVE ........................................................................................................................... 245
MIRROR ......................................................................................................................................................... 247
INTERFACE ................................................................................................................................................... 249
NO DESCRIPTION .........................................................................................................................................251
NO EGRESS-RATE-LIMIT ............................................................................................................................. 252
NO FLOWCONTROL...................................................................................................................................... 253
NO SHUTDOWN ............................................................................................................................................ 254
NO STORM-CONTROL ..................................................................................................................................255
PURGE ...........................................................................................................................................................256
RESET ............................................................................................................................................................ 257
SHOW FLOWCONTROL INTERFACE...........................................................................................................258
SHOW INTERFACE ....................................................................................................................................... 260
SHOW INTERFACE BRIEF ............................................................................................................................ 263
SHOW INTERFACE STATUS ........................................................................................................................ 265
SHOW MIRROR ............................................................................................................................................. 267
SHOW PLATFORM PORT COUNTERS ........................................................................................................ 269
SHOW PLATFORM PORT COUNTERS SUMMARY.....................................................................................274
SHOW STORM-CONTROL ............................................................................................................................ 275
8
DC2552xs Switch Command Line User’s Guide
SHUTDOWN .................................................................................................................................................. 277
STORM-CONTROL........................................................................................................................................ 278
Chapter 12: LACP Commands ................................................................................................................... 281
CHANNEL-GROUP ........................................................................................................................................ 282
LACP SYSTEM-PRIORITY ............................................................................................................................ 284
NO CHANNEL-GROUP.................................................................................................................................. 285
PORT-CHANNEL LOAD-BALANCE .............................................................................................................. 286
SHOW ETHERCHANNEL .............................................................................................................................. 288
SHOW ETHERCHANNEL DETAIL ................................................................................................................ 290
SHOW ETHERCHANNEL SUMMARY........................................................................................................... 293
SHOW LACP SYS-ID ..................................................................................................................................... 295
SHOW PORT ETHERCHANNEL ................................................................................................................... 296
SHOW STATIC-CHANNEL-GROUP .............................................................................................................. 300
STATIC-CHANNEL-GROUP .......................................................................................................................... 302
Chapter 13: VLAN Commands ................................................................................................................... 305
INTERFACE VLAN......................................................................................................................................... 307
NO SWITCHPORT ACCESS VLAN............................................................................................................... 308
NO SWITCHPORT TRUNK............................................................................................................................ 309
NO SWITCHPORT TRUNK NATIVE VLAN ................................................................................................... 310
NO VLAN........................................................................................................................................................ 311
NO VLAN MACADDRESS (Global Configuration Mode) ............................................................................... 312
NO VLAN MACADDRESS (Port Interface Mode) .......................................................................................... 313
SHOW VLAN .................................................................................................................................................. 314
SHOW VLAN MACADDRESS........................................................................................................................ 316
SWITCHPORT ACCESS VLAN ..................................................................................................................... 318
SWITCHPORT MODE ACCESS.................................................................................................................... 319
SWITCHPORT MODE TRUNK ...................................................................................................................... 320
SWITCHPORT TRUNK ALLOWED VLAN ..................................................................................................... 322
SWITCHPORT TRUNK NATIVE VLAN.......................................................................................................... 324
VLAN .............................................................................................................................................................. 326
VLAN DATABASE .......................................................................................................................................... 328
VLAN MACADDRESS.................................................................................................................................... 329
VLAN SET MACADDRESS (Global Configuration Mode).............................................................................. 331
VLAN SET MACADDRESS (Port Interface Mode)......................................................................................
... 333
Chapter 14: STP Commands ...................................................................................................................... 335
CLEAR SPANNING-TREE DETECTED PROTOCOLS ................................................................................. 338
INSTANCE PRIORITY ................................................................................................................................... 339
INSTANCE VLAN ........................................................................................................................................... 340
REGION ......................................................................................................................................................... 342
REVISION ...................................................................................................................................................... 343
SHOW SPANNING-TREE.............................................................................................................................. 344
SHOW SPANNING-TREE MST ..................................................................................................................... 352
SHOW SPANNING-TREE MST CONFIG ...................................................................................................... 355
SHOW SPANNING-TREE MST INSTANCE .................................................................................................. 357
SPANNING-TREE ENABLE........................................................................................................................... 360
SPANNING-TREE ERRDISABLE-TIMEOUT ENABLE.................................................................................. 362
SPANNING-TREE ERRDISABLE-TIMEOUT INTERVAL .............................................................................. 363
SPANNING-TREE FORWARD-TIME............................................................................................................. 364
SPANNING-TREE HELLO-TIME ................................................................................................................... 365
SPANNING-TREE LINK-TYPE ...................................................................................................................... 366
SPANNING-TREE LOOP-GUARD................................................................................................................. 367
SPANNING-TREE MAX-AGE ........................................................................................................................ 368
SPANNING-TREE MAX-HOPS...................................................................................................................... 369
9
Contents
SPANNING-TREE MODE............................................................................................................................... 370
SPANNING-TREE MST CONFIGURATION...................................................................................................371
SPANNING-TREE MST INSTANCE............................................................................................................... 372
SPANNING-TREE MST INSTANCE PATH-COST ......................................................................................... 374
SPANNING-TREE MST INSTANCE PRIORITY.............................................................................................375
SPANNING-TREE PATH-COST..................................................................................................................... 376
SPANNING-TREE PORTFAST ......................................................................................................................378
SPANNING-TREE PORTFAST BPDU-GUARD (SWITCH)............................................................................ 379
SPANNING-TREE PORTFAST BPDU-GUARD (PORT)................................................................................ 381
SPANNING-TREE PRIORITY (Bridge Priority)............................................................................................... 383
SPANNING-TREE PRIORITY (Port Priority) ..................................................................................................384
Chapter 15: MAC Address Table Commands ............................................................................................ 385
CLEAR MAC ADDRESS-TABLE ....................................................................................................................386
MAC ADDRESS-TABLE AGEING-TIME ..................................................................................................
MAC ADDRESS-TABLE STATIC ...................................................................................................................390
NO MAC ADDRESS-TABLE STATIC ............................................................................................................. 392
SHOW MAC ADDRESS-TABLE ..................................................................................................................... 394
Chapter 16: RRP Snooping Commands .....................................................................................................397
IP RRP SNOOPING........................................................................................................................................ 398
SHOW IP RRP SNOOPING ........................................................................................................................... 399
......388
Section III: IPv4 Management ...............................................................................................................401
Chapter 17: IPv4 Management Address Commands ................................................................................403
IP ADDRESS ..................................................................................................................................................404
IP ADDRESS DHCP ....................................................................................................................................... 406
IP ROUTE .......................................................................................................................................................408
NO IP ADDRESS ............................................................................................................................................409
NO IP ROUTE................................................................................................................................................. 410
PING ...............................................................................................................................................................411
SHOW IP INTERFACE ...................................................................................................................................412
SHOW IP ROUTE ...........................................................................................................................................413
Chapter 18: ARP Commands ......................................................................................................................415
ARP................................................................................................................................................................. 416
ARP TIMEOUT ............................................................................................................................................... 417
CLEAR ARP-CACHE ......................................................................................................................................418
NO ARP ..........................................................................................................................................................419
SHOW ARP .................................................................................................................................................... 420
Section IV: IPv4 Multicast ......................................................................................................................423
Chapter 19: IGMP Snooping Commands ................................................................................................... 425
CLEAR IP IGMP ............................................................................................................................................. 426
IP IGMP LIMIT ................................................................................................................................................ 427
IP IGMP QUERIER-TIMEOUT........................................................................................................................428
IP IGMP SNOOPING ...................................................................................................................................... 429
IP IGMP SNOOPING MROUTER INTERFACE..............................................................................................430
IP IGMP STATUS ........................................................................................................................................... 431
NO IP IGMP SNOOPING................................................................................................................................432
NO IP IGMP SNOOPING MROUTER INTERFACE ....................................................................................... 433
SHOW IP IGMP .............................................................................................................................................. 434
SHOW IP IGMP HOSTLIST............................................................................................................................435
10
DC2552xs Switch Command Line User’s Guide
SHOW IP IGMP MROUTER........................................................................................................................... 436
SHOW IP IGMP SNOOPING ......................................................................................................................... 437
Section V: Security and Traffic Control ................................................................................................ 441
Chapter 20: ACL Commands ...................................................................................................................... 443
ACCESS-GROUP .......................................................................................................................................... 445
ACCESS-LIST HARDWARE .......................................................................................................................... 447
COPY-TO-MIRROR ....................................................................................................................................... 448
DENY.............................................................................................................................................................. 453
NO ACCESS-GROUP .................................................................................................................................... 458
NO ACCESS-LIST HARDWARE.................................................................................................................... 459
NO COPY-TO-MIRROR ................................................................................................................................. 460
NO DENY ....................................................................................................................................................... 463
NO PERMIT.................................................................................................................................................... 466
PERMIT .......................................................................................................................................................... 469
SHOW ACCESS-LIST.................................................................................................................................... 474
SHOW INTERFACE ACCESS-GROUP ......................................................................................................... 475
SHOW PLATFORM CLASSIFIER STATISTICS UTILIZATION ..................................................................... 476
Chapter 21: Quality of Service (QoS) Commands .................................................................................... 479
CLASS............................................................................................................................................................ 481
CLASS-MAP................................................................................................................................................... 483
DEFAULT-ACTION ........................................................................................................................................ 485
DESCRIPTION (Policy Map) .......................................................................................................................... 487
MATCH ACCESS-GROUP ............................................................................................................................ 489
MATCH COS .................................................................................................................................................. 491
MATCH DSCP................................................................................................................................................ 492
MATCH ETH-FORMAT PROTOCOL ............................................................................................................. 493
MATCH IP-PRECEDENCE ............................................................................................................................ 496
MATCH MAC-TYPE ....................................................................................................................................... 497
MATCH TCP-FLAGS...................................................................................................................................... 499
MATCH VLAN ................................................................................................................................................ 501
MLS QOS COS .............................................................................................................................................. 502
MLS QOS ENABLE ........................................................................................................................................ 503
MLS QOS MAP COS-QUEUE........................................................................................................................ 504
NO MATCH ACCESS-GROUP ..........................................................................................................
NO MLS QOS ENABLE.................................................................................................................................. 507
POLICY-MAP ................................................................................................................................................. 508
PRIORITY-QUEUE......................................................................................................................................... 510
SERVICE-POLICY INPUT.............................................................................................................................. 511
SHOW CLASS-MAP....................................................................................................................................... 513
SHOW POLICY-MAP ..................................................................................................................................... 515
SHOW MLS QOS ........................................................................................................................................... 518
SHOW MLS QOS INTERFACE...................................................................................................................... 519
SHOW MLS QOS MAPS COS-QUEUE ......................................................................................................... 521
WRR-QUEUE EGRESS-RATE-LIMIT QUEUES............................................................................................ 522
WRR-QUEUE WEIGHT.................................................................................................................................. 524
............ 506
Chapter 22: DoS Defense Commands ....................................................................................................... 525
DOS IPOPTIONS ........................................................................................................................................... 526
DOS LAND ..................................................................................................................................................... 528
DOS PING-OF-DEATH .................................................................................................................................. 530
DOS SMURF .................................................................................................................................................. 532
DOS SYNFLOOD ........................................................................................................................................... 534
11
Contents
DOS TEARDROP ........................................................................................................................................... 536
NO DOS IPOPTIONS ..................................................................................................................................... 538
NO DOS LAND ............................................................................................................................................... 539
NO DOS PING-OF-DEATH ............................................................................................................................ 540
NO DOS SMURF ............................................................................................................................................541
NO DOS SYNFLOOD ..................................................................................................................................... 542
NO DOS TEARDROP .....................................................................................................................................543
SHOW DOS INTERFACE...............................................................................................................................544
Command Index ........................................................................................................................................... 547
12

Tab le s

Table 1. Management Session Commands ........................................................................................................................33
Table 2. SHOW BAUD-RATE Command ...........................................................................................................................38
Table 3. SHOW BAUD-RATE Command ...........................................................................................................................60
Table 4. SHOW BAUD-RATE Command ...........................................................................................................................63
Table 5. SHOW USERS Command ....................................................................................................................................65
Table 6. Basic Command Line Commands ........................................................................................................................73
Table 7. Basic Switch Operations Commands ...................................................................................................................87
Table 8. SHOW BOOT Command ....................................................................................................................................103
Table 9. SHOW CLOCK Command ..................................................................................................................................105
Table 10. SHOW CPU Command .................................................................................................................................... 107
Table 11. SHOW MEMORY Command ............................................................................................................................111
Table 12. SHOW PROCESS Command ..........................................................................................................................114
Table 13. SHOW SWITCH Command ..............................................................................................................................117
Table 14. SHOW SYSTEM Command .............................................................................................................................120
Table 15. SHOW SYSTEM ENVIRONMENT Command .................................................................................................. 123
Table 16. SHOW SYSTEM PLUGGABLE Command ......................................................................................................124
Table 17. SHOW SYSTEM PLUGGABLE DETAIL Command .........................................................................................127
Table 18. SHOW VERSION Command ............................................................................................................................130
Table 19. File Management Commands ...........................................................................................................................133
Table 20. SHOW FILE SYSTEMS Command ..................................................................................................................143
Table 21. Boot Configuration File Commands ..................................................................................................................145
Table 22. SHOW BOOT Command ..................................................................................................................................153
Table 23. Event Log Commands ......................................................................................................................................157
Table 24. SHOW LOG Command ....................................................................................................................................171
Table 25. SHOW LOG CONFIG Command .....................................................................................................................173
Table 26. SHOW LOG Permanent Command ..................................................................................................................175
Table 27. SNMPv1, SNMPv2c, SNMPv3 Commands ......................................................................................................179
Table 28. SHOW SNMP-SERVER Command ..................................................................................................................193
Table 29. SHOW SNMP-SERVER COMMUNITY Command .......................................................................................... 195
Table 30. SHOW SNMP-SERVER GROUP Command ................................................................................................... 196
Table 31. SHOW SNMP-SERVER USER Command .......................................................................................................198
Table 32. SHOW SNMP-SERVER VIEW Command .......................................................................................................199
Table 33. RMON Commands ...........................................................................................................................................215
Table 34. SHOW RMON EVENT Command ....................................................................................................................225
Table 35. SHOW RMON STATISTICS Command ...........................................................................................................227
Table 36. Simple Network Time Protocol Commands ......................................................................................................229
Table 37. SHOW NTP ASSOCIATIONS Command .........................................................................................................234
Table 38. SHOW NTP ASSOCIATIONS Command .........................................................................................................236
Table 39. Port Parameter Commands ..............................................................................................................................239
Table 40. SHOW FLOWCONTROL INTERFACE Command ...........................................................................................258
Table 41. SHOW INTERFACE Command ........................................................................................................................261
Table 42. SHOW INTERFACE Command ........................................................................................................................264
Table 43. SHOW INTERFACE STATUS Command ........................................................................................................266
Table 44. SHOW MIRROR Command .............................................................................................................................267
Table 45. SHOW PLATFORM PORT COUNTERS Command ........................................................................................ 271
Table 46. SHOW STORM-CONTROL Command ............................................................................................................275
Table 47. LACP Port Trunk Commands ...........................................................................................................................281
Table 48. SHOW ETHERCHANNEL Command ...............................................................................................................289
Table 49. SHOW ETHERCHANNEL SUMMARY Command ...........................................................................................291
Table 50. SHOW ETHERCHANNEL SUMMARY Command ...........................................................................................293
13
Tables
Table 51. SHOW LACP SYS-ID Command ......................................................................................................................295
Table 52. SHOW PORT ETHERCHANNEL Command ....................................................................................................297
Table 53. SHOW STATIC-CHANNEL-GROUP Command ...............................................................................................301
Table 54. Port-based and Tagged VLAN Commands ......................................................................................................305
Table 55. SHOW VLAN Command ...................................................................................................................................315
Table 56. SHOW VLAN MACADDRESS Command ........................................................................................................316
Table 57. Spanning Tree Protocol Commands .................................................................................................................335
Table 58. SHOW SPANNING-TREE Command for STP & RSTP ...................................................................................345
Table 59. SHOW SPANNING-TREE Command for MSTP ..............................................................................................347
Table 60. SHOW SPANNING-TREE MST Command ......................................................................................................353
Table 61. SHOW SPANNING-TREE MST CONFIG Command .......................................................................................355
Table 62. SHOW SPANNING-TREE MST INSTANCE Command ...................................................................................358
Table 63. MAC Address Table Commands ......................................................................................................................385
Table 64. SHOW MAC ADDRESS-TABLE Command - Unicast Addresses ....................................................................395
Table 65. Address Resolution Protocol Commands .........................................................................................................397
Table 66. SHOW IP RRP SNOOPING Command ............................................................................................................399
Table 67. Management IP Address Commands ...............................................................................................................403
Table 68. SHOW IP INTERFACE Command ...................................................................................................................412
Table 69. SHOW IP ROUTE Command ...........................................................................................................................413
Table 70. Address Resolution Protocol Commands .........................................................................................................415
Table 71. SHOW ARP Command .....................................................................................................................................420
Table 72. Internet Group Management Protocol Snooping Commands ...........................................................................425
Table 73. SHOW IP IGMP SNOOPING Command ..........................................................................................................438
Table 74. Access Control List Commands ........................................................................................
Table 75. SHOW PLATFORM CLASSIFIER STATISTICS UTILIZATION Command Description ...................................476
Table 76. Quality of Service Commands ..........................................................................................................................479
Table 77. MATCH ETH-FORMAT PROTOCOL Command FORMAT KEYWORDS ........................................................493
Table 78. MATCH ETH-FORMAT PROTOCOL Command TYPE KEYWORDS .............................................................494
Table 79. CoS Queue MAP: Default Setting .....................................................................................................................504
Table 80. SHOW CLASS-MAP Command .......................................................................................................................513
Table 81. SHOW POLICY-MAP Command Description ..................................................................................................516
Table 82. SHOW MLS QOS INTERFACE Command ......................................................................................................520
Table 83. DoS Commands ................................................................................................................................................525
Table 84. SHOW DOS INTERFACE Command ...............................................................................................................544
................................443
14

Preface

Caution
AT-DC2552XS switch is a Layer 2 device that provides 10 and 40 Gigabit Ethernet connectivity for virtualized data center and cloud environments.
This preface contains the following sections:
“Document Conventions” on page 16
“Where to Find Web-based Guides” on page 17
“Contacting Allied Telesis” on page 18
The software described in this document may contain certain encryption/security or cryptographic functionality and for exporting those products/software, USA export restrictions apply as per 15 C.F.R. Part 730-772 (particularly Part 740.17). At present, as per United States of America’s export regulations our products/software cannot be exported to Cuba, Iran, North Korea, North Sudan, or Syria. If you wish to transfer this software outside the United States or Canada, please refer to export regulations of USA.
15

Document Conventions

Note
Caution
Warning
This document uses the following conventions:
Notes provide additional information.
Cautions inform you that performing or omitting a specific action may result in equipment damage or loss of data.
Warnings inform you that performing or omitting a specific action may result in bodily injury.
16

Where to Find Web-based Guides

The installation and user guides for all of the Allied Telesis products are available for viewing in portable document format (PDF) from our web site at www.alliedtelesis.com/support/documentation.
AT-DC2552SX Switch Command Line Interface User’s Guide
17

Contacting Allied Telesis

If you need assistance with this product, you may contact Allied Telesis technical support by going to the Support & Services section of the Allied Telesis web site at www.alliedtelesis.com/support. You can find links for the following services on this page:
24/7 Online Support— Enter our interactive support center to
search for answers to your product questions in our knowledge database, to check support tickets, to learn about RMAs, and to contact Allied Telesis experts.
USA and EMEA phone support— Select the phone number that
best fits your location and customer type.
Hardware warranty information— Learn about Allied Telesis
warranties and register your product online.
Replacement Services— Submit a Return Materials Authorization
(RMA) request via our interactive support center.
Documentation— View the most recent installation and user
guides, software release notes, white papers, and data sheets for your products.
Software Downloads— Download the latest software releases for
your managed products.
For sales or corporate information, go to www.alliedtelesis.com/ purchase and select your region.
18

Section I

Switch Management

This section contains the following chapters:
Chapter 1, “AlliedWare Plus™ Command Line Interface” on page 21
Chapter 2, “Management Session Commands” on page 33
Chapter 3, “Basic Command Line Management Commands” on page
73
Chapter 4, “Basic Switch Operations Commands” on page 87
Chapter 5, “File Management Commands” on page 133
Chapter 6, “Boot Configuration File Commands” on page 145
Chapter 7, “Event Log Commands” on page 157
Chapter 8, “SNMP Commands” on page 179
Chapter 9, “RMON Commands” on page 215
Chapter 10, “NTP Client Commands” on page 229
19
20 Section I: Switch Management

Chapter 1

AlliedWare Plus™ Command Line Interface

This chapter has the following sections:
“Management Sessions” on page 22
“Manager Account” on page 24
“AlliedWare Plus™ Command Modes” on page 25
“Moving Down the Hierarchy” on page 26
“Moving Up the Hierarchy” on page 28
“Port ID Numbers in Commands” on page 30
“Command Format” on page 31
21
Chapter 1: AlliedWare Plus™ Command Line Interface
Note
Note

Management Sessions

You can manage the switch locally or remotely. Local management is conducted through the Console port on the switch. Remote management is possible with management tools from PCs on your network.
Local
Management
Remote
Management
To access AlliedWare Plus™ command line interface (CLI) locally, the switch has a Console port. This port is located on the rear panel of the DC2552XS switch.
The requirements for local management sessions are a terminal or a PC with a terminal emulator program, and the management cable that comes with the switch.
The initial management session of the switch must be from a local management session.
You can remotely manage the switch with these software tools:
Telnet client
Secure Shell (SSH) client
To support remote management, you must assign a management IP address to the switch. See “IP ADDRESS” on page 404.
Remote Telnet Management
The switch has a Telnet server that you can use to access AlliedWare Plus™ command line interface (CLI) remotely from Telnet clients on your management workstations. Remote Telnet sessions give you access to the same commands and the same management functions as local management sessions.
Telnet remote management sessions are conducted in clear text, leaving them vulnerable to snooping. When an intruder captures the packet with your login name and password, the security of the switch is compromised. For secure remote management, Allied Telesis recommends Secure Shell (SSH).
22 Section I: Switch Management
AT-DC2552SX Switch Command Line Interface User’s Guide
Remote Secure Shell Management
The switch has an SSH server that you can use to access AlliedWare Plus™ command line interface (CLI) remotely with an SSH client on a management workstation or PCs. This SSH management method is similar to Telnet management sessions. However, SSH management sessions are secure against snooping because the packets are encrypted, rendering them unintelligible to intruders who might capture them.
Section I: Switch Management 23
Chapter 1: AlliedWare Plus™ Command Line Interface

Manager Account

You must log on to manage the switch. This requires a valid user name and password. The switch comes with one manager account. The user name of the account is “manager” and the default password is “friend.” The user name and password are case-sensitive. This account gives you access to all management modes and commands.
24 Section I: Switch Management

AlliedWare Plus™ Command Modes

The AlliedWare Plus™ command line interface consists of a series of modes that are arranged in the hierarchy shown in Figure 1.
AT-DC2552SX Switch Command Line Interface User’s Guide
Figure 1. Command Modes
The modes have different commands and support different management functions. To perform a management function, you first have to move to the mode that has the appropriate commands. For instance, to add new VLANs, you must move to the VLAN Configuration mode because the VLAN command is effective only in that mode.
Section I: Switch Management 25
Chapter 1: AlliedWare Plus™ Command Line Interface
awplus> enable awplus#
awplus> enable awplus# configure terminal awplus(config)#
awplus(config)# class-map filecopy awplus(config-cmap)#

Moving Down the Hierarchy

To move down the mode hierarchy, you must step through each mode in sequence.
Each mode has a different command. For instance, to move from the User Exec mode to the Privileged Exec mode, you use the ENABLE command. Here are some examples.
ENABLE
Command
CONFIGURE
TERMINAL
Command
You use this command to move from the User Exec mode to the Privileged Exec mode. The format of the command is:
enable
Figure 2. ENABLE Command
You use this command to move from the Privileged Exec mode to the Global Configuration mode. The format of the command is:
configure terminal
Figure 3. CONFIGURE TERMINAL Command
CLASS-MAP
Command
26 Section I: Switch Management
You use this command to move from the Global Configuration mode to the Class-Map mode in which you create classifiers and flow groups for Quality of Service policies. The format of the command is:
class-map
class_name
Figure 4. CLASS-MAP Command
AT-DC2552SX Switch Command Line Interface User’s Guide
awplus(config)# line console 0 awplus(config-line)#
LINE CONSOLE
0 Command
You use this command to move from the Global Configuration mode to the Console Line mode to set the management session timer and to activate or deactivate remote authentication for local management sessions. The mode is also used to set the baud rate of the terminal port. The format of the command is:
line console 0
Figure 5. LINE CONSOLE Command
Section I: Switch Management 27
Chapter 1: AlliedWare Plus™ Command Line Interface

Moving Up the Hierarchy

Four commands are available for moving up the mode hierarchy. They are the EXIT, QUIT, END and DISABLE commands.
EXIT and QUIT
Commands
These commands, which are functionally identical, are found in nearly all of the modes. They move you up one level in the hierarchy, as illustrated in Figure 6.
Figure 6. Moving Up One Mode with the EXIT and QUIT Command
END Command You may want to return to the User Exec mode or the Privileged Exec
mode after you have configured a feature. While you can step back through the modes one at a time with the EXIT or QUIT command, the END command moves you directly to the Privileged Exec mode from any mode below the Global Configuration mode.
28 Section I: Switch Management
AT-DC2552SX Switch Command Line Interface User’s Guide
DISABLE
Command
Figure 7. Returning to the Privileged Exec Mode with the END Command
To return to the User Exec mode from the Privileged Exec mode, use the DISABLE command.
Figure 8. Returning to the User Exec Mode with the DISABLE Command
Section I: Switch Management 29
Chapter 1: AlliedWare Plus™ Command Line Interface

Port ID Numbers in Commands

Here is the format for port ID numbers in commands:
port1.0.
n
The n variable is the number of the port you want to configure on the switch. The two digits in the prefix “port1.0.” are used with modular products and with products that support stacking. To specify a port number on the DC2552XS switch, which is not a modular product and does not support stacking, you must always use the prefix “port1.0.”
This example uses the INTERFACE PORT command to enter the Port Interface mode for ports 1.0.12 and 1.0.18:
awplus> enable awplus# configure terminal awplus(config)# interface port1.0.12,port1.0.18
30 Section I: Switch Management
Loading...
+ 520 hidden pages