三層與二層交換機(jī)的配置腳本、配置數(shù)據(jù)、網(wǎng)線接口、網(wǎng)絡(luò)分配_第1頁(yè)
三層與二層交換機(jī)的配置腳本、配置數(shù)據(jù)、網(wǎng)線接口、網(wǎng)絡(luò)分配_第2頁(yè)
三層與二層交換機(jī)的配置腳本、配置數(shù)據(jù)、網(wǎng)線接口、網(wǎng)絡(luò)分配_第3頁(yè)
三層與二層交換機(jī)的配置腳本、配置數(shù)據(jù)、網(wǎng)線接口、網(wǎng)絡(luò)分配_第4頁(yè)
三層與二層交換機(jī)的配置腳本、配置數(shù)據(jù)、網(wǎng)線接口、網(wǎng)絡(luò)分配_第5頁(yè)
已閱讀5頁(yè),還剩8頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、三層交換機(jī)配置部分#/改三層交換機(jī)的名字sysnameLYXXX-9303#/開啟交換機(jī)的FTP服務(wù)方便后期備份配置FTP server enable#/劃分VLANvlan batch 99 255 1000 1200 1210 to 1211 1221 1231 1241 1251 1300vlan batch 1310 to 1311 1321 1331 1341 1351 1400 1500 1600 1700 1800#/根據(jù)需要開啟DHCP服務(wù)dhcp enable#/注釋VLANvlan 99description LinShivlan 255 description GuanL

2、livlan 1000 description Uplinkvlan 1200 description BanGongLouvlan 1210 description BanGongLou_JiaoShivlan 1211 description BanGongLou_1Fvlan 1221 description BanGongLou_2Fvlan 1231 description BanGongLou_3Fvlan 1241 description BanGongLou_4Fvlan 1251 description BanGongLou_5Fvlan 1300 description J

3、iaoXueLouvlan 1310 description JiaoXueLou_JiaoShivlan 1311 description JiaoXueLou_1Fvlan 1321 description JiaoXueLou_2Fvlan 1331 description JiaoXueLou_3Fvlan 1341 description JiaoXueLou_4Fvlan 1351 description JiaoXueLou_5Fvlan 1400 description WIFIvlan 1500 description WeiJiShivlan 1600 descriptio

4、n SERVERvlan 1700 description KaoQinvlan 1800 description JianKong#/增加管理賬戶aaa authentication-scheme default authorization-scheme defaultaccounting-scheme default domain default domain default_admin local-user admin password cipher lylsjy01 local-user admin service-type http local-user lylsjy passwor

5、d cipher lylsjy01 local-user lylsjy privilege level 3 local-user lylsjy service-type telnet http#/網(wǎng)絡(luò)沒有完全劃分完成前做了一個(gè)臨時(shí)VLAN,把所有的地址段都放到了這里,可以不影響大家上網(wǎng)。(網(wǎng)絡(luò)完成后刪除掉)interface Vlanif99 description LinShi ip address 54 ip address 54 sub ip address 54 2

6、 sub ip address 54 sub ip address 54 sub ip address 54 sub ip address 54 sub#/管理地址段interface Vlanif255description GuanLi ip address #/上聯(lián)地址段interface Vlanif1000 descri

7、ption UP_link_JiaoTiJu ip address 0 52#/無線覆蓋地址段,并開啟DHCP(關(guān)閉DNS,防止手機(jī)上網(wǎng),后期還有驗(yàn)證功能)interface Vlanif1400 description WIFI ip address 54 28 dhcp select interface dhcp server excluded-ip-address 30 53#/上聯(lián)端口上聯(lián)教體局interface GigabitEthernet1/

8、0/0 port link-type access port default vlan 1000#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/1 port link-type trunkundo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/服務(wù)器測(cè)試口調(diào)試臨時(shí)網(wǎng)絡(luò)的上網(wǎng)信息interface GigabitEthernet1/0/2 port link-type access port default vlan 99#/WIFI控制端AC的管理接口interf

9、ace GigabitEthernet1/0/3 port link-type access port default vlan 1400#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/4 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/5 port link-type trunk undo port trunk allow-p

10、ass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/6 port link-type trunk undo port trunk allow-pass vlan 1port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/7 port link-type trunk undo port trunk allow-pass vlan 1 port trunk a

11、llow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/8 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/9 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 40

12、94#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/10 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/11 port link-type trunkundo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息in

13、terface GigabitEthernet1/0/12 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/13 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEther

14、net1/0/14 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/15 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/16port link-t

15、ype trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/17 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/18 port link-type trunk undo port

16、trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/19 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/20 port link-type trunk undo port trunk allow-pass vla

17、n 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息interface GigabitEthernet1/0/21 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息(并且注釋了本口是教學(xué)樓的某個(gè)交換機(jī))interface GigabitEthernet1/0/22 description JiaoXueLou port link-type trunk undo por

18、t trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/trunk口 透?jìng)鱒LAN信息(并且注釋了本口是教學(xué)樓的某個(gè)交換機(jī))interface GigabitEthernet1/0/23 description JiaoXueLou port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#/靜態(tài)路由,將學(xué)校的地址段路由到上聯(lián)地址ip route-static 10.

19、17.254.49#/設(shè)置賬戶的認(rèn)證模式user-interface con 0user-interface vty 0 4 authentication-mode aaauser-interface vty 16 20VLAN地址段分配VLANvlan注釋vlan作用可用IP段子網(wǎng)掩碼網(wǎng)關(guān)vlan 1000Uplink上聯(lián)052vlan 0255GuanLli管理用 - 543-12410.16.200

20、.62vlan 0099LinShi臨時(shí)上網(wǎng)10.16.200.x10.16.207.xxvlan 1200BanGongLou辦公樓 - 192vlan 1210BanGongLou_JiaoShi辦公樓教室 - 192vlan 1211BanGongLou_1F辦公樓1樓5 - 3244v

21、lan 1221BanGongLou_2F辦公樓2樓7 - 252426vlan 1231BanGongLou_3F辦公樓3樓29 - 572458vlan 1241BanGongLou_4F辦公樓4樓61 - 892490vlan 1251BanGongLou_5F辦公樓5樓93 - 10.16.2

22、04.2212422vlan 1300JiaoXueLou教學(xué)樓 - 192vlan 1310JiaoXueLou_JiaoShi教學(xué)樓教室5 - 25926vlan 1311JiaoXueLou_1F教學(xué)樓1樓5 - 25926vlan 1321JiaoXueLou_

23、2F教學(xué)樓2樓29 - 572458vlan 1331JiaoXueLou_3F教學(xué)樓3樓61 - 892490vlan 1341JiaoXueLou_4F教學(xué)樓4樓93 - 212422vlan 1351JiaoXueLou_5F教學(xué)樓5樓25 - 53255.255.255.

24、22454vlan 1400WIFI無線覆蓋29 - 532854vlan 1500WeiJiShi微機(jī)室 - 252826微機(jī)室29 - 532854微機(jī)室3 - 252826輔助教室10.16.202.

25、129 - 532854vlan 1600SERVER服務(wù)器 - 0441vlan 1700KaoQin考勤5 - 3444vlan 1800JianKong監(jiān)控29 - 89990交換機(jī)地址及位置交換機(jī)名稱交換機(jī)位置交換機(jī)IPBanGongLou_1

26、F辦公樓1樓1BanGongLou_2F辦公樓2樓2BanGongLou_3F辦公樓3樓3BanGongLou_4F辦公樓4樓4BanGongLou_5F辦公樓5樓5JiaoXueLou_1F_1教學(xué)樓1樓6JiaoXueLou_1F_2教學(xué)樓1樓7JiaoXueLou_2F_1教學(xué)樓2樓8JiaoXueLou_2F_2教學(xué)樓2樓9JiaoXueLou_3F_1教學(xué)樓3樓0JiaoXueLou_3F_2教學(xué)樓3樓1Jia

27、oXueLou_4F_1教學(xué)樓4樓2JiaoXueLou_4F_2教學(xué)樓4樓3JiaoXueLou_5F_1教學(xué)樓5樓4JiaoXueLou_5F_2教學(xué)樓5樓5二層交換機(jī)配置部分#/改三層交換機(jī)的名字 sysname LY15-2326- JiaoXueLou_1F_1#/開啟交換機(jī)的FTP服務(wù)方便后期備份配置 FTP server enable#/劃分VLAN vlan batch 99 255 1000 1200 1210 to 1211 1221 1231 1241 1251 1300 vlan batch 1310 to

28、 1311 1321 1331 1341 1351 1400 1500 1600 1700 1800#/臨時(shí)使用VLAN(改造完成后需要?jiǎng)h除)vlan 99 description LinShi#/增加管理賬戶aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher lylsjy01 local-user admin service-typ

29、e httplocal-user lylsjy password cipher lylsjy01 local-user lylsjy privilege level 3 local-user lylsjy service-type telnet http#/管理地址段interface Vlanif255 description GuanLi ip address 6 #/將交換機(jī)的1-22口劃分為數(shù)據(jù)口,用來鏈接各教室和辦公室(注意辦公和教學(xué)的VLAN不能使用一個(gè)本配置為學(xué)校的教室中有一個(gè)備用的網(wǎng)口,教室的前網(wǎng)口使用樓層VLAN方便管理,教室的后網(wǎng)口

30、使用樓VLAN方便后期教室內(nèi)安裝各種監(jiān)控設(shè)備)交換機(jī)的23和24口為interface Ethernet0/0/1 port link-type access port default vlan 1310interface Ethernet0/0/2 port link-type access port default vlan 1310interface Ethernet0/0/3 port link-type access port default vlan 1310interface Ethernet0/0/4 port link-type access port default vla

31、n 1310interface Ethernet0/0/5 port link-type access port default vlan1310interface Ethernet0/0/6 port link-type access port default vlan 1310interface Ethernet0/0/7 port link-type access port default vlan 1310interface Ethernet0/0/8 port link-type access port default vlan 1310interface Ethernet0/0/9

32、 port link-type access port default vlan 1311interface Ethernet0/0/10 port link-type access port default vlan 1311interface Ethernet0/0/11 port link-type access port default vlan 1311interface Ethernet0/0/12 port link-type access port default vlan 1311interface Ethernet0/0/13 port link-type access p

33、ort default vlan 1311interface Ethernet0/0/14 port link-type access port default vlan 1311interface Ethernet0/0/15 port link-type access port default vlan 1311interface Ethernet0/0/16 port link-type access port default vlan 1311interface Ethernet0/0/17 port link-type access port default vlan 99inter

34、face Ethernet0/0/18 port link-type access port default vlan 99interface Ethernet0/0/19 port link-type access port default vlan 99interface Ethernet0/0/20 port link-type access port default vlan 99interface Ethernet0/0/21 port link-type access port default vlan 99interface Ethernet0/0/22 port link-ty

35、pe access port default vlan 99#/將交換機(jī)的23和24口劃分為WIFI覆蓋網(wǎng)段,方便無線覆蓋的管理interface Ethernet0/0/23 port link-type access port default vlan 1400interface Ethernet0/0/24 port link-type access port default vlan 1400#/將交換機(jī)的兩個(gè)光口劃分為trunk口,上聯(lián)9303交換機(jī),透?jìng)鱒LAN數(shù)據(jù),如果近距離使用的話可以將兩個(gè)復(fù)用的千兆電口做一個(gè)端口聚合,綁定為2000M的接口連接三層交換機(jī)(做聚合的話三層的相應(yīng)

36、的口也必須做端口聚合)interface GigabitEthernet0/0/1 description LY15-9303 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094#interface GigabitEthernet0/0/2 description LY15-9303 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 2 to 4094

37、#/將二層交換機(jī)的管理網(wǎng)段路由到三層交換機(jī) ip route-static #/設(shè)置賬戶的認(rèn)證模式user-interface con 0user-interface vty 0 4 authentication-mode aaa各樓層交換機(jī)接口及編號(hào)教學(xué)樓1樓03010110301051030111103011510301012030105203011120301152030109103012510301271WiFiThunk6JiaoXueLou_1F_1教學(xué)樓1樓030103103010710301131030117103

38、010320301072030113203011720301092030126030128WiFiUP9303空空空空0301252030125303012540301255030125603012570301258WiFiThunk7JiaoXueLou_1F_2教學(xué)樓1樓空空空空0301272030127303012740301275030127603012770301278WiFiUP9303教學(xué)樓2樓03020110302051030211103021510302012030205203021120302152030209103022510302271WiFiThunk

39、8JiaoXueLou_2F_1教學(xué)樓2樓030203103020710302131030217103020320302072030213203021720302092030226030228WiFiUP9303空空空空0302252030225303022540302255030225603022570302258WiFiThunk9JiaoXueLou_2F_2教學(xué)樓2樓空空空空0302272030227303022740302275030227603022770302278WiFiUP9303教學(xué)樓3樓030301103030510303111030315

40、10303012030305203031120303152030309103032510303271WiFiThunk0JiaoXueLou_3F_1教學(xué)樓3樓030303103030710303131030317103030320303072030313203031720303092030326030328WiFiUP9303空空空空0303252030325303032540303255030325603032570303258WiFiThunk1JiaoXueLou_3F_2教學(xué)樓3樓空空空空0303272030327303032740303275030327603032770303278WiFiUP9303教學(xué)樓4樓03040110304051030411103041510304012030405203041120304152

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論