enterasys switch
TRANSCRIPT
-
8/15/2019 Enterasys Switch
1/730
SecureStack C3
Stackable Switches
Configuration GuideFirmware Version 1.00.xx
P/N 9034313-02
-
8/15/2019 Enterasys Switch
2/730
-
8/15/2019 Enterasys Switch
3/730
i
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 RoadAndover, MA 01810
© 2007 Enterasys Networks, Inc. All rights reserved.
Part Number: 9034313‐02 March 2007
ENTERASYS NETWORKS,
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 SecureStack C3 firmware version 1.00.xx
http://www.enterasys.com/support/manualshttp://www.enterasys.com/support/manualshttp://www.enterasys.com/support/manualshttp://www.enterasys.com/support/manualshttp://www.enterasys.com/support/manualshttp://www.enterasys.com/support/manualshttp://www.enterasys.com/support/manualshttp://www.enterasys.com/support/manualshttp://www.enterasys.com/support/manuals
-
8/15/2019 Enterasys Switch
4/730
ii
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 installed on the Enterasys product (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, or 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, and supersedes all prior discussions, representations, understandings or agreements, whether oral or in writing, 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:
(i) Reverse engineer, decompile, disassemble or modify the Program, in whole or in part, including for reasons of error correction orinteroperability, 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 isavailable from Enterasys upon request and upon payment of Enterasys’ applicable fee.
(ii) 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.
(iii) Publish, disclose, copy, reproduce or transmit the Program, in whole or in part.
(iv) Assign, sell, license, sublicense, rent, lease, encumber by way of security interest, pledge or otherwise transfer the Program, inwhole or in part.
(v) Remove any copyright, trademark, proprietary rights, disclaimer or warning notice included on or embedded in any part of theProgram.
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 Contracts for the International Sale of Goods, the 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.
-
8/15/2019 Enterasys Switch
5/730
iii
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 Program 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 Sections 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, Bulgaria, Cambodia, Cuba, Estonia, Georgia, Iraq, Kazakhstan, Kyrgyzstan, Laos, Latvia, Libya, Lithuania, Moldova, North Korea, the People’s Republic of China, Romania, Russia, Rwanda, 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 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.
-
8/15/2019 Enterasys Switch
6/730
iv
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 or 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.
-
8/15/2019 Enterasys Switch
7/730
v
Contents
About This GuideUsing This Guide .......................................................................................................................................... xxvii
Structure of This Guide ................................................................................................................................. xxvii
Related Documents ....................................................................................................................................... xxixConventions Used in This Guide ................................................................................................................... xxix
Getting Help ....................................................................................................................................................xxx
Chapter 1: IntroductionSecureStack C3 CLI Overview ....................................................................................................................... 1-1
Switch Management Methods ........................................................................................................................ 1-2
Factory Default Settings .................................................................................................................................1-2
Using the Command Line Interface ................................................................................................................ 1-6
Starting a CLI Session ............................................................................................................................. 1-6
Logging In ................................................................................................................................................ 1-7
Navigating the Command Line Interface .................................................................................................. 1-8
Chapter 2: Configuring Switches in a Stack About SecureStack C3 Switch Operation in a Stack ...................................................................................... 2-1
Installing a New Stackable System of Up to Eight Units ................................................................................ 2-2
Installing Previously-Configured Systems in a Stack ..................................................................................... 2-3
Adding a New Unit to an Existing Stack ......................................................................................................... 2-3
Creating a Virtual Switch Configuration ..........................................................................................................2-4
Considerations About Using Clear Config in a Stack ..................................................................................... 2-5
Issues Related to Mixed Type Stacks ............................................................................................................ 2-5
Feature Support ....................................................................................................................................... 2-5
Configuration ............................................................................................................................................2-5
Stacking Configuration and Management Commands ................................................................................... 2-6
Purpose .................................................................................................................................................... 2-6
Commands ...............................................................................................................................................2-6show switch ........................................................................................................................................2-7
show switch switchtype ......................................................................................................................2-8
show switch stack-ports......................................................................................................................2-9
set switch..........................................................................................................................................2-10
set switch copy-fw ............................................................................................................................2-10
set switch description .......................................................................................................................2-11
set switch movemanagement ...........................................................................................................2-11
set switch member............................................................................................................................2-12
clear switch member.........................................................................................................................2-13
Chapter 3: Basic Configuration
Setting User Accounts and Passwords .......................................................................................................... 3-2Purpose .................................................................................................................................................... 3-2
Commands ...............................................................................................................................................3-2
show system login ..............................................................................................................................3-2
set system login..................................................................................................................................3-3
clear system login...............................................................................................................................3-4
set password ......................................................................................................................................3-4
set system password length ...............................................................................................................3-5
set system password aging ................................................................................................................3-6
set system password history ..............................................................................................................3-6
-
8/15/2019 Enterasys Switch
8/730
vi
show system lockout ..........................................................................................................................3-7
set system lockout ..............................................................................................................................3-8
Setting Basic Switch Properties ......................................................................................................................3-9
Purpose .................................................................................................................................................... 3-9
Commands ...............................................................................................................................................3-9
show ip address................................................................................................................................3-10
set ip address ...................................................................................................................................3-10
clear ip address ................................................................................................................................3-11
show ip protocol................................................................................................................................3-11
set ip protocol ...................................................................................................................................3-12
show system.....................................................................................................................................3-12
show system hardware.....................................................................................................................3-13
show system utilization.....................................................................................................................3-14
set system enhancedbuffermode .....................................................................................................3-15
show time .........................................................................................................................................3-15
set time .............................................................................................................................................3-16
show summertime ............................................................................................................................3-17
set summertime................................................................................................................................3-17
set summertime date........................................................................................................................3-18
set summertime recurring.................................................................................................................3-18
clear summertime.............................................................................................................................3-19set prompt.........................................................................................................................................3-19
show banner motd............................................................................................................................3-20
set banner motd................................................................................................................................3-20
clear banner motd.............................................................................................................................3-21
show version.....................................................................................................................................3-21
set system name ..............................................................................................................................3-22
set system location ...........................................................................................................................3-24
set system contact ............................................................................................................................3-24
set width ...........................................................................................................................................3-25
set length..........................................................................................................................................3-25
show logout ......................................................................................................................................3-26
set logout .........................................................................................................................................3-26
show console....................................................................................................................................3-27set console baud ..............................................................................................................................3-28
Activating Licensed Features ....................................................................................................................... 3-29
License Key Field Descriptions .............................................................................................................. 3-29
Licensing Procedure in a Stack Environment ........................................................................................ 3-29
Adding a New Member to a Licensed Stack .......................................................................................... 3-30
Clearing, Showing, and Moving Licenses .............................................................................................. 3-30
Commands .............................................................................................................................................3-30
set license.........................................................................................................................................3-31
show license .....................................................................................................................................3-32
clear license......................................................................................................................................3-33
Configuring Power over Ethernet (PoE) ....................................................................................................... 3-34
Purpose .................................................................................................................................................. 3-34
Commands .............................................................................................................................................3-34show inlinepower ..............................................................................................................................3-35
set inlinepower threshold..................................................................................................................3-35
set inlinepower trap ..........................................................................................................................3-36
show port inlinepower.......................................................................................................................3-36
set port inlinepower ..........................................................................................................................3-37
Downloading a New Firmware Image ........................................................................................................... 3-38
Downloading from a TFTP Server .......................................................................................................... 3-38
Downloading via the Serial Port ............................................................................................................. 3-38
-
8/15/2019 Enterasys Switch
9/730
vii
Reviewing and Selecting a Boot Firmware Image ........................................................................................ 3-41
Purpose .................................................................................................................................................. 3-41
Commands .............................................................................................................................................3-41
show boot system.............................................................................................................................3-41
set boot system ................................................................................................................................3-42
Starting and Configuring Telnet .................................................................................................................... 3-43
Purpose .................................................................................................................................................. 3-43
Commands .............................................................................................................................................3-43
show telnet .......................................................................................................................................3-43
set telnet...........................................................................................................................................3-44
telnet.................................................................................................................................................3-44
Managing Switch Configuration and Files .................................................................................................... 3-45
Configuration Persistence Mode ............................................................................................................ 3-45
Purpose .................................................................................................................................................. 3-45
Commands .............................................................................................................................................3-45
show snmp persistmode...................................................................................................................3-46
set snmp persistmode ......................................................................................................................3-46
save config .......................................................................................................................................3-47
dir......................................................................................................................................................3-47
show config.......................................................................................................................................3-48
configure...........................................................................................................................................3-49copy..................................................................................................................................................3-50
delete................................................................................................................................................3-50
show tftp settings..............................................................................................................................3-51
set tftp timeout..................................................................................................................................3-51
clear tftp timeout ...............................................................................................................................3-52
set tftp retry.......................................................................................................................................3-52
clear tftp retry....................................................................................................................................3-53
Configuring CDP ...........................................................................................................................................3-54
Purpose .................................................................................................................................................. 3-54
Commands .............................................................................................................................................3-54
show cdp ..........................................................................................................................................3-54
set cdp state .....................................................................................................................................3-56
set cdp auth ......................................................................................................................................3-56set cdp interval .................................................................................................................................3-57
set cdp hold-time ..............................................................................................................................3-58
clear cdp...........................................................................................................................................3-58
show neighbors ................................................................................................................................3-59
Configuring Cisco Discovery Protocol .......................................................................................................... 3-60
Purpose .................................................................................................................................................. 3-60
Commands .............................................................................................................................................3-60
show ciscodp ....................................................................................................................................3-60
show ciscodp port info ......................................................................................................................3-61
set ciscodp status.............................................................................................................................3-62
set ciscodp timer...............................................................................................................................3-63
set ciscodp holdtime .........................................................................................................................3-63
set ciscodp port ................................................................................................................................3-64clear ciscodp.....................................................................................................................................3-65
Clearing and Closing the CLI ........................................................................................................................3-67
Purpose .................................................................................................................................................. 3-67
Commands .............................................................................................................................................3-67
cls (clear screen) ..............................................................................................................................3-67
exit ....................................................................................................................................................3-68
Resetting the Switch ..................................................................................................................................... 3-69
Purpose .................................................................................................................................................. 3-69
Commands .............................................................................................................................................3-69
-
8/15/2019 Enterasys Switch
10/730
viii
reset..................................................................................................................................................3-69
clear config .......................................................................................................................................3-70
Using and Configuring WebView .................................................................................................................. 3-71
Purpose .................................................................................................................................................. 3-71
Commands .............................................................................................................................................3-71
show webview ..................................................................................................................................3-71
set webview ......................................................................................................................................3-72
show ssl............................................................................................................................................3-72
set ssl ...............................................................................................................................................3-73
Chapter 4: Port ConfigurationPort Configuration Summary .......................................................................................................................... 4-1
Port String Syntax Used in the CLI .......................................................................................................... 4-1
Reviewing Port Status ....................................................................................................................................4-2
Purpose .................................................................................................................................................... 4-2
Commands ...............................................................................................................................................4-2
show port ............................................................................................................................................4-3
show port status .................................................................................................................................4-4
show port counters .............................................................................................................................4-5
Disabling / Enabling and Naming Ports .......................................................................................................... 4-6
Purpose .................................................................................................................................................... 4-6Commands ...............................................................................................................................................4-6
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-12Purpose .................................................................................................................................................. 4-12
Commands .............................................................................................................................................4-12
show port jumbo ...............................................................................................................................4-12
set port jumbo...................................................................................................................................4-14
clear port jumbo................................................................................................................................4-14
Setting Auto-Negotiation and Advertised Ability ........................................................................................... 4-15
Purpose .................................................................................................................................................. 4-15
Commands .............................................................................................................................................4-15
show port negotiation .......................................................................................................................4-15
set port negotiation...........................................................................................................................4-16
show port advertise ..........................................................................................................................4-16
set port advertise ..............................................................................................................................4-17clear port advertise ...........................................................................................................................4-18
Setting Flow Control ..................................................................................................................................... 4-19
Purpose .................................................................................................................................................. 4-19
Commands .............................................................................................................................................4-19
show flowcontrol ...............................................................................................................................4-19
set flowcontrol...................................................................................................................................4-20
Setting Port Link Traps and Link Flap Detection .......................................................................................... 4-20
Purpose .................................................................................................................................................. 4-20
Commands .............................................................................................................................................4-20
-
8/15/2019 Enterasys Switch
11/730
-
8/15/2019 Enterasys Switch
12/730
x
Chapter 5: SNMP ConfigurationSNMP 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-4Purpose .................................................................................................................................................... 5-4
Commands ...............................................................................................................................................5-4
show snmp engineid...........................................................................................................................5-4
show snmp counters...........................................................................................................................5-5
Configuring SNMP Users, Groups, and Communities .................................................................................... 5-8
Purpose .................................................................................................................................................... 5-8
Commands ...............................................................................................................................................5-8
show snmp user .................................................................................................................................5-9
set snmp user...................................................................................................................................5-10
clear snmp user................................................................................................................................5-11
show snmp group .............................................................................................................................5-11
set snmp group.................................................................................................................................5-12
clear snmp group..............................................................................................................................5-13show snmp community .....................................................................................................................5-13
set snmp community.........................................................................................................................5-14
clear snmp community......................................................................................................................5-15
Configuring SNMP Access Rights ................................................................................................................ 5-16
Purpose .................................................................................................................................................. 5-16
Commands .............................................................................................................................................5-16
show snmp access ...........................................................................................................................5-16
set snmp access...............................................................................................................................5-18
clear snmp access............................................................................................................................5-19
Configuring SNMP MIB Views ...................................................................................................................... 5-20
Purpose .................................................................................................................................................. 5-20
Commands .............................................................................................................................................5-20
show snmp view ...............................................................................................................................5-20show snmp context...........................................................................................................................5-22
set snmp view...................................................................................................................................5-23
clear snmp view................................................................................................................................5-24
Configuring SNMP Target Parameters ......................................................................................................... 5-25
Purpose .................................................................................................................................................. 5-25
Commands .............................................................................................................................................5-25
show snmp targetparams .................................................................................................................5-25
set snmp targetparams.....................................................................................................................5-27
clear snmp targetparams..................................................................................................................5-28
Configuring SNMP Target Addresses .......................................................................................................... 5-29
Purpose .................................................................................................................................................. 5-29
Commands .............................................................................................................................................5-29
show snmp targetaddr......................................................................................................................5-29
set snmp targetaddr..........................................................................................................................5-30
clear snmp targetaddr.......................................................................................................................5-31
Configuring SNMP Notification Parameters ................................................................................................. 5-33
About SNMP Notify Filters ..................................................................................................................... 5-33
Purpose .................................................................................................................................................. 5-33
Commands .............................................................................................................................................5-33
show newaddrtrap ............................................................................................................................5-34
set newaddrtrap................................................................................................................................5-35
-
8/15/2019 Enterasys Switch
13/730
xi
show snmp notify..............................................................................................................................5-36
set snmp notify .................................................................................................................................5-37
clear snmp notify ..............................................................................................................................5-38
show snmp notifyfilter .......................................................................................................................5-38
set snmp notifyfilter...........................................................................................................................5-39
clear snmp notifyfilter........................................................................................................................5-40
show snmp notifyprofile....................................................................................................................5-40
set snmp notifyprofile........................................................................................................................5-41
clear snmp notifyprofile.....................................................................................................................5-42
Creating a Basic SNMP Trap Configuration ................................................................................................. 5-43
Example ................................................................................................................................................. 5-43
Chapter 6: Spanning Tree ConfigurationSpanning Tree Configuration Summary ......................................................................................................... 6-1
Overview: Single, Rapid, and Multiple Spanning Tree Protocols ........... .................................................. 6-1
Spanning Tree Features ..........................................................................................................................6-2
Reviewing and Setting Spanning Tree Bridge Parameters ............................................................................ 6-3
Purpose .................................................................................................................................................... 6-3
Commands ...............................................................................................................................................6-3
show spantree stats............................................................................................................................6-5
set spantree........................................................................................................................................6-7show spantree version........................................................................................................................6-7
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-11
set spantree msti ..............................................................................................................................6-12
clear spantree msti ...........................................................................................................................6-12
show spantree mstmap ....................................................................................................................6-13
set spantree mstmap........................................................................................................................6-13clear spantree mstmap.....................................................................................................................6-14
show spantree vlanlist ......................................................................................................................6-14
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-20clear 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-24
set spantree protomigration..............................................................................................................6-24
show spantree spanguard ................................................................................................................6-25
-
8/15/2019 Enterasys Switch
14/730
xii
set spantree spanguard....................................................................................................................6-25
clear spantree spanguard.................................................................................................................6-26
show spantree spanguardtimeout ....................................................................................................6-26
set spantree spanguardtimeout........................................................................................................6-27
clear spantree spanguardtimeout .....................................................................................................6-27
show spantree spanguardlock..........................................................................................................6-28
clear / set spantree spanguardlock...................................................................................................6-28
show spantree spanguardtrapenable ...............................................................................................6-29
set spantree spanguardtrapenable...................................................................................................6-29
clear spantree spanguardtrapenable................................................................................................6-30
show spantree legacypathcost .........................................................................................................6-30
set spantree legacypathcost.............................................................................................................6-31
clear spantree legacypathcost..........................................................................................................6-31
Reviewing and Setting Spanning Tree Port Parameters .............................................................................. 6-32
Purpose .................................................................................................................................................. 6-32
Commands .............................................................................................................................................6-32
set spantree portadmin.....................................................................................................................6-33
clear spantree portadmin..................................................................................................................6-33
show spantree portadmin .................................................................................................................6-34
show spantree portpri .......................................................................................................................6-34
set spantree portpri...........................................................................................................................6-35clear spantree portpri........................................................................................................................6-35
show spantree adminpathcost ..........................................................................................................6-36
set spantree adminpathcost .............................................................................................................6-37
clear spantree adminpathcost ..........................................................................................................6-37
show spantree adminedge ...............................................................................................................6-38
set spantree adminedge...................................................................................................................6-38
clear spantree adminedge................................................................................................................6-39
Chapter 7: 802.1Q VLAN ConfigurationVLAN Configuration Summary .......................................................................................................................7-1
Port String Syntax Used in the CLI .......................................................................................................... 7-1
Creating a Secure Management VLAN .................................................................................................... 7-1
Viewing VLANs ...............................................................................................................................................7-3Purpose .................................................................................................................................................... 7-3
Commands ...............................................................................................................................................7-3
show vlan............................................................................................................................................7-3
Creating and Naming Static VLANs ............................................................................................................... 7-5
Purpose .................................................................................................................................................... 7-5
Commands ...............................................................................................................................................7-5
set vlan ...............................................................................................................................................7-5
set vlan name .....................................................................................................................................7-6
clear vlan ............................................................................................................................................7-6
clear vlan name ..................................................................................................................................7-7
Assigning Port VLAN IDs (PVIDs) and Ingress Filtering ................................................................................ 7-8
Purpose .................................................................................................................................................... 7-8Commands ...............................................................................................................................................7-8
show port vlan ....................................................................................................................................7-8
set port vlan........................................................................................................................................7-9
clear port vlan ...................................................................................................................................7-10
show port ingress filter......................................................................................................................7-10
set port ingress filter .........................................................................................................................7-11
show port discard .............................................................................................................................7-12
set port discard .................................................................................................................................7-13
-
8/15/2019 Enterasys Switch
15/730
xiii
Configuring the VLAN Egress List ................................................................................................................ 7-14
Purpose .................................................................................................................................................. 7-14
Commands .............................................................................................................................................7-14
show port egress ..............................................................................................................................7-15
set vlan forbidden .............................................................................................................................7-15
set vlan egress .................................................................................................................................7-16
clear vlan egress ..............................................................................................................................7-17
show vlan dynamicegress ................................................................................................................7-18
set vlan dynamicegress ....................................................................................................................7-19
Setting the Host VLAN ..................................................................................................................................7-20
Purpose .................................................................................................................................................. 7-20
Commands .............................................................................................................................................7-20
show host vlan..................................................................................................................................7-20
set host vlan .....................................................................................................................................7-21
clear host vlan ..................................................................................................................................7-22
Enabling/Disabling GVRP (GARP VLAN Registration Protocol) .................................................................. 7-23
About GARP VLAN Registration Protocol (GVRP) ................................................................................ 7-23
Purpose .................................................................................................................................................. 7-24
Commands .............................................................................................................................................7-24
show gvrp .........................................................................................................................................7-25
show garp timer................................................................................................................................7-25set gvrp.............................................................................................................................................7-27
clear gvrp..........................................................................................................................................7-27
set garp timer....................................................................................................................................7-28
Chapter 8: Policy Classification ConfigurationPolicy Classification Configuration Summary ................................................................................................. 8-1
Configuring Policy Profiles .............................................................................................................................. 8-2
Purpose .................................................................................................................................................... 8-2
Commands ...............................................................................................................................................8-2
show policy profile ..............................................................................................................................8-2
set policy profile..................................................................................................................................8-4
clear policy profile...............................................................................................................................8-5
Configuring Classification Rules ..................................................................................................................... 8-6Purpose .................................................................................................................................................... 8-6
Commands ...............................................................................................................................................8-6
show policy rule ..................................................................................................................................8-6
show policy capability .........................................................................................................................8-9
set policy rule....................................................................................................................................8-11
clear policy rule.................................................................................................................................8-13
clear policy all-rules ..........................................................................................................................8-14
Assigning Ports to Policy Profiles ................................................................................................................. 8-15
Purpose .................................................................................................................................................. 8-15
Commands .............................................................................................................................................8-15
set policy port ...................................................................................................................................8-15
clear policy port ................................................................................................................................8-16Configuring Policy Class of Service (CoS) ................................................................................................... 8-17
Using Port-Based or Policy-Based CoS Settings ................................................................................... 8-17
Commands .............................................................................................................................................8-17
set cos state .....................................................................................................................................8-18
show cos state..................................................................................................................................8-18
clear cos state ..................................................................................................................................8-19
set cos settings.................................................................................................................................8-19
clear cos settings..............................................................................................................................8-20
show cos settings .............................................................................................................................8-21
clear cos all-entries...........................................................................................................................8-21
-
8/15/2019 Enterasys Switch
16/730
xiv
Chapter 9: Port Priority ConfigurationPort Priority Configuration Summary .............................................................................................................. 9-1
Configuring Port Priority .................................................................................................................................9-2
Purpose .................................................................................................................................................... 9-2
Commands ...............................................................................................................................................9-2
show port priority ................................................................................................................................9-2
set port priority....................................................................................................................................9-3
clear port priority.................................................................................................................................9-4Configuring Priority to Transmit Queue Mapping ........................................................................................... 9-5
Purpose .................................................................................................................................................... 9-5
Commands ...............................................................................................................................................9-5
show port priority-queue .....................................................................................................................9-5
set port priority-queue.........................................................................................................................9-6
clear port priority-queue......................................................................................................................9-7
Configuring Quality of Service (QoS) .............................................................................................................9-8
Purpose .................................................................................................................................................... 9-8
Command Descriptions ............................................................................................................................ 9-8
show port txq ......................................................................................................................................9-8
set port txq..........................................................................................................................................9-9
clear port txq.....................................................................................................................................9-10
Chapter 10: IGMP ConfigurationIGMP Overview ............................................................................................................................................10-1
About IP Multicast Group Management ................................................................................................. 10-1
About Multicasting .................................................................................................................................. 10-2
Configuring IGMP at Layer 2 ........................................................................................................................ 10-2
Purpose .................................................................................................................................................. 10-2
Commands .............................................................................................................................................10-2
show igmpsnooping..........................................................................................................................10-3
set igmpsnooping adminmode..........................................................................................................10-3
set igmpsnooping interfacemode......................................................................................................10-4
set igmpsnooping groupmembershipinterval....................................................................................10-5
set igmpsnooping maxresponse.......................................................................................................10-5
set igmpsnooping mcrtrexpiretime....................................................................................................10-6
set igmpsnooping add-static.............................................................................................................10-7
set igmpsnooping remove-static.......................................................................................................10-7
show igmpsnooping static ................................................................................................................10-8
show igmpsnooping mfdb.................................................................................................................10-9
clear igmpsnooping ........................................................................................................................10-10
Configuring IGMP on Routing Interfaces .................................................................................................... 10-11
Purpose ................................................................................................................................................ 10-11
Commands ........................................................................................................................................... 10-11
ip igmp............................................................................................................................................10-12