海康6800核心交换机配置及划Vlan - 副本_第1页
海康6800核心交换机配置及划Vlan - 副本_第2页
海康6800核心交换机配置及划Vlan - 副本_第3页
海康6800核心交换机配置及划Vlan - 副本_第4页
海康6800核心交换机配置及划Vlan - 副本_第5页
已阅读5页,还剩15页未读 继续免费阅读

下载本文档

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

文档简介

.6800 核心交换机配置说明:6800 默认子板端口全部为 shutdown 状态(关闭-不启用) ,双主控板上电后,ACT 灯亮为主控,不亮的为备用主控。串口线接在主控板(ACT)上。配置命令如下:SwitchenableSwitch#Switch#config 备注:进入配置模式Switch_config# Switch_config#interface range g 8/1-24 备注:配置子板 8(1-24#口)Switch_config_if_range#Switch_config_if_range#no shutdown 备注:启用子板 8(1-24#口)Switch_config_if_range#exit 备注:退出Switch_config#write 备注:保存配置 VLAN子板位置 交换机端口 VLAN IP 段 网关 备注子板 7 光口 1-12# VLAN71 -254 54 子板 7 光口 13-24# VLAN72 -254 54 子板 8 光口 1-12# VLAN81 -254 54 子板 8 光口 13-24# VLAN82 -254 54 子板 9 电口 1# VLAN71 -254 54 方便客户搜索 IP子板 9 电口 2# VLAN72 -254 54 方便客户搜索 IP子板 9 电口 3# VLAN81 -254 54 方便客户搜索 IP子板 9 电口 4# VLAN82 -254 54 方便客户搜索 IP子板 9 光口 5-12# VLAN91 -254 54 子板 9 光口 13-24# VLAN92 -254 54 命令如下:Switch#config Switch_config#int vlan 71Switch_config_v71#ip address 54 Switch_config_v71#quitSwitch_config#int vlan 72 Switch_config_v72#ip address 54 Switch_config_v72#quitSwitch_config#int vlan 81 Switch_config_v81#ip address 54 Switch_config_v81#quitSwitch_config#int vlan 82 Switch_config_v82#ip address 54 Switch_config_v82#quitSwitch_config#int vlan 91 .Switch_config_v91#ip address 54 Switch_config_v91#quitSwitch_config#int vlan 92 Switch_config_v92#ip address 54 Switch_config_v92#quitSwitch_config#writeSaving current configuration.OK!给端口配置 IP:Switch_config#int range g 7/1 - 12Switch_config_if_range#switchport pvid 71% VLAN does not exist, Creating vlan 71.Switch_config_if_range#Nov 18 16:07:42 %LINE-5-UPDOWN: Line on Interface VLAN71, changed state to upSwitch_config_if_range#quitSwitch_config#interface range g 7/13 - 24Switch_config_if_range#switchport pvid 72% VLAN does not exist, Creating vlan 72.Switch_config_if_range#Nov 18 16:15:15 %LINE-5-UPDOWN: Line on Interface VLAN72, changed state to upSwitch_config_if_range#quitSwitch_config#int range g 8/1 - 12 Switch_config_if_range#switchport pvid 81 % VLAN does not exist, Creating vlan 81.Switch_config_if_range#Nov 18 16:16:05 %LINE-5-UPDOWN: Line on Interface VLAN81, changed state to upSwitch_config_if_range#interface range g 8/13 - 24Switch_config_if_range#switchport pvid 82 % VLAN does not exist, Creating vlan 82.Switch_config_if_range#Nov 18 16:16:26 %LINE-5-UPDOWN: Line on Interface VLAN82, changed state to upSwitch_config_if_range#quitSwitch_config#interface range g 9/13 - 24Switch_config_if_range#switchport pvid 92 % VLAN does not exist, Creating vlan 92.Switch_config_if_range#Nov 18 16:17:39 %LINE-5-UPDOWN: Line on Interface VLAN92, changed state to upNov 18 16:17:40 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN92, changed state to up.Switch_config_if_range#quitSwitch_config#interface range g 9/5 - 12Switch_config_if_range#switchport pvid 91% VLAN does not exist, Creating vlan 91.Switch_config_if_range#Nov 18 16:18:46 %LINE-5-UPDOWN: Line on Interface VLAN91, changed state to upNov 18 16:18:47 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN91, changed state to upSwitch_config_if_range#quitSwitch_config#interface range g 9/1Incomplete commandSwitch_config#interface g 9/1Switch_config_g9/1#ssflow share-load short-ifdescr show shutdown slotsnmp spanning-tree speed storm-control switchportSwitch_config_g9/1#switchport pvid 71Switch_config_g9/1#Nov 18 16:20:29 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN71, changed state to upquitSwitch_config#interface g 9/2Switch_config_g9/2#switchport pvid 72Switch_config_g9/2#Nov 18 16:20:46 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN72, changed state to upSwitch_config_g9/2#quitSwitch_config#interface g 9/3Switch_config_g9/3#switchport pvid 81Switch_config_g9/3#Nov 18 16:21:14 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN81, changed state to upSwitch_config#interface g 9/4Switch_config_g9/4#switchport pvid 82Switch_config_g9/4#Nov 18 16:24:25 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN82, changed state to upSwitch_config_g9/4#quitSwitch_config#interface range g 9/13 - 24Switch_config_if_range#switchport pvid 92% VLAN does not exist, Creating vlan 92.Switch_config_if_range#Nov 18 16:17:39 %LINE-5-UPDOWN: Line on Interface VLAN92, changed state to upNov 18 16:17:40 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN92, changed state to up.Switch_config_if_range#quitSwitch_config#interface range g 9/5 - 12Switch_config_if_range#switchport pvid 91% VLAN does not exist, Creating vlan 91.Switch_config_if_range#Nov 18 16:18:46 %LINE-5-UPDOWN: Line on Interface VLAN91, changed state to upNov 18 16:18:47 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN91, changed state to upSwitch_config_if_range#quit查看配置:Switch_config#show runBuilding configuration.Current configuration:!version 4.1.1B build 19169service timestamps log dateservice timestamps debug date!spanning-tree mode rstp!.! ! ! ! ! ! ! ! interface Null0! interface GigaEthernet6/0no ip addressno ip directed-broadcast! !slot 7 24interface GigaEthernet7/1switchport pvid 71! interface GigaEthernet7/2switchport pvid 71! interface GigaEthernet7/3switchport pvid 71! interface GigaEthernet7/4switchport pvid 71! interface GigaEthernet7/5switchport pvid 71! interface GigaEthernet7/6switchport pvid 71! interface GigaEthernet7/7switchport pvid 71! interface GigaEthernet7/8switchport pvid 71! interface GigaEthernet7/9switchport pvid 71! interface GigaEthernet7/10.switchport pvid 71! interface GigaEthernet7/11switchport pvid 71! interface GigaEthernet7/12switchport pvid 71! interface GigaEthernet7/13switchport pvid 72! interface GigaEthernet7/14switchport pvid 72! interface GigaEthernet7/15switchport pvid 72! interface GigaEthernet7/16switchport pvid 72! interface GigaEthernet7/17switchport pvid 72! interface GigaEthernet7/18switchport pvid 72! interface GigaEthernet7/19switchport pvid 72! interface GigaEthernet7/20switchport pvid 72! interface GigaEthernet7/21switchport pvid 72! interface GigaEthernet7/22switchport pvid 72! interface GigaEthernet7/23switchport pvid 72! interface GigaEthernet7/24switchport pvid 72! .!slot end! !slot 8 24interface GigaEthernet8/1switchport pvid 81! interface GigaEthernet8/2switchport pvid 81! interface GigaEthernet8/3switchport pvid 81! interface GigaEthernet8/4switchport pvid 81! interface GigaEthernet8/5switchport pvid 81! interface GigaEthernet8/6switchport pvid 81! interface GigaEthernet8/7switchport pvid 81! interface GigaEthernet8/8switchport pvid 81! interface GigaEthernet8/9switchport pvid 81! interface GigaEthernet8/10switchport pvid 81! interface GigaEthernet8/11switchport pvid 81! interface GigaEthernet8/12switchport pvid 81! interface GigaEthernet8/13switchport pvid 82! interface GigaEthernet8/14switchport pvid 82.! interface GigaEthernet8/15switchport pvid 82! interface GigaEthernet8/16switchport pvid 82! interface GigaEthernet8/17switchport pvid 82! interface GigaEthernet8/18switchport pvid 82! interface GigaEthernet8/19switchport pvid 82! interface GigaEthernet8/20switchport pvid 82! interface GigaEthernet8/21switchport pvid 82! interface GigaEthernet8/22switchport pvid 82! interface GigaEthernet8/23switchport pvid 82! interface GigaEthernet8/24switchport pvid 82! !slot end! !slot 9 23interface GigaEthernet9/1switchport pvid 71! interface GigaEthernet9/2switchport pvid 72! interface GigaEthernet9/3switchport pvid 81! interface GigaEthernet9/4.switchport pvid 81! interface GigaEthernet9/5switchport pvid 91! interface GigaEthernet9/6switchport pvid 91! interface GigaEthernet9/7switchport pvid 91! interface GigaEthernet9/8switchport pvid 91! interface GigaEthernet9/9switchport pvid 91! interface GigaEthernet9/10switchport pvid 91! interface GigaEthernet9/11switchport pvid 91! interface GigaEthernet9/12switchport pvid 91! interface GigaEthernet9/13switchport pvid 92! interface GigaEthernet9/14switchport pvid 92! interface GigaEthernet9/15switchport pvid 92! interface GigaEthernet9/16switchport pvid 92! interface GigaEthernet9/17switchport pvid 92! interface GigaEthernet9/18switchport pvid 92! .interface GigaEthernet9/19switchport pvid 92! interface GigaEthernet9/20switchport pvid 92! interface GigaEthernet9/21switchport pvid 92! interface GigaEthernet9/22switchport pvid 92! interface GigaEthernet9/23switchport pvid 92! interface GigaEthernet9/24switchport pvid 92! !slot end! interface VLAN71ip address 54 no ip directed-broadcast! interface VLAN72ip address 54 no ip directed-broadcast! interface VLAN81ip address 54 no ip directed-broadcast!interface VLAN82ip address 54 no ip directed-broadcast! interface VLAN91ip address 54 no ip directed-broadcast! interface VLAN92ip address 54 no ip directed-broadcast! .! ! vlan 1,71-72,81-82,91-92! ! no ip igmp-proxy enable! ! ! ! ! ! ! ! ! ! ! ip exf ! ipv6 exf ! ! ! ! ! ! ! ! ! ! ! ! ! !Pending configurations for absent linecards:! !No configurations pending globalSwitch_config#Switch_config#Switch_config#Switch_config#Switch_config#Switch_config#interface g 9/4Switch_config_g9/4#switchport pvid 82Switch_config_g9/4#Nov 18 16:24:25 %LINEPROTO-5-UPDOWN: Line protocol on Interface .VLAN82, changed state to upquitSwitch_config#writeSaving current configuration.OK!Synchronizing startup-config to backup card.OK!Switch_config#Nov 18 16:24:36 check SLOT 5 IOS consistencyNov 18 16:24:36 SLOT 5 is forced to update, start updating.Nov 18 16:24:42 successful send 4542 bytes to SLOT 5Nov 18 16:24:42 SLOT 5 file syn finishedNov 18 16:24:42 SLOT 5 update OK,consumed time is 7sSwitch_config#Switch_config#Switch_config#Switch_config#Switch_config#show run Building configuration.Current configuration:!version 4.1.1B build 19169service timestamps log dateservice timestamps debug date!spanning-tree mode rstp!.! ! ! ! ! ! ! ! interface Null0! interface GigaEthernet6/0no ip addressno ip directed-broadcast! !slot 7 24interface GigaEthernet7/1switchport pvid 71! interface GigaEthernet7/2switchport pvid 71! interface GigaEthernet7/3switchport pvid 71! interface GigaEthernet7/4switchport pvid 71! interface GigaEthernet7/5switchport pvid 71! interface GigaEthernet7/6switchport pvid 71! interface GigaEthernet7/7switchport pvid 71! interface GigaEthernet7/8switchport pvid 71! interface GigaEthernet7/9.switchport pvid 71! interface GigaEthernet7/10switchport pvid 71! interface GigaEthernet7/11switchport pvid 71! interface GigaEthernet7/12switchport pvid 71! interface GigaEthernet7/13switchport pvid 72! interface GigaEthernet7/14switchport pvid 72! interface GigaEthernet7/15switchport pvid 72! interface GigaEthernet7/16switchport pvid 72! interface GigaEthernet7/17switchport pvid 72! interface GigaEthernet7/18switchport pvid 72! interface GigaEthernet7/19switchport pvid 72! interface GigaEthernet7/20switchport pvid 72! interface GigaEthernet7/21switchport pvid 72! interface GigaEthernet7/22switchport pvid 72! interface GigaEthernet7/23switchport pvid 72! .interface GigaEthernet7/24switchport pvid 72! !slot end! !slot 8 24interface GigaEthernet8/1switchport pvid 81! interface GigaEthernet8/2switchport pvid 81! interface GigaEthernet8/3switchport pvid 81! interface GigaEthernet8/4switchport pvid 81! interface GigaEthernet8/5switchport pvid 81! interface GigaEthernet8/6switchport pvid 81! interface GigaEthernet8/7switchport pvid 81! interface GigaEthernet8/8switchport pvid 81! interface GigaEthernet8/9switchport pvid 81! interface GigaEthernet8/10switchport pvid 81! interface GigaEthernet8/11switchport pvid 81! interface GigaEthernet8/12switchport pvid 81! interface GigaEthernet8/13switchport pvid 82.! interface GigaEthernet8/14switchport pvid 82! interface GigaEthernet8/15switchport pvid 82! interface GigaEthernet8/16switchport pvid 82! interface GigaEthernet8/17switchport pvid 82! interface GigaEthernet8/18switchport pvid 82! interface GigaEthernet8/19switchport pvid 82! interface GigaEthernet8/20switchport pvid 82! interface GigaEthernet8/21switchport pvid 82! interface GigaEthernet8/22switchport pvid 82! interface GigaEthernet8/23switchport pvid 82! interface GigaEthernet8/24switchport pvid 82! !slot end! !slot 9 23interface GigaEthernet9/1switchport pvid 71! interface GigaEthernet9/2switchport pvid 72! interface GigaEthernet9/3.switchport pvid 81! interface GigaEthernet9/4switchport pvid 82! interface GigaEthernet9/5switchport pvid 91! interface GigaEthernet9/6switchport pvid 91! interface GigaEthernet9/7switchport pvid 91! interface GigaEthernet9/8switchport pvid 91! interface GigaEthernet9/9switchport pvid 91! interface GigaEthernet9/10switchport pvid 91! interface GigaEthernet9/11switchport pvid 9

温馨提示

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

评论

0/150

提交评论