交换机和路由器的基本配置

实验1交换机和路由器的基本配置

实验所属系列: 《计算机网络基础》课内实验 实验对象: 本科 相关课程及专业:计算机网络实验时数(学分):4学时

实验类别 课内上机

实验开发教师: 计算机网络课程组

姓名:

学号:

专业:

【实验目的】

理解和掌握交换机和路由器的工作原理;掌握交换机和路由器命令行各种操作模式的区别;能够使用各种帮助信息,以及用命令进行基本的配置。

【实验内容】

假设是某公司新进的网管,公司要求你熟悉网络产品。

首先要求你登录交换机或路由器,了解并掌握交换机和路由器的命令行操作,以及如何使用一些基本命令对设备进行配置,包括交换机和路由器的设备名、登录时的描述信息、端口参数的基本配置,以及设备运行状态的查看。

【实验环境】

【实验设备】

三层交换机1台、路由器1台、计算机1台。

【实验原理】

交换机和路由器(以下简称设备)的管理方式基本分为两种:带内管理和带外管理。通过设备的Console 口管理设备属于带外管理,不占用设备的网络接口,其特点是需要使用配置线缆,近距离配置。第一次配置交换机或路由器时必须利用Console 端口进行配置。

【实验步骤】

1. 配置交换机名称

2. 配置交换机每日提示信息

3. 配置接口状态

4. 查看交换机系统和配置信息以确认步骤3是否成功执行

5. 查看交换机配置信息并保存结果

6. 配置路由器的接口并查看借口配置

7. 显示路由表的信息并保存结果

【实验结果】

1.SW666#show running-config

Building configuration...

Current configuration : 1112 bytes

!

version 12.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname SW666

!

!

!

interface FastEthernet0/1

description "This is a Accessport."

duplex half

speed 10

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface Vlan1

no ip address

shutdown

!

banner motd ^C

Welcome to SW666, if you are admin, you can config it. if you are not admin, please EXIT!

^C

!

line con 0

!

line vty 0 4

login

line vty 5 15

login

!

!

End

2.Router#show running-config Building configuration...

Current configuration : 463 bytes !

version 12.4

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname Router

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface FastEthernet0/0

ip address 192.168.1.1 255.255.255.0 duplex auto

speed auto

!

interface FastEthernet0/1 no ip address duplex auto speed auto

shutdown

!

interface Vlan1 no ip address shutdown

!

ip classless

!

!

!

!

!

!

!

line con 0

line vty 0 4

login

!

!

!

end

实验1交换机和路由器的基本配置

实验所属系列: 《计算机网络基础》课内实验 实验对象: 本科 相关课程及专业:计算机网络实验时数(学分):4学时

实验类别 课内上机

实验开发教师: 计算机网络课程组

姓名:

学号:

专业:

【实验目的】

理解和掌握交换机和路由器的工作原理;掌握交换机和路由器命令行各种操作模式的区别;能够使用各种帮助信息,以及用命令进行基本的配置。

【实验内容】

假设是某公司新进的网管,公司要求你熟悉网络产品。

首先要求你登录交换机或路由器,了解并掌握交换机和路由器的命令行操作,以及如何使用一些基本命令对设备进行配置,包括交换机和路由器的设备名、登录时的描述信息、端口参数的基本配置,以及设备运行状态的查看。

【实验环境】

【实验设备】

三层交换机1台、路由器1台、计算机1台。

【实验原理】

交换机和路由器(以下简称设备)的管理方式基本分为两种:带内管理和带外管理。通过设备的Console 口管理设备属于带外管理,不占用设备的网络接口,其特点是需要使用配置线缆,近距离配置。第一次配置交换机或路由器时必须利用Console 端口进行配置。

【实验步骤】

1. 配置交换机名称

2. 配置交换机每日提示信息

3. 配置接口状态

4. 查看交换机系统和配置信息以确认步骤3是否成功执行

5. 查看交换机配置信息并保存结果

6. 配置路由器的接口并查看借口配置

7. 显示路由表的信息并保存结果

【实验结果】

1.SW666#show running-config

Building configuration...

Current configuration : 1112 bytes

!

version 12.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname SW666

!

!

!

interface FastEthernet0/1

description "This is a Accessport."

duplex half

speed 10

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface Vlan1

no ip address

shutdown

!

banner motd ^C

Welcome to SW666, if you are admin, you can config it. if you are not admin, please EXIT!

^C

!

line con 0

!

line vty 0 4

login

line vty 5 15

login

!

!

End

2.Router#show running-config Building configuration...

Current configuration : 463 bytes !

version 12.4

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname Router

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface FastEthernet0/0

ip address 192.168.1.1 255.255.255.0 duplex auto

speed auto

!

interface FastEthernet0/1 no ip address duplex auto speed auto

shutdown

!

interface Vlan1 no ip address shutdown

!

ip classless

!

!

!

!

!

!

!

line con 0

line vty 0 4

login

!

!

!

end


相关内容

  • cisco三层交换机重置及与路由器连接方法
  • Cisco三层交换机重置及与路由器连接方法 一.重置交换机 1.启用超级终端并出现连接界面: 2.拔掉交换机的电源: 3.按下交换机上的Mode按钮,与此同时,重新插上交换机的电源线: 4.观察sys指示灯由闪烁到常亮,其他部分指示灯红色闪过:(提前松开Mode按钮会直接进入正常启动,要重置必须跳回 ...

  • 局域网的连接设备
  • 局域网连接设备 集线器 集线器(HUB )是对网络进行集中管理的最小单元,像树的主干一样,它是各分枝的汇集点.HUB 是一个共享设备,其实质是一个中继器,而中继器的主要功能是对接收到的信号进行再生放大,以扩大网络的传输距离.正是因为HUB 只是一个信号放大和中转的设备,所以它不具备自动寻址能力,即不 ...

  • 详解第三层交换机技术
  • 1.1 共享技术 所谓共享技术即在一个逻辑网络上的每一个工作站都处于一个相同的网段上. 以太网采用CSMA/CD 机制,这种冲突检测方法保证了只能有一个站点在总线上传输.如果有两个站点试图同时访问总线并传输数据,这就意味着"冲突"发生了,两站点都将被告知出错.然后它们都被拒发,并 ...

  • 思科交换机路由器命令大全
  • 思科交换机路由器命令大全 交换机命令: 1:用户模式switch> 进入特权模式 switch> enable switch# 2:进入全局配置模式 switch> enable switch#configure terminal switch(config)# 3:交换机命名 h ...

  • 中小型校园网设计方案实例
  • (中小型)校园网设计方案实例 目录 ............. 1 系统总体设计方案概述 ........................................................................... 1 1.1 系统组成与拓扑结构 ............. ...

  • 网络基本知识点
  • 组建与维护企业网络 1.OSI 参考模型和TCP/IP参考模型及关系 OS17层模型:应用层 TCP 四层模型 表示层 应用层 会话层 传输层 传输层 网络层 网络层 数据链路层 网络接口层 物理层 关系 相同点 1) 两者都是以协议栈的概念为基础 2) 协议栈中的协议彼此相互独立 3) 下层对上层 ...

  • 网络设备课程设计小型网吧
  • 哈尔滨理工大学 课 程 设 计 题 目: 小型网吧组建方案 院. 系:计算机科学与技术学院 网络工程系 班 级: 学 号: 姓 名: 指导教师: 成 绩: 2015年12月23日 目 录 一.需求分析 1.1功能要求 ......................................... ...

  • [转载]CISCO路由器.交换机密码破解
  • 2010年05月22日 星期六 21:45 一. 路由器密码恢复 按照以下步骤恢复路由器密码: 1. 关闭路由器的电源并在10秒后重新给路由器加电,在给路由器加电的同时(也可在路由器重启的60秒内)按住键盘上的Ctrl+Break几秒钟,待出现路由器提示符rommon 1 >后,输入confr ...

  • 网络测试题1
  • 1. 小明正在对一台作为NAT 服务器的Cisco 路由器进行配置,现在他想将当前所有活跃的转换都清楚掉,他应该使用(d )命令.(选择一项) a) clear nat b) clear all c) erase ip nat translation d) clear ip nat translat ...