海康6800核心交换机配置及划Vlan副本Word下载.docx
- 文档编号:22962887
- 上传时间:2023-02-06
- 格式:DOCX
- 页数:31
- 大小:17.45KB
海康6800核心交换机配置及划Vlan副本Word下载.docx
《海康6800核心交换机配置及划Vlan副本Word下载.docx》由会员分享,可在线阅读,更多相关《海康6800核心交换机配置及划Vlan副本Word下载.docx(31页珍藏版)》请在冰豆网上搜索。
IP段
网关
备注
子板7
光口1-12#
VLAN71
192.168.1.0-254
192.168.1.254
光口13-24#
VLAN72
192.168.2.0-254
192.168.2.254
子板8
VLAN81
192.168.3.0-254
192.168.3.254
VLAN82
192.168.4.0-254
192.168.4.254
子板9
电口1#
方便客户搜索IP
电口2#
电口3#
电口4#
光口5-12#
VLAN91
192.168.5.0-254
192.168.5.254
VLAN92
192.168.6.0-254
192.168.6.254
命令如下:
Switch#config
Switch_config#intvlan71
Switch_config_v71#ipaddress192.168.1.254255.255.255.0
Switch_config_v71#quit
Switch_config#intvlan72
Switch_config_v72#ipaddress192.168.2.254255.255.255.0
Switch_config_v72#quit
Switch_config#intvlan81
Switch_config_v81#ipaddress192.168.3.254255.255.255.0
Switch_config_v81#quit
Switch_config#intvlan82
Switch_config_v82#ipaddress192.168.4.254255.255.255.0
Switch_config_v82#quit
Switch_config#intvlan91
Switch_config_v91#ipaddress192.168.5.254255.255.255.0
Switch_config_v91#quit
Switch_config#intvlan92
Switch_config_v92#ipaddress192.168.6.254255.255.255.0
Switch_config_v92#quit
Switch_config#write
Savingcurrentconfiguration...
OK!
给端口配置IP:
Switch_config#intrangeg7/1-12
Switch_config_if_range#switchportpvid71
%VLANdoesnotexist,Creatingvlan71.
Switch_config_if_range#Nov1816:
07:
42%LINE-5-UPDOWN:
LineonInterfaceVLAN71,changedstatetoup
Switch_config_if_range#quit
Switch_config#interfacerangeg7/13-24
Switch_config_if_range#switchportpvid72
%VLANdoesnotexist,Creatingvlan72.
15:
15%LINE-5-UPDOWN:
LineonInterfaceVLAN72,changedstatetoup
Switch_config#intrangeg8/1-12
Switch_config_if_range#switchportpvid81
%VLANdoesnotexist,Creatingvlan81.
16:
05%LINE-5-UPDOWN:
LineonInterfaceVLAN81,changedstatetoup
Switch_config_if_range#interfacerangeg8/13-24
Switch_config_if_range#switchportpvid82
%VLANdoesnotexist,Creatingvlan82.
26%LINE-5-UPDOWN:
LineonInterfaceVLAN82,changedstatetoup
Switch_config#interfacerangeg9/13-24
Switch_config_if_range#switchportpvid92
%VLANdoesnotexist,Creatingvlan92.
17:
39%LINE-5-UPDOWN:
LineonInterfaceVLAN92,changedstatetoup
Nov1816:
40%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceVLAN92,changedstatetoup
Switch_config#interfacerangeg9/5-12
Switch_config_if_range#switchportpvid91
%VLANdoesnotexist,Creatingvlan91.
18:
46%LINE-5-UPDOWN:
LineonInterfaceVLAN91,changedstatetoup
47%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceVLAN91,changedstatetoup
Switch_config#interfacerangeg9/1
Incompletecommand
Switch_config#interfaceg9/1
Switch_config_g9/1#s
sflowshare-loadshort-ifdescrshowshutdownslot
snmpspanning-treespeedstorm-controlswitchport
Switch_config_g9/1#switchportpvid71
Switch_config_g9/1#Nov1816:
20:
29%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceVLAN71,changedstatetoup
quit
Switch_config#interfaceg9/2
Switch_config_g9/2#switchportpvid72
Switch_config_g9/2#Nov1816:
46%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceVLAN72,changedstatetoup
Switch_config_g9/2#quit
Switch_config#interfaceg9/3
Switch_config_g9/3#switchportpvid81
Switch_config_g9/3#Nov1816:
21:
14%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceVLAN81,changedstatetoup
Switch_config#interfaceg9/4
Switch_config_g9/4#switchportpvid82
Switch_config_g9/4#Nov1816:
24:
25%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceVLAN82,changedstatetoup
Switch_config_g9/4#quit
Switch_config_if_range#switchportpvid92
查看配置:
Switch_config#showrun
Buildingconfiguration...
Currentconfiguration:
!
version4.1.1Bbuild19169
servicetimestampslogdate
servicetimestampsdebugdate
spanning-treemoderstp
interfaceNull0
interfaceGigaEthernet6/0
noipaddress
noipdirected-broadcast
slot724
interfaceGigaEthernet7/1
switchportpvid71
interfaceGigaEthernet7/2
interfaceGigaEthernet7/3
interfaceGigaEthernet7/4
interfaceGigaEthernet7/5
interfaceGigaEthernet7/6
interfaceGigaEthernet7/7
interfaceGigaEthernet7/8
interfaceGigaEthernet7/9
interfaceGigaEthernet7/10
interfaceGigaEthernet7/11
interfaceGigaEthernet7/12
interfaceGigaEthernet7/13
switchportpvid72
interfaceGigaEthernet7/14
interfaceGigaEthernet7/15
interfaceGigaEthernet7/16
interfaceGigaEthernet7/17
interfaceGigaEthernet7/18
interfaceGigaEthernet7/19
interfaceGigaEthernet7/20
interfaceGigaEthernet7/21
interfaceGigaEthernet7/22
interfaceGigaEthernet7/23
interfaceGigaEthernet7/24
slotend
slot824
interfaceGigaEthernet8/1
switchportpvid81
interfaceGigaEthernet8/2
interfaceGigaEthernet8/3
interfaceGigaEthernet8/4
interfaceGigaEthernet8/5
interfaceGigaEthernet8/6
interfaceGigaEthernet8/7
interfaceGigaEthernet8/8
interfaceGigaEthernet8/9
interfaceGigaEthernet8/10
interfaceGigaEthernet8/11
interfaceGigaEthernet8/12
interfaceGigaEthernet8/13
switchportpvid82
interfaceGigaEthernet8/14
interfaceGigaEthernet8/15
interfaceGigaEthernet8/16
interfaceGigaEthernet8/17
interfaceGigaEthernet8/18
interfaceGigaEthernet8/19
interfaceGigaEthernet8/20
interfaceGigaEthernet8/21
interfaceGigaEthernet8/22
interfaceGigaEthernet8/23
interfaceGigaEthernet8/24
slot923
interfaceGigaEthernet9/1
interfaceGigaEthernet9/2
interfaceGigaEthernet9/3
interfaceGigaEthernet9/4
interfaceGigaEthernet9/5
switchportpvid91
interfaceGigaEthernet9/6
interfaceGigaEthernet9/7
interfaceGigaEthernet9/8
interfaceGigaEthernet9/9
interfaceGigaEthernet9/10
interfaceGigaEthernet9/11
interfaceGigaEthernet9/12
interfaceGigaEthernet9/13
switchportpvid92
interfaceGigaEthernet9/14
interfaceGigaEthernet9/15
interfaceGigaEthernet9/16
interfaceGigaEthernet9/17
interfaceGigaEthernet9/18
interfaceGigaEthernet9/19
interfaceGigaEthernet9/20
interfaceGigaEthernet9/21
interfaceGigaEthernet9/22
interfaceGigaEthernet9/23
interfaceGigaEthernet9/24
interfaceVLAN71
ipaddress192.168.1.254255.255.255.0
interfaceVLAN72
ipaddress192.168.2.254255.255.255.0
interfaceVLAN81
ipaddress192.168.3.254255.255.255.0
interfaceVLAN82
ipaddress192.168.4.254255.255.255.0
interfaceVLAN91
ipaddress192.168.5.254255.255.255.0
interfaceVLAN92
ipaddress192.168.6.254255.255.255.0
vlan1,71-72,81-82,91-
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 海康 6800 核心 交换机 配置 Vlan 副本