ImageVerifierCode 换一换
格式:DOCX , 页数:14 ,大小:121.27KB ,
资源ID:6663811      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/6663811.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(实验三STP.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

实验三STP.docx

1、实验三STP实验三 :STP一:实验目标1 组网要求:此阿勇两台核心交换机组网来提高网络可靠性,为防止二层环路,需要全网运行STP:将SW1部署为根网桥,SW2部署为备份网桥,并将接入PC的接口配置为portfast端口。2 分析STP选举过程(根网桥、根端口、指定端口、阻塞端口)。二:拓扑图三:预期结果 对于vlan8和vlan10 ,SW3的FA0/2口是阻塞的,对于vlan11,SW3的FA0/1口是阻塞的。四:调试SW3上STP配置:SW1上STP配置:SW2上STP配置:五:测试SW3上show spanning-tree bri:Vlan8:Vlan 10:Vlan 11:Pc2

2、ping pc1:六:总结与原理分析Pc1 ping pc2数据流分析:1 Pc1封装icmp包,发现未知目的mac地址且目的IP与自己不在同一个网段,则封装一个arp请求,请求的目的IP为网关IP,目的mac为全F;2 在通过fa0/10口时,arp请求被打上了vlan10 的标签;3 进入sw3,sw3查询mac地址表,发现没有pc1 的mac地址,便更新mac表;4 由于配置了生成树协议,相对于vlan10,sw3的fa0/2口是阻塞的,所以arp请求被 交换机从fa0/1口发送到三层交换机sw1;5 Sw1收到arp请求后,发现目的ip是自身的,然后拆vlan10标,更新mac地址表,

3、便封装一个arp应答,封装时打上vlan10的标, 从fa0/3口单播出去;6 Sw3收到arp应答,查询mac地址表后,从fa0/10转发出去,在出口拆掉vlan10的标签;7 Pc1收到arp应答,更新自身的arp缓存表,重新封装icmp包,其目的mac是网关,目的IP是pc2的IP地址,将封装好的icmp包,通过fa0/10口送往SW3;8 Icmp包在fa0/10口被打上vlan10的标签;9 Icmp包进入sw3,sw3查询mac地址表,把icmp包从fa0/1口转发出去;10 SW1收到icmp包,拆vlan10标,发现目的IP地址不是自己的,但是网关却是已知的vlan11,且不知

4、道目的mac地址,便封装一个arp请求,并打上vlan11的标签,洪泛出去;11 由于配置了生成树协议,SW3的fa0/1口相对于vlan11是阻塞的,所以arp请求从sw1的fa0/1口发送到sw2的fa0/1口;12 Sw2收到arp请求后,更新自己的mac地址表,从fa0/3口发送出去,到sw3的fa0/2口;13 Arp请求从sw3 的fa0/2进入sw3,sw3更新自己的mac地址表,将arp请求从fa0/11口洪泛出去;14 在通过fa0/11口时,arp请求被拆掉了vlan11的标签,进入到pc2;15 Pc2收到arp请求后,更新自己的arp缓存表,打开arp请求,查看后,发出

5、arp应答;16 Arp应答在经过fa0/11口时,被打上了vlan11的标签;17 Sw3收到arp应答后,更新自身的mac地址表,再查询mac地址表,从fa0/2口转发arp应答给SW2;18 Sw2收到arp应答后,更新自身的mac地址表,再查询mac地址表,从fa0/1口转发给sw1;19 Sw1收到arp应答后,拆掉vlan11的标签,更新mac地址表,重新封装icmp包,并打上vlan11的标签,从fa0/1口转发给sw2;20 Sw2收到icmp包后,查询mac地址表,从fa0/3转发icmp包到sw3;21 Sw3收到icmp包后,查询mac地址表,从fa0/11转发icmp包

6、到pc2;22 Icmp包在经过接口fa0/11时,被拆掉vlan11的标签;23 Pc2收到icmp包后,发现目的IP是自己的,目的mac是自己的,打开icmp包,然后封装一个icmp回应包;24 Icmp回应包在链路中一直被转发其路径是:PC2SW3SW2SW1SW3PC1。七:配置show runSW1:!version 12.3service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname SW1!boot-start-ma

7、rkerboot-end-marker!no aaa new-model!resource policy!memory-size iomem 5ip subnet-zero!ip cefno ip dhcp use vrf connected!no ip domain lookupno ftp-server write-enable!spanning-tree vlan 8 priority 0spanning-tree vlan 10 priority 0spanning-tree vlan 11 priority 4096!interface FastEthernet0/0!interfa

8、ce FastEthernet0/1 switchport mode trunk!interface FastEthernet0/2!interface FastEthernet0/3 switchport mode trunk!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!in

9、terface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface Vlan1 no ip address!interface Vlan8 ip address 192.168.8.129 255.255.255.128!interface Vlan10 ip address 192.168.10.1 255.255.255.0!interface Vlan11 ip addre

10、ss 192.168.11.1 255.255.255.0!ip http serverip classless!control-plane!line con 0 exec-timeout 0 0 logging synchronousline aux 0line vty 0 4!EndSW2:!version 12.3service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname SW2!boot-start-markerboot

11、-end-marker!no aaa new-model!resource policy!memory-size iomem 5ip subnet-zero!ip cefno ip dhcp use vrf connected!no ip domain lookupno ftp-server write-enable!spanning-tree vlan 8 priority 4096spanning-tree vlan 10 priority 4096spanning-tree vlan 11 priority 0!interface FastEthernet0/0!interface Fa

12、stEthernet0/1 switchport mode trunk!interface FastEthernet0/2!interface FastEthernet0/3 switchport mode trunk!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interfa

13、ce FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface Vlan1 no ip address!interface Vlan8 ip address 192.168.8.130 255.255.255.128!ip default-gateway 192.168.8.129ip http serverip classless!control-plane!line con 0 e

14、xec-timeout 0 0 logging synchronousline aux 0line vty 0 4!EndSW3:!version 12.3service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname SW3!boot-start-markerboot-end-marker!no aaa new-model!resource policy!memory-size iomem 5ip subnet-zero!ip c

15、efno ip dhcp use vrf connected!no ip domain lookupno ftp-server write-enable!interface FastEthernet0/0!interface FastEthernet0/1 switchport mode trunk!interface FastEthernet0/2 switchport mode trunk!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0

16、/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10 switchport access vlan 10 spanning-tree portfast!interface FastEthernet0/11 switchport access vlan 11 spanning-tree portfast!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface Vlan1 no ip address!interface Vlan8 ip address 192.168.8.132 255.255.255.128!ip default-gateway 192.168.8.129ip http serverip classless!control-plane!line con 0 exec-timeout 0 0 logging synchronousline aux 0line vty 0 4!end

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1