Beruflich Dokumente
Kultur Dokumente
(h
://
. echfa .c
/) /) /b g) / )
Ci c S i chC
fig a i
AnewCiscoswitchisnotconfiguredbydefault.Usershavetoconfiguretheswitchwiththeconfigurationdialogue insetupmode.Afterthebasicswitchconfigurationisperformedinsetupmode,theusercanverify,modify,and deletetheswitch sconfigurationsettingsindifferentconfigurationmodeswiththeCiscoIOScommandline interface.CiscoIOS stwoprimarymodesareuserexecmodeandprivilegedexecmodealongwithconfiguration modessuchasglobalconfigurationmode,interfaceconfigurationmode,andlineconfigurationmodewithdistinctive prompts.Eachmodehasspecificcommandstoperformspecifictasks.Theuserexecmodeisthelimited examinationmode,whiletheprivilegedexecmodeisthedetailedexaminationandtheprerequisiteforallother configurationmodes.Globalconfigurationmodeisthemodefortheswitch sglobalsettings,whiletheinterface configurationmodeandlineconfigurationmodeconfigurethespecificinterfaceorline.CiscoIOScommandsinthe differentCiscoswitchseriesvary.Nowadays,themostpopularCiscoswitchseriesaretheCiscoCatalyst2950 seriesswitch,Cisco2960seriesswitch,andCisco3548seriesswitch. Ci c S i chC fig a i C a d
Itisimportanttoknowthebasicciscoswitchconfigurationwiththeciscoswitchconfigurationcommandsandbasic operationalciscoswitchcommandssothatanyinternetworkperforms. Herearesomebasicconfigurationandoperationcommandsofciscoswitches: i e face a 1:ThisisaglobalcommandthatconfigurestheinterfaceforVLAN(h :// . ech fa .c / a .h ). i defa ga e a [address]:Thisisaglobalcommandandsetdefaultgateway. i add e [address][ b e a (h :// . echfa .c / b e a .h )]:Thiscommandconfigures
.tech-faq.com/cisco-s itch-configuration.html
1/6
11/3/11
theinterfaceandsetstheipaddress. i e facefa E he e 0/ :Thiscommandputsusersintouser configurationmode. eed{10/100/1000/auto/nonegotiate}:Thiscommandsetsthe interface sspeed. d e {auto/full/half}:Thiscommandsetsduplexmodeforthe interface. i ch ec i acadd e :Thiscommandstatically addsaMACaddressastheallowedaddressontheport. i ch ec i acadd e ic :Thiscommand tellsswitchtolearnMACaddressesontheinterfaceandaddas secureMACs. i ch ec i i a i {protect/restrict/shutdown}: ThiscommandtellstheswitchwhattodoifanappropriateMAC triestoaccessthroughsecureswitchport. i ch ec i a i [value]:Thiscommand allowedmaxofsecureMAContheinterface. h a e[name]:Thiscommandassignsahostnametothe switch. i e 015:Thiscommandentersvtyconfigurationmode. i ec 0:Thiscommandentersconsoleconfigurationmode. gi :Thiscommandtellstheswitchtoaskforapassword. a d[password]:Thiscommandsetsthepassword. e ab e a d[password]:Thiscommandsetsthepassword toenterprivilegedmode. e ab e ec e [password]:Thiscommandsetsencryptedpassword. c fig e e i a :Thiscommandentersconfigurationmode. h i e face fa e he e 0/ :Thiscommanddisplaysinterfacestatus. h i e face :Thiscommanddisplaysinformationaboutaspecificinterface. h i e face a 1:Thiscommanddisplaystheipaddressconfiguration. h [ i g/ a ]c fig:ThiscommanddisplaysRAM/NVRAM(h :// . echfa .c / settings. h acadd e ab e:ThiscommanddisplaystheMACaddresstable. h ec i :[interface][address]:Thiscommandshowssecurityoptionsontheinterface. h e i :Thiscommanddisplaystheswitch shardwareandsoftwarestatus. h f a h:Thiscommanddisplaysthefilesanddirectoriesintheflash. h hi :Thiscommanddisplaysthelasttencommands. e a e a c fig:Thiscommanderasesstartupconfiguration. Ci c 2960S i ch TheCiscoCatalyst2960switchisoneofthepopularseriesthattheCiscoSystemintroducedwithamanagement console.TherearetwodifferentmodelsinCiscoCatalyst2960seriesswitchwithalluplinkports.Onemodelhas 12fastE he e (h :// . echfa .c /e he e .h )interfacesandtheotherhas24fastEthernetinterfaces.The CiscoCatalyst2960seriesswitchismostlyusedintheindustrialorISPsectorforitsbetterperformanceand scalabilityfeatures.
a .h
.tech-faq.com/cisco-s itch-configuration.html
2/6
11/3/11
AssigningIPtoCisco2950Switch UserscanassignanipaddresstotheCisco2950switchwiththisglobalconfigurationmodecommand. Switch2950(config)#interfacevlan1 Switch2950(configif)#ipaddress192.168(http://www.techfaq.com/192168.html).0.1255.255.255.0 HowtoConfigureaCisco3548Switch ConfiguringaCisco3548switchisverysimple.ConnecttheCisco3548switch sconsoleportwiththecomputer s comportbyusingtheUTP(http://www.techfaq.com/utp.html)rollovercable.Afterphysicalconnection,makea HyperTerminalsessionandgiveitanyname.ThecomportsettingshouldbeRestoreDefaultinthecomport s properties.Configurethebasicconfigurationsettingsinsetupmodewiththeconfigurationdialogue shelp.Thebasic configurationincludestheconfiguringofhostname,configuringtheenablesecretpassword,enablepasswordand thelinevtypassword,andtheconfigurationofeachfastEthernetinterfacealongwiththeVLANinterface configuration.Thevlaninterface sipconfigurationisalsoincludedinthebasicconfiguration. HowtoconfigureOSIBridgingonCiscoSwitch InordertoconfiguretheOSIbridgingonaCiscoswitch,usethecommandbridgingintheCiscoswitch sglobal configurationmode.
Rating:0.0/10(0votescast)
Li e 41
Share
RelatedArticles 1. CiscoSwitchCommands
(http://www.techfaq.com/cisco switchcommands.html)
RespondtoCiscoSwitchConfiguration 1.
S mbleUpon
2. CiscoRouterConfiguration
(http://www.techfaq.com/cisco routerconfiguration.html)
3. UnderstandingCiscoIOS
(http://www.tech faq.com/understandingcisco ios.html)
4. CiscoRouterCommands
(http://www.techfaq.com/cisco routercommands.html)
5. CiscoDiscover Protocol
(http://www.techfaq.com/cisco discover protocol.html)
.tech-faq.com/cisco-s itch-configuration.html
3/6
11/3/11
IneedtoknowhowIcanconfiguretheciscoswitchandrouter Repl (/ciscoswitchconfiguration.html?repl tocom=129764#respond) bobsays: Februar 12,2011at5:11am(http://www.techfaq.com/ciscoswitchconfiguration.html/comment page1#comment29088)(Quote)(javascript:void(null)) Ithinkitwouldalsobewisetoaddtothislistlogsynctothebasiclistofcommands forthosethatdon tknowthelogsyncwillmaketherouter/switchwaituntilyouarenottypingintotheclito tellyousomething.Otherwisethecommand(pleaseforgivetheyellingforamoment)NOSHUT,END, CONFT,wouldlooklike NOSHUT END COlineprotacallisupNFT. Otherwise%5%starhelphere. Repl (/ciscoswitchconfiguration.html?repl tocom=29088#respond) 4. AbdulHaqsays: March2,2011at7:34am(http://www.techfaq.com/ciscoswitchconfiguration.html/commentpage 1#comment31371)(Quote)(javascript:void(null)) IwanttoknowhowcanIassignportstoswitch,pleasetellmestepbystepconfiguration,asIam newisnetworking. Thanks Repl (/ciscoswitchconfiguration.html?repl tocom=31371#respond) 5. durgeshsays: Ma 5,2011at12:34pm(http://www.techfaq.com/ciscoswitchconfiguration.html/commentpage 1#comment36287)(Quote)(javascript:void(null)) weareconfigthe3vlansin2950switch.iconnectthe4desktopdifferendvlans. 1stsystemconnectthevlan2. 2ndsystemconnectthevlan3. 3srdsystemconnectthevlan4. 4thsystemconnectthevlan1. whydon tpingthe4thsystem? Repl (/ciscoswitchconfiguration.html?repl tocom=36287#respond) 6. aa ansays: October11,2011at10:49am(http://www.techfaq.com/ciscoswitchconfiguration.html/comment page1#comment124465)(Quote)(javascript:void(null)) whatisthepossibilitiestochangeinconfiguration Repl (/ciscoswitchconfiguration.html?repl tocom=124465#respond)
3.
.tech-faq.com/cisco-s itch-configuration.html
4/6
11/3/11
7.
://
. (
/ ))
)(
(javascript:) (javascript:) (javascript:) (javascript:) (javascript:) (javascript:) (javascript:) (javascript:) (javascript:) (javascript:) (#) (javascript:)
Path:
(javascript:)
SubmitComment CiscoNetworking W S I W C U U U U U U U VLSM?( :// . . / . ) C T P ( :// . . / . ) G R P ( :// . . / . ) EIGRP?( :// . . / . ) R C ( :// . . / . ) ISDN( :// . . / . ) IPXSPXP ( :// . . / F R ( :// . . / . ) E ( :// . . / . ) E N ( :// . . / D E ( :// . . / C S ( :// . . /
. . . ) )
.tech-faq.com/cisco-s itch-configuration.html
5/6
11/3/11
UnderstandingSwitching(http://www.techfaq.com/understandingswitching.html) SpanningTreeProtocol(http://www.techfaq.com/spanningtreeprotocol.html) UnderstandingSubnetMask(http://www.techfaq.com/understandingsubnetmask.html) RouterElements(http://www.techfaq.com/routerelements.html) PointtoPointProtocol(http://www.techfaq.com/pointtopointprotocol.html) EthernetCabling(http://www.techfaq.com/ethernetcabling.html) EnablingIPRouting(http://www.techfaq.com/enablingiprouting.html) DistanceVectorRoutingProtocol(http://www.techfaq.com/distancevectorroutingprotocol.html) LANSwitchingandSwitchT pes(http://www.techfaq.com/lanswitchingandswitcht pes.html) IPAccessLists(http://www.techfaq.com/ipaccesslists.html) CiscoThreeLa erHierarchicalModelvsOSIModel(http://www.techfaq.com/ciscothreela er
hierarchicalmodelvsosimodel.html)
CiscoSwitchConfiguration(http://www.techfaq.com/ciscoswitchconfiguration.html) CiscoSwitchCommands(http://www.techfaq.com/ciscoswitchcommands.html) CiscoRouterCommands(http://www.techfaq.com/ciscoroutercommands.html) CiscoNetworkManagement(http://www.techfaq.com/cisconetworkmanagement.html) CiscoDiscover Protocol(http://www.techfaq.com/ciscodiscover protocol.html) UnderstandingTCPIP(http://www.techfaq.com/understandingciscotcpip.html) CiscoRoutingProtocols(http://www.techfaq.com/ciscoroutingprotocols.html) EthernetattheDataLinkLa er(http://www.techfaq.com/ethernetatthedatalinkla er.html) HotTopics AlternativestoiTunes(http://www.techfaq.com/alternativestoitunes.html) HowtoMakeGoogleChromeFaster(http://www.techfaq.com/howtomakegooglechromefaster.html) HowtoMakeRingtonesfortheiPhone(http://www.techfaq.com/howtomakeringtonesfortheiphone.html) AndroidMusicPla ers(http://www.techfaq.com/androidmusicpla ers.html) BestAndroidBrowsers(http://www.techfaq.com/bestandroidbrowsers.html) HowDoesFacebookMakeMone ?(http://www.techfaq.com/howdoesfacebookmakemone .html)
.tech-faq.com/cisco-s itch-configuration.html
6/6