Enterasys Networks D2G124-12, D2G124-12P User Manual

0 (0)
Enterasys Networks D2G124-12, D2G124-12P User Manual

Enterasys® D-Series

Ethernet Switches

CLI Reference

Firmware Version 1.0.xx

P/N 9034394

Notice

Enterasys Networks reserves the right to make changes in specifications and other information contained in this document and its web site without prior notice. The reader should in all cases consult Enterasys Networks to determine whether any such changes have been made.

The hardware, firmware, or software described in this document is subject to change without notice.

IN NO EVENT SHALL ENTERASYS NETWORKS BE LIABLE FOR ANY INCIDENTAL, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS) ARISING OUT OF OR RELATED TO THIS DOCUMENT, WEB SITE, OR THE INFORMATION CONTAINED IN THEM, EVEN IF ENTERASYS NETWORKS HAS BEEN ADVISED OF, KNEW OF, OR SHOULD HAVE KNOWN OF, THE POSSIBILITY OF SUCH DAMAGES.

Enterasys Networks, Inc.

50 Minuteman Road

Andover, MA 01810

© 2008 Enterasys Networks, Inc. All rights reserved.

Part Number: 9034394 May 2008

ENTERASYS, ENTERASYS NETWORKS, ENTERASYS NETSIGHT, WEBVIEW, and any logos associated therewith, are trademarks or registered trademarks of Enterasys Networks, Inc. in the United States and other countries.

All other product names mentioned in this manual may be trademarks or registered trademarks of their respective companies.

Documentation URL: http://www.enterasys.com/support/manuals

Documentacion URL: http://www.enterasys.com/support/manuals

Dokumentation im Internet: http://www.enterasys.com/support/manuals

Version: Information in this guide refers to D-Series firmware version 1.0.xx

ENTERASYS NETWORKS, INC. FIRMWARE LICENSE AGREEMENT

BEFORE OPENING OR UTILIZING THE ENCLOSED PRODUCT,

CAREFULLY READ THIS LICENSE AGREEMENT.

This document is an agreement (“Agreement”) between the end user (“You”) and Enterasys Networks, Inc., on behalf of itself and its Affiliates (as hereinafter defined) (“Enterasys”) that sets forth Your rights and obligations with respect to the Enterasys software program/firmware (including any accompanying documentation, hardware or media)

(“Program”) in the package and prevails over any additional, conflicting or inconsistent terms and conditions appearing on any purchase order or other document submitted by You. “Affiliate” means any person, partnership, corporation, limited liability company, other form of enterprise that directly or indirectly through one or more intermediaries, controls, or is controlled by, or is under common control with the party specified. This Agreement constitutes the entire understanding between the parties, with respect to the subject matter of this Agreement. The Program may be contained in firmware, chips or other media.

BY INSTALLING OR OTHERWISE USING THE PROGRAM, YOU REPRESENT THAT YOU ARE AUTHORIZED TO ACCEPT THESE TERMS ON BEHALF OF THE END USER (IF THE END USER IS AN ENTITY ON WHOSE BEHALF YOU ARE AUTHORIZED TO ACT, “YOU” AND “YOUR” SHALL BE DEEMED TO REFER TO SUCH ENTITY) AND THAT YOU AGREE THAT YOU ARE BOUND BY THE TERMS OF THIS AGREEMENT, WHICH INCLUDES, AMONG OTHER PROVISIONS, THE LICENSE, THE DISCLAIMER OF WARRANTY AND THE LIMITATION OF LIABILITY. IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT OR ARE NOT AUTHORIZED TO ENTER INTO THIS AGREEMENT, ENTERASYS IS UNWILLING TO LICENSE THE PROGRAM TO YOU AND YOU AGREE TO RETURN THE UNOPENED PRODUCT TO ENTERASYS OR YOUR DEALER, IF ANY, WITHIN TEN (10) DAYS FOLLOWING THE DATE OF RECEIPT FOR A FULL REFUND.

IF YOU HAVE ANY QUESTIONS ABOUT THIS AGREEMENT, CONTACT ENTERASYS NETWORKS, LEGAL DEPARTMENT AT (978) 684 1000.

You and Enterasys agree as follows:

1.LICENSE. You have the non exclusive and non transferable right to use only the one (1) copy of the Program provided in this package subject to the terms and conditions of this Agreement.

2.RESTRICTIONS. Except as otherwise authorized in writing by Enterasys, You may not, nor may You permit any third party to:

(a)Reverse engineer, decompile, disassemble or modify the Program, in whole or in part, including for reasons of error correction or interoperability, except to the extent expressly permitted by applicable law and to the extent the parties shall not be permitted by that applicable law, such rights are expressly excluded.

Information necessary to achieve interoperability or correct errors is available from Enterasys upon request and upon payment of Enterasys’ applicable fee.

(b)Incorporate the Program in whole or in part, in any other product or create derivative works based on the Program, in whole or in part.

(c)Publish, disclose, copy reproduce or transmit the Program, in whole or in part.

(d)Assign, sell, license, sublicense, rent, lease, encumber by way of security interest, pledge or otherwise transfer the Program, in whole or in part.

(e)Remove any copyright, trademark, proprietary rights, disclaimer or warning notice included on or embedded in any part of the Program.

3.APPLICABLE LAW. This Agreement shall be interpreted and governed under the laws and in the state and federal courts of the Commonwealth of Massachusetts without regard to its conflicts of laws provisions. You accept the personal jurisdiction and venue of the Commonwealth of Massachusetts courts. None of the 1980 United Nations Convention on the Limitation Period in the International Sale of Goods, and the Uniform Computer Information Transactions Act shall apply to this Agreement.

4.EXPORT RESTRICTIONS. You understand that Enterasys and its Affiliates are subject to regulation by agencies of the U.S. Government, including the U.S. Department of Commerce, which prohibit export or diversion of certain technical products to certain countries, unless a license to export the product is obtained from the U.S. Government or an exception from obtaining such license may be relied upon by the exporting party.

If the Program is exported from the United States pursuant to the License Exception CIV under the U.S. Export Administration Regulations, You agree that You are a civil end user of the Program and agree that You will use the Program for civil end uses only and not for military purposes.

If the Program is exported from the United States pursuant to the License Exception TSR under the U.S. Export Administration Regulations, in addition to the restriction on transfer set forth in Section 1 or 2 of this Agreement, You agree not to (i) reexport or release the Program, the source code for the Program or technology to a national of a country in Country Groups D:1 or E:2 (Albania, Armenia, Azerbaijan, Belarus, Cambodia, Cuba, Georgia, Iraq, Kazakhstan, Laos, Libya, Macau, Moldova, Mongolia, North Korea, the People’s Republic of China, Russia, Tajikistan, Turkmenistan, Ukraine, Uzbekistan, Vietnam, or such other countries as may be designated by the United States Government), (ii) export to Country Groups D:1 or E:2 (as defined herein) the direct product of the Program or the technology, if such foreign produced direct product is subject to national security controls as identified on the U.S. Commerce Control List, or (iii) if the direct product of the technology is a complete plant or any major component of a plant, export to Country Groups D:1 or E:2 the direct product of the plant or a major component thereof, if such foreign produced direct product is subject to national security controls as identified on the U.S. Commerce Control List or is subject to State Department controls under the U.S. Munitions List.

5.UNITED STATES GOVERNMENT RESTRICTED RIGHTS. The enclosed Program (i) was developed solely at private expense; (ii) contains “restricted computer software” submitted with restricted rights in accordance with section 52.227 19 (a) through (d) of the Commercial Computer Software Restricted Rights Clause and its successors, and (iii) in all respects is proprietary data belonging to Enterasys and/or its suppliers. For Department of Defense units, the Program is considered commercial computer software in accordance with DFARS section 227.7202 3 and its successors, and use, duplication, or disclosure by the U.S. Government is subject to restrictions set forth herein.

6.DISCLAIMER OF WARRANTY. EXCEPT FOR THOSE WARRANTIES EXPRESSLY PROVIDED TO YOU IN WRITING BY ENTERASYS, ENTERASYS DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON INFRINGEMENT WITH RESPECT TO THE PROGRAM. IF IMPLIED WARRANTIES MAY NOT BE DISCLAIMED BY APPLICABLE LAW, THEN ANY IMPLIED WARRANTIES ARE LIMITED IN DURATION TO THIRTY (30) DAYS AFTER DELIVERY OF THE PROGRAM TO YOU.

7.LIMITATION OF LIABILITY. IN NO EVENT SHALL ENTERASYS OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS, PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR RELIANCE DAMAGES, OR OTHER LOSS) ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM, EVEN IF ENTERASYS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THIS FOREGOING LIMITATION SHALL APPLY REGARDLESS OF THE CAUSE OF ACTION UNDER WHICH DAMAGES ARE SOUGHT.

THE CUMULATIVE LIABILITY OF ENTERASYS TO YOU FOR ALL CLAIMS RELATING TO THE PROGRAM, IN CONTRACT, TORT OR OTHERWISE, SHALL NOT EXCEED THE TOTAL AMOUNT OF FEES PAID TO ENTERASYS BY YOU FOR THE RIGHTS GRANTED HEREIN.

8.AUDIT RIGHTS. You hereby acknowledge that the intellectual property rights associated with the Program are of critical value to Enterasys, and, accordingly, You hereby agree to maintain complete books, records and accounts showing (i) license fees due and paid, and (ii) the use, copying and deployment of the Program. You also grant to Enterasys and its authorized representatives, upon reasonable notice, the right to audit and examine during Your normal business hours, Your books, records, accounts and hardware devices upon which the Program may be deployed to verify compliance with this Agreement, including the verification of the license fees due and paid Enterasys and the use, copying and deployment of the Program. Enterasys’ right of examination shall be exercised reasonably, in good faith and in a manner calculated to not unreasonably interfere with Your business. In the event such audit discovers non compliance with this Agreement, including copies of the Program made, used or deployed in breach of this Agreement, You shall promptly pay to Enterasys the appropriate license fees. Enterasys reserves the right, to be exercised in its sole discretion and without prior notice, to terminate this license, effective immediately, for failure to comply with this Agreement. Upon any such termination, You shall immediately cease all use of the Program and shall return to Enterasys the Program and all copies of the Program.

9.OWNERSHIP. This is a license agreement and not an agreement for sale. You acknowledge and agree that the Program constitutes trade secrets and/or copyrighted material of Enterasys and/or its suppliers. You agree to implement reasonable security measures to protect such trade secrets and copyrighted material. All right, title and interest in and to the Program shall remain with Enterasys and/or its suppliers. All rights not specifically granted to You shall be reserved to Enterasys.

10.ENFORCEMENT. You acknowledge and agree that any breach of Sections 2, 4, or 9 of this Agreement by You may cause Enterasys irreparable damage for which recovery of money damages would be inadequate, and that Enterasys may be entitled to seek timely injunctive relief to protect Enterasys’ rights under this Agreement in addition to any and all remedies available at law.

11.ASSIGNMENT. You may not assign, transfer or sublicense this Agreement or any of Your rights or obligations under this Agreement, except that You may assign this Agreement to any person or entity which acquires substantially all of Your stock assets. Enterasys may assign this Agreement in its sole discretion. This Agreement shall be binding upon and inure to the benefit of the parties, their legal representatives, permitted transferees, successors and assigns as permitted by this Agreement. Any attempted assignment, transfer or sublicense in violation of the terms of this Agreement shall be void and a breach of this Agreement.

12.WAIVER. A waiver by Enterasys of a breach of any of the terms and conditions of this Agreement must be in writing and will not be construed as a waiver of any subsequent breach of such term or condition. Enterasys’ failure to enforce a term upon Your breach of such term shall not be construed as a waiver of Your breach or prevent enforcement on any other occasion.

13.SEVERABILITY. In the event any provision of this Agreement is found to be invalid, illegal or unenforceable, the validity, legality and enforceability of any of the remaining provisions shall not in any way be affected or impaired thereby, and that provision shall be reformed, construed and enforced to the maximum extent permissible. Any such invalidity, illegality, or unenforceability in any jurisdiction shall not invalidate or render illegal or unenforceable such provision in any other jurisdiction.

14.TERMINATION. Enterasys may terminate this Agreement immediately upon Your breach of any of the terms and conditions of this Agreement. Upon any such termination, You shall immediately cease all use of the Program and shall return to Enterasys the Program and all copies of the Program.

 

Contents

About This Guide

 

Using This Guide .............................................................................................................................................

xxi

Structure of This Guide ....................................................................................................................................

xxi

Related Documents ........................................................................................................................................

xxii

Conventions Used in This Guide ...................................................................................................................

xxiii

Getting Help ...................................................................................................................................................

xxiii

Chapter 1: Introduction

 

D-Series CLI Overview ...................................................................................................................................

1-1

Switch Management Methods ........................................................................................................................

1-1

Factory Default Settings .................................................................................................................................

1-2

Using the Command Line Interface ................................................................................................................

1-5

Starting a CLI Session .............................................................................................................................

1-5

Logging In ................................................................................................................................................

1-6

Navigating the Command Line Interface ..................................................................................................

1-6

Chapter 2: Basic Configuration

 

Quick Start Setup Commands ........................................................................................................................

2-1

Setting User Accounts and Passwords ..........................................................................................................

2-2

Purpose ....................................................................................................................................................

2-2

Commands ...............................................................................................................................................

2-2

show system login ..............................................................................................................................

2-3

set system login..................................................................................................................................

2-4

clear system login...............................................................................................................................

2-4

set password ......................................................................................................................................

2-5

set system password length ...............................................................................................................

2-6

set system password aging ................................................................................................................

2-6

set system password history ..............................................................................................................

2-7

show system lockout ..........................................................................................................................

2-7

Setting Basic Switch Properties ......................................................................................................................

2-8

Purpose ....................................................................................................................................................

2-8

Commands ...............................................................................................................................................

2-8

show ip address..................................................................................................................................

2-9

set ip address .....................................................................................................................................

2-9

clear ip address ................................................................................................................................

2-10

show ip protocol................................................................................................................................

2-11

set ip protocol ...................................................................................................................................

2-11

show system.....................................................................................................................................

2-12

show system hardware.....................................................................................................................

2-13

show system utilization.....................................................................................................................

2-13

show system enhancedbuffermode..................................................................................................

2-15

set system enhancedbuffermode .....................................................................................................

2-15

show time .........................................................................................................................................

2-16

set time .............................................................................................................................................

2-16

show summertime ............................................................................................................................

2-17

set summertime ................................................................................................................................

2-17

set summertime date ........................................................................................................................

2-18

set summertime recurring.................................................................................................................

2-18

clear summertime .............................................................................................................................

2-19

set prompt.........................................................................................................................................

2-20

show banner motd ............................................................................................................................

2-20

i

set banner motd................................................................................................................................

2-21

clear banner motd.............................................................................................................................

2-21

show version.....................................................................................................................................

2-22

set system name ..............................................................................................................................

2-23

set system location ...........................................................................................................................

2-23

set system contact............................................................................................................................

2-24

set width ...........................................................................................................................................

2-24

set length ..........................................................................................................................................

2-25

show logout ......................................................................................................................................

2-25

set logout .........................................................................................................................................

2-26

show console....................................................................................................................................

2-26

set console baud ..............................................................................................................................

2-27

Activating Licensed Features .......................................................................................................................

2-27

License Key Field Descriptions ..............................................................................................................

2-28

Clearing, Showing, and Moving Licenses ..............................................................................................

2-28

Commands .............................................................................................................................................

2-28

set license.........................................................................................................................................

2-28

show license .....................................................................................................................................

2-29

clear license......................................................................................................................................

2-30

Configuring System Power and Power over Ethernet (PoE) ........................................................................

2-30

Purpose ..................................................................................................................................................

2-30

Commands .............................................................................................................................................

2-31

show inlinepower ..............................................................................................................................

2-31

set inlinepower threshold..................................................................................................................

2-31

set inlinepower trap ..........................................................................................................................

2-32

show port inlinepower.......................................................................................................................

2-32

set port inlinepower ..........................................................................................................................

2-33

Downloading a Firmware Image ...................................................................................................................

2-33

Downloading from a TFTP Server ..........................................................................................................

2-34

Downloading via the Serial Port .............................................................................................................

2-34

Reverting to a Previous Image ...............................................................................................................

2-36

Reviewing and Selecting a Boot Firmware Image ........................................................................................

2-36

Purpose ..................................................................................................................................................

2-36

Commands .............................................................................................................................................

2-36

show boot system.............................................................................................................................

2-36

set boot system ................................................................................................................................

2-37

Starting and Configuring Telnet ....................................................................................................................

2-37

Purpose ..................................................................................................................................................

2-37

Commands .............................................................................................................................................

2-37

show telnet .......................................................................................................................................

2-38

set telnet ...........................................................................................................................................

2-38

telnet.................................................................................................................................................

2-39

Managing Switch Configuration and Files ....................................................................................................

2-39

Configuration Persistence Mode ............................................................................................................

2-39

Purpose ..................................................................................................................................................

2-40

Commands .............................................................................................................................................

2-40

show snmp persistmode...................................................................................................................

2-40

set snmp persistmode ......................................................................................................................

2-41

save config .......................................................................................................................................

2-41

dir......................................................................................................................................................

2-42

show file............................................................................................................................................

2-43

show config.......................................................................................................................................

2-44

configure...........................................................................................................................................

2-45

copy ..................................................................................................................................................

2-45

delete................................................................................................................................................

2-46

show tftp settings..............................................................................................................................

2-46

ii

set tftp timeout ..................................................................................................................................

2-47

clear tftp timeout ...............................................................................................................................

2-47

set tftp retry.......................................................................................................................................

2-48

clear tftp retry....................................................................................................................................

2-48

Clearing and Closing the CLI ........................................................................................................................

2-49

Purpose ..................................................................................................................................................

2-49

Commands .............................................................................................................................................

2-49

cls (clear screen) ..............................................................................................................................

2-49

exit ....................................................................................................................................................

2-49

Resetting the Switch .....................................................................................................................................

2-50

Purpose ..................................................................................................................................................

2-50

Commands .............................................................................................................................................

2-50

reset..................................................................................................................................................

2-50

clear config .......................................................................................................................................

2-51

Using and Configuring WebView ..................................................................................................................

2-51

Purpose ..................................................................................................................................................

2-51

Commands .............................................................................................................................................

2-52

show webview ..................................................................................................................................

2-52

set webview ......................................................................................................................................

2-52

show ssl............................................................................................................................................

2-53

set ssl ...............................................................................................................................................

2-53

Chapter 3: Discovery Protocol Configuration

Configuring CDP .............................................................................................................................................

3-1

Purpose ....................................................................................................................................................

3-1

Commands ...............................................................................................................................................

3-1

show cdp ............................................................................................................................................

3-1

set cdp state .......................................................................................................................................

3-3

set cdp auth ........................................................................................................................................

3-3

set cdp interval ...................................................................................................................................

3-4

set cdp hold-time ................................................................................................................................

3-5

clear cdp .............................................................................................................................................

3-5

show neighbors ..................................................................................................................................

3-6

Configuring Cisco Discovery Protocol ............................................................................................................

3-6

Purpose ....................................................................................................................................................

3-6

Commands ...............................................................................................................................................

3-7

show ciscodp ......................................................................................................................................

3-7

show ciscodp port info ........................................................................................................................

3-8

set ciscodp status ...............................................................................................................................

3-9

set ciscodp timer.................................................................................................................................

3-9

set ciscodp holdtime .........................................................................................................................

3-10

set ciscodp port ................................................................................................................................

3-10

clear ciscodp.....................................................................................................................................

3-12

Chapter 4: Port Configuration

Port Configuration Summary ..........................................................................................................................

4-1

Port String Syntax Used in the CLI ..........................................................................................................

4-1

Configuring SFP Ports for 100BASE-FX ..................................................................................................

4-2

Reviewing Port Status ....................................................................................................................................

4-3

Purpose ....................................................................................................................................................

4-3

Commands ...............................................................................................................................................

4-3

show port ............................................................................................................................................

4-4

show port status .................................................................................................................................

4-4

show port counters .............................................................................................................................

4-5

iii

Disabling / Enabling and Naming Ports ..........................................................................................................

4-7

Purpose ....................................................................................................................................................

4-7

Commands ...............................................................................................................................................

4-7

set port disable ...................................................................................................................................

4-7

set port enable....................................................................................................................................

4-8

show port alias....................................................................................................................................

4-8

set port alias .......................................................................................................................................

4-9

Setting Speed and Duplex Mode ....................................................................................................................

4-9

Purpose ....................................................................................................................................................

4-9

Commands ...............................................................................................................................................

4-9

show port speed ...............................................................................................................................

4-10

set port speed...................................................................................................................................

4-10

show port duplex ..............................................................................................................................

4-11

set port duplex ..................................................................................................................................

4-11

Enabling / Disabling Jumbo Frame Support .................................................................................................

4-12

Purpose ..................................................................................................................................................

4-12

Commands .............................................................................................................................................

4-12

show port jumbo ...............................................................................................................................

4-12

set port jumbo...................................................................................................................................

4-13

clear port jumbo................................................................................................................................

4-13

Setting Auto-Negotiation and Advertised Ability ...........................................................................................

4-14

Purpose ..................................................................................................................................................

4-14

Commands .............................................................................................................................................

4-14

show port negotiation .......................................................................................................................

4-14

set port negotiation ...........................................................................................................................

4-15

show port advertise ..........................................................................................................................

4-15

set port advertise ..............................................................................................................................

4-16

clear port advertise ...........................................................................................................................

4-17

Setting Flow Control .....................................................................................................................................

4-18

Purpose ..................................................................................................................................................

4-18

Commands .............................................................................................................................................

4-18

show flowcontrol ...............................................................................................................................

4-18

set flowcontrol...................................................................................................................................

4-19

Setting Port Link Traps and Link Flap Detection ..........................................................................................

4-19

Purpose ..................................................................................................................................................

4-19

Commands .............................................................................................................................................

4-19

show port trap...................................................................................................................................

4-20

set port trap ......................................................................................................................................

4-20

show linkflap .....................................................................................................................................

4-21

set linkflap globalstate ......................................................................................................................

4-23

set linkflap portstate..........................................................................................................................

4-24

set linkflap interval ............................................................................................................................

4-24

set linkflap action ..............................................................................................................................

4-25

clear linkflap action ...........................................................................................................................

4-25

set linkflap threshold.........................................................................................................................

4-26

set linkflap downtime ........................................................................................................................

4-27

clear linkflap down ............................................................................................................................

4-27

clear linkflap......................................................................................................................................

4-28

Configuring Broadcast Suppression .............................................................................................................

4-28

Purpose ..................................................................................................................................................

4-28

Commands .............................................................................................................................................

4-28

show port broadcast .........................................................................................................................

4-29

set port broadcast.............................................................................................................................

4-29

clear port broadcast..........................................................................................................................

4-30

Port Mirroring ................................................................................................................................................

4-31

Mirroring Features ..................................................................................................................................

4-31

iv

Purpose ..................................................................................................................................................

4-31

Commands .............................................................................................................................................

4-31

show port mirroring...........................................................................................................................

4-31

set port mirroring ..............................................................................................................................

4-32

clear port mirroring ...........................................................................................................................

4-33

Link Aggregation Control Protocol (LACP) ...................................................................................................

4-33

LACP Operation .....................................................................................................................................

4-34

LACP Terminology .................................................................................................................................

4-34

D-Series Usage Considerations .............................................................................................................

4-35

Commands .............................................................................................................................................

4-36

show lacp..........................................................................................................................................

4-36

set lacp .............................................................................................................................................

4-38

set lacp asyspri.................................................................................................................................

4-38

set lacp aadminkey...........................................................................................................................

4-39

clear lacp ..........................................................................................................................................

4-39

set lacp static....................................................................................................................................

4-40

clear lacp static.................................................................................................................................

4-41

set lacp singleportlag........................................................................................................................

4-41

clear lacp singleportlag.....................................................................................................................

4-42

show port lacp ..................................................................................................................................

4-42

set port lacp ......................................................................................................................................

4-44

clear port lacp ...................................................................................................................................

4-45

Configuring Protected Ports .........................................................................................................................

4-47

Protected Port Operation .......................................................................................................................

4-47

Commands .............................................................................................................................................

4-47

set port protected..............................................................................................................................

4-47

show port protected ..........................................................................................................................

4-48

clear port protected...........................................................................................................................

4-48

set port protected name....................................................................................................................

4-49

show port protected name ................................................................................................................

4-49

clear port protected name.................................................................................................................

4-50

Chapter 5: SNMP Configuration

SNMP Configuration Summary ......................................................................................................................

5-1

SNMPv1 and SNMPv2c ...........................................................................................................................

5-1

SNMPv3 ...................................................................................................................................................

5-2

About SNMP Security Models and Levels ...............................................................................................

5-2

Using SNMP Contexts to Access Specific MIBs ......................................................................................

5-3

Configuration Considerations ...................................................................................................................

5-3

Reviewing SNMP Statistics ............................................................................................................................

5-3

Purpose ....................................................................................................................................................

5-3

Commands ...............................................................................................................................................

5-4

show snmp engineid...........................................................................................................................

5-4

show snmp counters...........................................................................................................................

5-5

Configuring SNMP Users, Groups, and Communities ....................................................................................

5-7

Purpose ....................................................................................................................................................

5-7

Commands ...............................................................................................................................................

5-8

show snmp user .................................................................................................................................

5-8

set snmp user .....................................................................................................................................

5-9

clear snmp user ................................................................................................................................

5-10

show snmp group .............................................................................................................................

5-11

set snmp group.................................................................................................................................

5-12

clear snmp group..............................................................................................................................

5-12

show snmp community .....................................................................................................................

5-13

set snmp community.........................................................................................................................

5-14

v

clear snmp community......................................................................................................................

5-14

Configuring SNMP Access Rights ................................................................................................................

5-15

Purpose ..................................................................................................................................................

5-15

Commands .............................................................................................................................................

5-15

show snmp access ...........................................................................................................................

5-15

set snmp access...............................................................................................................................

5-17

clear snmp access............................................................................................................................

5-18

Configuring SNMP MIB Views ......................................................................................................................

5-19

Purpose ..................................................................................................................................................

5-19

Commands .............................................................................................................................................

5-19

show snmp view ...............................................................................................................................

5-19

show snmp context...........................................................................................................................

5-20

set snmp view...................................................................................................................................

5-21

clear snmp view................................................................................................................................

5-22

Configuring SNMP Target Parameters .........................................................................................................

5-22

Purpose ..................................................................................................................................................

5-22

Commands .............................................................................................................................................

5-22

show snmp targetparams .................................................................................................................

5-22

set snmp targetparams.....................................................................................................................

5-24

clear snmp targetparams..................................................................................................................

5-24

Configuring SNMP Target Addresses ..........................................................................................................

5-25

Purpose ..................................................................................................................................................

5-25

Commands .............................................................................................................................................

5-25

show snmp targetaddr ......................................................................................................................

5-25

set snmp targetaddr..........................................................................................................................

5-26

clear snmp targetaddr.......................................................................................................................

5-27

Configuring SNMP Notification Parameters .................................................................................................

5-28

About SNMP Notify Filters .....................................................................................................................

5-28

Purpose ..................................................................................................................................................

5-28

Commands .............................................................................................................................................

5-28

show newaddrtrap ............................................................................................................................

5-29

set newaddrtrap................................................................................................................................

5-30

show snmp notify..............................................................................................................................

5-30

set snmp notify .................................................................................................................................

5-31

clear snmp notify ..............................................................................................................................

5-32

show snmp notifyfilter .......................................................................................................................

5-33

set snmp notifyfilter...........................................................................................................................

5-33

clear snmp notifyfilter........................................................................................................................

5-34

show snmp notifyprofile ....................................................................................................................

5-35

set snmp notifyprofile........................................................................................................................

5-35

clear snmp notifyprofile.....................................................................................................................

5-36

Creating a Basic SNMP Trap Configuration .................................................................................................

5-37

Example .................................................................................................................................................

5-38

Chapter 6: Spanning Tree Configuration

Spanning Tree Configuration Summary .........................................................................................................

6-1

Overview: Single, Rapid, and Multiple Spanning Tree Protocols .............................................................

6-1

Spanning Tree Features ..........................................................................................................................

6-2

Loop Protect .............................................................................................................................................

6-2

Configuring Spanning Tree Bridge Parameters ..............................................................................................

6-3

Purpose ....................................................................................................................................................

6-3

Commands ...............................................................................................................................................

6-4

show spantree stats............................................................................................................................

6-5

set spantree........................................................................................................................................

6-7

show spantree version........................................................................................................................

6-7

vi

set spantree version ...........................................................................................................................

6-8

clear spantree version ........................................................................................................................

6-8

show spantree bpdu-forwarding .........................................................................................................

6-9

set spantree bpdu-forwarding.............................................................................................................

6-9

show spantree bridgeprioritymode ...................................................................................................

6-10

set spantree bridgeprioritymode .......................................................................................................

6-10

clear spantree bridgeprioritymode ....................................................................................................

6-11

show spantree mstilist ......................................................................................................................

6-12

set spantree msti ..............................................................................................................................

6-12

clear spantree msti ...........................................................................................................................

6-13

show spantree mstmap ....................................................................................................................

6-13

set spantree mstmap ........................................................................................................................

6-14

clear spantree mstmap .....................................................................................................................

6-14

show spantree vlanlist ......................................................................................................................

6-15

show spantree mstcfgid....................................................................................................................

6-15

set spantree mstcfgid .......................................................................................................................

6-16

clear spantree mstcfgid ....................................................................................................................

6-16

set spantree priority ..........................................................................................................................

6-17

clear spantree priority .......................................................................................................................

6-17

set spantree hello .............................................................................................................................

6-18

clear spantree hello ..........................................................................................................................

6-18

set spantree maxage ........................................................................................................................

6-19

clear spantree maxage .....................................................................................................................

6-19

set spantree fwddelay.......................................................................................................................

6-20

clear spantree fwddelay....................................................................................................................

6-20

show spantree backuproot ...............................................................................................................

6-21

set spantree backuproot ...................................................................................................................

6-21

clear spantree backuproot ................................................................................................................

6-22

show spantree tctrapsuppress..........................................................................................................

6-22

set spantree tctrapsuppress .............................................................................................................

6-23

clear spantree tctrapsuppress ..........................................................................................................

6-23

set spantree protomigration..............................................................................................................

6-24

show spantree spanguard ................................................................................................................

6-24

set spantree spanguard....................................................................................................................

6-25

clear spantree spanguard.................................................................................................................

6-26

show spantree spanguardtimeout ....................................................................................................

6-26

set spantree spanguardtimeout ........................................................................................................

6-26

clear spantree spanguardtimeout .....................................................................................................

6-27

show spantree spanguardlock..........................................................................................................

6-27

clear / set spantree spanguardlock...................................................................................................

6-28

show spantree spanguardtrapenable ...............................................................................................

6-28

set spantree spanguardtrapenable...................................................................................................

6-29

clear spantree spanguardtrapenable................................................................................................

6-29

show spantree legacypathcost .........................................................................................................

6-30

set spantree legacypathcost.............................................................................................................

6-30

clear spantree legacypathcost..........................................................................................................

6-31

Configuring Spanning Tree Port Parameters ...............................................................................................

6-31

Purpose ..................................................................................................................................................

6-31

Commands .............................................................................................................................................

6-31

set spantree portadmin.....................................................................................................................

6-32

clear spantree portadmin..................................................................................................................

6-32

show spantree portadmin .................................................................................................................

6-33

show spantree portpri .......................................................................................................................

6-33

set spantree portpri...........................................................................................................................

6-34

clear spantree portpri........................................................................................................................

6-35

show spantree adminpathcost..........................................................................................................

6-35

vii

set spantree adminpathcost .............................................................................................................

6-36

clear spantree adminpathcost ..........................................................................................................

6-36

show spantree adminedge ...............................................................................................................

6-37

set spantree adminedge ...................................................................................................................

6-37

clear spantree adminedge ................................................................................................................

6-38

Configuring Spanning Tree Loop Protect Parameters ..................................................................................

6-38

Purpose ..................................................................................................................................................

6-38

Commands .............................................................................................................................................

6-39

set spantree lp ..................................................................................................................................

6-39

show spantree lp ..............................................................................................................................

6-40

clear spantree lp ...............................................................................................................................

6-41

show spantree lplock ........................................................................................................................

6-41

clear spantree lplock.........................................................................................................................

6-42

set spantree lpcapablepartner ..........................................................................................................

6-42

show spantree lpcapablepartner ......................................................................................................

6-43

clear spantree lpcapablepartner .......................................................................................................

6-44

set spantree lpthreshold ...................................................................................................................

6-44

show spantree lpthreshold................................................................................................................

6-45

clear spantree lpthreshold ................................................................................................................

6-45

set spantree lpwindow ......................................................................................................................

6-46

show spantree lpwindow ..................................................................................................................

6-46

clear spantree lpwindow ...................................................................................................................

6-47

set spantree lptrapenable .................................................................................................................

6-47

show spantree lptrapenable .............................................................................................................

6-48

clear spantree lptrapenable ..............................................................................................................

6-48

set spantree disputedbpduthreshold ................................................................................................

6-48

show spantree disputedbpduthreshold.............................................................................................

6-49

clear spantree disputedbpduthreshold .............................................................................................

6-50

show spantree nonforwardingreason ...............................................................................................

6-50

Chapter 7: 802.1Q VLAN Configuration

VLAN Configuration Summary .......................................................................................................................

7-1

Port String Syntax Used in the CLI ..........................................................................................................

7-1

Creating a Secure Management VLAN ....................................................................................................

7-1

Viewing VLANs ...............................................................................................................................................

7-2

Purpose ....................................................................................................................................................

7-2

Command .................................................................................................................................................

7-3

show vlan............................................................................................................................................

7-3

Creating and Naming Static VLANs ...............................................................................................................

7-4

Purpose ....................................................................................................................................................

7-4

Commands ...............................................................................................................................................

7-4

set vlan ...............................................................................................................................................

7-4

set vlan name .....................................................................................................................................

7-5

clear vlan ............................................................................................................................................

7-5

clear vlan name ..................................................................................................................................

7-6

Assigning Port VLAN IDs (PVIDs) and Ingress Filtering ................................................................................

7-6

Purpose ....................................................................................................................................................

7-6

Commands ...............................................................................................................................................

7-7

show port vlan ....................................................................................................................................

7-7

set port vlan ........................................................................................................................................

7-8

clear port vlan .....................................................................................................................................

7-8

show port ingress filter........................................................................................................................

7-9

set port ingress filter .........................................................................................................................

7-10

show port discard .............................................................................................................................

7-10

set port discard .................................................................................................................................

7-11

viii

Configuring the VLAN Egress List ................................................................................................................

7-12

Purpose ..................................................................................................................................................

7-12

Commands .............................................................................................................................................

7-12

show port egress ..............................................................................................................................

7-12

set vlan forbidden .............................................................................................................................

7-13

set vlan egress .................................................................................................................................

7-14

clear vlan egress ..............................................................................................................................

7-14

show vlan dynamicegress ................................................................................................................

7-15

set vlan dynamicegress ....................................................................................................................

7-16

Setting the Host VLAN ..................................................................................................................................

7-17

Purpose ..................................................................................................................................................

7-17

Commands .............................................................................................................................................

7-17

show host vlan..................................................................................................................................

7-17

set host vlan .....................................................................................................................................

7-17

clear host vlan ..................................................................................................................................

7-18

Enabling/Disabling GVRP (GARP VLAN Registration Protocol) ..................................................................

7-19

About GARP VLAN Registration Protocol (GVRP) ................................................................................

7-19

Purpose ..................................................................................................................................................

7-20

Commands .............................................................................................................................................

7-20

show gvrp .........................................................................................................................................

7-21

show garp timer ................................................................................................................................

7-21

set gvrp.............................................................................................................................................

7-22

clear gvrp..........................................................................................................................................

7-23

set garp timer....................................................................................................................................

7-23

Chapter 8: Differentiated Services Configuration

Globally Enabling or Disabling Diffserv ..........................................................................................................

8-2

Purpose ....................................................................................................................................................

8-2

Command .................................................................................................................................................

8-2

set diffserv adminmode ......................................................................................................................

8-2

Creating Diffserv Classes and Matching Conditions ......................................................................................

8-3

Purpose ....................................................................................................................................................

8-3

Commands ...............................................................................................................................................

8-3

show diffserv info................................................................................................................................

8-3

show diffserv class .............................................................................................................................

8-4

set class create...................................................................................................................................

8-4

set diffserv class delete ......................................................................................................................

8-5

set diffserv class match ......................................................................................................................

8-5

set diffserv class rename....................................................................................................................

8-8

Configuring Diffserv Policies and Assigning Classes .....................................................................................

8-9

Purpose ....................................................................................................................................................

8-9

Commands ...............................................................................................................................................

8-9

show diffserv policy ............................................................................................................................

8-9

set diffserv policy create ...................................................................................................................

8-10

set diffserv policy delete ...................................................................................................................

8-10

set diffserv policy class.....................................................................................................................

8-11

set diffserv policy mark .....................................................................................................................

8-11

set diffserv policy police style simple................................................................................................

8-12

set diffserv policy police action conform ...........................................................................................

8-13

set diffserv policy police action nonconform .....................................................................................

8-13

set diffserv policy rename.................................................................................................................

8-14

Assigning Policies to Service Ports ..............................................................................................................

8-14

Purpose ..................................................................................................................................................

8-14

Commands .............................................................................................................................................

8-15

show diffserv service info .................................................................................................................

8-15

ix

show diffserv service stats................................................................................................................

8-15

set diffserv service............................................................................................................................

8-16

DiffServ Configuration Examples ..................................................................................................................

8-17

Chapter 9: Policy Classification Configuration

Policy Classification Configuration Summary

................................................................................................. 9-1

Configuring Policy Profiles ..............................................................................................................................

9-1

Purpose ....................................................................................................................................................

9-1

Commands ...............................................................................................................................................

9-2

show policy profile ..............................................................................................................................

9-2

set policy profile..................................................................................................................................

9-4

clear policy profile...............................................................................................................................

9-5

Configuring Classification Rules .....................................................................................................................

9-5

Purpose ....................................................................................................................................................

9-5

Commands ...............................................................................................................................................

9-5

show policy rule ..................................................................................................................................

9-6

show policy capability .........................................................................................................................

9-8

set policy rule....................................................................................................................................

9-10

clear policy rule.................................................................................................................................

9-12

clear policy all-rules ..........................................................................................................................

9-13

Assigning Ports to Policy Profiles .................................................................................................................

9-14

Purpose ..................................................................................................................................................

9-14

Commands .............................................................................................................................................

9-14

set policy port ...................................................................................................................................

9-14

clear policy port ................................................................................................................................

9-15

Configuring Policy Class of Service (CoS) ...................................................................................................

9-15

About Policy-Based CoS Configurations ................................................................................................

9-16

Commands .............................................................................................................................................

9-18

set cos state .....................................................................................................................................

9-18

show cos state..................................................................................................................................

9-19

clear cos state ..................................................................................................................................

9-19

set cos settings.................................................................................................................................

9-20

clear cos settings..............................................................................................................................

9-21

show cos settings .............................................................................................................................

9-21

set cos port-config ............................................................................................................................

9-22

show cos port-config.........................................................................................................................

9-23

clear cos port-config .........................................................................................................................

9-24

set cos port-resource........................................................................................................................

9-25

show cos port-resource ....................................................................................................................

9-26

clear cos port-resource.....................................................................................................................

9-26

set cos reference ..............................................................................................................................

9-27

show cos reference ..........................................................................................................................

9-28

clear cos reference ...........................................................................................................................

9-29

show cos unit....................................................................................................................................

9-30

clear cos all-entries...........................................................................................................................

9-30

show cos port-type ...........................................................................................................................

9-31

Chapter 10: Port Priority and Rate Limiting Configuration

Port Priority Configuration Summary ............................................................................................................

10-1

Configuring Port Priority ...............................................................................................................................

10-2

Purpose ..................................................................................................................................................

10-2

Commands .............................................................................................................................................

10-2

show port priority ..............................................................................................................................

10-2

set port priority..................................................................................................................................

10-3

clear port priority...............................................................................................................................

10-3

x

Configuring Priority to Transmit Queue Mapping .........................................................................................

10-4

Purpose ..................................................................................................................................................

10-4

Commands .............................................................................................................................................

10-4

show port priority-queue ...................................................................................................................

10-4

set port priority-queue.......................................................................................................................

10-5

clear port priority-queue....................................................................................................................

10-6

Configuring Quality of Service (QoS) ...........................................................................................................

10-6

Purpose ..................................................................................................................................................

10-6

Commands .............................................................................................................................................

10-6

show port txq ....................................................................................................................................

10-7

set port txq........................................................................................................................................

10-7

clear port txq.....................................................................................................................................

10-8

Chapter 11: IGMP Configuration

IGMP Overview ............................................................................................................................................

11-1

About IP Multicast Group Management .................................................................................................

11-1

About Multicasting ..................................................................................................................................

11-1

Configuring IGMP at Layer 2 ........................................................................................................................

11-2

Purpose ..................................................................................................................................................

11-2

Commands .............................................................................................................................................

11-2

show igmpsnooping..........................................................................................................................

11-2

set igmpsnooping adminmode..........................................................................................................

11-3

set igmpsnooping interfacemode......................................................................................................

11-4

set igmpsnooping groupmembershipinterval....................................................................................

11-4

set igmpsnooping maxresponse.......................................................................................................

11-5

set igmpsnooping mcrtrexpiretime....................................................................................................

11-5

set igmpsnooping add-static.............................................................................................................

11-6

set igmpsnooping remove-static.......................................................................................................

11-7

show igmpsnooping static ................................................................................................................

11-7

show igmpsnooping mfdb.................................................................................................................

11-8

clear igmpsnooping ..........................................................................................................................

11-8

Chapter 12: Logging and Network Management

Configuring System Logging ........................................................................................................................

12-1

Purpose ..................................................................................................................................................

12-1

Commands .............................................................................................................................................

12-1

show logging server..........................................................................................................................

12-2

set logging server .............................................................................................................................

12-3

clear logging server ..........................................................................................................................

12-4

show logging default.........................................................................................................................

12-4

set logging default ............................................................................................................................

12-5

clear logging default .........................................................................................................................

12-5

show logging application ..................................................................................................................

12-6

set logging application ......................................................................................................................

12-7

clear logging application ...................................................................................................................

12-8

show logging local ............................................................................................................................

12-9

set logging local................................................................................................................................

12-9

clear logging local...........................................................................................................................

12-10

show logging buffer ........................................................................................................................

12-10

Monitoring Network Events and Status ......................................................................................................

12-11

Purpose ................................................................................................................................................

12-11

Commands ...........................................................................................................................................

12-11

history .............................................................................................................................................

12-11

show history....................................................................................................................................

12-12

set history .......................................................................................................................................

12-12

xi

ping.................................................................................................................................................

12-13

show users .....................................................................................................................................

12-13

disconnect ......................................................................................................................................

12-14

Managing Switch Network Addresses and Routes .....................................................................................

12-15

Purpose ................................................................................................................................................

12-15

Commands ...........................................................................................................................................

12-15

show arp .........................................................................................................................................

12-15

set arp.............................................................................................................................................

12-16

clear arp..........................................................................................................................................

12-17

traceroute .......................................................................................................................................

12-17

show mac .......................................................................................................................................

12-18

show mac agetime..........................................................................................................................

12-19

set mac agetime .............................................................................................................................

12-20

clear mac agetime ..........................................................................................................................

12-20

set mac algorithm ...........................................................................................................................

12-21

show mac algorithm........................................................................................................................

12-21

clear mac algorithm ........................................................................................................................

12-22

set mac multicast............................................................................................................................

12-22

clear mac address ..........................................................................................................................

12-23

show mac unreserved-flood ...........................................................................................................

12-23

set mac unreserved-flood ...............................................................................................................

12-24

Configuring Simple Network Time Protocol (SNTP) ...................................................................................

12-25

Purpose ................................................................................................................................................

12-25

Commands ...........................................................................................................................................

12-25

show sntp .......................................................................................................................................

12-25

set sntp client..................................................................................................................................

12-27

clear sntp client...............................................................................................................................

12-27

set sntp server ................................................................................................................................

12-28

clear sntp server .............................................................................................................................

12-28

set sntp poll-interval........................................................................................................................

12-29

clear sntp poll-interval.....................................................................................................................

12-29

set sntp poll-retry ............................................................................................................................

12-29

clear sntp poll-retry .........................................................................................................................

12-30

set sntp poll-timeout .......................................................................................................................

12-30

clear sntp poll-timeout ....................................................................................................................

12-31

Configuring Node Aliases ...........................................................................................................................

12-31

Purpose ................................................................................................................................................

12-31

Commands ...........................................................................................................................................

12-31

show nodealias config ....................................................................................................................

12-32

set nodealias ..................................................................................................................................

12-32

clear nodealias config.....................................................................................................................

12-33

Chapter 13: RMON Configuration

RMON Monitoring Group Functions .............................................................................................................

13-1

Statistics Group Commands .........................................................................................................................

13-3

Purpose ..................................................................................................................................................

13-3

Commands .............................................................................................................................................

13-3

show rmon stats ...............................................................................................................................

13-3

set rmon stats ...................................................................................................................................

13-4

clear rmon stats ................................................................................................................................

13-5

History Group Commands ............................................................................................................................

13-5

Purpose ..................................................................................................................................................

13-5

Commands .............................................................................................................................................

13-5

show rmon history ............................................................................................................................

13-5

set rmon history ................................................................................................................................

13-6

xii

clear rmon history .............................................................................................................................

13-7

Alarm Group Commands ..............................................................................................................................

13-7

Purpose ..................................................................................................................................................

13-7

Commands .............................................................................................................................................

13-8

show rmon alarm ..............................................................................................................................

13-8

set rmon alarm properties.................................................................................................................

13-9

set rmon alarm status .....................................................................................................................

13-10

clear rmon alarm.............................................................................................................................

13-11

Event Group Commands ............................................................................................................................

13-12

Purpose ................................................................................................................................................

13-12

Commands ...........................................................................................................................................

13-12

show rmon event ............................................................................................................................

13-12

set rmon event properties...............................................................................................................

13-13

set rmon event status .....................................................................................................................

13-14

clear rmon event.............................................................................................................................

13-14

Filter Group Commands .............................................................................................................................

13-15

Commands ...........................................................................................................................................

13-15

show rmon channel ........................................................................................................................

13-16

set rmon channel ............................................................................................................................

13-16

clear rmon channel .........................................................................................................................

13-17

show rmon filter ..............................................................................................................................

13-17

set rmon filter..................................................................................................................................

13-18

clear rmon filter...............................................................................................................................

13-19

Packet Capture Commands .......................................................................................................................

13-20

Purpose ................................................................................................................................................

13-20

Commands ...........................................................................................................................................

13-20

show rmon capture .........................................................................................................................

13-20

set rmon capture.............................................................................................................................

13-21

clear rmon capture..........................................................................................................................

13-22

Chapter 14: DHCP Server Configuration

DHCP Overview ...........................................................................................................................................

14-1

DHCP Server .........................................................................................................................................

14-1

Configuring a DHCP Server ...................................................................................................................

14-2

Configuring General DHCP Server Parameters ...........................................................................................

14-3

Purpose ..................................................................................................................................................

14-3

Commands .............................................................................................................................................

14-3

set dhcp ............................................................................................................................................

14-3

set dhcp bootp ..................................................................................................................................

14-4

set dhcp conflict logging ...................................................................................................................

14-4

show dhcp conflict ............................................................................................................................

14-5

clear dhcp conflict.............................................................................................................................

14-5

set dhcp exclude...............................................................................................................................

14-6

clear dhcp exclude............................................................................................................................

14-6

set dhcp ping ....................................................................................................................................

14-7

clear dhcp ping .................................................................................................................................

14-7

show dhcp binding............................................................................................................................

14-8

clear dhcp binding ............................................................................................................................

14-8

show dhcp server statistics...............................................................................................................

14-9

clear dhcp server statistics .............................................................................................................

14-10

Configuring IP Address Pools .....................................................................................................................

14-10

Manual Pool Configuration Considerations ..........................................................................................

14-10

Purpose ................................................................................................................................................

14-10

Commands ...........................................................................................................................................

14-11

set dhcp pool ..................................................................................................................................

14-12

clear dhcp pool ...............................................................................................................................

14-12

xiii

set dhcp pool network.....................................................................................................................

14-13

clear dhcp pool network..................................................................................................................

14-13

set dhcp pool hardware-address ....................................................................................................

14-14

clear dhcp pool hardware-address .................................................................................................

14-14

set dhcp pool host ..........................................................................................................................

14-15

clear dhcp pool host .......................................................................................................................

14-16

set dhcp pool client-identifier ..........................................................................................................

14-16

clear dhcp pool client-identifier .......................................................................................................

14-17

set dhcp pool client-name...............................................................................................................

14-17

clear dhcp pool client-name............................................................................................................

14-18

set dhcp pool bootfile......................................................................................................................

14-18

clear dhcp pool bootfile...................................................................................................................

14-19

set dhcp pool next-server ...............................................................................................................

14-19

clear dhcp pool next-server ............................................................................................................

14-20

set dhcp pool lease.........................................................................................................................

14-20

clear dhcp pool lease......................................................................................................................

14-21

set dhcp pool default-router............................................................................................................

14-21

clear dhcp pool default-router.........................................................................................................

14-22

set dhcp pool dns-server ................................................................................................................

14-22

clear dhcp pool dns-server .............................................................................................................

14-23

set dhcp pool domain-name ...........................................................................................................

14-23

clear dhcp pool domain-name ........................................................................................................

14-24

set dhcp pool netbios-name-server ................................................................................................

14-24

clear dhcp pool netbios-name-server .............................................................................................

14-25

set dhcp pool netbios-node-type ....................................................................................................

14-26

clear dhcp pool netbios-node-type .................................................................................................

14-26

set dhcp pool option .......................................................................................................................

14-27

clear dhcp pool option ....................................................................................................................

14-27

show dhcp pool configuration .........................................................................................................

14-28

Chapter 15: Security Configuration

Overview of Security Methods ......................................................................................................................

15-1

RADIUS Filter-ID Attribute and Dynamic Policy Profile Assignment ......................................................

15-2

Configuring RADIUS .....................................................................................................................................

15-3

Purpose ..................................................................................................................................................

15-3

Commands .............................................................................................................................................

15-3

show radius ......................................................................................................................................

15-3

set radius ..........................................................................................................................................

15-5

clear radius .......................................................................................................................................

15-6

show radius accounting ....................................................................................................................

15-7

set radius accounting........................................................................................................................

15-8

clear radius accounting.....................................................................................................................

15-9

Configuring 802.1X Authentication ...............................................................................................................

15-9

Purpose ..................................................................................................................................................

15-9

Commands .............................................................................................................................................

15-9

show dot1x .....................................................................................................................................

15-10

show dot1x auth-config...................................................................................................................

15-11

set dot1x .........................................................................................................................................

15-13

set dot1x auth-config ......................................................................................................................

15-14

clear dot1x auth-config ...................................................................................................................

15-15

show eapol .....................................................................................................................................

15-16

set eapol .........................................................................................................................................

15-17

clear eapol ......................................................................................................................................

15-18

Configuring MAC Authentication ................................................................................................................

15-19

Purpose ................................................................................................................................................

15-19

Commands ...........................................................................................................................................

15-19

xiv

show macauthentication .................................................................................................................

15-20

show macauthentication session....................................................................................................

15-21

set macauthentication.....................................................................................................................

15-22

set macauthentication password ....................................................................................................

15-23

clear macauthentication password .................................................................................................

15-23

set macauthentication port .............................................................................................................

15-23

set macauthentication portinitialize.................................................................................................

15-24

set macauthentication portquietperiod............................................................................................

15-25

clear macauthentication portquietperiod.........................................................................................

15-25

set macauthentication macinitialize ................................................................................................

15-26

set macauthentication reauthentication ..........................................................................................

15-26

set macauthentication portreauthenticate.......................................................................................

15-27

set macauthentication macreauthenticate ......................................................................................

15-27

set macauthentication reauthperiod ...............................................................................................

15-28

clear macauthentication reauthperiod ............................................................................................

15-28

set macauthentication significant-bits.............................................................................................

15-29

clear macauthentication significant-bits..........................................................................................

15-29

Configuring Multiple Authentication Methods .............................................................................................

15-30

About Multiple Authentication Types ....................................................................................................

15-30

Commands ...........................................................................................................................................

15-30

show multiauth................................................................................................................................

15-31

set multiauth mode .........................................................................................................................

15-31

clear multiauth mode ......................................................................................................................

15-32

set multiauth precedence ...............................................................................................................

15-33

clear multiauth precedence ............................................................................................................

15-33

show multiauth port ........................................................................................................................

15-34

set multiauth port ............................................................................................................................

15-34

clear multiauth port .........................................................................................................................

15-35

show multiauth station ....................................................................................................................

15-36

show multiauth session ..................................................................................................................

15-36

show multiauth idle-timeout ............................................................................................................

15-37

set multiauth idle-timeout................................................................................................................

15-38

clear multiauth idle-timeout.............................................................................................................

15-38

show multiauth session-timeout .....................................................................................................

15-39

set multiauth session-timeout .........................................................................................................

15-40

clear multiauth session-timeout ......................................................................................................

15-40

Configuring VLAN Authorization (RFC 3580) .............................................................................................

15-41

Purpose ................................................................................................................................................

15-41

Commands ...........................................................................................................................................

15-42

show policy maptable response .....................................................................................................

15-42

set policy maptable response .........................................................................................................

15-42

set vlanauthorization.......................................................................................................................

15-43

set vlanauthorization egress...........................................................................................................

15-44

clear vlanauthorization....................................................................................................................

15-44

show vlanauthorization ...................................................................................................................

15-45

Configuring MAC Locking ...........................................................................................................................

15-46

Purpose ................................................................................................................................................

15-46

Commands ...........................................................................................................................................

15-46

show maclock .................................................................................................................................

15-47

show maclock stations....................................................................................................................

15-48

set maclock enable.........................................................................................................................

15-49

set maclock disable ........................................................................................................................

15-50

set maclock.....................................................................................................................................

15-50

clear maclock..................................................................................................................................

15-51

set maclock static ...........................................................................................................................

15-52

clear maclock static ........................................................................................................................

15-52

xv

 

set maclock firstarrival ....................................................................................................................

15-53

 

clear maclock firstarrival .................................................................................................................

15-54

 

set maclock agefirstarrival ..............................................................................................................

15-54

 

clear maclock agefirstarrival ...........................................................................................................

15-55

 

set maclock move...........................................................................................................................

15-55

 

set maclock trap .............................................................................................................................

15-56

Configuring Port Web Authentication (PWA) ..............................................................................................

15-57

 

About PWA ...........................................................................................................................................

15-57

 

Purpose ................................................................................................................................................

15-57

 

Commands ...........................................................................................................................................

15-57

 

show pwa........................................................................................................................................

15-58

 

set pwa ...........................................................................................................................................

15-59

 

show pwa banner ...........................................................................................................................

15-60

 

set pwa banner ...............................................................................................................................

15-60

 

clear pwa banner ............................................................................................................................

15-61

 

set pwa displaylogo ........................................................................................................................

15-61

 

set pwa ipaddress...........................................................................................................................

15-62

 

set pwa protocol .............................................................................................................................

15-62

 

set pwa guestname ........................................................................................................................

15-63

 

clear pwa guestname .....................................................................................................................

15-63

 

set pwa guestpassword ..................................................................................................................

15-64

 

set pwa gueststatus........................................................................................................................

15-64

 

set pwa initialize .............................................................................................................................

15-65

 

set pwa quietperiod ........................................................................................................................

15-65

 

set pwa maxrequest .......................................................................................................................

15-66

 

set pwa portcontrol .........................................................................................................................

15-66

 

show pwa session ..........................................................................................................................

15-67

 

set pwa enhancedmode .................................................................................................................

15-68

Configuring Secure Shell (SSH) .................................................................................................................

15-68

 

Purpose ................................................................................................................................................

15-68

 

Commands ...........................................................................................................................................

15-68

 

show ssh status ..............................................................................................................................

15-68

 

set ssh ............................................................................................................................................

15-69

 

set ssh hostkey...............................................................................................................................

15-69

Index

 

 

Figures

 

1-1

D-Series Startup Screen.....................................................................................................................

1-5

1-2

Sample CLI Defaults Description........................................................................................................

1-7

1-3

Performing a Keyword Lookup ...........................................................................................................

1-7

1-4

Performing a Partial Keyword Lookup ................................................................................................

1-7

1-5

Scrolling Screen Output......................................................................................................................

1-8

1-6

Abbreviating a Command ...................................................................................................................

1-8

7-7

Example of VLAN Propagation via GVRP ........................................................................................

7-20

Tables

 

1-1

Default Settings for Basic Switch Operation.......................................................................................

1-2

1-2

Basic Line Editing Commands............................................................................................................

1-9

2-3

Required CLI Setup Commands.........................................................................................................

2-1

2-4

Optional CLI Setup Commands..........................................................................................................

2-2

2-5

show system lockout Output Details...................................................................................................

2-8

xvi

2-6

show system Output Details .............................................................................................................

2-12

2-7

show version Output Details.............................................................................................................

2-22

3-8

show cdp Output Details.....................................................................................................................

3-2

3-9

show ciscodp Output Details ..............................................................................................................

3-7

3-10

show ciscodp port info Output Details ................................................................................................

3-8

4-11

show port status Output Details..........................................................................................................

4-5

4-12

show port counters Output Details .....................................................................................................

4-6

4-13

show linkflap parameters Output Details ..........................................................................................

4-23

4-14

show linkflap metrics Output Details.................................................................................................

4-23

4-15

LACP Terms and Definitions ............................................................................................................

4-35

4-16

show lacp Output Details..................................................................................................................

4-37

5-17

SNMP Security Levels........................................................................................................................

5-2

5-18

show snmp engineid Output Details ...................................................................................................

5-4

5-19

show snmp counters Output Details...................................................................................................

5-6

5-20

show snmp user Output Details..........................................................................................................

5-9

5-21

show snmp group Output Details .....................................................................................................

5-12

5-22

show snmp access Output Details ...................................................................................................

5-16

5-23

show snmp view Output Details .......................................................................................................

5-20

5-24

show snmp targetparams Output Details .........................................................................................

5-23

5-25

show snmp targetaddr Output Details ..............................................................................................

5-26

5-26

show snmp notify Output Details ......................................................................................................

5-31

5-27

Basic SNMP Trap Configuration.......................................................................................................

5-37

6-28

show spantree Output Details ............................................................................................................

6-6

7-29

Command Set for Creating a Secure Management VLAN .................................................................

7-2

7-30

show vlan Output Details....................................................................................................................

7-4

7-31

show gvrp configuration Output Details............................................................................................

7-22

8-32

Valid IP DSCP Numeric and Keyword Values....................................................................................

8-6

9-33

show policy profile Output Details ......................................................................................................

9-3

9-34

show policy rule Output Details ..........................................................................................................

9-7

9-35

Valid Values for Policy Classification Rules .....................................................................................

9-11

12-36

show logging server Output Details..................................................................................................

12-2

12-37

show logging application Output Details...........................................................................................

12-7

12-38

Mnemonic Values for Logging Applications......................................................................................

12-8

12-39

show arp Output Details .................................................................................................................

12-16

12-40

show mac Output Details................................................................................................................

12-19

12-41

show sntp Output Details................................................................................................................

12-26

12-42

show nodealias config Output Details ............................................................................................

12-32

13-43

RMON Monitoring Group Functions and Commands.......................................................................

13-1

13-44

show rmon alarm Output Details ......................................................................................................

13-8

13-45

show rmon event Output Details ....................................................................................................

13-13

15-46

show radius Output Details...............................................................................................................

15-4

15-47

show eapol Output Details..............................................................................................................

15-16

15-48

show macauthentication Output Details .........................................................................................

15-20

15-49

show macauthentication session Output Details ............................................................................

15-22

15-50

show vlanauthorization Output Details ...........................................................................................

15-45

15-51

show maclock Output Details .........................................................................................................

15-47

15-52

show maclock stations Output Details............................................................................................

15-49

15-53

show pwa Output Details................................................................................................................

15-58

xvii

xviii

About This Guide

Welcome to the Enterasys Networks D Series CLI Reference. This manual explains how to access the device’s Command Line Interface (CLI) and how to use it to configure D Series switch devices.

Important Notice

Depending on the firmware version used in your device, some features described in this document may not be supported. Refer to the Release Notes shipped with your device to determine which features are supported.

Using This Guide

A general working knowledge of basic network operations and an understanding of CLI management applications is helpful before configuring this device.

This manual describes how to do the following:

Access the CLI.

Use CLI commands to perform network management and device configuration operations

Establish and manage Virtual Local Area Networks (VLANs).

Establish and manage static and dynamically assigned policy classifications.

Establish and manage priority classification.

Configure security protocols, including 802.1X and RADIUS, SSHv2, MAC locking, and MAC authentication.

Structure of This Guide

The guide is organized as follows:

Chapter 1, Introduction, provides an overview of the tasks that can be accomplished using the CLI interface, an overview of local management requirements, an overview of the device’s factory default settings, and information about using the Command Line Interface (CLI).

Chapter 2, Basic Configuration, provides how to set basic system properties, how to download a firmware image, how to configure WebView and Telnet, how to manage configuration files, how to set the login password, and how to exit the CLI.

Chapter 3, Discovery Protocol Configuration provides how to configure discovery protocols supported by the device.

Chapter 4, Port Configuration, describes how to review and configure console port settings, and how to enable or disable switch ports and configure switch port settings, including port speed, duplex mode, auto negotiation, flow control, port mirroring, link aggegation and broadcast suppression.

Chapter 5, SNMP Configuration, describes how to configure SNMP users and user groups, access rights, target addresses, and notification parameters.

D-Series CLI Reference xxi

Related Documents

Chapter 6, Spanning Tree Configuration, describes how to review and set Spanning Tree bridge parameters for the device, including bridge priority, hello time, maximum aging time and forward delay; and how to review and set Spanning Tree port parameters, including port priority and path costs. Configuring the SpanGuard and Loop Protect functions is also described.

Chapter 7, 802.1Q VLAN Configuration, describes how to create static VLANs, select the mode of operation for each port, establish VLAN forwarding (egress) lists, route frames according to VLAN ID, display the current ports and port types associated with a VLAN and protocol, create a secure management VLAN, and configure ports on the device as GVRP aware ports.

Chapter 8, Differentiated Services Configuration, describes how to display and configure Diffserv parameters.

Chapter 9, Policy Classification Configuration, describes how to create, change or remove user roles or profiles based on business specific use of network services; how to permit or deny access to specific services by creating and assigning classification rules which map user profiles to frame filtering policies; how to classify frames to a VLAN or Class of Service (CoS); and how to assign or unassign ports to policy profiles so that only ports activated for a profile will be allowed to transmit frames accordingly.

Chapter 10, Port Priority and Rate Limiting Configuration, describes how to set the transmit priority of each port and configure a rate limit for a given port and list of priorities.

Chapter 11, IGMP Configuration, describes how to configure Internet Group Management Protocol (IGMP) settings for multicast filtering.

Chapter 12, Logging and Network Management, describes how to configure Syslog, how to manage general switch settings, how to monitor network events and status,and how to configure SNTP and node aliases.

Chapter 13, RMON Configuration, describes how to use RMON (Remote Network Monitoring), which provides comprehensive network fault diagnosis, planning, and performance tuning information and allows for interoperability between SNMP management stations and monitoring agents.

Chapter 14, DHCP Server Configuration, describes how to review and configure DHCP server parameters, how to review and configure DHCP address pools, and how to display DHCP server information.

Chapter 15, Security Configuration, describes how to configure 802.1X authentication using EAPOL, how to configure RADIUS server, Secure Shell server, MAC authentication, MAC locking, and Port Web Authentication.

Related Documents

The following Enterasys Networks documents may help you to set up, control, and manage this device:

Ethernet Technology Guide

D Series Installation Guide(s)

Documents listed above, can be obtained from the World Wide Web in Adobe Acrobat Portable Document Format (PDF) at the following web site:

http://www.enterasys.com/support/manuals/

xxii About This Guide

Conventions Used in This Guide

Conventions Used in This Guide

The following conventions are used in the text of this document:

Convention

Description

 

 

Bold font

Indicates mandatory keywords, parameters or keyboard keys.

 

 

italic font

Indicates complete document titles.

 

 

Courier font

Used for examples of information displayed on the screen.

Courier font in italics

Indicates a user-supplied value, either required or optional.

 

 

[ ]

Square brackets indicate an optional value.

 

 

{ }

Braces indicate required values. One or more values may be required.

 

 

|

A vertical bar indicates a choice in values.

 

 

[x | y | z]

Square brackets with a vertical bar indicate a choice of a value.

 

 

{x | y | z}

Braces with a vertical bar indicate a choice of a required value.

 

 

[x {y | z} ]

A combination of square brackets with braces and vertical bars indicates a

 

required choice of an optional value.

 

 

The following icons are used in this guide:

Note: Calls the reader’s attention to any item of information that may be of special importance.

Caution: Contains information essential to avoid damage to the equipment.

Getting Help

For additional support related to this switch or document, contact Enterasys Networks using one of the following methods:

World Wide Web

http://www.enterasys.com/support

Phone

1-800-872-8440 (toll-free in U.S. and Canada)

 

or 1-978-684-1000

 

For the Enterasys Networks Support toll-free number in your country:

 

http://www.enterasys.com/support

 

 

Internet mail

support@enterasys.com

 

To expedite your message, type [SWITCHING] in the subject line.

To send comments or suggestions concerning this document to the Technical Publications Department: techpubs@enterasys.com

Make sure to include the document Part Number in the email message.

D-Series CLI Reference xxiii

Getting Help

Before calling Enterasys Networks, have the following information ready:

Your Enterasys Networks service contract number

A description of the failure

A description of any action(s) already taken to resolve the problem (for example, changing mode switches or rebooting the unit)

The serial and revision numbers of all involved Enterasys Networks products in the network

A description of your network environment (for example, layout, cable type)

Network load and frame size at the time of trouble (if known)

The switch history (for example, have you returned the switch before, is this a recurring problem?)

Any previous Return Material Authorization (RMA) numbers

xxiv About This Guide

1

Introduction

This chapter provides an overview of the D Series’ unique features and functionality, an overview of the tasks that may be accomplished using the CLI interface, an overview of ways to manage the switch, factory default settings, and information about how to use the Command Line Interface to configure the switch.

For information about...

Refer to page...

 

 

D-Series CLI Overview

1-1

 

 

Switch Management Methods

1-1

 

 

Factory Default Settings

1-2

 

 

Using the Command Line Interface

1-5

 

 

D-Series CLI Overview

Enterasys Networks’ D Series CLI interface allows you to perform a variety of network management tasks, including the following:

Use CLI commands to perform network management and switch configuration operations.

Download a new firmware image.

Assign IP address and subnet mask.

Select a default gateway.

Establish and manage Virtual Local Area Networks (VLANs).

Establish and manage policy profiles and classifications.

Establish and manage priority classification.

Configure security protocols, including 802.1X and RADIUS, SSHv2, PWA, MAC locking, and MAC authentication.

Switch Management Methods

The D Series switch can be managed using the following methods:

Locally using a VT type terminal connected to the console port.

Remotely using a VT type terminal connected through a modem.

Remotely using an SNMP management station.

In band through a Telnet connection.

In band using the Enterasys NetSight® management application.

D-Series CLI Reference 1-1

Factory Default Settings

Remotely using WebView™, Enterasys Networks’ embedded web server application.

The Installation Guide for your D Series device provides setup instructions for connecting a terminal or modem to the switch.

Factory Default Settings

The following tables list factory default settings available on the D Series switch.

Table 1-1 Default Settings for Basic Switch Operation

Feature

Default Setting

 

 

Switch Mode Defaults

 

 

 

CDP discovery protocol

Auto enabled on all ports.

 

 

CDP authentication code

Set to 00-00-00-00-00-00-00-00

 

 

CDP hold time

Set to 180 seconds.

 

 

CDP interval

Transmit frequency of CDP messages set to 60 seconds.

 

 

Cisco discovery protocol

Auto enabled on all ports.

 

 

Cisco DP hold time

Set to 180 seconds.

 

 

Cisco DP interval timer

Set to 60 seconds.

 

 

Community name

Public.

 

 

Console (serial) port

Baud rate: 9600

required settings

Data bits: 8

 

 

Flow control: disabled

 

Stop bits: 1

 

Parity: none

 

 

DHCP server

Disabled.

 

 

EAPOL

Disabled.

 

 

EAPOL authentication

When enabled, set to auto for all ports.

mode

 

 

 

GARP timer

Join timer set to 20 centiseconds; leave timer set to 60 centiseconds; leaveall

 

timer set to 1000 centiseconds.

 

 

GVRP

Globally enabled.

 

 

History buffer size

20 lines.

 

 

IEEE 802.1 authentication

Disabled.

 

 

IGMP snooping

Disabled. When enabled, query interval is set to 260 seconds and response

 

time is set to 10 seconds.

 

 

IP mask and gateway

Subnet mask set to 0.0.0.0; default gateway set to 0.0.0.0.

 

 

IP routes

No static routes configured.

 

 

Jumbo frame support

Enabled on all ports.

 

 

Link aggregation control

Enabled.

protocol (LACP)

 

 

 

Link aggregation admin

Set to 32768 for all ports.

key

 

1-2 Introduction

Loading...
+ 466 hidden pages