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