Date post: | 08-Nov-2015 |
Category: |
Documents |
Upload: | casadorio2002 |
View: | 106 times |
Download: | 9 times |
Enterasys B5Stackable Switches
CLI ReferenceFirmware Version 6.42.xx.xxxx or Higher
P/N 9034525-02
iNoticeEnterasysNetworksreservestherighttomakechangesinspecificationsandotherinformationcontainedinthisdocumentanditswebsitewithoutpriornotice.ThereadershouldinallcasesconsultEnterasysNetworkstodeterminewhetheranysuchchangeshavebeenmade.Thehardware,firmware,orsoftwaredescribedinthisdocumentissubjecttochangewithoutnotice.INNOEVENTSHALLENTERASYSNETWORKSBELIABLEFORANYINCIDENTAL,INDIRECT,SPECIAL,ORCONSEQUENTIALDAMAGESWHATSOEVER(INCLUDINGBUTNOTLIMITEDTOLOSTPROFITS)ARISINGOUTOFORRELATEDTOTHISDOCUMENT,WEBSITE,ORTHEINFORMATIONCONTAINEDINTHEM,EVENIFENTERASYSNETWORKSHASBEENADVISEDOF,KNEWOF,ORSHOULDHAVEKNOWNOF,THEPOSSIBILITYOFSUCHDAMAGES.
EnterasysNetworks,Inc.50MinutemanRoadAndover,MA01810
2011EnterasysNetworks,Inc.Allrightsreserved.PartNumber: 903452502 January2011
ENTERASYS,ENTERASYSNETWORKS,ENTERASYSSECURENETWORKS,ENTERASYSNETSIGHT,WEBVIEW,andanylogosassociatedtherewith,aretrademarksorregisteredtrademarksofEnterasysNetworks,Inc.intheUnitedStatesandothercountries.ForacompletelistofEnterasystrademarks,seehttp://www.enterasys.com/company/trademarks.aspx.
Allotherproductnamesmentionedinthismanualmaybetrademarksorregisteredtrademarksoftheirrespectivecompanies.
DocumentationURL:https://extranet.enterasys.com/downloads/
Version: Information in this guide refers to Enterasys B5 firmware version 6.42.xx.xxxx or higher.
ii
Enterasys Networks, Inc. Firmware License AgreementBEFORE OPENING OR UTILIZING THE ENCLOSED PRODUCT,
CAREFULLY READ THIS LICENSE AGREEMENT.Thisdocumentisanagreement(Agreement)betweentheenduser(You)andEnterasysNetworks,Inc.,onbehalfofitselfanditsAffiliates(ashereinafterdefined)(Enterasys)thatsetsforthYourrightsandobligationswithrespecttotheEnterasyssoftwareprogram/firmware(includinganyaccompanyingdocumentation,hardwareormedia)(Program)inthepackageandprevailsoveranyadditional,conflictingorinconsistenttermsandconditionsappearingonanypurchaseorderorotherdocumentsubmittedbyYou.Affiliatemeansanyperson,partnership,corporation,limitedliabilitycompany,otherformofenterprisethatdirectlyorindirectlythroughoneormoreintermediaries,controls,oriscontrolledby,orisundercommoncontrolwiththepartyspecified.ThisAgreementconstitutestheentireunderstandingbetweentheparties,withrespecttothesubjectmatterofthisAgreement.TheProgrammaybecontainedinfirmware,chipsorothermedia.BYINSTALLINGOROTHERWISEUSINGTHEPROGRAM,YOUREPRESENTTHATYOUAREAUTHORIZEDTOACCEPTTHESETERMSONBEHALFOFTHEENDUSER(IFTHEENDUSERISANENTITYONWHOSEBEHALFYOUAREAUTHORIZEDTOACT,YOUANDYOURSHALLBEDEEMEDTOREFERTOSUCHENTITY)ANDTHATYOUAGREETHATYOUAREBOUNDBYTHETERMSOFTHISAGREEMENT,WHICHINCLUDES,AMONGOTHERPROVISIONS,THELICENSE,THEDISCLAIMEROFWARRANTYANDTHELIMITATIONOFLIABILITY.IFYOUDONOTAGREETOTHETERMSOFTHISAGREEMENTORARENOTAUTHORIZEDTOENTERINTOTHISAGREEMENT,ENTERASYSISUNWILLINGTOLICENSETHEPROGRAMTOYOUANDYOUAGREETORETURNTHEUNOPENEDPRODUCTTOENTERASYSORYOURDEALER,IFANY,WITHINTEN(10)DAYSFOLLOWINGTHEDATEOFRECEIPTFORAFULLREFUND.IFYOUHAVEANYQUESTIONSABOUTTHISAGREEMENT,CONTACTENTERASYSNETWORKS,LEGALDEPARTMENTAT(978)6841000.YouandEnterasysagreeasfollows:1. LICENSE. Youhavethenonexclusiveandnontransferablerighttouseonlytheone(1)copyoftheProgramprovidedinthispackagesubjecttothetermsandconditionsofthisAgreement.2. RESTRICTIONS. ExceptasotherwiseauthorizedinwritingbyEnterasys,Youmaynot,normayYoupermitanythirdpartyto:
(a) Reverseengineer,decompile,disassembleormodifytheProgram,inwholeorinpart,includingforreasonsoferrorcorrectionorinteroperability,excepttotheextentexpresslypermittedbyapplicablelawandtotheextentthepartiesshallnotbepermittedbythatapplicablelaw,suchrightsareexpresslyexcluded.InformationnecessarytoachieveinteroperabilityorcorrecterrorsisavailablefromEnterasysuponrequestanduponpaymentofEnterasysapplicablefee.
(b) IncorporatethePrograminwholeorinpart,inanyotherproductorcreatederivativeworksbasedontheProgram,inwholeorinpart.
(c) Publish,disclose,copyreproduceortransmittheProgram,inwholeorinpart.(d) Assign,sell,license,sublicense,rent,lease,encumberbywayofsecurityinterest,pledgeorotherwisetransfer
theProgram,inwholeorinpart.(e) Removeanycopyright,trademark,proprietaryrights,disclaimerorwarningnoticeincludedonorembedded
inanypartoftheProgram.3. APPLICABLELAW. ThisAgreementshallbeinterpretedandgovernedunderthelawsandinthestateandfederalcourtsoftheCommonwealthofMassachusettswithoutregardtoitsconflictsoflawsprovisions.YouacceptthepersonaljurisdictionandvenueoftheCommonwealthofMassachusettscourts.Noneofthe1980UnitedNationsConventionontheLimitationPeriodintheInternationalSaleofGoods,andtheUniformComputerInformationTransactionsActshallapplytothisAgreement.4. EXPORTRESTRICTIONS. YouunderstandthatEnterasysanditsAffiliatesaresubjecttoregulationbyagenciesoftheU.S.Government,includingtheU.S.DepartmentofCommerce,whichprohibitexportordiversionofcertaintechnicalproductstocertaincountries,unlessalicensetoexporttheproductisobtainedfromtheU.S.Governmentoranexceptionfromobtainingsuchlicensemayberelieduponbytheexportingparty.
IftheProgramisexportedfromtheUnitedStatespursuanttotheLicenseExceptionCIVundertheU.S.ExportAdministrationRegulations,YouagreethatYouareacivilenduseroftheProgramandagreethatYouwillusetheProgramforcivilendusesonlyandnotformilitarypurposes.
iii
IftheProgramisexportedfromtheUnitedStatespursuanttotheLicenseExceptionTSRundertheU.S.ExportAdministrationRegulations,inadditiontotherestrictionontransfersetforthinSection1or2ofthisAgreement,Youagreenotto(i)reexportorreleasetheProgram,thesourcecodefortheProgramortechnologytoanationalofacountryinCountryGroupsD:1orE:2(Albania,Armenia,Azerbaijan,Belarus,Cambodia,Cuba,Georgia,Iraq,Kazakhstan,Laos,Libya,Macau,Moldova,Mongolia,NorthKorea,thePeoplesRepublicofChina,Russia,Tajikistan,Turkmenistan,Ukraine,Uzbekistan,Vietnam,orsuchothercountriesasmaybedesignatedbytheUnitedStatesGovernment),(ii)exporttoCountryGroupsD:1orE:2(asdefinedherein)thedirectproductoftheProgramorthetechnology,ifsuchforeignproduceddirectproductissubjecttonationalsecuritycontrolsasidentifiedontheU.S.CommerceControlList,or(iii)ifthedirectproductofthetechnologyisacompleteplantoranymajorcomponentofaplant,exporttoCountryGroupsD:1orE:2thedirectproductoftheplantoramajorcomponentthereof,ifsuchforeignproduceddirectproductissubjecttonationalsecuritycontrolsasidentifiedontheU.S.CommerceControlListorissubjecttoStateDepartmentcontrolsundertheU.S.MunitionsList.5. UNITEDSTATESGOVERNMENTRESTRICTEDRIGHTS. TheenclosedProgram(i)wasdevelopedsolelyatprivateexpense;(ii)containsrestrictedcomputersoftwaresubmittedwithrestrictedrightsinaccordancewithsection52.22719(a)through(d)oftheCommercialComputerSoftwareRestrictedRightsClauseanditssuccessors,and(iii)inallrespectsisproprietarydatabelongingtoEnterasysand/oritssuppliers.ForDepartmentofDefenseunits,theProgramisconsideredcommercialcomputersoftwareinaccordancewithDFARSsection227.72023anditssuccessors,anduse,duplication,ordisclosurebytheU.S.Governmentissubjecttorestrictionssetforthherein.6. DISCLAIMEROFWARRANTY. EXCEPTFORTHOSEWARRANTIESEXPRESSLYPROVIDEDTOYOUINWRITINGBYENTERASYS,ENTERASYSDISCLAIMSALLWARRANTIES,EITHEREXPRESSORIMPLIED,INCLUDINGBUTNOTLIMITEDTOIMPLIEDWARRANTIESOFMERCHANTABILITY,SATISFACTORYQUALITY,FITNESSFORAPARTICULARPURPOSE,TITLEANDNONINFRINGEMENTWITHRESPECTTOTHEPROGRAM.IFIMPLIEDWARRANTIESMAYNOTBEDISCLAIMEDBYAPPLICABLELAW,THENANYIMPLIEDWARRANTIESARELIMITEDINDURATIONTOTHIRTY(30)DAYSAFTERDELIVERYOFTHEPROGRAMTOYOU.7. LIMITATIONOFLIABILITY. INNOEVENTSHALLENTERASYSORITSSUPPLIERSBELIABLEFORANYDAMAGESWHATSOEVER(INCLUDING,WITHOUTLIMITATION,DAMAGESFORLOSSOFBUSINESS,PROFITS,BUSINESSINTERRUPTION,LOSSOFBUSINESSINFORMATION,SPECIAL,INCIDENTAL,CONSEQUENTIAL,ORRELIANCEDAMAGES,OROTHERLOSS)ARISINGOUTOFTHEUSEORINABILITYTOUSETHEPROGRAM,EVENIFENTERASYSHASBEENADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGES.THISFOREGOINGLIMITATIONSHALLAPPLYREGARDLESSOFTHECAUSEOFACTIONUNDERWHICHDAMAGESARESOUGHT.
THECUMULATIVELIABILITYOFENTERASYSTOYOUFORALLCLAIMSRELATINGTOTHEPROGRAM,INCONTRACT,TORTOROTHERWISE,SHALLNOTEXCEEDTHETOTALAMOUNTOFFEESPAIDTOENTERASYSBYYOUFORTHERIGHTSGRANTEDHEREIN.8. AUDITRIGHTS. YouherebyacknowledgethattheintellectualpropertyrightsassociatedwiththeProgramareofcriticalvaluetoEnterasys,and,accordingly,Youherebyagreetomaintaincompletebooks,recordsandaccountsshowing(i)licensefeesdueandpaid,and(ii)theuse,copyinganddeploymentoftheProgram.YoualsogranttoEnterasysanditsauthorizedrepresentatives,uponreasonablenotice,therighttoauditandexamineduringYournormalbusinesshours,Yourbooks,records,accountsandhardwaredevicesuponwhichtheProgrammaybedeployedtoverifycompliancewiththisAgreement,includingtheverificationofthelicensefeesdueandpaidEnterasysandtheuse,copyinganddeploymentoftheProgram.Enterasysrightofexaminationshallbeexercisedreasonably,ingoodfaithandinamannercalculatedtonotunreasonablyinterferewithYourbusiness.IntheeventsuchauditdiscoversnoncompliancewiththisAgreement,includingcopiesoftheProgrammade,usedordeployedinbreachofthisAgreement,YoushallpromptlypaytoEnterasystheappropriatelicensefees.Enterasysreservestheright,tobeexercisedinitssolediscretionandwithoutpriornotice,toterminatethislicense,effectiveimmediately,forfailuretocomplywiththisAgreement.Uponanysuchtermination,YoushallimmediatelyceasealluseoftheProgramandshallreturntoEnterasystheProgramandallcopiesoftheProgram.9. OWNERSHIP. Thisisalicenseagreementandnotanagreementforsale.YouacknowledgeandagreethattheProgramconstitutestradesecretsand/orcopyrightedmaterialofEnterasysand/oritssuppliers.Youagreetoimplementreasonablesecuritymeasurestoprotectsuchtradesecretsandcopyrightedmaterial.Allright,titleandinterestinandtotheProgramshallremainwithEnterasysand/oritssuppliers.AllrightsnotspecificallygrantedtoYoushallbereservedtoEnterasys.
iv
10. ENFORCEMENT. YouacknowledgeandagreethatanybreachofSections2,4,or9ofthisAgreementbyYoumaycauseEnterasysirreparabledamageforwhichrecoveryofmoneydamageswouldbeinadequate,andthatEnterasysmaybeentitledtoseektimelyinjunctiverelieftoprotectEnterasysrightsunderthisAgreementinadditiontoanyandallremediesavailableatlaw.11. ASSIGNMENT. Youmaynotassign,transferorsublicensethisAgreementoranyofYourrightsorobligationsunderthisAgreement,exceptthatYoumayassignthisAgreementtoanypersonorentitywhichacquiressubstantiallyallofYourstockassets.EnterasysmayassignthisAgreementinitssolediscretion.ThisAgreementshallbebindinguponandinuretothebenefitoftheparties,theirlegalrepresentatives,permittedtransferees,successorsandassignsaspermittedbythisAgreement.Anyattemptedassignment,transferorsublicenseinviolationofthetermsofthisAgreementshallbevoidandabreachofthisAgreement.12. WAIVER. AwaiverbyEnterasysofabreachofanyofthetermsandconditionsofthisAgreementmustbeinwritingandwillnotbeconstruedasawaiverofanysubsequentbreachofsuchtermorcondition.EnterasysfailuretoenforceatermuponYourbreachofsuchtermshallnotbeconstruedasawaiverofYourbreachorpreventenforcementonanyotheroccasion.13. SEVERABILITY. IntheeventanyprovisionofthisAgreementisfoundtobeinvalid,illegalorunenforceable,thevalidity,legalityandenforceabilityofanyoftheremainingprovisionsshallnotinanywaybeaffectedorimpairedthereby,andthatprovisionshallbereformed,construedandenforcedtothemaximumextentpermissible.Anysuchinvalidity,illegality,orunenforceabilityinanyjurisdictionshallnotinvalidateorrenderillegalorunenforceablesuchprovisioninanyotherjurisdiction.14. TERMINATION. EnterasysmayterminatethisAgreementimmediatelyuponYourbreachofanyofthetermsandconditionsofthisAgreement.Uponanysuchtermination,YoushallimmediatelyceasealluseoftheProgramandshallreturntoEnterasystheProgramandallcopiesoftheProgram.
vContentsAbout This Guide
Using This Guide ........................................................................................................................................... xxixStructure of This Guide .................................................................................................................................. xxixRelated Documents ....................................................................................................................................... xxxiConventions Used in This Guide ................................................................................................................... xxxiGetting Help .................................................................................................................................................. xxxii
Chapter 1: IntroductionEnterasys B5 CLI Overview ............................................................................................................................ 1-1Switch Management Methods ........................................................................................................................ 1-1Factory Default Settings ................................................................................................................................. 1-2Using the Command Line Interface ................................................................................................................ 1-6
Starting a CLI Session ............................................................................................................................. 1-6Logging In ................................................................................................................................................ 1-7Navigating the Command Line Interface .................................................................................................. 1-8
Chapter 2: Configuring Switches in a StackAbout Enterasys B5 Switch Operation in a Stack ........................................................................................... 2-1Installing a New Stackable System of Up to Eight Units ................................................................................ 2-2Installing Previously-Configured Systems in a Stack ..................................................................................... 2-3Adding a New Unit to an Existing Stack ......................................................................................................... 2-3Creating a Virtual Switch Configuration .......................................................................................................... 2-3Considerations About Using Clear Config in a Stack ..................................................................................... 2-4Stacking Configuration and Management Commands ................................................................................... 2-5
Purpose .................................................................................................................................................... 2-5Commands ............................................................................................................................................... 2-5
show switch ........................................................................................................................................2-5show switch switchtype ......................................................................................................................2-6show switch stack-ports......................................................................................................................2-7set switch............................................................................................................................................2-8set switch copy-fw ..............................................................................................................................2-9set switch description .........................................................................................................................2-9set switch movemanagement ...........................................................................................................2-10set switch member............................................................................................................................2-10clear switch member.........................................................................................................................2-11
Chapter 3: Basic ConfigurationQuick Start Setup Commands ........................................................................................................................ 3-1Setting User Accounts and Passwords .......................................................................................................... 3-2
Purpose .................................................................................................................................................... 3-2Commands ............................................................................................................................................... 3-2
show system login ..............................................................................................................................3-3set system login..................................................................................................................................3-4clear system login...............................................................................................................................3-4set password ......................................................................................................................................3-5set system password length ...............................................................................................................3-6set system password aging ................................................................................................................3-6set system password history ..............................................................................................................3-7show system lockout ..........................................................................................................................3-7set system lockout ..............................................................................................................................3-8
vi
Setting Basic Switch Properties ...................................................................................................................... 3-9Purpose .................................................................................................................................................... 3-9Commands ............................................................................................................................................... 3-9
show ip address................................................................................................................................3-10set ip address ...................................................................................................................................3-10clear ip address ................................................................................................................................3-11show ip protocol................................................................................................................................3-12set ip protocol ...................................................................................................................................3-12show ip route ....................................................................................................................................3-13show system.....................................................................................................................................3-13show system hardware.....................................................................................................................3-15show system utilization.....................................................................................................................3-16set system utilization ........................................................................................................................3-17clear system utilization .....................................................................................................................3-17set system temperature ....................................................................................................................3-18clear system temperature .................................................................................................................3-19show time .........................................................................................................................................3-20set time .............................................................................................................................................3-20show summertime ............................................................................................................................3-21set summertime ................................................................................................................................3-21set summertime date ........................................................................................................................3-22set summertime recurring.................................................................................................................3-22clear summertime .............................................................................................................................3-23set prompt.........................................................................................................................................3-24show banner motd ............................................................................................................................3-24set banner motd................................................................................................................................3-25clear banner motd.............................................................................................................................3-25show version.....................................................................................................................................3-26set system name ..............................................................................................................................3-27set system location ...........................................................................................................................3-27set system contact............................................................................................................................3-28set width ...........................................................................................................................................3-28set length ..........................................................................................................................................3-29show logout ......................................................................................................................................3-29set logout .........................................................................................................................................3-30show console....................................................................................................................................3-30set console baud ..............................................................................................................................3-31
Downloading a Firmware Image ................................................................................................................... 3-31Downloading from a TFTP Server .......................................................................................................... 3-32Downloading via the Serial Port ............................................................................................................. 3-32Reverting to a Previous Image ............................................................................................................... 3-33
Reviewing and Selecting a Boot Firmware Image ........................................................................................ 3-34Purpose .................................................................................................................................................. 3-34Commands ............................................................................................................................................. 3-34
show boot system.............................................................................................................................3-34set boot system ................................................................................................................................3-35
Starting and Configuring Telnet .................................................................................................................... 3-36Purpose .................................................................................................................................................. 3-36Commands ............................................................................................................................................. 3-36
show telnet .......................................................................................................................................3-36set telnet ...........................................................................................................................................3-37telnet.................................................................................................................................................3-37
Managing Switch Configuration and Files .................................................................................................... 3-38Configuration Persistence Mode ............................................................................................................ 3-38Purpose .................................................................................................................................................. 3-38Commands ............................................................................................................................................. 3-38
vii
show snmp persistmode...................................................................................................................3-39set snmp persistmode ......................................................................................................................3-40save config .......................................................................................................................................3-40dir......................................................................................................................................................3-41show file............................................................................................................................................3-42show config.......................................................................................................................................3-43configure...........................................................................................................................................3-44copy ..................................................................................................................................................3-44delete................................................................................................................................................3-45show tftp settings..............................................................................................................................3-45set tftp timeout ..................................................................................................................................3-46clear tftp timeout ...............................................................................................................................3-47set tftp retry.......................................................................................................................................3-47clear tftp retry....................................................................................................................................3-48
Clearing and Closing the CLI ........................................................................................................................ 3-48Purpose .................................................................................................................................................. 3-48Commands ............................................................................................................................................. 3-48
cls (clear screen) ..............................................................................................................................3-48exit ....................................................................................................................................................3-49
Resetting the Switch ..................................................................................................................................... 3-49Purpose .................................................................................................................................................. 3-49Commands ............................................................................................................................................. 3-49
reset..................................................................................................................................................3-50clear config .......................................................................................................................................3-50
Using and Configuring WebView .................................................................................................................. 3-51Purpose .................................................................................................................................................. 3-51Commands ............................................................................................................................................. 3-51
show webview ..................................................................................................................................3-52set webview ......................................................................................................................................3-52show ssl............................................................................................................................................3-53set ssl ...............................................................................................................................................3-53
Gathering Technical Support Information ..................................................................................................... 3-54Purpose .................................................................................................................................................. 3-54Command ............................................................................................................................................... 3-54
show support ....................................................................................................................................3-54
Chapter 4: Configuring System Power and PoEPower Management ....................................................................................................................................... 4-1
Management of PoE Power to PDs ......................................................................................................... 4-1Commands ..................................................................................................................................................... 4-2
show inlinepower ................................................................................................................................4-2set inlinepower threshold....................................................................................................................4-3set inlinepower trap ............................................................................................................................4-4set inlinepower detectionmode ...........................................................................................................4-4show port inlinepower.........................................................................................................................4-5set port inlinepower ............................................................................................................................4-6set inlinepower management..............................................................................................................4-7
Chapter 5: Transmit Queue Monitoring ConfigurationTransmit Queue Monitoring Overview ............................................................................................................ 5-1Commands ..................................................................................................................................................... 5-1
set txqmonitor .....................................................................................................................................5-2set txqmonitor downtime.....................................................................................................................5-2set txqmonitor minrate ........................................................................................................................5-3set txqmonitor threshold .....................................................................................................................5-3
viii
clear txqmonitor ..................................................................................................................................5-4show txqmonitor .................................................................................................................................5-5show txqmonitor flowcontrol ...............................................................................................................5-6show txqmonitor port ..........................................................................................................................5-6
Chapter 6: Discovery Protocol ConfigurationConfiguring CDP ............................................................................................................................................. 6-1
Purpose .................................................................................................................................................... 6-1Commands ............................................................................................................................................... 6-1
show cdp ............................................................................................................................................6-2set cdp state .......................................................................................................................................6-3set cdp auth ........................................................................................................................................6-4set cdp interval ...................................................................................................................................6-4set cdp hold-time ................................................................................................................................6-5clear cdp .............................................................................................................................................6-5show neighbors ..................................................................................................................................6-6
Configuring Cisco Discovery Protocol ............................................................................................................ 6-7Purpose .................................................................................................................................................... 6-7Commands ............................................................................................................................................... 6-7
show ciscodp ......................................................................................................................................6-7show ciscodp port info ........................................................................................................................6-8set ciscodp status ...............................................................................................................................6-9set ciscodp timer.................................................................................................................................6-9set ciscodp holdtime .........................................................................................................................6-10set ciscodp port ................................................................................................................................6-10clear ciscodp.....................................................................................................................................6-12
Configuring Link Layer Discovery Protocol and LLDP-MED ........................................................................ 6-13Overview ................................................................................................................................................ 6-13Configuration Tasks ............................................................................................................................... 6-13Commands ............................................................................................................................................. 6-14
show lldp...........................................................................................................................................6-15show lldp port status.........................................................................................................................6-15show lldp port trap ............................................................................................................................6-16show lldp port tx-tlv...........................................................................................................................6-17show lldp port location-info ...............................................................................................................6-17show lldp port local-info ....................................................................................................................6-18show lldp port remote-info ................................................................................................................6-21show lldp port network-policy ...........................................................................................................6-22set lldp tx-interval..............................................................................................................................6-23set lldp hold-multiplier .......................................................................................................................6-24set lldp trap-interval ..........................................................................................................................6-24set lldp med-fast-repeat....................................................................................................................6-25set lldp port status ............................................................................................................................6-25set lldp port trap................................................................................................................................6-26set lldp port med-trap........................................................................................................................6-26set lldp port location-info...................................................................................................................6-27set lldp port tx-tlv ..............................................................................................................................6-28set lldp port network-policy ...............................................................................................................6-29clear lldp ...........................................................................................................................................6-31clear lldp port status .........................................................................................................................6-31clear lldp port trap.............................................................................................................................6-32clear lldp port med-trap.....................................................................................................................6-32clear lldp port location-info................................................................................................................6-33clear lldp port network-policy ............................................................................................................6-33clear lldp port tx-tlv ...........................................................................................................................6-34
ix
Chapter 7: Port ConfigurationPort Configuration Summary .......................................................................................................................... 7-1
Port String Syntax Used in the CLI .......................................................................................................... 7-1Reviewing Port Status .................................................................................................................................... 7-2
Purpose .................................................................................................................................................... 7-2Commands ............................................................................................................................................... 7-2
show port ............................................................................................................................................7-3show port status .................................................................................................................................7-3show port counters .............................................................................................................................7-4clear port counters..............................................................................................................................7-6show port cablestatus.........................................................................................................................7-6
Disabling / Enabling and Naming Ports .......................................................................................................... 7-7Purpose .................................................................................................................................................... 7-7Commands ............................................................................................................................................... 7-7
set port disable ...................................................................................................................................7-8set port enable....................................................................................................................................7-8show port alias....................................................................................................................................7-9set port alias .......................................................................................................................................7-9
Setting Speed and Duplex Mode .................................................................................................................. 7-11Purpose .................................................................................................................................................. 7-11Commands ............................................................................................................................................. 7-11
show port speed ...............................................................................................................................7-11set port speed...................................................................................................................................7-12show port duplex ..............................................................................................................................7-12set port duplex ..................................................................................................................................7-13
Enabling / Disabling Jumbo Frame Support ................................................................................................. 7-14Purpose .................................................................................................................................................. 7-14Commands ............................................................................................................................................. 7-14
show port jumbo ...............................................................................................................................7-14set port jumbo...................................................................................................................................7-15clear port jumbo................................................................................................................................7-15
Setting Auto-Negotiation and Advertised Ability ........................................................................................... 7-16Purpose .................................................................................................................................................. 7-16Commands ............................................................................................................................................. 7-16
show port negotiation .......................................................................................................................7-16set port negotiation ...........................................................................................................................7-17show port advertise ..........................................................................................................................7-17set port advertise ..............................................................................................................................7-18clear port advertise ...........................................................................................................................7-19show port mdix .................................................................................................................................7-20set port mdix .....................................................................................................................................7-20
Setting Flow Control ..................................................................................................................................... 7-22Purpose .................................................................................................................................................. 7-22Commands ............................................................................................................................................. 7-22
show flowcontrol ...............................................................................................................................7-22set flowcontrol...................................................................................................................................7-22
Setting Port Link Traps and Link Flap Detection .......................................................................................... 7-24Purpose .................................................................................................................................................. 7-24Commands ............................................................................................................................................. 7-24
show port trap...................................................................................................................................7-24set port trap ......................................................................................................................................7-25show linkflap .....................................................................................................................................7-25set linkflap globalstate ......................................................................................................................7-28set linkflap portstate..........................................................................................................................7-28set linkflap interval ............................................................................................................................7-29
x
set linkflap action ..............................................................................................................................7-29clear linkflap action ...........................................................................................................................7-30set linkflap threshold.........................................................................................................................7-30set linkflap downtime ........................................................................................................................7-31clear linkflap down ............................................................................................................................7-31clear linkflap......................................................................................................................................7-32show newaddrtrap ............................................................................................................................7-33set newaddrtrap................................................................................................................................7-33
Configuring Broadcast Suppression ............................................................................................................. 7-35Purpose .................................................................................................................................................. 7-35Commands ............................................................................................................................................. 7-35
show port broadcast .........................................................................................................................7-35set port broadcast.............................................................................................................................7-36clear port broadcast..........................................................................................................................7-36
Port Mirroring ................................................................................................................................................ 7-38Mirroring Features .................................................................................................................................. 7-38Remote Port Mirroring ............................................................................................................................ 7-38Configuring SMON MIB Port Mirroring ................................................................................................... 7-39Purpose .................................................................................................................................................. 7-40Commands ............................................................................................................................................. 7-40
show port mirroring...........................................................................................................................7-40set port mirroring ..............................................................................................................................7-41clear port mirroring ...........................................................................................................................7-42set mirror vlan...................................................................................................................................7-42clear mirror vlan................................................................................................................................7-43
Link Aggregation Control Protocol (LACP) ................................................................................................... 7-44LACP Operation ..................................................................................................................................... 7-44LACP Terminology ................................................................................................................................. 7-45Enterasys B5 Usage Considerations ..................................................................................................... 7-45Commands ............................................................................................................................................. 7-46
show lacp..........................................................................................................................................7-47set lacp .............................................................................................................................................7-48set lacp asyspri .................................................................................................................................7-49set lacp aadminkey...........................................................................................................................7-49clear lacp ..........................................................................................................................................7-50set lacp static....................................................................................................................................7-50clear lacp static .................................................................................................................................7-51set lacp singleportlag........................................................................................................................7-52clear lacp singleportlag.....................................................................................................................7-52show port lacp ..................................................................................................................................7-53set port lacp ......................................................................................................................................7-54clear port lacp ...................................................................................................................................7-56
Configuring Protected Ports ......................................................................................................................... 7-58Protected Port Operation ....................................................................................................................... 7-58Commands ............................................................................................................................................. 7-58
set port protected..............................................................................................................................7-58show port protected ..........................................................................................................................7-59clear port protected...........................................................................................................................7-59set port protected name....................................................................................................................7-60show port protected name ................................................................................................................7-60clear port protected name.................................................................................................................7-61
Chapter 8: SNMP ConfigurationSNMP Configuration Summary ...................................................................................................................... 8-1
SNMPv1 and SNMPv2c ........................................................................................................................... 8-2
xi
SNMPv3 ................................................................................................................................................... 8-2About SNMP Security Models and Levels ............................................................................................... 8-2Using SNMP Contexts to Access Specific MIBs ...................................................................................... 8-3Configuration Considerations ................................................................................................................... 8-3
Reviewing SNMP Statistics ............................................................................................................................ 8-3Purpose .................................................................................................................................................... 8-3Commands ............................................................................................................................................... 8-4
show snmp engineid...........................................................................................................................8-4show snmp counters...........................................................................................................................8-5
Configuring SNMP Users, Groups, and Communities .................................................................................... 8-8Purpose .................................................................................................................................................... 8-8Commands ............................................................................................................................................... 8-8
show snmp user .................................................................................................................................8-8set snmp user .....................................................................................................................................8-9clear snmp user ................................................................................................................................8-11show snmp group .............................................................................................................................8-11set snmp group.................................................................................................................................8-12clear snmp group..............................................................................................................................8-13show snmp community .....................................................................................................................8-13set snmp community.........................................................................................................................8-14clear snmp community......................................................................................................................8-15
Configuring SNMP Access Rights ................................................................................................................ 8-15Purpose .................................................................................................................................................. 8-15Commands ............................................................................................................................................. 8-16
show snmp access ...........................................................................................................................8-16set snmp access...............................................................................................................................8-18clear snmp access............................................................................................................................8-19
Configuring SNMP MIB Views ...................................................................................................................... 8-19Purpose .................................................................................................................................................. 8-19Commands ............................................................................................................................................. 8-19
show snmp view ...............................................................................................................................8-20show snmp context...........................................................................................................................8-21set snmp view...................................................................................................................................8-21clear snmp view................................................................................................................................8-22
Configuring SNMP Target Parameters ......................................................................................................... 8-23Purpose .................................................................................................................................................. 8-23Commands ............................................................................................................................................. 8-23
show snmp targetparams .................................................................................................................8-23set snmp targetparams.....................................................................................................................8-24clear snmp targetparams..................................................................................................................8-25
Configuring SNMP Target Addresses .......................................................................................................... 8-26Purpose .................................................................................................................................................. 8-26Commands ............................................................................................................................................. 8-26
show snmp targetaddr ......................................................................................................................8-26set snmp targetaddr..........................................................................................................................8-27clear snmp targetaddr.......................................................................................................................8-28
Configuring SNMP Notification Parameters ................................................................................................. 8-29About SNMP Notify Filters ..................................................................................................................... 8-29Purpose .................................................................................................................................................. 8-29Commands ............................................................................................................................................. 8-29
show snmp notify ..............................................................................................................................8-30set snmp notify .................................................................................................................................8-31clear snmp notify ..............................................................................................................................8-31show snmp notifyfilter .......................................................................................................................8-32set snmp notifyfilter...........................................................................................................................8-33clear snmp notifyfilter........................................................................................................................8-33
xii
show snmp notifyprofile ....................................................................................................................8-34set snmp notifyprofile........................................................................................................................8-35clear snmp notifyprofile.....................................................................................................................8-35
Creating a Basic SNMP Trap Configuration ................................................................................................. 8-36Example ................................................................................................................................................. 8-37
Configuring the SNMP Management Interface ............................................................................................. 8-38Purpose .................................................................................................................................................. 8-38Commands ............................................................................................................................................. 8-38
show snmp interface.........................................................................................................................8-38set snmp interface ............................................................................................................................8-38clear snmp interface .........................................................................................................................8-40
Chapter 9: Spanning Tree ConfigurationSpanning Tree Configuration Summary ......................................................................................................... 9-1
Overview: Single, Rapid, and Multiple Spanning Tree Protocols ............................................................. 9-1Spanning Tree Features .......................................................................................................................... 9-2Loop Protect ............................................................................................................................................. 9-2
Configuring Spanning Tree Bridge Parameters .............................................................................................. 9-3Purpose .................................................................................................................................................... 9-3Commands ............................................................................................................................................... 9-4
show spantree stats............................................................................................................................9-5set spantree........................................................................................................................................9-7show spantree version........................................................................................................................9-7set spantree version ...........................................................................................................................9-8clear spantree version ........................................................................................................................9-9show spantree bpdu-forwarding .........................................................................................................9-9set spantree bpdu-forwarding...........................................................................................................9-10show spantree bridgeprioritymode ...................................................................................................9-10set spantree bridgeprioritymode .......................................................................................................9-11clear spantree bridgeprioritymode ....................................................................................................9-11show spantree mstilist ......................................................................................................................9-12set spantree msti ..............................................................................................................................9-12clear spantree msti ...........................................................................................................................9-13show spantree mstmap ....................................................................................................................9-13set spantree mstmap ........................................................................................................................9-14clear spantree mstmap .....................................................................................................................9-14show spantree vlanlist ......................................................................................................................9-15show spantree mstcfgid....................................................................................................................9-15set spantree mstcfgid .......................................................................................................................9-16clear spantree mstcfgid ....................................................................................................................9-16set spantree priority ..........................................................................................................................9-17clear spantree priority .......................................................................................................................9-17set spantree hello .............................................................................................................................9-18clear spantree hello ..........................................................................................................................9-18set spantree maxage ........................................................................................................................9-19clear spantree maxage .....................................................................................................................9-20set spantree fwddelay.......................................................................................................................9-20clear spantree fwddelay....................................................................................................................9-21show spantree backuproot ...............................................................................................................9-21set spantree backuproot ...................................................................................................................9-22clear spantree backuproot ................................................................................................................9-22show spantree tctrapsuppress..........................................................................................................9-23set spantree tctrapsuppress .............................................................................................................9-23clear spantree tctrapsuppress ..........................................................................................................9-24set spantree protomigration..............................................................................................................9-24
xiii
show spantree spanguard ................................................................................................................9-25set spantree spanguard....................................................................................................................9-25clear spantree spanguard.................................................................................................................9-26show spantree spanguardtimeout ....................................................................................................9-27set spantree spanguardtimeout ........................................................................................................9-27clear spantree spanguardtimeout .....................................................................................................9-28show spantree spanguardlock..........................................................................................................9-28clear / set spantree spanguardlock...................................................................................................9-29show spantree spanguardtrapenable ...............................................................................................9-29set spantree spanguardtrapenable...................................................................................................9-30clear spantree spanguardtrapenable................................................................................................9-30show spantree legacypathcost .........................................................................................................9-31set spantree legacypathcost.............................................................................................................9-31clear spantree legacypathcost ..........................................................................................................9-32show spantree autoedge ..................................................................................................................9-32set spantree autoedge......................................................................................................................9-32clear spantree autoedge...................................................................................................................9-33
Configuring Spanning Tree Port Parameters ............................................................................................... 9-34Purpose .................................................................................................................................................. 9-34Commands ............................................................................................................................................. 9-34
set spantree portadmin.....................................................................................................................9-34clear spantree portadmin..................................................................................................................9-35show spantree portadmin .................................................................................................................9-35show spantree portpri .......................................................................................................................9-36set spantree portpri...........................................................................................................................9-36clear spantree portpri........................................................................................................................9-37show spantree adminpathcost ..........................................................................................................9-38set spantree adminpathcost .............................................................................................................9-38clear spantree adminpathcost ..........................................................................................................9-39show spantree adminedge ...............................................................................................................9-39set spantree adminedge ...................................................................................................................9-40clear spantree adminedge ................................................................................................................9-40show spantree operedge ..................................................................................................................9-41
Configuring Spanning Tree Loop Protect Parameters .................................................................................. 9-42Purpose .................................................................................................................................................. 9-42Commands ............................................................................................................................................. 9-42
set spantree lp ..................................................................................................................................9-43show spantree lp ..............................................................................................................................9-43clear spantree lp ...............................................................................................................................9-44show spantree lplock ........................................................................................................................9-44clear spantree lplock.........................................................................................................................9-45set spantree lpcapablepartner ..........................................................................................................9-46show spantree lpcapablepartner ......................................................................................................9-46clear spantree lpcapablepartner .......................................................................................................9-47set spantree lpthreshold ...................................................................................................................9-47show spantree lpthreshold................................................................................................................9-48clear spantree lpthreshold ................................................................................................................9-48set spantree lpwindow ......................................................................................................................9-49show spantree lpwindow ..................................................................................................................9-49clear spantree lpwindow ...................................................................................................................9-50set spantree lptrapenable .................................................................................................................9-50show spantree lptrapenable .............................................................................................................9-51clear spantree lptrapenable ..............................................................................................................9-51set spantree disputedbpduthreshold ................................................................................................9-52show spantree disputedbpduthreshold.............................................................................................9-53clear spantree disputedbpduthreshold .............................................................................................9-53
xiv
show spantree nonforwardingreason ...............................................................................................9-54
Chapter 10: 802.1Q VLAN ConfigurationVLAN Configuration Summary ..................................................................................................................... 10-1
Port String Syntax Used in the CLI ........................................................................................................ 10-1Creating a Secure Management VLAN .................................................................................................. 10-2
Viewing VLANs ............................................................................................................................................. 10-3Purpose .................................................................................................................................................. 10-3Command ............................................................................................................................................... 10-3
show vlan..........................................................................................................................................10-3Creating and Naming Static VLANs ............................................................................................................. 10-5
Purpose .................................................................................................................................................. 10-5Commands ............................................................................................................................................. 10-5
set vlan .............................................................................................................................................10-5set vlan name ...................................................................................................................................10-6clear vlan ..........................................................................................................................................10-6clear vlan name ................................................................................................................................10-7
Assigning Port VLAN IDs (PVIDs) and Ingress Filtering .............................................................................. 10-8Purpose .................................................................................................................................................. 10-8Commands ............................................................................................................................................. 10-8
show port vlan ..................................................................................................................................10-8set port vlan ......................................................................................................................................10-9clear port vlan ...................................................................................................................................10-9show port ingress-filter ...................................................................................................................10-10set port ingress-filter .......................................................................................................................10-11show port discard ...........................................................................................................................10-11set port discard ...............................................................................................................................10-12
Configuring the VLAN Egress List .............................................................................................................. 10-13Purpose ................................................................................................................................................ 10-13Commands ........................................................................................................................................... 10-13
show port egress ............................................................................................................................10-13set vlan forbidden ...........................................................................................................................10-14set vlan egress ...............................................................................................................................10-15clear vlan egress ............................................................................................................................10-15show vlan dynamicegress ..............................................................................................................10-16set vlan dynamicegress ..................................................................................................................10-17
Setting the Host VLAN ................................................................................................................................ 10-18Purpose ................................................................................................................................................ 10-18Commands ........................................................................................................................................... 10-18
show host vlan................................................................................................................................10-18set host vlan ...................................................................................................................................10-18clear host vlan ................................................................................................................................10-19
Enabling/Disabling GVRP (GARP VLAN Registration Protocol) ................................................................ 10-20About GARP VLAN Registration Protocol (GVRP) .............................................................................. 10-20Purpose ................................................................................................................................................ 10-21Commands ........................................................................................................................................... 10-21
show gvrp ......................................