




已阅读5页,还剩8页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
CCNACCNACCNACCNA 综合实验及实验拓扑综合实验及实验拓扑 1 1 1 1 各 各 VLANVLANVLANVLAN 之间互联互通 单臂路由之间互联互通 单臂路由 2 2 2 2 每台 每台 PCPCPCPC 都能自动获取都能自动获取 IPIPIPIP 地址 地址 DHCPDHCPDHCPDHCP 3 3 3 3 两台交换机要求 两台交换机要求 VLAN2VLAN2VLAN2VLAN2走上面 走上面 VLAN3VLAN3VLAN3VLAN3走下面 走下面 STPSTPSTPSTP 负载均衡负载均衡 4 4 4 4 SW2SW2SW2SW2能从能从 SW1SW1SW1SW1学到学到 VLANVLANVLANVLAN 相关信息 相关信息 TrunkTrunkTrunkTrunk VTPVTPVTPVTP 5 5 5 5 能在任何地方都能管理到每台网络设备 能在任何地方都能管理到每台网络设备 telnettelnettelnettelnet 交换机用交换机用 vlanvlanvlanvlan 1 1 1 1做管理做管理 VLAN3VLAN3VLAN3VLAN3 6 6 6 6 交换机连接 交换机连接 PCPCPCPC 的端口做实现快速收敛的端口做实现快速收敛 portfast portfast portfast portfast SW1 SW1 config int f0 13 SW1 config if switchport trunk encapsulation dot1q SW1 config if switchport mode trunk 配置 trunk SW1 config if int f0 14 SW1 config if switchport trunk encapsulation dot1q SW1 config if switchport mode trunk SW1 config int f0 3 SW1 config if switchport mode trunk 修改了 VTP 的域为 YB 并且创建了 vlan2和 vlan3 SW1 show vtp s VTPVersion 2 Configuration Revision 2 Maximum VLANs supported locally 128 Number of existing VLANs 7 VTP Operating Mode Server VTP Domain Name YB VTP Pruning Mode Disabled VTPV2 Mode Disabled VTPTraps Generation Disabled MD5 digest 0 x00 0 xAB 0 x73 0 xC7 0 x59 0 xF6 0 x50 0 xC8 Configuration last modified by 0 0 0 0 at 3 1 93 00 15 43 Local updater ID is 172 16 14 10 on interface Vl1 lowest numbered VLAN interface found SW1 config enable password cisco SW1 config line vty 0 15 SW1 config int vlan 1 SW1 config if ip address 172 16 14 10 255 255 255 0 SW1 config line password cisco SW1 show vlan VLAN NameStatusPorts 1defaultactiveFa0 3 Fa0 4 Fa0 5 Fa0 6 Fa0 7 Fa0 8 Fa0 9 Fa0 10 Fa0 11 Fa0 12 Fa0 15 Fa0 16 Fa0 17 Fa0 18 Fa0 19 Fa0 20 Fa0 21 Fa0 22 Fa0 23 Fa0 24 2VLAN0002activeFa0 1 3VLAN0003activeFa0 2 把 F0 1分配给 vlan2 把 F0 2分配给 vlan3 SW1 config int range f0 1 2 SW1 config if range spanning tree portfast 配置快速收敛的接口 SW2 SW2 config int f0 14 SW2 config if spanning tree vlan 3 cost 18 SW2 show spanning tree vlan 2 Fa0 1Desg FWD 100128 1Shr Fa0 13Root FWD 19128 13P2p Fa0 14Altn BLK 19128 14P2p SW2 show spanning tree vlan 3 Fa0 13Altn BLK 19128 13P2p Fa0 14Root FWD 18128 14P2p 实现负载均衡 SW2 config int f0 1 SW2 config if switchport mode access SW2 config if switchport access vlan 2 SW2 show vtp status VTPVersion 2 Configuration Revision 2 Maximum VLANs supported locally 64 Number of existing VLANs 7 VTP Operating Mode Server VTP Domain Name YB VTP Pruning Mode Disabled VTPV2 Mode Disabled VTPTraps Generation Disabled MD5 digest 0 x00 0 xAB 0 x73 0 xC7 0 x59 0 xF6 0 x50 0 xC8 Configuration last modified by 0 0 0 0 at 3 1 93 00 15 43 Local updater ID is 0 0 0 0 no valid interface found R1 R1 config int e0 0 R1 config if ip add 172 16 14 1 255 255 255 0 R1 config if no shut R1 config int e0 0 2 R1 config subif encapsulation d R1 config subif encapsulation dot1Q 2 R1 config subif ip add 172 16 12 1 255 255 255 0 R1 config subif int e0 0 3 R1 config subif encapsulation dot1Q 3 R1 config subif ip add 172 16 13 1 255 255 255 0 R1 config int e0 0 2 R1 config subif ip help R1 config subif ip helper address 172 16 12 4 R1 config subif int e0 0 3 R1 config subif ip helper address 172 16 12 4 R2 R2 config int f0 0 R2 config if ip add dhcp Interface FastEthernet0 0 assigned DHCP address 172 16 12 5 mask 255 255 255 0 在 DHCP 服务器中取到了 IP 地址 R2 telnet 172 16 14 10 Trying 172 16 14 10 Open UserAccess Verification Password SW1 en Password SW1 SW1 远程交换1成功 R3 R3 config int f0 0 R3 config if ip add dhcp Mar 1 00 39 20 076 DHCP 6 ADDRESS ASSIGN Interface FastEthernet0 0 assigned DHCP address 172 16 13 2 mask 255 255 255 0 hostname R3 在 DHCP 中拿到 IP 地址 R3 telnet 172 16 14 10 Trying 172 16 14 10 Open UserAccess Verification Password SW1 en Password SW1 远程交换机1成功 R4 R4 config int e0 0 R4 config if ip add 172 16 12 4 255 255 255 0 R4 config ip dhcp pool 1 R4 dhcp config network 172 16 12 0 24 R4 dhcp config default router 172 16 12 1 R4 config ip dhcp excluded address 172 16 12 1 172 16 12 4 R4 config ip dhcp pool 2 R4 dhcp config network 172 16 13 0 24 R4 dhcp config default router 172 16 13 1 R4 config ip dhcp excluded address 172 16 13 1 SW2 config int f0 1 SW2 config if spanning tree portfas R4 telnet 172 16 14 10 Trying 172 16 14 10 Open UserAccess Verification Password SW1 en Password SW1 远程交换机1成功 实验的验证 实验的验证 1 单臂路由 R2 ping 172 16 13 2 Type escape sequence to abort Sending 5 100 byte ICMP Echos to 172 16 13 2 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 1 2 4 ms R2 ping 172 16 12 4 Type escape sequence to abort Sending 5 100 byte ICMP Echos to 172 16 12 4 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 1 202 1004 ms R3 ping 172 16 12 5 Type escape sequence to abort Sending 5 100 byte ICMP Echos to 172 16 12 5 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 1 3 4 ms R3 ping 172 16 12 4 Type escape sequence to abort Sending 5 100 byte ICMP Echos to 172 16 12 4 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 1 2 4 ms R4 ping 172 16 13 2 Type escape sequence to abort Sending 5 100 byte ICMP Echos to 172 16 13 2 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 4 4 4 ms R4 ping 172 16 12 5 Type escape sequence to abort Sending 5 100 byte ICMP Echos to 172 16 12 5 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 1 2 4 ms 2 学习到的 trunk 和 vtp 的信息 SW1 show int trunk PortModeEncapsulation StatusNative vlan Fa0 3on802 1qtrunking1 Fa0 13on802 1qtrunking1 Fa0 14on802 1qtrunking1 SW2 show int
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 包头市2025内蒙古包头市招商投资促进局所属事业单位人才引进1人笔试历年参考题库附带答案详解
- 上海市2025上海应用技术大学大学生心理健康教育中心专职人员招聘2人笔试历年参考题库附带答案详解
- 2025福建晋江市市政工程建设有限公司权属公司招聘6人笔试参考题库附带答案详解
- 2025浙江金华金开宏业产业运营管理有限公司招聘5人笔试参考题库附带答案详解
- 2025年度河南西沟电力有限责任公司招聘工作人员2名笔试参考题库附带答案详解
- 2025年安徽国控资本有限公司社会招聘17人笔试参考题库附带答案详解
- 2025年亳州公用事业发展有限公司古井供水工程项目人员招聘10人笔试参考题库附带答案详解
- 2025山东农科生物科技发展有限公司招聘16人笔试参考题库附带答案详解
- 2025四川虹微技术有限公司招聘软件开发工程师等岗位8人笔试参考题库附带答案详解
- 2025内蒙古锡林郭勒盟阿巴嘎旗城乡建设投资集团有限公司招聘12人笔试参考题库附带答案详解
- T/CAQI 183-2021燃煤电厂脱硫废水处理技术规范
- 四史教育考试试题及答案
- 舞龙舞狮二级裁判员理论考试题库(含答案)
- 9.《复活(节选)》课件 统编版高二语文选择性必修上册
- 《翡翠玉石翡翠玉》课件
- 2025-2030中国成品润滑剂行业市场发展趋势与前景展望战略研究报告
- 保密警示教育典型泄密案例教育学习
- 道路货物运输经营申请表
- 乡村积分超市协议书
- 小学一年级上册体育全册教案
- 电焊工理论知识培训课件
评论
0/150
提交评论