常用交换机配置培训_第1页
常用交换机配置培训_第2页
常用交换机配置培训_第3页
常用交换机配置培训_第4页
常用交换机配置培训_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、常用交换机配置培训宽带网中常用交换机主要是以下几种品牌:cisco 1924 、 cisco 2924、 cisco 29503com 系列交换机(型号很多,但配置基本上一样)港湾1008 湾 1016、港湾1024、港湾u2、港湾3550华为交换机常用操作:登录、查看交换机配置、端口10m/100m 设置、端口半工/ 全工设置、配置vlan一、 登录整个登录过程分为超级终端登录和用户登录两个步骤:超级终端登录,步骤所有交换机都是一样的例:启动超级终端程序在名称处输入9600(代表速率) ,点确定选择连接时使用com1口,点确定选择每秒位数9600(一般交换机都是这个速率),点确定在敲击一下回

2、车键,这样就登录进去了用户登录,不同品牌的交换机用户登录步骤不同:1、 cisoc 系列:switchswitch enswitch password:switch#switch# conf tswitch(config)#普通模式,进入管理模式输入正确密码20lgxc0220lgxc04管理模式,可进行交换机管理操作进入配置模式配置模式,可进行交换机配置操作2、3com系列:login: admin默认管理员password:输入正确密码 , 可进入管理配置模式menu options: -3com superstack ii switch 610-bridgeethernetfeature

3、iplogoutsnmp- administer bridging/vlans- administer ethernet ports- administer system features- administer ip- logout of the command line interface- administer snmpsystem- administer system-level functionstype ? for help.-switch 610 (1)-select menu option:3、 港湾系列:login: adminpassword:harbourharbour

4、enharbour(config)#默认管理员默认密码 harbour进入普通模式进入管理模式进入配置模式4、华为系列:password: syshuawei默认密码 huawei普通模式,进入管理模式管理配置模式, 可进行交换机管理配置操作二、查看交换机配置查看交换机配置是详细了解交换机现有运行状态的重要手段,往往登录后第一步就是查看交换机配置,不同系列命令不同:1、 cisoc 系列:switch# show run2、 3com 系列:比较特殊,只能通过菜单一项项查看。3、 港湾系列:harbour(config)#show run4、华为系列:huawei# dis cur三、端口10

5、m/100m设置、端口半工/ 全工设置1、 cisoc 系列:设置1 口为10m半工switch# conf tswitch(config)#inter f0/1switch(config-if)#speed 10switch(config-if)#duplex half2、 3com 系列:比较特殊,只能通过菜单项来设置。3、 港湾系列:设置1 口 100m 全工harbour(config)#config port 1 auto offharbour(config)#config port 1 duplex fullharbour(config)#config port 1 speed 1

6、004、 华为系列:设置1 口 10m 全工huawei inter e0/1(华为 2403h-ea 的交换机进入端口1 口 inter e1/0/1)huawei-ethernet0/1speed 10huawei-ethernet0/1duplex full四、配置vlan配置示例:现有一小区,用户已达到400 户,用户反映网络不稳定,急需划分vlan,已减小广播域,提高网络利用效率。该小区主干交换机为24 交换机,上连口是1 口,数据局提供2 个 vlan id,一个是430,一个是431,拟定 2-12 口划到 vlan430名字为 test1 ,13-24 口划到 vlan 431

7、名字为 test2 。1、 cisco 系列:switch# conf tswitch(config)#inter f0/1switch(config-if)#speed 100switch(config-if)#switchport mode trunkswitch(config-if)#switchport trunk encapsulation dot1qswitch(config-if)#exitswitch(config)#exitswitch# vlan databaseswitch(vlan)#vlan 430 name test1switch(vlan)#vlan 431 na

8、me test2switch(vlan)#exitswitch# conf tswitch(config)#inter f0/2进入端口1设置端口1 为 100m模式设置该口为trunk模式设置封装方式为802.1q进入 vlan 设置设置 vlan430 id和名字设置 vlan431 id和名字进入端口2switch(config-if)#switchport access vlan 430把端口2加入 vlan id 430switch(config-if)#switchport mode accessswitch(config)#inter f0/3进入端口 3switch(confi

9、g-if)#switchport access vlan 430把端口3加入 vlan id 430switch(config-if)#switchport mode access。逐个把 4-12 端口加入vlan 430 ,13-24 端口加入vlan 431。switch(config-if)#exitswitch(config)#exitswitch# write保存配置2、3com 系列:menu options: -3com superstack ii switch 610-bridgeethernetfeatureiplogoutsnmpsystem- administer br

10、idging/vlans- administer ethernet ports- administer system features- administer ip- logout of the command line interface- administer snmp- administer system-level functionstype ? for help.-switch 610 (1)-select menu option:(此处为输入命令)键入bridge命令会出现menu options: -3com superstack ii switch 610-agingtime

11、- set the bridge address aging time display - display bridge information multicastfiltering - administer multicast filtering port - administer bridge ports stpforwarddelay - set the bridge spanning tree forward delay stphellotime - set the bridge spanning tree hello timer stpmaxage - set the bridge

12、spanning tree maximum age stppriority - set the spanning tree bridge prioritystpstate- enable/disable spanning tree on a bridgevlan- administer vlanstype q to return to the previous menu or ? for help.-switch 610 (1)-select menu option (bridge):然后键入 vlan 命令后menu options:-3com superstack ii switch 61

13、0-addport- add a port to a vlanvlan加入端口create- create a vlan创建 vlandelete- delete a vlan删除 vlandetail- display detail information查看加入 vlan的端口modify- modify a vlan修改 vlan加入端口removeport- remove a port from a vlanvlan删除端口summary- display summary information查看 vlantype q to return to the previous menu o

14、r ? for help.-switch 610 (1)-select menu option (bridge/vlan):先创建 vlan, create命令enter vlan id (2-4094) 2: 430enter local id (2-16) 2:2enter vlan name vlan 430:test1creating vlan.vlan id 号本地 vlan id 号vlan名称创建 vlan 中为默认值select menu option (bridge/vlan): creenter vlan id (2-4094) 2: 431enter local id (

15、2-16) 3:enter vlan name vlan 431: test2creating vlan.以上创建了2 个 vlan号分别为 430、 431 的 vlan。然后开始加入端口,addport命令select vlan id (1-4094) 1: 430vlan id 号select ethernet port (1-26, all): 2把端口 2 加入 vlan id 430enter tag type (none, 802.1q) 802.1q: none设置封装方式( 3com低端交换机只能一个一个端口加)加入 vlan号为 430 的 2-12 口select men

16、u option (bridge/vlan): addselect vlan id (1-4094) 1: 430select ethernet port (1-26, all): 3enter tag type (none, 802.1q) 802.1q: noneselect menu option (bridge/vlan): addselect vlan id (1-4094) 1: 430select ethernet port (1-26, all): 4enter tag type (none, 802.1q) 802.1q: none。select menu option (b

17、ridge/vlan): addselect vlan id (1-4094) 1: 430select ethernet port (1-26, all): 12enter tag type (none, 802.1q) 802.1q: none然后加入vlan号为 431 的 13-24select menu option (bridge/vlan): addselect vlan id (1-4094) 1: 431select ethernet port (1-26, all): 13enter tag type (none, 802.1q) 802.1q: none。select m

18、enu option (bridge/vlan): addselect vlan id (1-4094) 1: 431select ethernet port (1-26, all): 24enter tag type (none, 802.1q) 802.1q: nonevlan端口划分完毕,然后做trunk口,也是用addport命令叠加端口select menu option (bridge/vlan): addselect vlan id (1-4094) 1: 430select ethernet port (1-26, all): 1enter tag type (none, 80

19、2.1q) 802.1q:select menu option (bridge/vlan): addselect vlan id (1-4094) 1: 431select ethernet port (1-26, all): 1enter tag type (none, 802.1q) 802.1q:端口标记一般为802.1q 的协议传输配置完成3、 港湾系列:harbour(config)#create vlan test1建立 test1harbour(config)#config vlan test1 tag 430配置 test1的 vlan id为 430harbour(config)#config vlan test1 add port 1 tagged设置 1 口为 test1的上连口harbour

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论