1938
613-001916 Rev. A AT-FS970M Series Fast Ethernet Switches AT-FS970M/8 AT-FS970M/8PS AT-FS970M/8PS-E AT-FS970M/24C AT-FS970M/24PS AT-FS970M/48 AT-FS970M/48PS AT-FS970M/16F8-LC Management Software Command Line Interface User’s Guide AlliedWare Plus Version 2.3.1

atfs970m cli v231 - Allied Telesis Switch Command Line User’s Guide 7 BANNER MOTD 145 BAUD-RATE SET

Embed Size (px)

Citation preview

  • AT-FS970M SeriesFast Ethernet Switches

    AT-FS970M/8 AT-FS970M/8PS AT-FS970M/8PS-E AT-FS970M/24C AT-FS970M/24PS AT-FS970M/48 AT-FS970M/48PS AT-FS970M/16F8-LC

    Management SoftwareCommand Line Interface Users GuideAlliedWare Plus Version 2.3.1

    613-001916 Rev. A

  • Copyright

    Copyright 2014, Allied Telesis, Inc.All rights reserved.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 , 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 ([email protected]) - All rights reserved. Copyright (c) 2008, Henry Kwok - All rights reserved. Copyright (c) 1995, 1998, 1999, 2000, 2001 by Jef Poskanzer . - 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 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 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 ........................................................................................................................................................... 45Document Conventions.............................................................................................................................. 46Where to Find Web-based Guides............................................................................................................. 47Contacting Allied Telesis............................................................................................................................ 48

    Section I: Getting Started ......................................................................................................................... 49Chapter 1: AlliedWare Plus Command Line Interface .............................................................................. 51

    Management Sessions............................................................................................................................... 52Local Management .............................................................................................................................. 52Remote Management .......................................................................................................................... 52

    Management Interfaces ............................................................................................................................. 55Local Manager Account ............................................................................................................................. 56AlliedWare Plus Command Modes ............................................................................................................ 57Moving Down the Hierarchy ....................................................................................................................... 60

    ENABLE Command............................................................................................................................. 60CONFIGURE TERMINAL Command .................................................................................................. 60CLASS-MAP Command ...................................................................................................................... 60LINE CONSOLE 0 Command ............................................................................................................. 61LINE VTY Command ........................................................................................................................... 61POLICY-MAP Command..................................................................................................................... 61CLASS Command ............................................................................................................................... 61INTERFACE Command - Dynamic Port Trunk.................................................................................... 62INTERFACE Command - Ports ........................................................................................................... 62INTERFACE Command - Static Port Trunk......................................................................................... 63INTERFACE VLAN Command ............................................................................................................ 63VLAN DATABASE Command ............................................................................................................. 63LOCATION CIVIC-LOCATION Command .......................................................................................... 64LOCATION COORD-LOCATION Command....................................................................................... 64

    Moving Up the Hierarchy............................................................................................................................ 65EXIT and QUIT Commands................................................................................................................. 65END Command ................................................................................................................................... 65DISABLE Command............................................................................................................................ 66

    Port Numbers in Commands...................................................................................................................... 67Command Format ...................................................................................................................................... 69

    Command Line Interface Features ...................................................................................................... 69Command Formatting Conventions..................................................................................................... 69Command Examples ........................................................................................................................... 69

    Startup Messages ...................................................................................................................................... 70

    Chapter 2: Starting a Management Session ............................................................................................. 73Starting a Local Management Session ...................................................................................................... 74Starting a Remote Telnet or SSH Management Session........................................................................... 76

    VTY Lines ............................................................................................................................................ 77What to Configure First .............................................................................................................................. 78

    Creating a Boot Configuration File ...................................................................................................... 78Changing the Login Password............................................................................................................. 79

    5

  • Contents

    Assigning a Name to the Switch ..........................................................................................................79Adding a Management IP Address ......................................................................................................80Saving Your Changes ..........................................................................................................................82

    Ending a Management Session..................................................................................................................83

    Chapter 3: Basic Command Line Management .........................................................................................85Clearing the Screen....................................................................................................................................86Displaying the On-line Help ........................................................................................................................87Saving Your Configuration Changes ..........................................................................................................89Ending a Management Session..................................................................................................................90

    Chapter 4: Basic Command Line Management Commands ....................................................................91? (Question Mark Key)................................................................................................................................93CLEAR SCREEN........................................................................................................................................95CONFIGURE TERMINAL...........................................................................................................................96COPY RUNNING-CONFIG STARTUP-CONFIG .......................................................................................97DISABLE ....................................................................................................................................................98DO ..............................................................................................................................................................99ENABLE ...................................................................................................................................................101END ..........................................................................................................................................................102EXIT..........................................................................................................................................................103LENGTH ...................................................................................................................................................104LOGOUT ..................................................................................................................................................106QUIT .........................................................................................................................................................107WRITE ......................................................................................................................................................108

    Chapter 5: Temperature and Fan Control Overview ...............................................................................109Overview...................................................................................................................................................110Displaying the System Environmental Status...........................................................................................111Controlling Eco-Mode LED .......................................................................................................................112

    Chapter 6: Temperature and Fan Control Commands ...........................................................................113ECOFRIENDLY LED ................................................................................................................................114NO ECOFRIENDLY LED..........................................................................................................................115SHOW ECOFRIENDLY............................................................................................................................116SHOW SYSTEM ENVIRONMENT ...........................................................................................................117

    Section II: Basic Operations ..................................................................................................................119Chapter 7: Basic Switch Management .....................................................................................................121

    Adding a Name to the Switch ...................................................................................................................122Adding Contact and Location Information ................................................................................................123Displaying Parameter Settings .................................................................................................................124Manually Setting the Date and Time ........................................................................................................125Pinging Network Devices..........................................................................................................................126Resetting the Switch.................................................................................................................................127Restoring the Default Settings to the Switch ............................................................................................128Setting the Baud Rate of the Console Port...............................................................................................130Configuring the Management Session Timers .........................................................................................132Setting the Maximum Number of Manager Sessions ...............................................................................134Configuring the Banners...........................................................................................................................135

    Chapter 8: Basic Switch Management Commands .................................................................................139BANNER EXEC........................................................................................................................................141BANNER LOGIN ......................................................................................................................................143

    6

  • AT-FS970M Switch Command Line Users Guide

    BANNER MOTD....................................................................................................................................... 145BAUD-RATE SET .................................................................................................................................... 147CLOCK SET............................................................................................................................................. 148ERASE STARTUP-CONFIG.................................................................................................................... 149EXEC-TIMEOUT...................................................................................................................................... 150HELP........................................................................................................................................................ 152HOSTNAME............................................................................................................................................. 153LINE CONSOLE....................................................................................................................................... 154LINE VTY ................................................................................................................................................. 155NO HOSTNAME ...................................................................................................................................... 156PING ........................................................................................................................................................ 157PING IPv6 ................................................................................................................................................ 159REBOOT.................................................................................................................................................. 160RELOAD .................................................................................................................................................. 161SERVICE MAXMANAGER ...................................................................................................................... 162SHOW BANNER LOGIN.......................................................................................................................... 163SHOW BAUD-RATE ................................................................................................................................ 164SHOW CLOCK......................................................................................................................................... 165SHOW RUNNING-CONFIG..................................................................................................................... 166SHOW SWITCH....................................................................................................................................... 167SHOW SYSTEM ...................................................................................................................................... 169SHOW SYSTEM SERIALNUMBER......................................................................................................... 170SHOW USERS......................................................................................................................................... 171SHOW VERSION..................................................................................................................................... 173SNMP-SERVER CONTACT .................................................................................................................... 174SNMP-SERVER LOCATION ................................................................................................................... 175SYSTEM TERRITORY............................................................................................................................. 176

    Chapter 9: Port Parameters ...................................................................................................................... 179Adding Descriptions ................................................................................................................................. 180Setting the Speed and Duplex Mode ....................................................................................................... 181Setting the MDI/MDI-X Wiring Configuration............................................................................................ 183Enabling or Disabling Ports...................................................................................................................... 184Enabling or Disabling Backpressure ........................................................................................................ 185Enabling or Disabling Flow Control .......................................................................................................... 186Resetting Ports......................................................................................................................................... 189Configuring Threshold Limits for Ingress Packets.................................................................................... 190Displaying Threshold Limit Settings on Ports........................................................................................... 192Reinitializing Auto-Negotiation ................................................................................................................. 193Restoring the Default Settings ................................................................................................................. 194Displaying Port Settings ........................................................................................................................... 195

    Displaying Speed and Duplex Settings ............................................................................................. 195Displaying Port Status ....................................................................................................................... 195Displaying Port Configuration ............................................................................................................ 196

    Displaying or Clearing Port Statistics ....................................................................................................... 197Displaying SFP Information ..................................................................................................................... 198

    Chapter 10: Port Parameter Commands ................................................................................................. 199BACKPRESSURE.................................................................................................................................... 202BPLIMIT ................................................................................................................................................... 204CLEAR PORT COUNTER ....................................................................................................................... 205DESCRIPTION......................................................................................................................................... 206DUPLEX................................................................................................................................................... 208EGRESS-RATE-LIMIT ............................................................................................................................. 210FCTRLLIMIT ............................................................................................................................................ 211FLOWCONTROL ..................................................................................................................................... 212

    7

  • Contents

    HOLBPLIMIT ............................................................................................................................................215NO EGRESS-RATE-LIMIT .......................................................................................................................217NO FLOWCONTROL ...............................................................................................................................218NO SHUTDOWN ......................................................................................................................................219NO SNMP TRAP LINK-STATUS..............................................................................................................220NO STORM-CONTROL ...........................................................................................................................221POLARITY................................................................................................................................................222PURGE.....................................................................................................................................................224RENEGOTIATE........................................................................................................................................225RESET......................................................................................................................................................226SHOW FLOWCONTROL INTERFACE ....................................................................................................227SHOW INTERFACE .................................................................................................................................229SHOW INTERFACE BRIEF .....................................................................................................................233SHOW INTERFACE STATUS..................................................................................................................235SHOW PLATFORM TABLE PORT COUNTERS .....................................................................................237SHOW RUNNING-CONFIG INTERFACE ................................................................................................240SHOW STORM-CONTROL......................................................................................................................241SHOW SYSTEM PLUGGABLE................................................................................................................243SHOW SYSTEM PLUGGABLE DETAIL ..................................................................................................244SHUTDOWN ............................................................................................................................................245SNMP TRAP LINK-STATUS ....................................................................................................................246SPEED .....................................................................................................................................................247STORM-CONTROL..................................................................................................................................249

    Chapter 11: Power Over Ethernet .............................................................................................................251Overview...................................................................................................................................................252

    Power Sourcing Equipment (PSE) .....................................................................................................252Powered Device (PD).........................................................................................................................252PD Classes ........................................................................................................................................252Power Budget.....................................................................................................................................252Port Prioritization................................................................................................................................253

    Enabling and Disabling PoE .....................................................................................................................254Adding PD Descriptions to Ports ..............................................................................................................256Prioritizing Ports .......................................................................................................................................257Managing the Maximum Power Limit on Ports .........................................................................................258Managing Legacy PDs .............................................................................................................................259Monitoring Power Consumption ...............................................................................................................260Displaying PoE Information ......................................................................................................................261

    Chapter 12: Power Over Ethernet Commands ........................................................................................263CLEAR POWER-INLINE COUNTERS INTERFACE................................................................................265NO POWER-INLINE ALLOW-LEGACY ...................................................................................................266NO POWER-INLINE DESCRIPTION .......................................................................................................267NO POWER-INLINE ENABLE..................................................................................................................268NO POWER-INLINE MAX ........................................................................................................................269NO POWER-INLINE PRIORITY...............................................................................................................270NO POWER-INLINE USAGE-THRESHOLD............................................................................................271NO SERVICE POWER-INLINE ................................................................................................................272NO SNMP-SERVER ENABLE TRAP POWER-INLINE............................................................................273POWER-INLINE ALLOW-LEGACY..........................................................................................................274POWER-INLINE DESCRIPTION..............................................................................................................275POWER-INLINE ENABLE ........................................................................................................................276POWER-INLINE MAX ..............................................................................................................................277POWER-INLINE PRIORITY .....................................................................................................................278POWER-INLINE USAGE-THRESHOLD ..................................................................................................280

    8

  • AT-FS970M Switch Command Line Users Guide

    SERVICE POWER-INLINE...................................................................................................................... 281SHOW POWER-INLINE........................................................................................................................... 282SHOW POWER-INLINE COUNTERS INTERFACE................................................................................ 285SHOW POWER-INLINE INTERFACE ..................................................................................................... 287SHOW POWER-INLINE INTERFACE DETAIL........................................................................................ 288SNMP-SERVER ENABLE TRAP POWER-INLINE.................................................................................. 291

    Chapter 13: IPv4 and IPv6 Management Addresses .............................................................................. 293Overview .................................................................................................................................................. 294Assigning an IPv4 Management Address and Default Gateway.............................................................. 297

    Adding an IPv4 Management Address .............................................................................................. 297Adding an IPv4 Default Gateway Address ........................................................................................ 299Deleting an IPv4 Management Address and Default Gateway ......................................................... 300Displaying an IPv4 Management Address and Default Gateway ...................................................... 301

    Assigning an IPv6 Management Address and Default Gateway.............................................................. 302Adding an IPv6 Management Address .............................................................................................. 302Adding an IPv6 Default Gateway Address ........................................................................................ 303Deleting an IPv6 Management Address and Default Gateway ......................................................... 304Displaying an IPv6 Management Address and Default Gateway ...................................................... 305

    Chapter 14: IPv4 and IPv6 Management Address Commands ............................................................. 307CLEAR IPV6 NEIGHBORS...................................................................................................................... 309IP ADDRESS ........................................................................................................................................... 310IP ADDRESS DHCP ................................................................................................................................ 312IP ROUTE ................................................................................................................................................ 314IPV6 ADDRESS....................................................................................................................................... 316IPV6 ROUTE............................................................................................................................................ 318NO IP ADDRESS..................................................................................................................................... 320NO IP ADDRESS DHCP.......................................................................................................................... 321NO IP ROUTE.......................................................................................................................................... 322NO IPV6 ADDRESS................................................................................................................................. 323NO IPV6 ROUTE ..................................................................................................................................... 324SHOW IP INTERFACE ............................................................................................................................ 325SHOW IP ROUTE.................................................................................................................................... 326SHOW IPV6 INTERFACE........................................................................................................................ 329SHOW IPV6 ROUTE................................................................................................................................ 330

    Chapter 15: Simple Network Time Protocol (SNTP) Client .................................................................... 331Overview .................................................................................................................................................. 332Activating the SNTP Client and Specifying the IP Address of an NTP or SNTP Server .......................... 333Configuring Daylight Savings Time and UTC Offset ................................................................................ 334Disabling the SNTP Client........................................................................................................................ 336Displaying the SNTP Client...................................................................................................................... 337Displaying the Date and Time.................................................................................................................. 338

    Chapter 16: SNTP Client Commands ...................................................................................................... 339CLOCK SUMMER-TIME.......................................................................................................................... 340CLOCK TIMEZONE ................................................................................................................................. 341NO CLOCK SUMMER-TIME.................................................................................................................... 342NO NTP PEER......................................................................................................................................... 343NTP PEER ............................................................................................................................................... 344PURGE NTP ............................................................................................................................................ 345SHOW CLOCK......................................................................................................................................... 346SHOW NTP ASSOCIATIONS.................................................................................................................. 347SHOW NTP STATUS............................................................................................................................... 349

    9

  • Contents

    Chapter 17: Domain Name System (DNS) ...............................................................................................351Overview...................................................................................................................................................352

    Domain name parts............................................................................................................................352Server Hierarchy ................................................................................................................................352DNS Sever List...................................................................................................................................353DNS List .............................................................................................................................................353Default Domain ..................................................................................................................................353

    Adding a DNS Server to the Switch..........................................................................................................354Enabling or Disabling the DNS Client.......................................................................................................355Adding a Domain to the DNS List.............................................................................................................356Setting a Default Domain Name for the DNS ...........................................................................................357

    Chapter 18: Domain Name System (DNS) Commands ...........................................................................359IP NAME-SERVER...................................................................................................................................360IP DOMAIN-NAME ...................................................................................................................................362IP DOMAIN-LIST ......................................................................................................................................363IP DOMAIN-LOOKUP...............................................................................................................................365SHOW IP NAME-SERVER.......................................................................................................................366SHOW IP DOMAIN-NAME .......................................................................................................................367SHOW HOSTS .........................................................................................................................................368

    Chapter 19: MAC Address Table ..............................................................................................................369Overview...................................................................................................................................................370Adding Static MAC Addresses .................................................................................................................372Deleting MAC Addresses .........................................................................................................................374Setting the Aging Timer ............................................................................................................................376Displaying the MAC Address Table..........................................................................................................377

    Chapter 20: MAC Address Table Commands ..........................................................................................379CLEAR MAC ADDRESS-TABLE..............................................................................................................380MAC ADDRESS-TABLE AGEING-TIME..................................................................................................382MAC ADDRESS-TABLE STATIC.............................................................................................................384NO MAC ADDRESS-TABLE STATIC ......................................................................................................386SHOW MAC ADDRESS-TABLE ..............................................................................................................388

    Chapter 21: Enhanced Stacking ...............................................................................................................391Overview...................................................................................................................................................392

    Command and Member Switches ......................................................................................................392Common VLAN ..................................................................................................................................392Guidelines ..........................................................................................................................................393General Steps ....................................................................................................................................393

    Configuring the Command Switch ............................................................................................................395Configuring a Member Switch ..................................................................................................................398Managing the Member Switches of an Enhanced Stack ..........................................................................400Changing the Enhanced Stacking Mode ..................................................................................................402Uploading Boot Configuration Files from the Command Switch to Member Switches .............................404Uploading the Management Software from the Command Switch to Member Switches .........................411Disabling Enhanced Stacking...................................................................................................................413

    Chapter 22: Enhanced Stacking Commands ..........................................................................................415ESTACK COMMAND-SWITCH................................................................................................................417ESTACK RUN ..........................................................................................................................................418NO ESTACK COMMAND-SWITCH .........................................................................................................419NO ESTACK RUN ....................................................................................................................................420RCOMMAND ............................................................................................................................................421REBOOT ESTACK MEMBER ..................................................................................................................422

    10

  • AT-FS970M Switch Command Line Users Guide

    SHOW ESTACK....................................................................................................................................... 424SHOW ESTACK COMMAND-SWITCH ................................................................................................... 426SHOW ESTACK REMOTELIST............................................................................................................... 427UPLOAD CONFIG REMOTELIST ........................................................................................................... 429UPLOAD IMAGE REMOTELIST.............................................................................................................. 430

    Chapter 23: Link-flap Protection .............................................................................................................. 433Overview .................................................................................................................................................. 434Guidelines ................................................................................................................................................ 435Configuring the Feature ........................................................................................................................... 436

    Chapter 24: Link-flap Protection Commands ......................................................................................... 437LINK-FLAP DURATION ........................................................................................................................... 438LINK-FLAP PROTECTION ...................................................................................................................... 439LINK-FLAP RATE .................................................................................................................................... 440NO LINK-FLAP PROTECTION................................................................................................................ 441SHOW LINK-FLAP................................................................................................................................... 442

    Chapter 25: Port Mirror ............................................................................................................................. 443Overview .................................................................................................................................................. 444Creating the Port Mirror or Adding New Source Ports ............................................................................. 445Removing Source Ports or Deleting the Port Mirror................................................................................. 446Combining the Port Mirror with Access Control Lists ............................................................................... 447Displaying the Port Mirror......................................................................................................................... 449

    Chapter 26: Port Mirror Commands ........................................................................................................ 451MIRROR................................................................................................................................................... 452MIRROR INTERFACE ............................................................................................................................. 453NO MIRROR INTERFACE....................................................................................................................... 455SHOW MIRROR ...................................................................................................................................... 456

    Chapter 27: DHCP Relay Overview .......................................................................................................... 459Overview .................................................................................................................................................. 460

    DHCP Relay Agent Option 82 ........................................................................................................... 461Client Requests with Option 82 ......................................................................................................... 462DHCP Relay Agent Option 82 Maximum Message Length ............................................................... 463

    Configuring the DHCP Relay Agent ......................................................................................................... 464Adding the IP Addresses of the DHCP Servers ................................................................................ 464Adding DHCP Relay to the VLANs.................................................................................................... 465Configuring the DHCP Relay Option 82 ............................................................................................ 467Configuring the Maximum Hop Count ............................................................................................... 469Activating or Deactivating DHCP Relay on the Switch ...................................................................... 469

    Chapter 28: DHCP Relay Commands ...................................................................................................... 471IP DHCP-RELAY...................................................................................................................................... 473IP DHCP-RELAY AGENT-OPTION ......................................................................................................... 474IP DHCP-RELAY AGENT-OPTION CHECKING ..................................................................................... 475IP DHCP-RELAY INFORMATION POLICY ............................................................................................. 476IP DHCP-RELAY MAX-MESSAGE-LENGTH.......................................................................................... 478IP DHCP-RELAY MAXHOPS................................................................................................................... 479IP DHCP-RELAY SERVER-ADDRESS ................................................................................................... 480NO IP DHCP-RELAY ............................................................................................................................... 481NO IP DHCP-RELAY AGENT-OPTION................................................................................................... 482NO IP DHCP-RELAY AGENT-OPTION CHECKING............................................................................... 483NO IP DHCP-RELAY SERVER-ADDRESS............................................................................................. 484NO SERVICE DHCP-RELAY................................................................................................................... 485

    11

  • Contents

    SERVICE DHCP-RELAY..........................................................................................................................486SHOW IP DHCP-RELAY..........................................................................................................................487

    Chapter 29: Group Link Control ...............................................................................................................489Overview...................................................................................................................................................490Guidelines.................................................................................................................................................498Configuration Examples ...........................................................................................................................499

    Chapter 30: Group Link Control Commands ...........................................................................................503GROUP-LINK-CONTROL ........................................................................................................................504GROUP-LINK-CONTROL DOWNSTREAM .............................................................................................505GROUP-LINK-CONTROL UPSTREAM ...................................................................................................507NO GROUP-LINK-CONTROL ..................................................................................................................508NO GROUP-LINK-CONTROL DOWNSTREAM.......................................................................................509NO GROUP-LINK-CONTROL UPSTREAM .............................................................................................510SHOW GROUP-LINK-CONTROL ............................................................................................................511

    Chapter 31: Multicast Commands ............................................................................................................513NO SWITCHPORT BLOCK EGRESS-MULTICAST ................................................................................514NO SWITCHPORT BLOCK INGRESS-MULTICAST ...............................................................................515SWITCHPORT BLOCK EGRESS-MULTICAST.......................................................................................516SWITCHPORT BLOCK INGRESS-MULTICAST .....................................................................................517

    Section III: File System .........................................................................................................................519Chapter 32: File System ............................................................................................................................521

    Overview...................................................................................................................................................522Copying Boot Configuration Files .............................................................................................................523Renaming Boot Configuration Files..........................................................................................................524Deleting Boot Configuration Files .............................................................................................................525Displaying the Specifications of the File System ......................................................................................526Listing the Files in the File System ...........................................................................................................527

    Chapter 33: File System Commands ........................................................................................................529COPY .......................................................................................................................................................530DELETE....................................................................................................................................................531DELETE FORCE ......................................................................................................................................532DIR ...........................................................................................................................................................533MOVE .......................................................................................................................................................534SHOW FILE SYSTEMS............................................................................................................................535

    Chapter 34: Boot Configuration Files ......................................................................................................537Overview...................................................................................................................................................538Specifying the Active Boot Configuration File...........................................................................................539Creating a New Boot Configuration File ...................................................................................................541Displaying the Active Boot Configuration File...........................................................................................542

    Chapter 35: Boot Configuration File Commands ....................................................................................543BOOT CONFIG-FILE................................................................................................................................544COPY RUNNING-CONFIG ......................................................................................................................546COPY RUNNING-CONFIG STARTUP-CONFIG .....................................................................................547ERASE STARTUP-CONFIG ....................................................................................................................548NO BOOT CONFIG-FILE .........................................................................................................................549SHOW BOOT ...........................................................................................................................................550SHOW STARTUP-CONFIG .....................................................................................................................552WRITE ......................................................................................................................................................553

    12

  • AT-FS970M Switch Command Line Users Guide

    13

    Chapter 36: File Transfer .......................................................................................................................... 555Overview .................................................................................................................................................. 556Uploading or Downloading Files with TFTP............................................................................................. 557

    Downloading New Management Software with TFTP ....................................................................... 557Downloading Files to the Switch with TFTP ...................................................................................... 558Uploading Files from the Switch with TFTP....................................................................................... 559

    Uploading or Downloading Files with Zmodem........................................................................................ 561Downloading Files to the Switch with Zmodem ................................................................................. 561Uploading Files from the Switch with Zmodem ................................................................................. 562

    Downloading Files with Enhanced Stacking ............................................................................................ 564

    Chapter 37: File Transfer Commands ..................................................................................................... 567COPY FILENAME ZMODEM................................................................................................................... 568COPY FLASH TFTP ................................................................................................................................ 569COPY TFTP FLASH ................................................................................................................................ 570COPY ZMODEM...................................................................................................................................... 572UPLOAD IMAGE REMOTELIST.............................................................................................................. 573

    Section IV: Snooping ............................................................................................................................. 575Chapter 38: Internet Group Management Protocol (IGMP) Snooping .................................................. 577

    Overview .................................................................................................................................................. 578Understanding Multicast Traffic Settings ........................................................................................... 579Enabling the Suppression of Unknown Multicast Traffic ................................................................... 579

    Host Node Topology ................................................................................................................................ 580Single-host Per Port .......................................................................................................................... 580Multiple-hosts Per Port ...................................................................................................................... 580

    Enabling IGMP Snooping......................................................................................................................... 581Configuring the IGMP Snooping Commands ........................................................................................... 582Disabling IGMP Snooping ........................................................................................................................ 584Displaying IGMP Snooping ...................................................................................................................... 585

    Chapter 39: IGMP Snooping Commands ................................................................................................ 587CLEAR IP IGMP....................................................................................................................................... 588IP IGMP LIMIT ......................................................................................................................................... 589IP IGMP QUERIER-TIMEOUT................................................................................................................. 590IP IGMP SNOOPING ............................................................................................................................... 591IP IGMP SNOOPING FLOOD-UNKNOWN-MCAST................................................................................ 592IP IGMP SNOOPING MROUTER............................................................................................................ 594IP IGMP STATUS .................................................................................................................................... 595NO IP IGMP SNOOPING......................................................................................................................... 596NO IP IGMP SNOOPING MROUTER...................................................................................................... 597SHOW IP IGMP SNOOPING................................................................................................................... 598

    Chapter 40: IGMP Snooping Querier ....................................................................................................... 601Overview .................................................................................................................................................. 602

    Assigning Multiple Queriers............................................................................................................... 603Guidelines ................................................................................................................................................ 606Configuring the Feature ........................................................................................................................... 607

    Configuring One Querier ................................................................................................................... 607Configuring Multiple Queriers ............................................................................................................ 608

    Chapter 41: IGMP Snooping Querier Commands .................................................................................. 611IP IGMP QUERY-INTERVAL................................................................................................................... 612IP IGMP SNOOPING QUERIER.............................................................................................................. 613NO IP IGMP SNOOPING QUERIER ....................................................................................................... 614SHOW IP IGMP INTERFACE.................................................................................................................. 615

  • Contents

    Chapter 42: DHCP Snooping Commands ................................................................................................617ARP SECURITY .......................................................................................................................................619ARP SECURITY VIOLATION...................................................................................................................620CLEAR ARP SECURITY STATISTICS ....................................................................................................622CLEAR IP DHCP SNOOPING BINDING..................................................................................................623CLEAR IP DHCP SNOOPING STATISTICS............................................................................................625IP DHCP SNOOPING...............................................................................................................................626IP DHCP SNOOPING AGENT-OPTION ..................................................................................................627IP DHCP SNOOPING AGENT-OPTION ALLOW-UNTRUSTED .............................................................628IP DHCP SNOOPING BINDING...............................................................................................................629IP DHCP SNOOPING DELETE-BY-CLIENT............................................................................................631IP DHCP SNOOPING DELETE-BY-LINKDOWN .....................................................................................632IP DHCP SNOOPING MAX-BINDINGS ...................................................................................................633IP DHCP SNOOPING SUBSCRIBER-ID .................................................................................................635IP DHCP SNOOPING TRUST..................................................................................................................637IP DHCP VERIFY MAC-ADDRESS .........................................................................................................638IP DHCP SNOOPING VIOLATION ..........................................................................................................640IP SOURCE BINDING..............................................................................................................................642SERVICE DHCP SNOOPING ..................................................................................................................644SHOW ARP SECURITY...........................................................................................................................646SHOW ARP SECURITY INTERFACE .....................................................................................................648SHOW ARP SECURITY STATISTICS .....................................................................................................650SHOW IP DHCP SNOOPING ..................................................................................................................652SHOW IP DHCP SNOOPING BINDING ..................................................................................................654SHOW IP DHCP SNOOPING INTERFACE .............................................................................................656SHOW IP SOURCE BINDING..................................................................................................................658

    Section V: Event Messages ....................................................................................................................661Chapter 43: Event Log ...............................................................................................................................663

    Overview...................................................................................................................................................664Displaying the Event Log..........................................................................................................................665Clearing the Event Log .............................................................................................................................666

    Chapter 44: Event Log Commands ..........................................................................................................667CLEAR LOG ............................................................................................................................................669CLEAR LOG BUFFERED.........................................................................................................................670CLEAR LOG PERMANENT .....................................................................................................................671LOG BUFFERED......................................................................................................................................672LOG CONSOLE .......................................................................................................................................674LOG PERMANENT ..................................................................................................................................676NO LOG BUFFERED ...............................................................................................................................677NO LOG CONSOLE .................................................................................................................................679NO LOG PERMANENT ............................................................................................................................680SHOW LOG..............................................................................................................................................682SHOW LOG CONFIG...............................................................................................................................685SHOW LOG PERMANENT ......................................................................................................................687SHOW LOG PERMANENT TAIL..............................................................................................................688SHOW LOG REVERSE............................................................................................................................689SHOW LOG TAIL .....................................................................................................................................690

    Chapter 45: Syslog Client .........................................................................................................................691Overview...................................................................................................................................................692Creating Syslog Server Definitions...........................................................................................................693Deleting Syslog Server Definitions ...........................................................................................................696

    14

  • AT-FS970M Switch Command Line Users Guide

    Displaying the Syslog Server Definitions ................................................................................................. 697

    Chapter 46: Syslog Client Commands .................................................................................................... 699LOG HOST............................................................................................................................................... 700NO LOG HOST ........................................................................................................................................ 702SHOW LOG CONFIG .............................................................................................................................. 703

    Section VI: Port Trunks ......................................................................................................................... 705Chapter 47: Static Port Trunks ................................................................................................................. 707

    Overview .................................................................................................................................................. 708Load Distribution Methods................................................................................................................. 708Guidelines.......................................................................................................................................... 710

    Creating New Static Port Trunks or Adding Ports To Existing Trunks ..................................................... 712Specifying the Load Distribution Method.................................................................................................. 713Removing Ports from Static Port Trunks or Deleting Trunks ................................................................... 714Displaying Static Port Trunks ................................................................................................................... 715

    Chapter 48: Static Port Trunk Commands .............................................................................................. 717NO STATIC-CHANNEL-GROUP ............................................................................................................. 718PORT-CHANNEL LOAD-BALANCE........................................................................................................ 719SHOW STATIC-CHANNEL-GROUP ....................................................................................................... 721STATIC-CHANNEL-GROUP.................................................................................................................... 722

    Chapter 49: Link Aggregation Control Protocol (LACP) ........................................................................ 725Overview .................................................................................................................................................. 726

    LACP System Priority ........................................................................................................................ 726Base Port ........................................................................................................................................... 727Load Distribution Methods................................................................................................................. 727Guidelines.......................................................................................................................................... 727

    Creating New Aggregators....................................................................................................................... 729Setting the Load Distribution Method....................................................................................................... 730Adding Ports to Aggregators .................................................................................................................... 731Removing Ports from Aggregators........................................................................................................... 732Deleting Aggregators ............................................................................................................................... 733Displaying Aggregators ............................................................................................................................ 734

    Chapter 50: LACP Commands ................................................................................................................. 737CHANNEL-GROUP.................................................................................................................................. 738LACP SYSTEM-PRIORITY...................................................................................................................... 740NO CHANNEL-GROUP ........................................................................................................................... 741PORT-CHANNEL LOAD-BALANCE........................................................................................................ 742SHOW ETHERCHANNEL........................................................................................................................ 744SHOW ETHERCHANNEL DETAIL .......................................................................................................... 745SHOW ETHERCHANNEL SUMMARY .................................................................................................... 747SHOW LACP SYS-ID............................................................................................................................... 748SHOW PORT ETHERCHANNEL............................................................................................................. 749

    Section VII: Spanning Tree Protocols ................................................................................................. 751Chapter 51: STP, RSTP and MSTP Protocols ......................................................................................... 753

    Overview .................................................................................................................................................. 754Bridge Priority and the Root Bridge.......................................................................................................... 755Path Costs and Port Costs....................................................................................................................... 756Port Priority .............................................................................................................................................. 757

    15

  • Contents

    Forwarding Delay and Topology Changes ...............................................................................................758Hello Time and Bridge Protocol Data Units (BPDU).................................................................................759Point-to-Point and Edge Ports ..................................................................................................................760Mixed STP and RSTP Networks ..............................................................................................................762Spanning Tree and VLANs.......................................................................................................................763RSTP and MSTP BPDU Guard ................................................................................................................764STP, RSTP, MSTP Loop Guard ...............................................................................................................766STP and RSTP Root Guard .....................................................................................................................771

    Chapter 52: Spanning Tree Protocol (STP) Procedures ........................................................................773Designating STP as the Active Spanning Tree Protocol ..........................................................................774Enabling the Spanning Tree Protocol.......................................................................................................775Setting the Switch Parameters .................................................................................................................776Setting the Port Parameters .....................................................................................................................778Disabling the Spanning Tree Protocol ......................................................................................................779Displaying STP Settings ...........................................................................................................................780

    Chapter 53: STP Commands .....................................................................................................................781NO SPANNING-TREE STP ENABLE ......................................................................................................783SHOW SPANNING-TREE........................................................................................................................784SPANNING-TREE FORWARD-TIME.......................................................................................................786SPANNING-TREE GUARD ROOT...........................................................................................................787SPANNING-TREE HELLO-TIME .............................................................................................................788SPANNING-TREE MAX-AGE ..................................................................................................................789SPANNING-TREE MODE STP ................................................................................................................790SPANNING-TREE PATH-COST ..............................................................................................................791SPANNING-TREE PORTFAST................................................................................................................792SPANNING-TREE PORTFAST BPDU-GUARD.......................................................................................793SPANNING-TREE PRIORITY (Bridge Priority) ........................................................................................794SPANNING-TREE Priority (Port Priority)..................................................................................................795SPANNING-TREE STP ENABLE.............................................................................................................796

    Chapter 54: Rapid Spanning Tree Protocol (RSTP) Procedures ...........................................................797Designating RSTP as the Active Spanning Tree Protocol.......................................................