CCNA实验指导书提高阶段.docx

上传人:b****4 文档编号:5535606 上传时间:2023-05-08 格式:DOCX 页数:73 大小:2.15MB
下载 相关 举报
CCNA实验指导书提高阶段.docx_第1页
第1页 / 共73页
CCNA实验指导书提高阶段.docx_第2页
第2页 / 共73页
CCNA实验指导书提高阶段.docx_第3页
第3页 / 共73页
CCNA实验指导书提高阶段.docx_第4页
第4页 / 共73页
CCNA实验指导书提高阶段.docx_第5页
第5页 / 共73页
CCNA实验指导书提高阶段.docx_第6页
第6页 / 共73页
CCNA实验指导书提高阶段.docx_第7页
第7页 / 共73页
CCNA实验指导书提高阶段.docx_第8页
第8页 / 共73页
CCNA实验指导书提高阶段.docx_第9页
第9页 / 共73页
CCNA实验指导书提高阶段.docx_第10页
第10页 / 共73页
CCNA实验指导书提高阶段.docx_第11页
第11页 / 共73页
CCNA实验指导书提高阶段.docx_第12页
第12页 / 共73页
CCNA实验指导书提高阶段.docx_第13页
第13页 / 共73页
CCNA实验指导书提高阶段.docx_第14页
第14页 / 共73页
CCNA实验指导书提高阶段.docx_第15页
第15页 / 共73页
CCNA实验指导书提高阶段.docx_第16页
第16页 / 共73页
CCNA实验指导书提高阶段.docx_第17页
第17页 / 共73页
CCNA实验指导书提高阶段.docx_第18页
第18页 / 共73页
CCNA实验指导书提高阶段.docx_第19页
第19页 / 共73页
CCNA实验指导书提高阶段.docx_第20页
第20页 / 共73页
亲,该文档总共73页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

CCNA实验指导书提高阶段.docx

《CCNA实验指导书提高阶段.docx》由会员分享,可在线阅读,更多相关《CCNA实验指导书提高阶段.docx(73页珍藏版)》请在冰点文库上搜索。

CCNA实验指导书提高阶段.docx

CCNA实验指导书提高阶段

 

思科认证CCNA实验手册

提高阶段

 

 

编写:

孙殿秀

2008年4月

 

目录

提高系列:

实验一VLAN,TRUNK,VTP和VLAN间路由的使用和配置1-18

实验二ACL,NAT和DHCP的使用和配置19-36

实验三RIPV1与RIPV2,IGRP与EIGRP和单区域OSPF使用和配置37-51

 

实验一VLAN,TRUNK,VTP和VLAN间路由的使用和配置

VLAN,TRUNK,VTP和VLAN间路由的使用和配置

实验目的:

熟练掌握VLAN,TRUNK,VTP和VLAN间路由的使用和配置

实验内容:

在1900系列和2900系列交换机上VLAN的配置

在1900系列和2900系列交换机上TRUNK的配置

在1900系列和2900系列交换机上VTP的配置

在1900系列和2900系列交换机以及2600系列路由器上VLAN间路由的配置

实验条件:

2900系列交换机两台,1900系列交换一台和2600系列路由器各一台

一.VLAN的配置

本实验需要2900交换机一台,PC机两台,console线一条

Step1配置交换机

Switch>

Switch>enable

Switch#configureterminal

Switch(config)#hostnameSwitch_A

Switch_A(config)#enablesecretclass

Switch_A(config)#enablepasswordcisco

Switch_A(config)#linecon0

Switch_A(config-line)#passwordcisco

Switch_A(config-line)#login

Switch_A(config-line)#linevty015

Switch_A(config-line)#passwordcisco

Switch_A(config-line)#login

Switch_A(config-line)#exit

Switch_A(config)#interfaceVlan1

Switch_A(config-if)#ipaddress192.168.1.2255.255.255.0

Switch_A(config-if)#noshutdown

Switch_A(config-if)#exit

Switch_A(config)#ipdefault-gateway192.168.1.1

Switch_A(config)#end

Step2为PC配置正确的IP地址,子网掩码和缺省网关

Step3检测连通性

由switchping两台PC机,检测连通性

Step4显示VLAN的接口信息

2900:

Switch_A#showvlan

1900:

Switch_A#showvlan-membership

Step5创建,命名VLAN

2900:

Switch_A#vlandatabase

Switch_A(vlan)#vlan2nameVLAN2

Switch_A(vlan)#vlan3nameVLAN3

Switch_A(vlan)#exit

1900:

Switch_A#configureterminal

Switch_A(config)#vlan2nameVLAN2

Switch_A(config)#vlan3nameVLAN3

Step6安排4,5,6端口到VLAN2

2900:

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/4

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan2

Switch_A(config-if)#interfacefastethernet0/5

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan2

Switch_A(config-if)#interfacefastethernet0/6

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan2

Switch_A(config-if)#end

1900:

Switch_A#configureterminal

Switch_A(config)#interfaceEthernet0/4

Switch_A(config-if)#vlanstatic2

Switch_A(config-if)#interfaceEthernet0/5

Switch_A(config-if)#vlanstatic2

Switch_A(config-if)#interfaceEthernet0/6

Switch_A(config-if)#vlanstatic2

Switch_A(config)#end

Step7显示VLAN的接口信息

2900:

Switch_A#showvlan

1900:

Switch_A#showvlan-membership

Step8安排7,8,9端口到VLAN3

Switch_A#configureterminal

Switch_A(config-if)#interfacefastethernet0/7

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan3

Switch_A(config-if)#interfacefastethernet0/8

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan3

Switch_A(config-if)#interfacefastethernet0/9

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan3

Switch_A(config-if)#end

Step9显示VLAN的接口信息

2900:

Switch_A#showvlan

1900:

Switch_A#showvlan-membership

Step10测试VLANs

Step11解除VLAN与端口的绑定

2900:

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/4

Switch_A(config-if)#noswitchportaccessvlan2

1900:

Switch_A#configureterminal

Switch_A(config)#interfaceEthernet0/4

Switch_A(config-if)#novlan-membership2

Switch_A(config-if)#end

Step12显示VLAN的接口信息

2900:

Switch_A#showvlan

1900:

Switch_A#showvlan-membership

Step13删除VLAN

2900:

Switch_A#vlandatabase

Switch_A(vlan)#novlan3

DeletingVLAN3

Switch_A(vlan)#exit

1900:

Switch_A#configureterminal

Switch_A(config)#interfaceethernet0/7

Switch_A(config-if)#novlan3

Switch_A(config-if)#exit

Step14显示VLAN的接口信息

2900:

Switch_A#showvlan

1900:

Switch_A#showvlan-membership

二.VLAN的TRUNK配置

本实验需要2900交换机两台,PC机两台,console线一条

(一)ISL

Step1配置交换机的基本参数

参考上面的实验

Step2为PC配置正确的IP地址,子网掩码和缺省网关

Step3检测连通性

由switchping两台PC机,检测连通性

Step4显示VLAN的接口信息

Switch_A#showvlan

Step5在Switch_A上创建,命名VLAN

Switch_A#vlandatabase

Switch_A(vlan)#vlan10nameAccounting

Switch_A(vlan)#vlan20nameMarketing

Switch_A(vlan)#vlan30nameEngineering

Switch_A(vlan)#exit

Step6安排4,5,6端口到VLAN10

Switch_A(config)#interfacefastethernet0/4

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#interfacefastethernet0/5

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#interfacefastethernet0/6

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#end

Step7安排端口7,8,9到VLAN20

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/7

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#interfacefastethernet0/8

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#interfacefastethernet0/9

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#end

Step8安排端口10,11,12到VLAN30

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/10

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan30

Switch_A(config-if)#interfacefastethernet0/11

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan30

Switch_A(config-if)#interfacefastethernet0/12

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan30

Switch_A(config-if)#end

Step9在Switch_B上创建,命名VLAN

重复5-8步,在Switch_B创建,命名VLAN

Step10显示VLAN的接口信息

Switch_A#showvlan

Step11测试VLANs

Step12创建ISLtrunk

Switch_A(config)#interfacefastethernet0/1

Switch_A(config-if)#switchportmodetrunk

Switch_A(config-if)#switchporttrunkencapsulationisl

Switch_A(config-if)#end

Switch_B(config)#interfacefastethernet0/1

Switch_B(config-if)#switchportmodetrunk

Switch_B(config-if)#switchporttrunkencapsulationisl

Switch_B(config-if)#end

Step13测试ISLtrunk

(二)dot1q

Step1配置交换机的基本参数

参考上面的实验

Step2为PC配置正确的IP地址,子网掩码和缺省网关

Step3检测连通性

由switchping两台PC机,检测连通性

Step4显示VLAN的接口信息

Switch_A#showvlan

Step5在Switch_A上创建,命名VLAN

Switch_A#vlandatabase

Switch_A(vlan)#vlan10nameAccounting

Switch_A(vlan)#vlan20nameMarketing

Switch_A(vlan)#vlan30nameEngineering

Switch_A(vlan)#exit

Step6安排4,5,6端口到VLAN10

Switch_A(config)#interfacefastethernet0/4

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#interfacefastethernet0/5

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#interfacefastethernet0/6

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#end

Step7安排端口7,8,9到VLAN20

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/7

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#interfacefastethernet0/8

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#interfacefastethernet0/9

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#end

Step8安排端口10,11,12到VLAN30

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/10

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan30

Switch_A(config-if)#interfacefastethernet0/11

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan30

Switch_A(config-if)#interfacefastethernet0/12

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan30

Switch_A(config-if)#end

Step9在Switch_B上创建,命名VLAN

重复5-8步,在Switch_B创建,命名VLAN

Step10显示VLAN的接口信息

Switch_A#showvlan

Step11测试VLANs

Step12创建dot1qtrunk

Switch_A(config)#interfacefastethernet0/1

Switch_A(config-if)#switchportmodetrunk

Switch_A(config-if)#switchporttrunkencapsulationdot1q

Switch_A(config-if)#end

Switch_B(config)#interfacefastethernet0/1

Switch_B(config-if)#switchportmodetrunk

Switch_B(config-if)#switchporttrunkencapsulationdot1q

Switch_B(config-if)#end

Step13测试dot1qtrunk

三.VLAN的VTP配置

本实验需要2900交换机两台,PC机两台,console线一条

Step1配置交换机

参考上面的实验

Step2为PC配置正确的IP地址,子网掩码和缺省网关

Step3测试连接性

由switchping两台PC机,检测连通性

Step4显示VLAN接口信息

Switch_A#showvlan

Step5配置VTP服务器端

Switch_A#vlandatabase

Switch_A(vlan)#vtpserver

Switch_A(vlan)#vtpdomaingroup1

Switch_A(vlan)#exit

Step6创建,命名VLANs

Switch_A#vlandatabase

Switch_A(vlan)#vlan10nameAccounting

Switch_A(vlan)#vlan20nameMarketing

Switch_A(vlan)#vlan30nameEngineering

Switch_A(vlan)#exit

Step7安排端口4,5,6到VLAN10

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/4

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#interfacefastethernet0/5

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#interfacefastethernet0/6

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan10

Switch_A(config-if)#end

Step8安排端口7,8,9到VLAN20

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/7

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#interfacefastethernet0/8

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#interfacefastethernet0/9

Switch_A(config-if)#switchportmodeaccess

Switch_A(config-if)#switchportaccessvlan20

Switch_A(config-if)#end

Step9安排端口10,11,12到VLAN30

Switch_A#configureterminal

Switch_A(config)#interfacefastethernet0/10

Switch_A(config-if)#switchportmode

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2