文档介绍:County continuation records has examined and approved the draft, spirit, believe, prehensive Yearbook of zhuanglang already prepared draft, entered the phase of evaluation. Civil air defense work
County continuation records has examined and approved the draft, spirit, believe, prehensive Yearbook of zhuanglang already prepared draft, entered the phase of evaluation. Civil air defense work
County continuation records has examined and approved the draft, spirit, believe, prehensive Yearbook of zhuanglang already prepared draft, entered the phase of evaluation. Civil air defense work
联合大学
实训报告
课程(项目)名称:
学 院:专 业:
班 级:学 号:
姓 名:成 绩:
年 月 日
0
实训2 交换机vlan的划分
任务与目的
1. 实验任务:
(1) 掌握和完成设置vlan的方法;
(2) 完成vlan间计算机的测试。
2. 实验目的:
(1) 熟悉交换机vlan的配置方法;
(2) 熟悉和掌握划分vlan的意义。
二、原理(条件)
相关知识:
(1) Vlan的工作原理;
(2) 配置VLAN的相关命令。
:
(1) cisco pt软件。
三、内容与步骤
1.实验内容:
在一台CISCO 2950交换机上划分VLAN,端口1、3划分为VLAN2,端口10划分为VLAN3,并进行测试。
图3 简单VLAN配置结构图
2. 测试方法
(1)未划分vlan时,pc1、pc2、pc3相互进行ping操作。
(2)划分vlan后,pc1、pc2、pc3相互进行ping操作。
四、数据处理(现象分析)
(1)设置不同vlan的网络地址
(2)设置pc机的ip地址
(3)在交换机上划分不同vlan
(4)指定端口到不同vlan
生成vlan
Switch# vlan database
County continuation records has examined and approved the draft, spirit, believe, prehensive Yearbook of zhuanglang already prepared draft, entered the phase of evaluation. Civil air defense work
26
Switch(vlan)# vlan 2
Switch(vlan)#vlan 3
Switch(vlan)#exit
Switch#show vlan
指定端口到不同vlan
Switch#conf t
Switch(config)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#no shutdown
Switch(config-if)#int fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#int fa0/10
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-if)#no shutdown
Switch(config-if)#end
实验结果截图
未划分vlan时,pc1、p