为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

鸿鹄论坛_鸿鹄论坛_lacp实验

2017-09-26 10页 doc 33KB 22阅读

用户头像

is_266065

暂无简介

举报
鸿鹄论坛_鸿鹄论坛_lacp实验鸿鹄论坛_鸿鹄论坛_lacp实验 CCNP 642-813 lacp实实实手践册实实拓,扑 最后一被个logo实住的任实是配置修剪 但好像考实的实候不能配置修剪Tasks 1. Use non proprietary mode of aggregation with Switch B being the initiator 2. Use non proprietary trunking and no negotiation3. Restrict only to vlans needed 4. SVI on vlan 1 wi...
鸿鹄论坛_鸿鹄论坛_lacp实验
鸿鹄论坛_鸿鹄论坛_lacp实验 CCNP 642-813 lacp实实实手践册实实拓,扑 最后一被个logo实住的任实是配置修剪 但好像考实的实候不能配置修剪Tasks 1. Use non proprietary mode of aggregation with Switch B being the initiator 2. Use non proprietary trunking and no negotiation3. Restrict only to vlans needed 4. SVI on vlan 1 with ip 10.10.10.12 sbnm 255.255.255.05. Configure switch A so that nodes other side of Router C are accessible 6. Make switch B the root 最近813中的LACP实实有部分实化 Distribution Switch (SwitchB) 1) Do not change VTP and STP settings 2) Switch needs to be spanning-tree root for VLAN 11-13,21-23. Other VLAN’s can have default STP priority 3) VLAN’s allowed on the trunk are 1,21-23 Access Switch (SwitchA) 1) STP and VTP settings should be identical to SwitchB2) Configure VLAN’s as per diagram 3) VLAN 1,21-23 needs to be tagged when traversing the link4) No routing needed on SwitchA 5) VLAN 1 needs to be configured with IP – 192.168.1.11/24一.实取实目信息, 1.在SWA上使用sh run, sh vlan, sh cdp nei detail, 确定,. RouterC的ip/SWA的VTP&STP模式/SWA的vlan .SWA的实实端口f0/3,f0/4,f0/15的信息;如trunk, vlan信息, 2.在SWB上使用sh run,sh vlan,sh cdp nei detail,确定 .实实的接口IP~SWA&SWB .SWB的VTP/STP模式~ vlan信息 .SWB的实实端口f0/3,f0/4的信息;如trunk,vlan信息, 二.需求, SWA: 1.SWA: SWA的VTP & STP配置模式不能修改~ 2.SWA:SWA是vlan 1,11-13,21-23的交实机;跟root sw, SWB: 1.增加VLAN21(Marketing),vlan22(sales),vlan23(engineering)2.划分vlan21-23的端口~vlan 21(f0/9-10), vlan 22(f0/13-14), vlan 23(f0/15-16),同实vlan的接入端口实置实portfast 和access模式 3.将SWB的VTP和STP模式实置成和SWA的一致 || 4.SWB上有路由配置~没SWB上有SVI int vlan 1 ip:192.168.1.11/24需要配置 INT SWA-SWB: 1.VLAN 1,11-13,21-23之实的VLAN实实必实无件的实实条trunk模式~在trunk实路上实实实~要打实;所以vlan1要打实~那实vlan1不实实是native vlan,注意实目意实, 2.SWA和SWB之实需要配置成可以最大限度的使用实有实实的模式~必实使用非私有的实实~同实~SWA是主实控制的交实机;initator/activation,3.使用策略限制非必要的VLAN广播 SWB信息 三.实果~成功实志, 1.使用sh eth sum,实实port-channel是否用~实实启状su实表示用正常~启 2.在SWB和SWA上使用sh命令~实实VTP,STP,VLAN信息是否一致 3.SWA是否实交实机跟 4.192.168.1.11,192.168.1.10,192.168.1.1是否可以相互ping通 四,配置~实实步实 1.在SWB上配置vlan信息, VLAN 1~vlan11-13, vlan21-23, vlan98-99~实置root prority 61440,保实SWB实非根交实机 2.在SWA上配置vlan 信息vlan21-23~实置root primary,保实SWA实根交实机 3.在SWB上配置VTP & STP信息~和SWA一致 4.在SWB上端口入将划vlan中~实置接入端口实并access & portfast 模式 5.配置SWB的SVI INT VLAN1 IP:192.168.1.11/24,以及默实实网192.168.1.1 6.SWB和SWA上的F0/3-4口上封装dot1q trunk,并将trunk native vlan修改实vlan99,同实实可vlan1,21,22,23在trunk上打实实行实实7.在SWB和SWA上实置port-channel,使用非私有实实lacp,同实实置SWA实initator---active状实 8.在SWB和SWA上实置port-channel 1 的封装参数 1SWB#conf t ;接入实,SWA#conf t ;分布实, Enter configuration commands, one per line. End with CNTL/Z.Enter configuration commands, one per line. End with SWB(config)#vlan 21CNTL/Z. SWB(config-vlan)#name marketingSWA(config)#vlan 21 SWB(config-vlan)#exitSWA(config-vlan)#name marketing SWB(config)#vlan 22SWA(config-vlan)#exit SWB(config-vlan)#name salesSWA(config)#vlan 22 SWB(config-vlan)#exitSWA(config-vlan)#name sales SWB(config)#vlan 23SWA(config-vlan)#exit SWB(config-vlan)#name engineeringSWA(config)#vlan 23 SWB(config-vlan)#exitSWA(config-vlan)#name engineering SWB(config)#vlan 98SWA(config-vlan)#end SWB(config-vlan)#name parking SWB(config-vlan)#exit SWB(config)#vlan 99 SWB(config-vlan)#name trunknative SWB(config-vlan)#end SWB#conf tSWA#conf t Enter configuration commands, one per line. End with CNTL/Z.Enter configuration commands, one per line. End with SWB(config)#spanning-tree vlan 11-13,21-23 priority 61440 ?CNTL/Z. SWA(config)#spanning-tree vlan 11-13,21-23 root primary ? SWB(config)#vtp mode ? client Set the device to client mode. server Set the device to server mode. transparent Set the device to transparent mode. SWB(config)#vtp mode trans ? Device mode already VTP TRANSPARENT. SWB(config)#spanning-tree mode ? pvst Per-Vlan spanning tree mode rapid-pvst Per-Vlan rapid spanning tree mode SWB(config)#spanning-tree mode rap ? SWB(config)#int r f0/9-10SWA(config)#int r f0/9-10SWB(config-if-range)#sw mode accSWA(config-if-range)#sw mode accSWB(config-if-range)#sw acc vlan 21SWA(config-if-range)#sw acc vlan 21SWB(config-if-range)#spanning-tree portf ?SWA(config-if-range)#no shuSWB(config-if-range)#no shuSWA(config-if-range)#exitSWB(config-if-range)#exitSWA(config)#int r f0/13-14SWB(config)#int r f0/13-14SWA(config-if-range)#sw mode accSWB(config-if-range)#sw mode accSWA(config-if-range)#sw acc vlan 22SWB(config-if-range)#sw acc vlan 22SWB(config-if-range)#no shSWB(config-if-range)#spanning-tree port ?SWB(config-if-range)#exit SWB(config)#int r f0/15-16 SWB(config-if-range)#no sh SWB(config-if-range)#sw mode accSWB(config-if-range)#exit SWB(config-if-range)#sw acc vlan 23SWB(config)#int r f0/15-16 SWB(config-if-range)#no shuSWB(config-if-range)#sw mode acc SWB(config-if-range)#exitSWB(config-if-range)#sw acc vlan 23 SWB(config-if-range)#spanning-tree portf ? SWB(config-if-range)#no shu SWB(config-if-range)#exit SWB(config)#int vlan 1 SWB(config-if)#ip add 192.168.1.11 255.255.255.0 SWB(config-if)#exit SWB(config)#ip default-gateway 192.168.1.1 RC的接口IP地址 SWB(config)#int r f0/3-4SWA(config)#int r f0/3-4 SWB(config-if-range)#sh 配置前 sh ~ 以免出实 native vlan mismatch SWA(config-if-range)#sh 配置前 sh ~ 以免出实 native SWB(config-if-range)#sw mode trunkvlan mismatchSWB(config-if-range)#sw trunk enca dot1q ^SWA(config-if-range)#no sw acc vlan 98 % Invalid input detected at '^' marker.SWA(config-if-range)#sw mode trunkSWB(config-if-range)#sw trunk native vlan 99SWA(config-if-range)#sw trunk encap dot1qSWB(config-if-range)#sw trunk allowed vlan 1,11-13,21-23,98-99 ?% Invalid input detected at '^' marker. SWA(config-if-range)#sw trunk native vlan 99 SWA(config-if-range)# sw trunk allowed vlan 1,11- 13,21-23,98-99 ? 7SWA(config-if-range)#int r f0/3-4SWB(config)#int r f0/3-4 SWA(config-if-range)#shSWB(config-if-range)#sh SWA(config-if-range)#channel-proto lacpSWB(config-if-range)#channel-proto lacpSWA(config-if-range)#channel-group 1 mode passive ?SWB(config-if-range)#channel-group 1 mod active ? SWA(config-if-range)#exitSWB(config-if-range)#exit 8SWB(config)#int p 1SWA(config)#int p 1 SWB(config-if)#sw mode trunSWA(config-if)#sw mode trun SWB(config-if)#sw trunk enca dot1qSWA(config-if)#sw trunk enca dot1q ^% Invalid input detected at '^' marker.% Invalid input detected at '^' marker.SWB(config-if)#sw trunk native vlan 99SWA(config-if)#sw trunk native vlan 99SWB(config-if)#sw trunk allowed vlan 1,11-13,21-23,98-99SWA(config-if)# sw trunk allowed vlan 1,11-13,21-SWB(config-if)# no sh23,98-99 SWA(config-if)#no sh 9SWB(config)#int r f0/3-4SWA(config)#int r f0/3-4 SWB(config-if-range)#no shSWA(config-if-range)#no sh SWB(config-if-range)#exitSWA(config-if-range)#exit SWB(config)#int p 1SWA(config)#int p 1 SWB(config-if)#no shuSWA(config-if)#no sh SWB(config-if)#exitSWA(config-if)#exit 五 . 实实 / 实实有效性 SWB#sh eth suSWA#sh eth su Flags: D - down P - in port-channelFlags: D - down P - in port-channel U - in use f - failed to allocate aggregator U - in use f - failed to allocate aggregator Number of channel-groups in use: 1Number of channel-groups in use: 1Number of aggregators: 1Number of aggregators: 1Group Port-channel Protocol PortsGroup Port-channel Protocol Ports------+-------------+-----------+----------------------------------------------------+-------------+-----------1 Po1(SU) LACP Fa0/3(P) Fa0/4(P)+---------------------------------------------- 1 Po1(SU) LACP Fa0/3(P) Fa0/4(P)Switch B#ping 192.168.1.10Switch A#ping 192.168.1.11 Type escape sequence to abort.Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds:Sending 5, 100-byte ICMP Echos to 192.168.1.11, timeout !!!!!is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 20/22/30 ms!!!!! Switch B#ping 192.168.1.1Success rate is 100 percent (5/5), round-trip min/avg/max = Type escape sequence to abort.4/15/20 ms Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:Switch A#ping 192.168.1.1 !!!!!Type escape sequence to abort. Success rate is 100 percent (5/5), round-trip min/avg/max = 30/38/42 msSending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 20/30/60 ms SWA#sh spanning-tree su 1.sh eth sumSwitch is in rapid-pvst mode 2.ping 192.168.1.11 & 192.168.1.1 & 192.168.1.10Root bridge for: default VLAN0011 VLAN0012 3.sh run stp & vtp, root/active/mode VLAN0013 marketing sales engineering Parking 4.sh int trunkTrunkNative Extended system ID is enabled Portfast Default is disabled PortFast BPDU Guard Default is disabled Portfast BPDU Filter Default is disabled Loopguard Default is disabled EtherChannel misconfig guard is disabled UplinkFast is disabled BackboneFast is disabled Configured Pathcost method used is short 六 . 保存 在SWB & SWA上再各实行3次保存操作,1次WR, 两次copy run start 实实实束。 实人实实提到特殊情,况 1.ASW的 F0/3下有实一命令,条switchport trunk encapsulation undefine .然后 show int por 1~实实ASW下也有没 switchport mode trunk.实命令。条 但是~通道能起~来ASW 也能ping 通R1的接口地址。 操作, 1.switchport trunk encapsulation undefine 实命令实不掉。条 2.channel-port 下重打swi mod tr。show run ~port 1 下实是有没switchport mode trunk命令。 LACP那道DOT1Q无法封~装SWITCHPORT NONEGOTIATE也不生效 LACP实道实实实模实器奇怪~有些命令敲不上去~比如很会 switchport trunk en dot1q,有比如端口明明实的是switchport mode trunk,show 的实候居然是switchport access vlan 99,实死了~不实最后show eth summary的实果是实的~可实心实重要。很 实得实下的是lacp实中有bug~sw a switchport trunk encapsulation dot1q 打不上~姑且就实实默实就支持它802.1q吧~在sw b f0/3 打下trunk 封~实端口装auto~不能实商成trunk~switchport nonegotiate双打不上去~sh run 实看f0/3的配置实示switchport trunk encapsulation undecided ~最后不管那实多了~把实配的都配上了NEXT。 LACP 的实蛋 一直实实 原因是native vlan98 早trunk里 native 实了 实他实实实 做了 30 分实 然后放了弃 lacp大也是一实的体 右实的交实机stp和vtp模式不实改~左实和右面模式一实~实建vlan~命名~vlan1实了~但是要求配置实我感实~但是我实是配上了。实目你没网 要求2个个没懂交实机之实修剪流量。。。实我弄。。。郁实。。。。。。
/
本文档为【鸿鹄论坛_鸿鹄论坛_lacp实验】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索