资源描述:
《CISCO官方配置手册VLAN.pdf》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、CHAPTER11ConfiguringVLANsThischapterdescribeshowtoconfigurenormal-rangeVLANs(VLANIDs1to1005)andextended-rangeVLANs(VLANIDs1006to4094)onyourCatalyst3550switch.ItincludesinformationaboutVLANmodesandtheVLANMembershipPolicyServer(VMPS).NoteForcompletesyntaxand
2、usageinformationforthecommandsusedinthischapter,seethecommandreferenceforthisrelease.Thechapterincludesthesesections:•UnderstandingVLANs,page11-1•ConfiguringNormal-RangeVLANs,page11-4•ConfiguringExtended-RangeVLANs,page11-11•DisplayingVLANs,page11-14•Confi
3、guringVLANTrunks,page11-15•ConfiguringVMPS,page11-26UnderstandingVLANsAVLANisaswitchednetworkthatislogicallysegmentedbyfunction,projectteam,orapplication,withoutregardtothephysicallocationsoftheusers.VLANshavethesameattributesasphysicalLANs,butyoucangroupe
4、ndstationseveniftheyarenotphysicallylocatedonthesameLANsegment.AnyswitchportcanbelongtoaVLAN,andunicast,broadcast,andmulticastpacketsareforwardedandfloodedonlytoendstationsintheVLAN.EachVLANisconsideredalogicalnetwork,andpacketsdestinedforstationsthatdonot
5、belongtotheVLANmustbeforwardedthrougharouterorbridgeasshowninFigure11-1.BecauseaVLANisconsideredaseparatelogicalnetwork,itcontainsitsownMIBinformationandcansupportitsownimplementationofspanningtree.SeeChapter15,“ConfiguringSTP”andChapter16,“ConfiguringMSTP
6、.”NoteBeforeyoucreateVLANs,youmustdecidewhethertouseVLANTrunkingProtocol(VTP)tomaintainglobalVLANconfigurationforyournetwork.FormoreinformationonVTP,seeChapter12,“ConfiguringVTP.”Catalyst3550MultilayerSwitchSoftwareConfigurationGuide78-16610-0211-1Chapter1
7、1ConfiguringVLANsUnderstandingVLANsFigure11-1showsanexampleofVLANssegmentedintologicallydefinednetworks.Figure11-1VLANsasLogicallyDefinedNetworksEngineeringMarketingAccountingVLANVLANVLANCiscorouterFloor3FastEthernetFloor2Floor116751VLANsareoftenassociatedw
8、ithIPsubnetworks.Forexample,alltheendstationsinaparticularIPsubnetbelongtothesameVLAN.InterfaceVLANmembershipontheswitchisassignedmanuallyonaninterface-by-interfacebasis.WhenyouassignswitchinterfacestoVLANsby