奥山ccna实验手册.doc
《奥山ccna实验手册.doc》由会员分享,可在线阅读,更多相关《奥山ccna实验手册.doc(40页珍藏版)》请在三一文库上搜索。
1、奥山CCNA试验手册目 录实验一、配置STP与VTP3实验二、静态路由11实验三、RIP路由协议14实验四、RIPv1与EIGRP在不连续网络下的比较21实验五、访问列表与telnet访问控制27实验六、静态、动态NAT与PAT31实验七、帧中继链路上运行EIGRP35实验八、背靠背帧中继40实验一、配置STP与VTP 环境:三台交换机,形成一个全互连结构,sw3为2950,sw1和sw2为2900xl;要求:设置sw3为VTP server,设置sw1和sw2为VTP client,域名为cisco,密码为:cisco,在server创建vlan 10(name:aa)和vlan20(nam
2、e:bb);设置sw3为vlan1的根桥,sw1为vlan10的根桥,sw2为vlan20的根桥; 初始化配置:Sw#show vlan 查看vlan信息Sw#Delete vlan.dat 用此命令将vlan删除Sw#show startup-config 查看一下NVRAM是否保存了配置Sw#erase startup-config 清空配置文件Sw#reload 重新启动交换机swenablesw#config terminalsw(config)#hostname sw1sw1(config)#no ip domain-lookup 关闭域名查找sw1(config)#line con
3、sole 0sw1(config-line)#logging synchronous 命令输入达到同步sw1(config-line)#exec-timeout 0 0 设置永不超时sw1(config-line)#exit步骤一、配置VTPsw3的配置:sw3(config)#vtp mode server 在sw3上启用vtp serverDevice mode already VTP SERVER.sw3(config)#vtp domain cisco 设置域名Changing VTP domain name from NULL to ciscosw3(config)#vtp pass
4、word cisco 设置密码Setting device VLAN database password to ciscosw1的配置:sw1#vlan database 进入vlan数据库sw1(vlan)#vtp client 启用VTP client模式Setting device to VTP CLIENT mode.sw1(vlan)#vtp domain cisco 作用到cisco域中Changing VTP domain name from NULL to ciscosw1(vlan)#vtp password cisco 设置密码与server端相同 Setting devi
5、ce VLAN database password to cisco.sw1(vlan)#exit 使配置生效In CLIENT state, no apply attempted.Exiting.sw2的配置:sw2#vlan databasesw2(vlan)#vtp clientSetting device to VTP CLIENT mode.sw2(vlan)#vtp domain ciscoChanging VTP domain name from NULL to ciscosw2(vlan)#vtp password ciscoSetting device VLAN databa
6、se password to cisco.sw2(vlan)#exitsw2#步骤二、启用干道端口sw3的配置:sw3(config)#interface fa0/23sw3(config-if)#switchport mode trunk 启用trunk端口sw3(config-if)#interface fa0/24sw3(config-if)#switchport mode trunk sw1的配置:sw1(config)#interface fa0/23sw1(config-if)#switchport trunk encapsulation dot1q 封装干道协议sw1(confi
7、g-if)#switchport mode trunk 启用trunk模式sw1(config-if)#sw1(config)#interface fa0/24sw1(config-if)#switchport trunk encapsulation dot1qsw1(config-if)#switchport mode trunksw2的配置:sw2(config)#interface fa0/23sw2(config-if)#switchport trunk encapsulation dot1qsw2(config-if)#switchport mode trunksw2(config)
8、#interface fa0/24sw2(config-if)#switchport trunk encapsulation dot1qsw2(config-if)#switchport mode trunk步骤三、测试vtp状态及创建vlansw3的状态:sw3#show vtp status 显示vtp状态VTP Version : 2Configuration Revision : 0 配置修订号Maximum VLANs supported locally : 254Number of existing VLANs : 5 VTP Operating Mode : server vtp
9、模式VTP Domain Name : cisco vtp域名VTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x3F 0x17 0xC8 0xB8 0x5A 0xE3 0x01 0x66 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00创建vlan:sw3(config)#vlan 10 创建VLAN10sw3(config-vlan)#name aa 命名为aasw3(config-vla
10、n)#exit 应用配置sw3(config)#vlan 20 创建VLAN20sw3(config-vlan)#name bb 命名为bbsw3(config-vlan)#exitsw3(config)#sw3的状态:sw3#show vtp status 在sw3显示vtp的状态VTP Version : 2Configuration Revision : 2 server的修订号Maximum VLANs supported locally : 254Number of existing VLANs : 7 vlan也已经增加VTP Operating Mode : serverVTP
11、Domain Name : ciscoVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x98 0x31 0xCF 0xA0 0xA7 0x17 0x73 0x66Configuration last modified by 0.0.0.0 at 3-1-93 00:52:05sw2的状态:sw2#show vtp statusVTP Version : 2Configuration Revision : 2 已经同步了serverMaximum VLANs
12、 supported locally : 254Number of existing VLANs : 7VTP Operating Mode : ClientVTP Domain Name : ciscoVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x98 0x31 0xCF 0xA0 0xA7 0x17 0x73 0x66Configuration last modified by 0.0.0.0 at 3-1-93 00:52:05sw1的vlan信
13、息:sw1#show vlan 显示vlan信息VLAN Name Status Ports- - - -1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/2410 aa active 已经同步了vlan的信息20 bb active步骤四、配置PVSTsw
14、3(config)#spanning-tree vlan 1 root primary 设置为vlan1的根桥Sw1(config)#spanning-tree vlan 10 priority 4096 设置为vlan10的根桥Sw2(config)#spanning-tree vlan 20 priority 4096 设置为vlan20的根桥步骤五、显示STP的信息sw1的生成树信息:sw1#show spanning-tree brief 显示每VLAN生成树信息VLAN1 Spanning tree enabled protocol IEEE ROOT ID Priority 245
15、77 Address 0007.eb06.1740 非vlan1的根桥 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32768 Address 0030.803d.f640 Hello Time 2 sec Max Age 20 sec Forward Delay 15 secVLAN10 Spanning tree enabled protocol IEEE ROOT ID Priority 4096 Address 0030.803d.f641 为vlan10的根桥 This bridge
16、is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 4096 Address 0030.803d.f641 Hello Time 2 sec Max Age 20 sec Forward Delay 15 secVLAN20 Spanning tree enabled protocol IEEE ROOT ID Priority 4096 Address 00b0.645f.34c2 非vlan20的根桥 Hello Time 2 sec Max Age 20 sec Forwa
17、rd Delay 15 sec Bridge ID Priority 32768 Address 0030.803d.f642 Hello Time 2 sec Max Age 20 sec Forward Delay 15 secsw2的生成树信息:sw2#show spanning-tree briefVLAN1 Spanning tree enabled protocol IEEE 非vlan1的根桥 ROOT ID Priority 24577 Address 0007.eb06.1740 Hello Time 2 sec Max Age 20 sec Forward Delay 15
18、 sec Bridge ID Priority 32768 Address 00b0.645f.34c0 Hello Time 2 sec Max Age 20 sec Forward Delay 15 secVLAN10 Spanning tree enabled protocol IEEE ROOT ID Priority 4096 非vlan10的根桥 Address 0030.803d.f641 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32768 Address 00b0.645f.
19、34c1 Hello Time 2 sec Max Age 20 sec Forward Delay 15 secVLAN20 Spanning tree enabled protocol IEEE ROOT ID Priority 4096 为vlan20的根桥 Address 00b0.645f.34c2 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 4096 Address 00b0.645f.34c2 Hello Time 2 sec Max
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 奥山 ccna 实验 手册
链接地址:https://www.31doc.com/p-5021420.html