9000 Cli At002176a - Allied Telesis

Transcription

AT-9000 SeriesGigabit Ethernet Switches -9000/52Management Software Command Line InterfaceUser’s GuideAlliedWare Plus Version 2.4.1.0613-002176 Rev. A

CopyrightCopyright 2015, Allied Telesis, Inc.All rights reserved.This product includes software licensed under the BSD License. As such, the following language applies for thoseportions 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 followingconditions are met:* Redistributions of source code must retain the above copyright notice, this list of conditions and the followingdisclaimer.* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the followingdisclaimer 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 orpromote products derived from this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANYEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENTSHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITEDTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; ORBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER INCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANYWAY 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, 19982000 by The Regents of the University of California - All rights reserved. Copyright (c) 2001-2003 by NetworksAssociates Technology, Inc. - All rights reserved. Copyright (c) 2001-2003 by Cambridge Broadband Ltd. - All rightsreserved. 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 andTelecommunications. - All rights reserved. Copyright (c) 2003 by Fabasoft R&D Software GmbH & Co KG - All rightsreserved. 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 rightsreserved. Copyright (c) 1995 by Tatu Ylonen ylo@cs.hut.fi , Espoo, Finland - All rights reserved. Copyright (c) 1998by CORE SDI S.A., Buenos Aires, Argentina - All rights reserved. Copyright 1995, 1996 by David Mazieres - All rightsreserved. 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 rightsreserved. Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) - All rights reserved. Copyright (c) 2008, HenryKwok - All rights reserved. Copyright (c) 1995, 1998, 1999, 2000, 2001 by Jef Poskanzer jef@mail.acme.com . - Allrights reserved.Some components of the SSH software are provided under a standard 2-term BSD license with the following names ascopyright holders: Markus Friedl, Theo de Raadt, Niels Provos, Dug Song, Aaron Campbell, Damien Miller, KevinSteves, 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: BenLindstrom, Tim Rice, Andre Lucas, Chris Adams, Corinna Vinschen, Cray Inc., Denis Parker, Gert Doering, JakobSchlyter, Jason Downs, Juha Yrjola, Michael Stone, Network Associates, Solar Designer, Todd C. Miller, WayneSchroeder, 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 islicensed 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 PublicLicense (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 mailincluding 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 RequestAllied Telesis, Inc.3041 Orchard ParkwaySan Jose, California 95134No 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 andInternet Explorer are registered trademarks of Microsoft Corporation. All other product names, company names, logos orother 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 documentwithout prior written notice. The information provided herein is subject to change without notice. In no event shall AlliedTelesis, Inc. be liable for any incidental, special, indirect, or consequential damages whatsoever, including but not limitedto lost profits, arising out of or related to this manual or the information contained herein, even if Allied Telesis, Inc. hasbeen advised of, known, or should have known, the possibility of such damages.

ContentsDocument Conventions. 38Where to Find Web-based Guides. 39Contacting Allied Telesis. 40Section I: Getting Started . 41Chapter 1: AlliedWare Plus Command Line Interface . 43Management Sessions. 44Local Management . 44Remote Management . 44Management Interfaces . 47Local Manager Account . 48AlliedWare Plus Command Modes . 49Moving Down the Hierarchy . 52ENABLE Command . 52CONFIGURE TERMINAL Command . 52LINE CONSOLE 0 Command . 52LINE VTY Command . 53INTERFACE Command - Dynamic Port Trunk. 53INTERFACE Command - Ports . 53INTERFACE Command - Static Port Trunk. 54INTERFACE VLAN Command . 54VLAN DATABASE Command . 55LOCATION CIVIC-LOCATION Command . 55LOCATION COORD-LOCATION Command. 55Moving Up the Hierarchy. 56EXIT and QUIT Commands. 56END Command . 56DISABLE Command . 57Port Numbers in Commands. 58Combo Ports 25 to 28 . 60Command Format . 61Command Line Interface Features . 61Command Formatting Conventions . 61Command Examples . 61Startup Messages . 62Chapter 2: Starting a Management Session . 65Starting a Local Management Session . 66Starting a Remote Telnet or SSH Management Session. 68VTY Lines . 69What to Configure First . 70Creating a Boot Configuration File . 70Changing the Login Password. 71Assigning a Name to the Switch . 71Adding a Management IP Address. 72Saving Your Changes. 745

ContentsEnding a Management Session. 75Chapter 3: Basic Command Line Management . 77Clearing the Screen. 78Displaying the On-line Help . 79Saving Your Configuration Changes . 81Ending a Management Session. 82Chapter 4: Basic Command Line Management Commands . 83? (Question Mark Key). 85CLEAR SCREEN. 87CONFIGURE TERMINAL. 88COPY RUNNING-CONFIG STARTUP-CONFIG . 89DISABLE . 90DO . 91ENABLE . 92END . 93EXIT. 94LENGTH . 95LOGOUT . 97QUIT . 98WRITE . 99Chapter 5: Temperature and Fan Control Overview .101Overview.102Displaying the System Environmental Status.103Controlling Eco-Mode LED .104Chapter 6: Temperature and Fan Control Commands .105ECOFRIENDLY LED .106NO ECOFRIENDLY LED.107SHOW ECOFRIENDLY.108SHOW SYSTEM ENVIRONMENT .109Section II: Basic Operations .111Chapter 7: Basic Switch Management .113Adding a Name to the Switch .114Adding Contact and Location Information .115Displaying Parameter Settings .116Manually Setting the Date and Time .117Pinging Network Devices.118Resetting the Switch.119Restoring the Default Settings to the Switch .120Setting the Baud Rate of the Console Port.122Configuring the Management Session Timers .124Setting the Maximum Number of Manager Sessions .126Configuring the Banners.127Chapter 8: Basic Switch Management Commands .131BANNER EXEC.133BANNER LOGIN .135BANNER MOTD .137BAUD-RATE SET.139CLOCK SET .1406

AT-9000 Switch Command Line User’s GuideERASE STARTUP-CONFIG . 141EXEC-TIMEOUT . 142HELP. 144HOSTNAME. 145LINE CONSOLE. 146LINE VTY . 147NO HOSTNAME . 148PING . 149PING IPv6 . 151REBOOT . 152RELOAD . 153SERVICE MAXMANAGER . 154SHOW BANNER LOGIN. 155SHOW BAUD-RATE . 156SHOW CLOCK. 157SHOW RUNNING-CONFIG . 158SHOW SWITCH. 159SHOW SYSTEM . 161SHOW SYSTEM SERIALNUMBER. 162SHOW USERS. 163SHOW VERSION. 165SNMP-SERVER CONTACT . 166SNMP-SERVER LOCATION . 167SYSTEM TERRITORY. 168Chapter 9: Port Parameters . 171Adding Descriptions . 172Setting the Speed and Duplex Mode . 173Setting the MDI/MDI-X Wiring Configuration. 175Enabling or Disabling Ports. 176Enabling or Disabling Backpressure . 177Enabling or Disabling Flow Control . 178Resetting Ports. 181Configuring Threshold Limits for Ingress Packets. 182Displaying Threshold Limit Settings on Ports. 184Reinitializing Auto-Negotiation . 185Restoring the Default Settings . 186Displaying Port Settings . 187Displaying Speed and Duplex Settings . 187Displaying Port Status . 187Displaying Port Configuration . 188Displaying or Clearing Port Statistics . 189Displaying SFP Information . 190Chapter 10: Port Parameter Commands . 191BACKPRESSURE. 194BPLIMIT . 196CLEAR PORT COUNTER . 197DESCRIPTION. 198DUPLEX. 200EGRESS-RATE-LIMIT . 202FCTRLLIMIT . 203FLOWCONTROL . 204HOLBPLIMIT. 207NO EGRESS-RATE-LIMIT. 209NO FLOWCONTROL. 2107

ContentsNO SHUTDOWN .211NO SNMP TRAP LINK-STATUS.212NO STORM-CONTROL HOW FLOWCONTROL INTERFACE .219SHOW INTERFACE .221SHOW INTERFACE BRIEF .225SHOW INTERFACE STATUS.227SHOW PLATFORM TABLE PORT COUNTERS .229SHOW RUNNING-CONFIG INTERFACE .232SHOW STORM-CONTROL.233SHOW SYSTEM PLUGGABLE.235SHOW SYSTEM PLUGGABLE DETAIL .236SHUTDOWN .

613-002176 Rev. A AT-9000 Series Gigabit Ethernet Switches AT-9000/12PoE AT-9000/28 AT-9000/28PoE AT-9000/28SP AT-9000/52 Management Software Command Line Interface User's Guide AlliedWare Plus Version 2.4.1.0