海康核心交换机配置及划Vlan副本_第1页
海康核心交换机配置及划Vlan副本_第2页
海康核心交换机配置及划Vlan副本_第3页
海康核心交换机配置及划Vlan副本_第4页
海康核心交换机配置及划Vlan副本_第5页
免费预览已结束,剩余39页可下载查看

下载本文档

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

文档简介

1、6800核心交换机配置 说明:6800默认子板端口全部为shutdown状态(关闭-不启用),双主控板一上电后,ACT灯亮为主控,不亮的为备用主控。串口线接在主控板(ACT上。配置命令如下:SwitchenableSwitch#Switch#config备注:进入配置模式Switch_config#Switch_config#interface range g 8/1-24Switch_config_if_range#Switch_config_if_range#no shutdownSwitch_config_if_range#exitSwitch_config#write配置VLAN备注:

2、配置子板8(1-24#口)备注:启用子板8(1-24#口)备注:退出备注:保存子板位置交换机端口VLANIP段网关备注子板7光口1-12#VLAN71子板7光口13-24#VLAN72子板8光口1-12#VLAN81子板8光口13-24#VLAN82子板9电口1#VLAN71方便客户搜索IP子板9电口2#VLAN72方便客户搜索IP子板9电口3#VLAN81方便客户搜索IP子板9电口4#VLAN82方便客户搜索IP子板9光口5-12#VLAN91子板9光口13-24#VLAN92命令如下:Switch#。onfigSwitch_con fig# int via n 71Switch_con f

3、ig_v71#quitSwitch_config#int vian 72Switch_c on fig_v72#quitSwitch_co nfig# in t vian 81Switch_co nfig_v81#quitSwitch_co nfig# in t vian 82Switch_co nfig_v82#quitSwitch_co nfig# in t vian 91Switch_co nfig_v91#quitSwitch_co nfig# in t vian 92Switch_config_v92#quitSwitch_config#writeSaving current con

4、figuration.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 toupSwitch_config_if_range#quitSwitch_config#interface range g 7/13

5、- 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 toupSwitch_config_if_range#Nov 18 16:17:39 %LINE-5-UPDOWN: Line on Interface VLAN92,Switch_config_if_range#quitSwitch_co

6、nfig#int range g 8/1 - 12Switch_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 toupSwitch_config_if_range#interface range g 8/13 - 24Switch_config_if_range#switchport pvid 82% VL

7、AN does not exist, Creating vlan 82.Switch_config_if_range#Nov 18 16:16:26 %LINE-5-UPDOWN: Line on Interface VLAN82, changed state toupSwitch_config_if_range#quitSwitch_config#interface range g 9/13 - 24Switch_config_if_range#switchport pvid 92% VLAN does not exist, Creating vlan 92.changed state to

8、 upSwitch_config_g9/1#sNov 18 16:17:40 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN92, changed state to upSwitch_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

9、 %LINE-5-UPDOWN: Line on Interface VLAN91, changed state toupNov 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#interface g 9/4sflow shar

10、e-load short-ifdescr show shutdown slot snmp spanning-tree speed storm-control switchportSwitch_config_g9/1#switchport pvid 71Interface VLAN81, changed state to upSwitch_config_g9/1#Nov 18 16:20:29%LINEPROTO-5-UPDOWNLi:neprotocolonInterface VLAN71, changed state to upquitSwitch_config#interface g 9/

11、2Switch_config_g9/2#switchport pvid 72Switch_config_g9/2#Nov 18 16:20:46%LINEPROTO-5-UPDOWNLi:neprotocolonInterface 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-UPDOWNLi:neprotocolon

12、Switch_config_g9/4#switchport pvid 82Switch_config_g9/4#Nov 18 16:24:25 %LINEPROTO-5-UPDOWNLi:ne protocol 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

13、_if_range#Nov 18 16:17:39 %LINE-5-UPDOWN: Line on Interface VLAN92, changed stateto upNov 18 16:17:40 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN92, changed state to upSwitch_config_if_range#quitSwitch_config#interface range g 9/5 - 12Switch_config_if_range#switchport pvid 91% VLAN does not

14、 exist, Creating vlan 91.Switch_config_if_range#Nov 18 16:18:46 %LINE-5-UPDOWN: Line on Interface VLAN91, changed stateto upNov 18 16:18:47 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN91, changed state to uponSwitch_config_if_range#quit查看配置:Switch_config#show runBuilding configuration.Curren

15、t configuration:!service timestamps log date service timestamps debug datespanning-tree mode rstpinterface GigaEthernet7/1interface Null0interface GigaEthernet6/0no ip addressno ip directed-broadcast!slot 7 24switchport pvid 71interface GigaEthernet7/16interface GigaEthernet7/2 switchport pvid 71 in

16、terface GigaEthernet7/3 switchport pvid 71 interfaceGigaEthernet7/4 switchport pvid 71 interface GigaEthernet7/5 switchport pvid 71 interfaceGigaEthernet7/7 switchport pvid 71 interface GigaEthernet7/8 switchport pvid 71 interfaceGigaEthernet7/9 switchport pvid 71 interface GigaEthernet7/10 switchpo

17、rt pvid 71 interfaceGigaEthernet7/12 switchport pvid 71 interface GigaEthernet7/13 switchport pvid 72 interfaceGigaEthernet7/14 switchport pvid 72 interface GigaEthernet7/15 switchport pvid 72switchport pvid 72interface GigaEthernet7/21interface GigaEthernet7/17 switchport pvid 72 interface GigaEthe

18、rnet7/18 switchport pvid 72 interfaceGigaEthernet7/19 switchport pvid 72 interface GigaEthernet7/20 switchport pvid 72switchport pvid 72interface GigaEthernet8/1interface GigaEthernet7/22switchport pvid 72interface GigaEthernet7/23switchport pvid 72interface GigaEthernet7/24switchport pvid 72!slot e

19、nd!slot 8 24switchport pvid 72interface GigaEthernet8/1switchport pvid 81interface GigaEthernet8/16interface GigaEthernet8/2 switchport pvid 81 interface GigaEthernet8/3 switchport pvid 81 interfaceGigaEthernet8/4 switchport pvid 81 interface GigaEthernet8/5 switchport pvid 81 interfaceGigaEthernet8

20、/7 switchport pvid 81 interface GigaEthernet8/8 switchport pvid 81 interfaceGigaEthernet8/9 switchport pvid 81 interface GigaEthernet8/10 switchport pvid 81 interfaceGigaEthernet8/12 switchport pvid 81 interface GigaEthernet8/13 switchport pvid 82 interfaceGigaEthernet8/14 switchport pvid 82 interfa

21、ce GigaEthernet8/15 switchport pvid 82switchport pvid 82interface GigaEthernet8/21interface GigaEthernet8/17 switchport pvid 82 interface GigaEthernet8/18 switchport pvid 82 interfaceGigaEthernet8/19 switchport pvid 82 interface GigaEthernet8/20 switchport pvid 82switchport pvid 82interface GigaEthe

22、rnet9/1interface GigaEthernet8/22switchport pvid 82interface GigaEthernet8/23switchport pvid 82interface GigaEthernet8/24switchport pvid 82!slot end!slot 9 23switchport pvid 82interface GigaEthernet9/1interface GigaEthernet9/6switchport pvid 71 interface GigaEthernet9/2 switchport pvid 72 interface

23、GigaEthernet9/3 switchportpvid 81 interface GigaEthernet9/4 switchport pvid 81 interface GigaEthernet9/5 switchport pvid 91switchport pvid 92interface GigaEthernet9/21interface GigaEthernet9/7 switchport pvid 91 interface GigaEthernet9/8 switchport pvid 91 interfaceGigaEthernet9/9 switchport pvid 91

24、 interface GigaEthernet9/10 switchport pvid 91 interfaceGigaEthernet9/12 switchport pvid 91 interface GigaEthernet9/13 switchport pvid 92 interfaceGigaEthernet9/14 switchport pvid 92 interface GigaEthernet9/15 switchport pvid 92 interfaceGigaEthernet9/17 switchport pvid 92 interface GigaEthernet9/18

25、 switchport pvid 92 interfaceGigaEthernet9/19 switchport pvid 92 interface GigaEthernet9/20 switchport pvid 92switchport pvid 92interface VLAN71interface GigaEthernet9/22switchport pvid 92interface GigaEthernet9/23switchport pvid 92interface GigaEthernet9/24switchport pvid 92!slot endipswitchport pv

26、id 92interface VLAN71interface VLAN91no ip directed-broadcast interface VLAN72ipno ip directed-broadcast!interface VLAN81ipno ip directed-broadcast!interface VLAN82ipno ip directed-broadcastip no ip directed-broadcast!interface VLAN92ipno ip directed-broadcast vlan 1,71-72,81-82,91-92 no ip igmp-pro

27、xy enableip exfipv6 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-UPDOWNLi:ne pro

28、tocolInterface 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 consistency.Nov 18 16:24:36 SLOT 5 is forced to update, start updating.onNov 18 16:24:42 successful send 4542

29、 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 runBuilding configuration.Current configuration: service timestamps log date service timestamps debug datespanning-tr

30、ee mode rstpinterface Null0 interface GigaEthernet6/0 no ip address no ip directed-broadcastswitchport pvid 71interface GigaEthernet7/10!slot 7 24 interface GigaEthernet7/1 switchport pvid 71 interface GigaEthernet7/2 switchport pvid71 interface GigaEthernet7/3 switchport pvid 71 interface GigaEther

31、net7/4 switchport pvid 71interface GigaEthernet7/6 switchport pvid 71 interface GigaEthernet7/7 switchport pvid 71 interfaceGigaEthernet7/8 switchport pvid 71 interface GigaEthernet7/9 switchport pvid 71switchport pvid 72interface GigaEthernet7/11 switchport pvid 71 interface GigaEthernet7/12 switch

32、port pvid 71interface GigaEthernet7/13 switchport pvid 72 interface GigaEthernet7/14 switchport pvid 72interface GigaEthernet7/16 switchport pvid 72 interface GigaEthernet7/17 switchport pvid 72interface GigaEthernet7/18 switchport pvid 72 interface GigaEthernet7/19 switchport pvid 72interface GigaE

33、thernet7/21 switchport pvid 72 interface GigaEthernet7/22 switchport pvid 72interface GigaEthernet7/23 switchport pvid 72 interface GigaEthernet7/24 switchport pvid 72 !slotendswitchport pvid 81interface GigaEthernet8/10!slot 8 24 interface GigaEthernet8/1 switchport pvid 81 interface GigaEthernet8/

34、2 switchport pvid81 interface GigaEthernet8/3 switchport pvid 81 interface GigaEthernet8/4 switchport pvid 81interface GigaEthernet8/6 switchport pvid 81 interface GigaEthernet8/7 switchport pvid 81 interfaceGigaEthernet8/8 switchport pvid 81 interface GigaEthernet8/9 switchport pvid 81switchport pv

35、id 82interface GigaEthernet8/11 switchport pvid 81 interface GigaEthernet8/12 switchport pvid 81interface GigaEthernet8/13 switchport pvid 82 interface GigaEthernet8/14 switchport pvid 82interface GigaEthernet8/16 switchport pvid 82 interface GigaEthernet8/17 switchport pvid 82interface GigaEthernet

36、8/18 switchport pvid 82 interface GigaEthernet8/19 switchport pvid 82interface GigaEthernet8/21 switchport pvid 82 interface GigaEthernet8/22 switchport pvid 82interface GigaEthernet8/23 switchport pvid 82 interface GigaEthernet8/24 switchport pvid 82 !slotendswitchport pvid 91interface GigaEthernet9/10!slot 9 23 interface GigaEthernet9/1 switchport pvid 71 interface GigaEthernet9/2 switchport pvid72 interface GigaEthernet9/3 switchport pvid 81 interface GigaEthernet9/4 switchport pvi

温馨提示

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

评论

0/150

提交评论