Cisco交换机综合配置实例Word格式文档下载.docx
《Cisco交换机综合配置实例Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《Cisco交换机综合配置实例Word格式文档下载.docx(12页珍藏版)》请在冰豆网上搜索。
Cisco交换机基础
Cisco交换机密码恢复
CISCO交换机常见问题及解答
配置cisco交换机三层交换的综合范例
常见Cisco交换机端口监听配置
Cisco交换机常见问题大整理
Cisco交换机以太网经典配置
2. Catalyst5509的配置
下面列出Catalyst5509的基本配置
Enterpassword:
Console>
enable
(enable)setsystemname5509-ER-F1
Systemnameset.
5509-ER-F1>
(enable)setsystemlocation1stFloorEquipmentRoom
Systemlocationset.
(enable)setsystemcontact
sysadmin@
Systemcontactset.
(enable)settime04/30/19999:
30:
00
FriApr301999,09:
00
(enable)setpassword
Enteroldpassword:
Enternewpassword:
Retypenewpassword:
Passwordchanged.
(enable)setenablepass
(enable)setbannermotd%
5509-ER-F1(Catalyst5509)
AccessRestricted
%
MOTDbannerset
(enable)setinterfacesc010.10.1.10/24
Interfacesc0IPaddressset.
(enable)setiproutedefault10.10.1.1
Routeadded.
(enable)setipdnsserver10.10.10.100
10.10.10.100addedtoDNSservertableasprimaryserver.
(enable)setipdnsdomain
DefaultDNSdomainnamesetto
(enable)setipdnsenable
DNSisenabled
(enable)setvtpdomainBigCorpmodeserver
VTPdomainBigCorpmodified
(enable)setvlan10nameCorporate
Vlan10configurationsuccessful
(enable)setvlan20nameDevEng
Vlan20configurationsuccessful
(enable)setvlan30nameMfg
Vlan30configurationsuccessful
(enable)setvlan40nameQA
Vlan40configurationsuccessful
(enable)setvlan50nameFinance&
Admin
Vlan50configurationsuccessful
(enable)setvlan60nameSales&
Mktg
Vlan60configurationsuccessful
(enable)setmodulename1SupervisorIII
Modulenameset.
(enable)setportflowcontrol1/1-2sendoff
Ports1/1-2flowcontrolsendadministrationstatussettooff
(portswillnotsendflowcontroltofarend)
(enable)setportflowcontrol1/1-2receiveoff
Ports1/1-2flowcontrolreceiveadministrationstatussettooff
(portswillnotallowfarendtosendflowcontrol)
(enable)setportnegotiation1/1-2enable
Ports1/1-2negotiationenabled
(enable)setportname1/1-2GEC802.1QTrunk
Ports1/1-2nameset.
(enable)setportchannel1/1-2desirable
Port(s)1/1-2channelmodesettodesirable.
(enable)settrunk1/1desirabledot1q
Port(s)1/1trunkmodesettodesirable.
Port(s)1/1trunktypesettodot1q.
(enable)setmodulename3RSM(RSM-ER-F1)
(enable)setmodulename5FastEtherUplinks
(enable)setportname5/1-4FECISLTrunk
Ports5/1-4nameset.
(enable)setportspeed5/1-4100
Ports5/1-4transmissionspeedsetto100Mbps.
(enable)setportduplex5/1-4full
Ports5/1-4settofull-duplex.
(enable)setportflowcontrol5/1-4sendoff
Ports5/1-4flowcontrolsendadministrationstatussettooff
(enable)setportflowcontrol5/1-4receiveoff
Ports5/1-4flowcontrolreceiveadministrationstatussettooff
(enable)setportnegotiation5/1-4enable
Ports5/1-4negotiationenabled
(enable)setportchannel5/1-4desirable
Port(s)5/1-4channelmodesettodesirable.
(enable)settrunk5/1desirableisl
Port(s)5/1trunkmodesettodesirable.
Port(s)5/1trunktypesettoisl.
(enable)setmodulename6DevEng100MbHosts
(enable)setportname6/1DESparcUltra
Port6/1nameset.
(enable)setportname6/2-7DESparc20
Ports6/2-7nameset.
(enable)setportname6/8-12DENTWorkstation
Ports6/8-12nameset.
(enable)setportspeed6/1-12100
Ports6/1-12transmissionspeedsetto100Mbps.
(enable)setportduplex6/1-12full
Ports6/1-12settofull-duplex.
(enable)setportflowcontrol6/1-12senddesired
Ports6/1-12flowcontrolsendadministrationstatussettodesired
(portswillsendflowcontroltofarendiffarendsupportsit)
(enable)setportflowcontrol6/1-12receivedesired
Ports6/1-12flowcontrolreceiveadministrationstatussettodesired
(portswillallowfarendtosendflowcontroliffarendsupportsit)
(enable)setportchannel6/1-12off
Port(s)6/1-12channelmodesettooff.
(enable)settrunk6/1-12off
Port(s)6/1-12trunkmodesettooff.
(enable)setspantreeportfast6/1-12enable
Warning:
Spantreeportfaststartshouldonlybeenabledonportsconnected
toasinglehost.Connectinghubs,concentrators,switches,bridges,etc.to
afaststartportcancausetemporaryspanningtreeloops.Usewithcaution.
Spantreeports6/1-12faststartenabled.
(enable)setvlan206/1-12
VLAN20modified.
VLAN1modified.
VLAN Mod/Ports
---------------------------
201/1-2
5/1-4
6/1-12
(enable)setmodulename7Corp/Mfg10MbHosts
(enable)setportname7/1-12CorpWin98PC
Ports7/1-12nameset.
(enable)setportname7/13-48MfgWin98PC
Ports7/13-48nameset.
(enable)setportduplex7/1-48full
Ports7/1-48settofull-duplex.
(enable)setspantreeportfast7/1-48enable
Spantreeports7/1-48faststartenabled.
(enable)setvlan107/1-12
VLAN10modified.
101/1-2
7/1-12
(enable)setvlan307/13-48
VLAN30modified.
301/1-2
7/13-48
(enable)setmodulename8DevEng10MbHosts
(enable)setportname8/1-48DevEngWinNTPC
Ports8/1-48nameset.
(enable)setportduplex8/1-48full
Ports8/1-48settofull-duplex.
(enable)setspantreeportfast8/1-48enable
Spantreeports8/1-48faststartenabled.
(enable)setvlan208/1-48
8/1-48
(enable)setmodulename9DevEng10MbHosts>
(enable)setportname9/1-48DevEngWinNTPC
Ports9/1-48nameset.
(enable)setportduplex9/1-48full
Ports9/1-48settofull-duplex.
(enable)setspantreeportfast9/1-48enable
Spantreeports9/1-48faststartenabled.
(enable)setvlan209/1-48
9/1-48
(enable)