计算机网络实验报告1-4

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

甘肃政法学院

本科生实验报告

姓名:

学院:

专业:

班级:

实验课程名称:实验日期:2014年9月26日指导教师及职称:

实验成绩:

开课时间: 2014-2015 学年第一学期

实验题实验一:交换机小组合否

目实验二:交换机的基本配

实验三:Internet远程登陆

实验四:交换机间vlan的

配置

姓名班级学号

一、实验目的

对路由器命令行各种操作模式有了新的体验,在计算机上对路路由器各种操作模式进行配置,掌握路由器的各种操作模式之间的切换及区别,加深我们对实验原理的认识和理解,学会运用这些原理,学会了对IP地址的基本配置。

二.实验环境

在Cisco Packet Tracer的环境下

三. 实验内容与步骤

实验一:交换机

实验二:交换机的基本配置

Switch>en

Switch>enable

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interf

Switch(config)#interface fa 0/1

Switch(config-if)#speed ?

10 Force 10 Mbps operation

100 Force 100 Mbps operation

auto Enable AUTO speed configuration

Switch(config-if)#speed 100

Switch(config-if)#duplex

% Incomplete command.

Switch(config-if)#duplex ?

auto Enable AUTO duplex configuration

full Force full duplex operation

half Force half-duplex operation

Switch(config-if)#duplex full

Switch(config-if)#end

Switch#

%SYS-5-CONFIG_I: Configured from console by console show run

Building configuration...

Current configuration : 1033 bytes

!

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Switch

!

!

!

interface FastEthernet0/1

duplex full

speed 100

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

--More—

实验三:Internet远程登陆

Switch>en

Switch>enable

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface vlan 1

Switch(config-if)#ip address 192.168.1.1 255.255.255.0

Switch(config-if)#no shutdown

Switch(config-if)#

%LINK-5-CHANGED: Interface Vlan1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

exit

Switch(config)#enable password 211209

Switch(config)#line vty 0 4

Switch(config-line)#password 940421

Switch(config-line)#login

Switch(config-line)#end

%SYS-5-CONFIG_I: Configured from console by console

Switch#showrun

Translating "showrun"...domain server (255.255.255.255)

% Unknown command or computer name, or unable to find computer address实验四:交换机间vlan的配置

Switch>enable

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 2

Switch(config-vlan)#exit

Switch(config)#vlan 3

Switch(config-vlan)#exit

Switch(config)#int

Switch(config)#interface fa 0/1

Switch(config-if)#sw

Switch(config-if)#switchport access vlan 2

相关文档
最新文档