思科交换机的基本配置

作者&投稿:凌怨 (若有异议请与网页底部的电邮联系)
~   随着Internet的高速发展,网路规模不断膨胀,对于从事网路专业的学生熟练掌握路由器和交换机的配置已显得十分重要。接下来是我为大家收集的方法,希望能帮到大家。
  的方法
  一、交换机的基本配置

  Author:chenchao in ZJNU

  从本篇文章开始,将连载大概8-9篇自己学习交换与路由的实验报告,但是怕自己能力不行,会出现错误,所以,先载两篇文章,依次为:交换机的基本配置;路由器基本配置。本篇为交换机的基本配置,使用的模拟软体是Cisco的一款免费软体:Cisco Packet Tracer。想学习的可以在百度自行下载。

  下面开始附上实验过程:

  实验环境:

  Cisco 2950交换机1台,Console电缆1根,PC机一台,网线1根。连线如下图所示:

  实验步骤:

  一、 交换机的带外配置;

  1、 在使用者模式、特权模式、全域性模式、介面模式之间转换;

  Switch>enable

  Switch#configure terminal

  Enter configuration mands, one perline. End with CNTL/Z.

  Switchconfig#interface FastEthernet 0/1

  Switchconfig-if#exit

  Switchconfig#exit

  Switch#

  %SYS-5-CONFIG_I: Configured from console byconsole

  Switch#exit

  Switch con0 is now available

  Press RETURN to get started.

  Switch>

  2、将交换机的名称改为“student”;

  Switchconfig#hostname student

  studentconfig#

  3、 为交换机各个模式设定密码“cisco”;

  特权模式下的密码保护

  student#enable

  student#configure t

  Enter configuration mands, one perline. End with CNTL/Z.

  studentconfig#enable password cisco

  studentconfig#enable secret cisco1

  远端登入口令设定

  student#configure t

  Enter configuration mands, one perline. End with CNTL/Z.

  studentconfig#line console 0

  studentconfig-line#line vty 0 4

  studentconfig-line#password cisco2

  studentconfig-line#login

  studentconfig-line#

  student#

  4、为交换机制定一个IP地址10.10.10.X/24;

  student#config

  Configuring from terminal, memory, ornetwork [terminal]?

  Enter configuration mands, one perline. End with CNTL/Z.

  studentconfig#interface vlan 1

  studentconfig-if#ip address 10.10.10.1255.0.0.0

  5、开启交换机的Telnet服务功能,建立Telnet使用者admin,口令cisco,并制定只能从10.10.10.y/24登入Telnet伺服器;

  student#

  student#configure t

  Enter configuration mands, one perline. End with CNTL/Z.

  studentconfig#user admin password 0 cisco

  studentconfig#

  6、 检视配置情况;

  student>enable

  Password:

  student#show running-c

  Building configuration...

  hostname student

  !

  enable secret 5$1$mERr$q.MA2tj.WFptzvbifq/1i.

  enable password cisco

  !

  !

  username admin password 0 cisco

  interface Vlan1

  ipaddress 10.10.10.1 255.0.0.0

  !

  !

  line con 0

  !

  line vty 0 4

  password cisco2

  login

  line vty 5 15

  login

  !

  !

  End

  二、交换机的埠配置:

  1、 配置介面的描述、关闭借口、启动介面、配置介面的速度为100Mbps、配置介面工作模式为全双工、配置介面的流程控制;

  student#configure terminal

  Enter configuration mands, one perline. End with CNTL/Z.

  studentconfig#interface FastEthernet0/1

  studentconfig-if#shutdown

  %LINK-5-CHANGED: Interface FastEthernet0/1,changed state to administratively down

  %LINEPROTO-5-UPDOWN: Line protocol onInterface FastEthernet0/1, changed state to down

  %LINEPROTO-5-UPDOWN: Line protocol onInterface Vlan1, changed state to down

  studentconfig-if#

  studentconfig-if#exit

  studentconfig#interface FastEthernet0/1

  studentconfig-if#no shutdown

  %LINK-5-CHANGED: Interface FastEthernet0/1,changed state to up

  %LINEPROTO-5-UPDOWN: Line protocol onInterface FastEthernet0/1, changed state to up

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

  studentconfig-if#speed 100

  studentconfig-if#duplex full

  %LINK-5-CHANGED: Interface FastEthernet0/1,changed state to down

  %LINEPROTO-5-UPDOWN: Line protocol onInterface FastEthernet0/1, changed state to down

  %LINEPROTO-5-UPDOWN: Line protocol onInterface Vlan1, changed state to down

  studentconfig-if#

  2、 配置介面FastEthernet0/10为Access口;

  student#

  student#configure terminal

  Enter configuration mands, one perline. End with CNTL/Z.

  studentconfig#interface FastEthernet0/10

  studentconfig-if#switchport mode access

  studentconfig-if#

  3、 配置介面FastEthernet0/12为Trunk口;

  student#

  student#configure t

  Enter configuration mands, one perline. End with CNTL/Z.

  studentconfig#interface fastethernet0/12

  studentconfig-if#switchport mode Trunk

  studentconfig-if#end

  4、 检视配置情况;

  !

  interface FastEthernet0/1

  duplex full

  speed100

  !

  interface FastEthernet0/2

  !

  interface FastEthernet0/9

  !

  interface FastEthernet0/10

  switchport mode access

  !

  interface FastEthernet0/11

  !

  interface FastEthernet0/12

  switchport mode trunk

  !

  student#show running-c

  Building configuration...

  Current configuration : 1275 bytes

  !

  version 12.1

  no service timestamps log datetime msec

  no service timestamps debug datetime msec

  no service password-encryption

  !

  hostname student

  !

  enable secret 5$1$mERr$q.MA2tj.WFptzvbifq/1i.

  enable password cisco

  !

  !

  username admin password 0 cisco

  !

  !

  interface FastEthernet0/1

  duplex full

  speed 100

  !

  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

  switchport mode access

  !

  interface FastEthernet0/11

  !

  interface FastEthernet0/12

  switchport mode trunk

  !

  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 GigabitEthernet1/1

  !

  interface GigabitEthernet1/2

  !

  interface Vlan1

  ipaddress 10.10.10.1 255.0.0.0

  !

  !

  line con 0

  !

  line vty 0 4

  password cisco2

  login

  line vty 5 15

  login

  !

  !

  end


交换机应该怎么设置
交换机拥有一条很高带宽的背部总线和内部交换矩阵。交换机的所有的端口都挂接在这条背部总线上,控制电路收到数据包以后,处理端口会查找内存中的地址对照表以确定目的MAC(网卡的硬件地址)的NIC(网卡)挂接在哪个端口上,通过内部交换矩阵迅速将数据包传送到目的端口,目的MAC若不存在,广播到所有的端口,接收端口回应后交...

磊科NSD1024D基本参数
磊科NSD1024D是一款专为中小企业设计的桌面型交换机,它具备了经济实用的特点。该产品支持的传输速率为10\/100Mbps,这意味着它能满足日常办公环境中的基本数据传输需求,无论是文件共享还是网络连接,都能提供稳定的性能支持。在数据交换能力方面,磊科NSD1024D的交换容量为4.8Gbps,这意味着它能高效地处...

磊科NSD1324基本参数
在存储能力方面,磊科NSD1324的地址表大小为4K,这意味着它能够支持大量的设备连接,无论是小型网络环境还是中大型网络,都能轻松应对。它遵循国际标准,支持IEEE 802.3、IEEE 802.3u和IEEE 802.3ab,这确保了设备与网络的兼容性,能够无缝接入各种网络环境。在端口配置上,这款交换机拥有24个端口,每个...

汉明科技交换机如何配置
汉明科技交换机如何配置,新手配置交换机详细教程: 1、这是交换机的侧面,通常都是电源线的接口,当然了不同的交换机可能的位置有些许不同,但一般都在侧面。 2、这是正面,主要是交换机的指示灯,等等,可通过此处确定你的网线是否连接成功。 3、开始设置交换机。

磊科ns116v交换机设置
1、先将电脑连接路由器的LAN端口,把路由器的IP地址改了。例如多数的路由器地址都是192.168.1.1、只要将路由器IP地址改为192.168.1.10即可。2、再在设置里将路由器的DHCP功能关闭。3、最后将交换机接出来的网线接在路由器的LAN端口上(随便哪一个都行),注意不能是WAN端口。

磊科NS108交换机使用。。。怎样配置??
1、首先网线连接,电脑和磊科路由器的LAN口相连接即可。然后进入dos界面,电脑桌面开始-->输入CMD-->回车 即可。2、在dos系统中,输入命令“ipconfig \/all”-->回车 查看获取的 默认网关“192.168.1.1”,就是我们要找的路由器的接口地址。3、在浏览器中输入“192.168.1.1”-->回车,进入...

交换机怎么配置呀?
1、将USB转串口网口数据线一头插入交换机前面板的“consel”口,另一头插入电脑的USB接口连接好。2、找到电脑系统桌面左下角“开始”\/“附件”\/“通讯”\/“超级终端”如下图。3、点击“超级终端”出现下图,简单随意命好记的名数字或英文字母,单词。4、然后点下一步,出现下图内容,主要有显示交换...

网络工程师考试内容
一、科目包括:1、 计算机与网络知识,考试时间为150分钟,笔试;2、 网络系统设计与管理,考试时间为150分钟,笔试。二、基本考点:1、IP地址的划分;2、Cisco路由器与交换机的基本配置;3、网络安全与网络管理等基础知识;4、Web、Ftp、Email等各种服务器的搭建与配置;5、各种网络故障的排查与判断;6、...

小的磊科5口交换机怎么设置,以前用的路由器,宿舍三台电脑是公司的网,公...
首先搞清楚 以前的上网方式。 如果是静态ip地址 用交换机需要每人电脑一个ip地址 如果用路由器就需要一个静态ip地址就可以

网络工程师 需要学些什么
一、网络工程师要考以下科目:1、 计算机与网络知识,考试时间为150分钟,笔试;2、 网络系统设计与管理,考试时间为150分钟,笔试。二、两门课程的基本考点:1、IP地址的划分;Cisco路由器与交换机的基本配置;2、网络安全与网络管理等基础知识;Web、Ftp、Email等各种服务器的搭建与配置;3、各种网络...

柳河县19257223900: Cisco交换机如何配置有哪些命令呢?
包国降脂: 1924交换机上配置 sw1924_b#delete nvram 全部清除交换机的所有配置 sw1924_b#reload 重新启动交换机(初始提示符为> ) sw1924_b#hostname sw1924 设置交换机...

柳河县19257223900: 思科交换机2960的配置 -
包国降脂: 产品类型:智能交换机 应用层级:二层 传输速率:10/100Mbps 产品内存:64MB 交换方式:存储-转发 包转发率:6.5Mpps MAC地址表:8K纠错

柳河县19257223900: 全新的思科路由器和交换机如何配置? -
包国降脂: 如果是2层交换的话直接插线就可以使用,但是想划分VLAN的话就需要配置了.3层交换也是一样,但是3层交换带路由功能,想使用的话也需要配置.路由器需要先给接口配置IP地址,在启用路由协议才可以使用,具体使用什么协议就要看你的网络环境了.

柳河县19257223900: cisco 交换机配置 -
包国降脂: 1、控制台端口(Console):可以直接对交换机进行Cisco交换机配置.2、远程登录(Telnet):通过TELNET程序对已经设置了IP的交换机进行远程配置,一般等控制台端口配置好交换机的IP后才可以进行.除了以上的两种方法外,其实还有...

柳河县19257223900: 思科的交换机怎么配置 -
包国降脂: 当傻瓜交换机用就是不需要设置的,实际上就是所有的交换机口都在vlan 1里头(出厂的缺省设置就是这样).交换机互相连接起来就可以,有可能要用交叉线,只要网线接的口灯亮就应该可以.

柳河县19257223900: 思科交换机怎么配置? -
包国降脂: switch> 用户模式 1:进入特权模式 enable switch> enable switch# 2:进入全局配置模式 configure terminal switch> enable switch#configure terminal switch(conf)# 3:交换机命名 hostname aptech2950 以aptech2950为例 switch> enable switch#...

柳河县19257223900: 思科三层交换机配置命令 -
包国降脂: 1. 交换机支持的命令: 交换机基本状态: switch: ;ROM状态, 路由器是rommon> hostname> ;用户模式 hostname# ;特权模式 hostname(config)# ;全局配置模式 hostname(config-if)# ;接口状态交换机口令设置: switch>enable ;进入特权...

柳河县19257223900: 思科中,关于交换机的配置! -
包国降脂: 三个路由器上做路由协议,主机添加正确的网关即可.

柳河县19257223900: 思科 2960交换机配置 -
包国降脂: 交换机基本状态: switch: ;ROM状态, 路由器是rommon> hostname> ;用户模式 hostname# ;特权模式 hostname(config)# ;全局配置模式 hostname(config-if)# ;接口状态 交换机口令设置: switch>enable ;进入特权模式 switch#config ...

柳河县19257223900: 思科路由交换的配置步骤,以及步骤中命令详解 -
包国降脂: 思科Cisco交换机、路由器设置命令 Lzshihj_tz2f_3550 交换机口令设置:switch>enable ;进入特权模式 switch#config terminal ;进入全局配置模式 switch(config)#hostname <hostname> ;设置交换机的主机名 switch(config)#enable secret xxx ;...

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 星空见康网