HotStandbyRouterProtocolWord文档下载推荐.docx
- 文档编号:20486859
- 上传时间:2023-01-23
- 格式:DOCX
- 页数:30
- 大小:213.41KB
HotStandbyRouterProtocolWord文档下载推荐.docx
《HotStandbyRouterProtocolWord文档下载推荐.docx》由会员分享,可在线阅读,更多相关《HotStandbyRouterProtocolWord文档下载推荐.docx(30页珍藏版)》请在冰豆网上搜索。
RemoveallVLANinformationandconfigurationsthatwerepreviouslyentered
intoyourswitches.(RefertoLab2.0aor2.0bifneeded.)
Step2
Cablethelabaccordingtothediagram.
ConfiguremanagementIPaddressesinVLAN1,hostname,password,and
telnetaccessonallfourswitches.
Thefollowingisasampleconfigurationforthe2960switchALS1:
Switch#configureterminal
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Switch(config)#hostnameALS1
ALS1(config)#enablesecretcisco
ALS1(config)#linevty015
ALS1(config-line)#passwordcisco
ALS1(config-line)#login
ALS1(config-line)#exit
ALS1(config)#interfacevlan1
ALS1(config-if)#ipaddress172.16.1.101255.255.255.0
ALS1(config-if)#noshutdown
ALS1(config-if)#end
Thefollowingisasampleconfigurationforthe2960switchALS2:
Switch(config)#hostnameALS2
ALS2(config)#enablesecretcisco
ALS2(config)#linevty015
ALS2(config-line)#passwordcisco
ALS2(config-line)#login
ALS2(config-line)#exit
ALS2(config)#interfacevlan1
ALS2(config-if)#ipaddress172.16.1.102255.255.255.0
ALS2(config-if)#noshutdown
ALS2(config-if)#end
Thefollowingisasampleconfigurationforthe3560switchDLS1:
Switch(config)#hostnameDLS1
DLS1(config)#enablesecretcisco
DLS1(config)#linevty015
DLS1(config-line)#passwordcisco
DLS1(config-line)#login
DLS1(config-line)#exit
DLS1(config)#interfacevlan1
DLS1(config-if)#ipaddress172.16.1.3255.255.255.0
DLS1(config-if)#noshutdown
DLS1(config-if)#end
Thefollowingisasampleconfigurationforthe3560switchDLS2.:
3-18CCNP:
Switch(config)#hostnameDLS2
DLS2(config)#enablesecretcisco
DLS2(config)#linevty015
DLS2(config-line)#passwordcisco
DLS2(config-line)#login
DLS2(config-line)#exit
DLS2(config)#interfacevlan1
DLS2(config-if)#ipaddress172.16.1.4255.255.255.0
DLS2(config-if)#noshutdown
DLS2(config-if)#end
Configuredefaultgatewaysontheaccesslayerswitches.Thedistributionlayer
switchswillnotuseadefaultgateway,becausetheyactasLayer3devices.
TheaccesslayerswitchesactasLayer2devicesandneedadefaultgateway
tosendtrafficoffofthelocalsubnetforthemanagementVLAN.
ALS1#configureterminal
ALS1(config)#ipdefault-gateway172.16.1.1
ALS1(config)#end
ALS2#configureterminal
ALS2(config)#ipdefault-gateway172.16.1.1
ALS2(config)#end
Step3
ConfiguretrunksandEtherChannelsbetweenswitchesaccordingtothe
diagram.EtherChannelisusedforthesetrunks.EtherChannelallowsyouto
utilizebothFastEthernetinterfacesthatareavailablebetweeneachdevice,
therebydoublingthebandwidth.
ThefollowingisasampleconfigurationforthetrunksandEtherChannelfrom
DLS1totheotherthreeswitches.Theswitchporttrunkencapsulation[isl|
dot1q]commandisusedbecausethisswitchalsosupportsISLencapsulation.
DLS1#configureterminal
DLS1(config)#interfacerangefastethernet0/7-8
DLS1(config-if-range)#switchporttrunkencapsulationdot1q
DLS1(config-if-range)#switchportmodetrunk
DLS1(config-if-range)#channel-group1modedesirable
Creatingaport-channelinterfacePort-channel1
DLS1(config-if-range)#interfacerangefastethernet0/9-10
DLS1(config-if-range)#channel-group2modedesirable
Creatingaport-channelinterfacePort-channel2
4-18CCNP:
DLS1(config-if-range)#interfacerangefastethernet0/11-12
DLS1(config-if-range)#channel-group3modedesirable
Creatingaport-channelinterfacePort-channel3
DLS1(config-if-range)#end
ThefollowingisasampleconfigurationforthetrunksandEtherChannelsfrom
DLS2totheotherthreeswitches:
DLS2#configureterminal
DLS2(config)#interfacerangefastethernet0/7-8
DLS2(config-if-range)#switchporttrunkencapsulationdot1q
DLS2(config-if-range)#switchportmodetrunk
DLS2(config-if-range)#channel-group1modedesirable
DLS2(config-if-range)#interfacerangefastethernet0/9-10
DLS2(config-if-range)#channel-group2modedesirable
DLS2(config-if-range)#interfacerangefastethernet0/11-12
DLS2(config-if-range)#channel-group3modedesirable
DLS2(config-if-range)#end
ALS1andALS2totheotherswitches.Noticethatnoencapsulationtypeis
neededbecausethe2960supportsonly802.1qtrunks.
ALS1(config)#interfacerangefastethernet0/7-8
ALS1(config-if-range)#switchportmodetrunk
ALS1(config-if-range)#channel-group1modedesirable
ALS1(config-if-range)#interfacerangefastethernet0/9-10
ALS1(config-if-range)#channel-group2modedesirable
ALS1(config-if-range)#interfacerangefastethernet0/11-12
ALS1(config-if-range)#channel-group3modedesirable
5-18CCNP:
ALS1(config-if-range)#end
ThefollowingisasampleconfigurationfromALS2:
ALS2(config)#interfacerangefastethernet0/7-8
ALS2(config-if-range)#switchportmodetrunk
ALS2(config-if-range)#channel-group1modedesirable
ALS2(config-if-range)#interfacerangefastethernet0/9-10
ALS2(config-if-range)#channel-group2modedesirable
ALS2(config-if-range)#interfacerangefastethernet0/11-12
ALS2(config-if-range)#channel-group3modedesirable
ALS2(config-if-range)#end
VerifytrunkingbetweenDLS1,ALS1,andALS2usingtheshowinterface
trunkcommandonallswitches.
DLS1#showinterfacetrunk
PortModeEncapsulationStatusNativevlan
Po1on802.1qtrunking1
Po2on802.1qtrunking1
Po3on802.1qtrunking1
PortVlansallowedontrunk
Po11-4094
Po21-4094
Po31-4094
PortVlansallowedandactiveinmanagementdomain
Po11
Po21
Po31
PortVlansinspanningtreeforwardingstateandnotpruned
Issuetheshowetherchannelsummarycommandoneachswitchtoverifythe
EtherChannels.InthefollowingsampleoutputfromALS1,noticethethree
EtherChannelsontheaccessanddistributionlayerswitches.Youroutputmay
varydependingonwhichportshavebeenplacedinblockingbytheSpanning
TreeProtocol.
ALS1#showetherchannelsummary
Flags:
D-downP-inport-channel
6-18CCNP:
I-stand-alones-suspended
H-Hot-standby(LACPonly)
R-Layer3S-Layer2
U-inusef-failedtoallocateaggregator
u-unsuitableforbundling
w-waitingtobeaggregated
d-defaultport
Numberofchannel-groupsinuse:
3
Numberofaggregators:
GroupPort-channelProtocolPorts
------+-------------+-----------+---------------------------------------------
--
1Po1(SU)PAgPFa0/7(P)Fa0/8(P)
2Po2(SU)PAgPFa0/9(P)Fa0/10(P)
3Po3(SU)PAgPFa0/11(P)Fa0/12(P)
1.WhichEtherChannelnegotiationprotocolisinusehere?
Step4
ChangetheVTPmodeofALS1andALS2toclient.
ALS1(config)#vtpmodeclient
SettingdevicetoVTPCLIENTmode.
ALS2(config
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- HotStandbyRouterProtocol