以6509為主的大型網(wǎng)絡(luò)配置實(shí)例_第1頁
以6509為主的大型網(wǎng)絡(luò)配置實(shí)例_第2頁
以6509為主的大型網(wǎng)絡(luò)配置實(shí)例_第3頁
以6509為主的大型網(wǎng)絡(luò)配置實(shí)例_第4頁
以6509為主的大型網(wǎng)絡(luò)配置實(shí)例_第5頁
已閱讀5頁,還剩24頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

1、我做一個模擬環(huán)境,大家一起學(xué)習(xí)吧。主旨是大家能共同學(xué)習(xí),用實(shí)踐來鞏固自己學(xué)習(xí)的成果。拓樸圖(可點(diǎn)擊看大圖:我做一個模擬環(huán)境,大家一起學(xué)習(xí)吧。主旨是大家能共同學(xué)習(xí),用實(shí)踐來鞏固自己學(xué)習(xí)的成果。拓樸圖(可點(diǎn)擊看大圖:一、 Catalyst 6509交換機(jī)配置方案1.1、配置6509二層交換Console (enable set system name bg-sw-01 /設(shè)備名稱Bg-sw-01 (enable set password Enter old password: Enter new password: test /設(shè)備口令Retype new password: testBg-sw-

2、01 (enable set enablepass Enter old password: Enter new password: test /設(shè)備口令Retype new password: test 一、 Catalyst 6509交換機(jī)配置方案1.1、配置6509二層交換Console (enable set system name bg-sw-01 /設(shè)備名稱Bg-sw-01 (enable set password Enter old password: Enter new password: test /設(shè)備口令Retype new password: testBg-sw-01 (

3、enable set enablepass Enter old password: Enter new password: test /設(shè)備口令Retype new password: test Bg-sw-01 (enable set banner motd % Welcome to the c6509 in the office %/提示文本Bg-sw-01 (enable set interface sc0 10.234.180.21 255.255.255.0 /設(shè)置管理接口 #sh intBg-sw-01 (enable set ip route default 10.234.180

4、.234 /設(shè)置默認(rèn)網(wǎng)關(guān) #sh ip routeBg-sw-01 (enable set vtp mode server /設(shè)置VTP模式 #sh vtp domainBg-sw-01 (enable set vtp domain Core_Net /設(shè)置VTP域名Bg-sw-01 (enable set vlan 31 name ZhongSanLu /創(chuàng)建VLAN #sh vlanBg-sw-01 (enable set vlan 32 name YiYangBg-sw-01 (enable set vlan 33 name JianXiuBg-sw-01 (enable set vla

5、n 34 name RaoDianBg-sw-01 (enable set vlan 35 name JinSanLouBg-sw-01 (enable set vlan 36 name WuZiBg-sw-01 (enable set port channel 1/1-2 on /設(shè)置Channel #sh port channelBg-sw-01 (enable set trunk 1/1 on dot1q 1-1005Bg-sw-01 (enable set trunk 2/2 on dot1q 1-1005 /設(shè)置trunk口 #sh trunk #Bg-sw-01 (enable s

6、et trunk 2/3 on dot1q 1-1005Bg-sw-01 (enable set trunk 2/4 on dot1q 1-1005Bg-sw-01 (enable set trunk 2/5 on dot1q 1-1005Bg-sw-01 (enable set trunk 2/6 on dot1q 1-1005Bg-sw-01 (enable set trunk 2/7 on dot1q 1-1005Bg-sw-01 (enable set spantree root 1-40 dia 4 /設(shè)為spantree的根#sh spantreeBg-sw-01 (enable

7、set spantree portfast 1/1-2 enable /設(shè)spantree端口快速啟用 Bg-sw-01 (enable set spantree portfast 2/1-8 enable Bg-sw-01 (enable set spantree uplinkfastenable /設(shè)spantree端口快速切換 Bg-sw-01 (enable set spantree backbonefast enable /設(shè)spantree端口快速定位根 1.2、配置路由Console (enable session 15/進(jìn)入路由子卡Router(config# hostname

8、 c6509-msfc /設(shè)備名c6509-msfc (config# enable password test /設(shè)口令c6509-msfc (config# enable secret testC6509-msfc(config# banner motd % Welcome to the c6509-msfc in the Office %/設(shè)提示文本c6509-msfc (config# line vty 0 4 / 進(jìn)入VTY模式c6509-msfc (config-line#login/ 登入提示c6509-msfc (config-line#password test / 設(shè)用戶級

9、口令c6509-msfc (config-line# endC6509-msfc#configure terminal / 進(jìn)入全局模式Enter configuration commands, one per line. End with CNTL/Z.C6509-msfc(config# interface vlan 1/進(jìn)入虛子接口C6509-msfc(config-if# ip address 10.234.180.232 255.255.255.0 /加ip地址 C6509-msfc(config-if# no shutdown/開啟端口C6509-msfc(config-if# s

10、tandby 1 ip 10.234.180.234/建HSRP組并設(shè)虛IP地址C6509-msfc(config-if# standby 1 priority 110 /設(shè)優(yōu)先級C6509-msfc(config-if# standby 1 preempt/設(shè)切換許可C6509-msfc(config-if# interface vlan 31C6509-msfc(config-if# ip address 10.234.181.60 255.255.255.192C6509-msfc(config-if# no shutdownC6509-msfc(config-if# standby 3

11、1 ip 10.234.181.62C6509-msfc(config-if# standby 31 priority 110C6509-msfc(config-if# standby 31 preemptC6509-msfc(config-if# interface vlan 32C6509-msfc(config-if# ip address 10.234.181.124 255.255.255.192C6509-msfc(config-if# no shutdownC6509-msfc(config-if# standby 32 ip 10.234.181.126C6509-msfc(c

12、onfig-if# standby 32 priority 110C6509-msfc(config-if# standby 32 preemptC6509-msfc(config-if# interface vlan 33C6509-msfc(config-if# ip address 10.234.181.188 255.255.255.192C6509-msfc(config-if# no shutdownC6509-msfc(config-if# standby 33 ip 10.234.181.190C6509-msfc(config-if# standby 33 priority

13、110C6509-msfc(config-if# standby 33 preemptC6509-msfc(config-if# interface vlan 34C6509-msfc(config-if# ip address 10.234.181.220 255.255.255.224C6509-msfc(config-if# no shutdownC6509-msfc(config-if# standby 34 ip 10.234.181.222C6509-msfc(config-if# standby 34 priority 110C6509-msfc(config-if# stand

14、by 34 preemptC6509-msfc(config-if# interface vlan 35C6509-msfc(config-if# ip address 10.234.181.254 252.255.255.224C6509-msfc(config-if# no shutdownC6509-msfc(config-if# standby 35 ip 10.234.181.254C6509-msfc(config-if# standby 35 priority 110C6509-msfc(config-if# standby 35 preemptC6509-msfc(config

15、-if# interface vlan 36C6509-msfc(config-if# ip address 10.234.182.28 255.255.255.224C6509-msfc(config-if# no shutdown C6509-msfc(config-if# standby 36 ip 10.234.182.30C6509-msfc(config-if# standby 36 priority 110C6509-msfc(config-if# standby 36 preemptC6509-msfc(config-if# exitC6509-msfc #copy runni

16、ng config二、Catalyst 4006交換機(jī)配置方案2.1、配置4006二層交換(三層交換模塊安置在第二個槽)Console (enable set system name bg-sw-02 /設(shè)備名稱Bg-sw-02 (enable set password Enter old password: Enter new password: test /設(shè)備口令Retype new password: testBg-sw-02 (enable set enablepass Enter old password: Enter new password: test /設(shè)備口令Retype

17、new password: testBg-sw-02 (enable set banner motd % Welcome to the c4006 in the office % /提示文本Bg-sw-02 (enable set interface sc0 10.234.180.22 255.255.255.0 /設(shè)置管理接口 #sh intBg-sw-02 (enable set ip route default 10.234.180.234 /設(shè)置默認(rèn)網(wǎng)關(guān) #sh ip routeBg-sw-02 (enable set vtp mode server /設(shè)置VTP模式 #sh vtp

18、domainBg-sw-02 (enable set vtp domain Core_Net /設(shè)置VTP域名Bg-sw-02 (enable set vlan 31 name ZhongSanLu /創(chuàng)建VLAN #sh vlanBg-sw-02 (enable set vlan 32 name YiYangBg-sw-02 (enable set vlan 33 name JianXiuBg-sw-02 (enable set vlan 34 name RaoDianBg-sw-02 (enable set vlan 35 name JinSanLouBg-sw-02 (enable se

19、t vlan 36 name WuZiBg-sw-02 (enable set port channel 1/1-2 on /設(shè)置Channel #sh port channelBg-sw-02 (enable set trunk 1/1 on dot1q 1-1005Bg-sw-02 (enable set port channel 2/1-2 on /設(shè)置Channel #sh port channelBg-sw-02 (enable set trunk 2/1 on dot1q 1-1005Bg-sw-02 (enable set trunk 4/1 on dot1q 1-1005 /設(shè)

20、置trunk口 #sh trunk #Bg-sw-02 (enable set trunk 4/3 on dot1q 1-1005Bg-sw-02 (enable set trunk 4/4 on dot1q 1-1005Bg-sw-02 (enable set spantree root secondary 1-40 dia 4Bg-sw-02 (enable set spantree portfast 1/1-2 enable /設(shè)spantree端口快速啟用 Bg-sw-02 (enable set spantree portfast 2/1-34 enable Bg-sw-02 (en

21、able set spantree portfast 3/1-32 enable Bg-sw-02 (enable set spantree portfast 4/1-6 enable Bg-sw-02 (enable set spantree uplinkfastenable /設(shè)spantree端口快速切換 Bg-sw-02 (enable set spantree backbonefast enable /設(shè)spantree端口快速定位根 2.1、配置三層交換模塊(三層交換模塊安置在第二)Console (enable session 2 /進(jìn)入路由子卡Router(config# ho

22、stname c4006-L3 /設(shè)備名c4006-L3 (config# enable password test /設(shè)口令c4006-L3 (config# enable secret testc4006-L3(config# banner motd % Welcome to the c4006-l3 in the Office % /設(shè)提示文本c4006-L3 (config# line vty 0 4 / 進(jìn)入VTY模式c4006-L3 (config-line#login/ 登入提示c4006-L3 (config-line#password test / 設(shè)用戶級口令c4006-L

23、3 (config-line# endC4006-L3#configure terminalEnter configuration commands, one per line. End with CNTL/Z.C4006-L3(config# interface port-channel 1 /建內(nèi)部虛端口C4006-L3(config# interface g3 /進(jìn)入接口模式C4006-L3(config-if# channel-group 1 / 加入到channel組中C4006-L3(config-if# exitC4006-L3(config# interface g4 /進(jìn)入接

24、口模式C4006-L3(config-if# channel-group 1 / 加入到channel組中C4006-L3(config-if# exitC4006-L3(config# interface port-channel 1.1 /進(jìn)入子接口模式C4006-L3(config-if# encapsulation dot1q 1 native/ 封裝trunkC4006-L3(config-if# ip address 10.234.180.233 255.255.255.0/加ip地址C4006-L3(config-if# no shutdown /開啟端口C4006-L3(con

25、fig-if# standby 1 ip 10.234.180.234 /建HSRP組并設(shè)虛IP地址C4006-L3(config-if# standby 1 priority 100 /設(shè)優(yōu)先級C4006-L3(config-if# standby 1 preempt /設(shè)切換許可C4006-L3(config-if# interface port-channel 1.31C4006-L3(config-if# encapsulation dot1q 31C4006-L3(config-if# ip address 10.234.181.61 255.255.255.192C4006-L3(

26、config-if# no shutdownC4006-L3(config-if# standby 31 ip 10.234.181.62C4006-L3(config-if# standby 31 priority 100C4006-L3(config-if# standby 31 preemptC4006-L3(config-if# interface port-channel 1.32C4006-L3(config-if# encapsulation dot1q 32C4006-L3(config-if# ip address 10.234.181.125 255.255.255.192

27、C4006-L3(config-if# no shutdownC4006-L3(config-if# standby 32 ip 10.234.181.126C4006-L3(config-if# standby 32 priority 100C4006-L3(config-if# standby 32 preemptC4006-L3(config-if# interface port-channel 1.33C4006-L3(config-if# encapsulation dot1q 33C4006-L3(config-if# ip address 10.234.181.189 255.2

28、55.255.192C4006-L3(config-if# no shutdownC4006-L3(config-if# standby 33 ip 10.234.181.190C4006-L3(config-if# standby 33 priority 100C4006-L3(config-if# standby 33 preemptC4006-L3(config-if# interface port-channel 1.34C4006-L3(config-if# encapsulation dot1q 34C4006-L3(config-if# ip address 10.234.181

29、.221 255.255.255.224C4006-L3(config-if# no shutdownC4006-L3(config-if# standby 34 ip 10.234.181.222C4006-L3(config-if# standby 34 priority 100C4006-L3(config-if# standby 34 preemptC4006-L3(config-if# interface port-channel 1.35C4006-L3(config-if# encapsulation dot1q 35C4006-L3(config-if# ip address

30、10.234.181.253 255.255.255.224C4006-L3(config-if# no shutdownC4006-L3(config-if# standby 35 ip 10.234.181.254C4006-L3(config-if# standby 35 priority 100C4006-L3(config-if# standby 35 preemptC4006-L3(config-if# interface port-channel 1.36C4006-L3(config-if# encapsulation dot1q 36C4006-L3(config-if# i

31、p address 10.234.182.29 255.255.255.224C4006-L3(config-if# no shutdownC4006-L3(config-if# standby 36 ip 10.234.182.30C4006-L3(config-if# standby 36 priority 100C4006-L3(config-if# standby 36 preemptC4006-L3(config-if# exitC4006-L3#copy running config三、Catalyst 3500XL交換機(jī)配置方案3.1、辦公樓Catalyst 3500XL交換機(jī)配

32、置方案第一臺Catalyst 3548switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.switch(config#hostname bg-sw-03 /設(shè)備名bg-sw-03(config#enable password test /設(shè)口令bg-sw-03(config#enable secret testbg-sw-03(config#banner motd % Welcome to the C3548 in the Office % /提示文本bg-sw-03(conf

33、ig#line vty 0 4 / 進(jìn)入VTY模式bg-sw-03(config.line#login / 登入提示bg-sw-03(config.line#password test / 設(shè)用戶級口令bg-sw-03(config.line#exitbg-sw-03 (config#int vlan 1 / 進(jìn)入內(nèi)部管理接口bg-sw-03 (config-if#ip address 10.234.180.23 255.255.255.0/加入IP地址bg-sw-03(config-if#exitbg-sw-03(config#ip default.gateway 10.234.180.23

34、4 /設(shè)網(wǎng)關(guān)bg-sw-03(config#endbg-sw-03#vlan database / 進(jìn)入vtp數(shù)據(jù)庫bg-sw-03(vlan#vtp domain Corp_Net /設(shè)vtp域bg-sw-03(vlan#vtp client /設(shè)定vtp模式bg-sw-03(vlan#exitbg-sw-03(config#spantree uplinkfast/設(shè)定端口快速上連bg-sw-03(config#int g0/1 /進(jìn)入接口模式bg-sw-03(config-if#switchport mode trunk /設(shè)為trunk模式bg-sw-03(config-if#switc

35、hport trunk encapsulation dot1q/設(shè)定封裝模式bg-sw-03(config-if#switchport trunk allowed vlan all /設(shè)定trunk許可vlanbg-sw-03(config-if#spanning-tree portfast /設(shè)定端口快速啟用 bg-sw-03(config-if#int g0/2/進(jìn)入接口模式bg-sw-03(config-if#switchport mode trunk /設(shè)為trunk模式bg-sw-03(config-if#switchport trunk encapsulation dot1q/設(shè)定

36、封裝模式bg-sw-03(config-if#switchport trunk allowed vlan all /設(shè)定trunk許可vlanbg-sw-03(config-if#spanning-tree portfast /設(shè)定端口快速啟用 bg-sw-03(config-if#exitbg-sw-03#write memory第二臺Catalyst 3548switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.switch(config#hostname bg-sw-04

37、/設(shè)備名bg-sw-04(config#enable password test /設(shè)口令bg-sw-04(config#enable secret testbg-sw-04(config#banner motd % Welcome to the C3548 in the Office % /提示文本bg-sw-04(config#line vty 0 4 / 進(jìn)入VTY模式bg-sw-04(config.line#login / 登入提示bg-sw-04(config.line#password test / 設(shè)用戶級口令 bg-sw-04(config.line#exit / 進(jìn)入內(nèi)部管理

38、接口bg-sw-04(config#int vlan 1bg-sw-04(config-if#ip address 10.234.180.24 255.255.255.0bg-sw-04(config-if#exitbg-sw-04(config#ip default.gateway 10.234.180.234bg-sw-04(config#endbg-sw-04#vlan databasebg-sw-04(vlan#vtp domain Corp_Netbg-sw-04(vlan#vtp clientbg-sw-04(vlan#exitbg-sw-04(config#spantree up

39、linkfastbg-sw-04(config#int g0/1bg-sw-04(config-if#switchport mode trunk bg-sw-04(config-if#switchport trunk encapsulation dot1qbg-sw-04(config-if#switchport trunk allowed vlan allbd-sw-03 (config-if# spanning-tree portfastbg-sw-04(config-if#exitbg-sw-04(config#int g0/2bg-sw-04(config-if#switchport

40、mode trunk bg-sw-04(config-if#switchport trunk encapsulation dot1qbg-sw-04(config-if#switchport trunk allowed vlan allbg-sw-04(config-if#spanning-tree portfastbg-sw-04(config-if#exitbg-sw-04#write memory3.2 辦公樓Catalyst 3548XL交換機(jī)配置方案switch#configure terminalEnter configuration commands, one per line.

41、 End with CNTL/Z.switch(config#hostname zsr-sw-01zsr-sw-01(config#enable password testzsr-sw-01(config#enable secret testzsr-sw-01(config#banner motd % Welcome to the C3548 in the Zhong San Lu ban Gong Lou %zsr-sw-01(config#line vty 0 4zsr-sw-01(config.line#loginzsr-sw-01(config.line#password testzs

42、r-sw-01(config.line#exitzsr-sw-01(config#int vlan 1zsr-sw-01(config-if#ip address 10.234.180.25 255.255.255.0zsr-sw-01(config-if#exitzsr-sw-01(config#ip default.gateway 10.234.180.234zsr-sw-01(config#endzsr-sw-01#vlan databasezsr-sw-01(vlan#vtp domain Corp_Netzsr-sw-01(vlan#vtp clientzsr-sw-01(vlan#

43、exitzsr-sw-1#configure terminalzsr-sw-1(config#int f0/1zsr-sw-1(config-if#switchport mode access zsr-sw-1(config-if#switchport access vlan 31zsr-sw-1(config-if#exitzsr-sw-1(config#int f0/2。zsr-sw-1(config#int f0/48zsr-sw-1(config-if#switchport mode access zsr-sw-1(config-if#switchport access vlan 31

44、zsr-sw-1(config-if#exitzsr-sw-01(config#int g0/1zsr-sw-01(config-if#switchport mode trunk zsr-sw-01(config-if#switchport trunk encapsulation dot1qzsr-sw-01(config-if#switchport trunk allowed vlan allzsr-sw-01 (config-if#spantree cost 10zsr-sw-01(config-if#exitzsr-sw-01(config#int g0/2zsr-sw-01(confi

45、g-if#switchport mode trunk zsr-sw-01(config-if#switchport trunk encapsulation dot1qzsr-sw-01(config-if#switchport trunk allowed vlan allzsr-sw-01 (config-if#spantree cost 20zsr-sw-01(config-if#exitzsr-sw-01#write memory3.3 局辦公樓Catalyst 3548XL交換機(jī)配置方案switch#configure terminalEnter configuration comman

46、ds, one per line. End with CNTL/Z.switch(config#hostname yy-sw-01yy-sw-01(config#enable password testyy-sw-01(config#enable secret testyy-sw-01(config#banner motd % Welcome to the C3548 in the Yi Yang Fen Ju %yy-sw-01(config#line vty 0 4yy-sw-01(config.line#loginyy-sw-01(config.line#password testyy-

47、sw-01(config.line#exityy-sw-01(config#int vlan 1yy-sw-01(config-if#ip address 10.234.180.26 255.255.255.0yy-sw-01(config-if#exityy-sw-01(config#ip default.gateway 10.234.180.234yy-sw-01(config#endyy-sw-01#vlan databaseyy-sw-01(vlan#vtp domain Corp_Netyy-sw-01(vlan#vtp clientyy-sw-01(vlan#exityy-sw-1

48、#configure terminalyy-sw-1(config#int f0/1yy-sw-1(config-if#switchport mode access yy-sw-1(config-if#switchport access vlan 32yy-sw-1(config-if#exityy-sw-1(config#int f0/2。yy-sw-1(config#int f0/48yy-sw-1(config-if#switchport mode access yy-sw-1(config-if#switchport access vlan 32yy-sw-1(config-if#ex

49、ityy-sw-01#write memory3.4 檢修設(shè)計(jì)Catalyst 3548XL交換機(jī)配置方案switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.switch(config#hostname jxsj-sw-01jxsj-sw-01(config#enable password testjxsj-sw-01(config#enable secret testjxsj-sw-01(config#banner motd % Welcome to the C3548 in the Jian Xiu She Ji Fen Ju %jxsj-sw-01(config#line vty 0 4jxsj-sw-01(config.line#loginjxsj-sw-01(config.line#password testjxsj-sw-01(config.line#exitjxsj-sw-01(config#int vlan 1jxsj-sw-01(config-if#ip address 10.234.180.27 255.255.255.0jxsj-sw-01(confi

溫馨提示

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

評論

0/150

提交評論