版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、2950交換機(jī)簡(jiǎn)明配置維護(hù)手冊(cè)中望商業(yè)機(jī)器公司2002-12-14目錄 TOC o 1-3 h z HYPERLINK l _Toc27764419 說(shuō)明 PAGEREF _Toc27764419 h 3 HYPERLINK l _Toc27764420 產(chǎn)品特性 PAGEREF _Toc27764420 h 3 HYPERLINK l _Toc27764421 配置端口 PAGEREF _Toc27764421 h 4 HYPERLINK l _Toc27764422 配置一組端口 PAGEREF _Toc27764422 h 4 HYPERLINK l _Toc27764423 配置二層端
2、口 PAGEREF _Toc27764423 h 6 HYPERLINK l _Toc27764424 配置端口速率及雙工模式 PAGEREF _Toc27764424 h 6 HYPERLINK l _Toc27764425 端口描述 PAGEREF _Toc27764425 h 7 HYPERLINK l _Toc27764426 監(jiān)控及維護(hù)端口 PAGEREF _Toc27764426 h 8 HYPERLINK l _Toc27764427 監(jiān)控端口和控制器的狀態(tài) PAGEREF _Toc27764427 h 8 HYPERLINK l _Toc27764428 刷新、重置端口及計(jì)數(shù)器
3、 PAGEREF _Toc27764428 h 10 HYPERLINK l _Toc27764429 關(guān)閉和打開(kāi)端口 PAGEREF _Toc27764429 h 10 HYPERLINK l _Toc27764430 配置VLAN PAGEREF _Toc27764430 h 11 HYPERLINK l _Toc27764431 理解VLAN PAGEREF _Toc27764431 h 11 HYPERLINK l _Toc27764432 可支持的VLAN PAGEREF _Toc27764432 h 12 HYPERLINK l _Toc27764433 配置正常范圍的VLAN P
4、AGEREF _Toc27764433 h 12 HYPERLINK l _Toc27764434 生成、修改以太網(wǎng)VLAN PAGEREF _Toc27764434 h 13 HYPERLINK l _Toc27764435 刪除VLAN PAGEREF _Toc27764435 h 14 HYPERLINK l _Toc27764436 將端口分配給一個(gè)VLAN PAGEREF _Toc27764436 h 15 HYPERLINK l _Toc27764437 配置VLAN Trunks PAGEREF _Toc27764437 h 16 HYPERLINK l _Toc27764438
5、 使用STP實(shí)現(xiàn)負(fù)載均衡 PAGEREF _Toc27764438 h 19 HYPERLINK l _Toc27764439 配置Cluster PAGEREF _Toc27764439 h 23說(shuō)明本手冊(cè)只包括日常使用的有關(guān)命令及特性,其它未涉及的命令及特性請(qǐng)參考英文的詳細(xì)配置手冊(cè)。產(chǎn)品特性2950是只支持二層的交換機(jī)支持VLAN到250個(gè)VLAN支持VLAN ID從1到4094( IEEE 802.1Q 標(biāo)準(zhǔn))支持ISL及IEEE 802.1Q封裝安全支持IOS標(biāo)準(zhǔn)的密碼保護(hù)支持標(biāo)準(zhǔn)及擴(kuò)展的訪問(wèn)列表來(lái)定義安全策略支持基于VLAN的訪問(wèn)列表監(jiān)視交換機(jī)LED指示端口狀態(tài)SPAN及遠(yuǎn)端SPAN
6、 (RSPAN) 可以監(jiān)視任何端口或VLAN的流量?jī)?nèi)置支持四組的RMON監(jiān)控功能(歷史、統(tǒng)計(jì)、告警及事件)配置端口配置一組端口命令 目的 Step1 configure terminal進(jìn)入配置狀態(tài)Step2 interface range port-range 進(jìn)入組配置狀態(tài)Step3 可以使用平時(shí)的端口配置命令進(jìn)行配置Step4 end退回Step5 show interfaces interface-id驗(yàn)證配置Step6 copy running-config startup-config保存當(dāng)使用interface range命令時(shí)有如下的規(guī)則:有效的組范圍:vlan從1 到4094
7、 fastethernet 槽位/first port - last port, 槽位為0gigabitethernet槽位/first port - last port,槽位為0port-channel port-channel-number - port-channel-number, port-channel號(hào)從1到64端口號(hào)之間需要加入空格,如:interface range fastethernet 0/15 是有效的,而interface range fastethernet 0/1-5 是無(wú)效的.interface range 命令只能配置已經(jīng)存在的interface vlan所
8、有在同一組的端口必須是相同類別的。見(jiàn)以下例子:Switch# configure terminalSwitch(config)# interface range fastethernet0/1 - 5 Switch(config-if-range)# no shutdown Switch(config-if-range)#*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/2,
9、 changed state to up*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/4, changed state to up*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up*Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line
10、protocol on Interface FastEthernet0/05, changed state to up*Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up*Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up 以下的例子顯示使用句號(hào)來(lái)配置不同類型端口的組:Switch# configu
11、re terminalSwitch(config)# interface range fastethernet0/1 - 3, gigabitethernet0/1 - 2 Switch(config-if-range)# no shutdown Switch(config-if-range)#*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state
12、 to up*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up*Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol
13、 on Interface GigabitEthernet0/ 1, changed state to up*Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/ 2, changed state to up*Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/ 3, changed state to up 配置二層端口2950的所有端口缺省的端口都是二層口,如果此端口已經(jīng)配置成三層端口的
14、話,則需要用switchport來(lái)使其成為二層端口。配置端口速率及雙工模式可以配置快速以太口的速率為10/100Mbps及千兆以太口的速率為10/100/1000-Mbps; 但對(duì)于GBIC端口則不能配置速率及雙工模式,有時(shí)可以配置nonegotiate,當(dāng)需要聯(lián)接不支持自適應(yīng)的其它千兆端口時(shí)命令目的 Step1 configure terminal進(jìn)入配置狀態(tài).Step2 interface interface-id進(jìn)入端口配置狀態(tài).Step3 speed 10 | 100 | 1000 | auto | nonegotiate設(shè)置端口速率 注1000 只工作在千兆口. GBIC模塊只工作在
15、1000 Mbps下. nonegotiate 只能在這些GBIC上用 1000BASE-SX, -LX, and -ZX GBIC.Step4 duplex auto | full | half設(shè)置全雙工或半雙工. Step5 end退出Step6 show interfaces interface-id顯示有關(guān)配置情況Step7 copy running-config startup-config保存Switch# configure terminalSwitch(config)# interface fastethernet0/3Switch(config-if)# speed 10Sw
16、itch(config-if)# duplex half端口描述 命令目的 Step1 configure terminal進(jìn)入配置模式Step2 interface interface-id進(jìn)入要加入描述的端口Step3 description string加入描述 (最多240個(gè)字符).Step4 end退回.Step5 show interfaces interface-id descriptionorshow running-config驗(yàn)證.Step6 copy running-config startup-config保存Use the no description interfa
17、ce configuration command to delete the description.This example shows how to add a description on Fast Ethernet interface 0/4 and to verify the description:Switch# config terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)# interface fastethernet0/4Switch(config-if)# d
18、escription Connects to MarketingSwitch(config-if)# endSwitch# show interfaces fastethernet0/4 descriptionInterface Status Protocol DescriptionFa0/4 up down Connects to Marketing監(jiān)控及維護(hù)端口監(jiān)控端口和控制器的狀態(tài)主要命令見(jiàn)下表:Show Commands for Interfaces Command 目的 show interfaces interface-id顯示所有端口或某一端口的狀態(tài)和配置.show interf
19、aces interface-id status err-disabled顯示一系列端口的狀態(tài)或錯(cuò)誤關(guān)閉的狀態(tài)show interfaces interface-id switchport顯示二層端口的狀態(tài),可以用來(lái)決定此口是否為二層或三層口。show interfaces interface-id description顯示端口描述show running-config interface interface-id顯示當(dāng)前配置中的端口配置情況show version顯示軟硬件等情況舉例如下:Switch# show interfaces status Port Name Status Vla
20、n Duplex Speed TypeGi0/1 connected routed a-full a-100 10/100/1000BaseTXGi0/2 wce server disabled routed auto auto 10/100/1000Base TXGi0/3 ip wccp web-cache notconnect routed auto auto 10/100/1000Base TXGi0/4 notconnect routed auto auto 10/100/1000Base TXGi0/5 notconnect routed auto auto 10/100/1000
21、Base TXGi0/6 disabled routed auto auto 10/100/1000Base TXGi0/7 disabled routed auto auto 10/100/1000Base TXGi0/8 disabled routed auto 100 10/100/1000Base TXGi0/9 notconnect routed auto auto 10/100/1000Base TXGi0/10 notconnect routed auto auto 10/100/1000Base TXGi0/11 disabled routed auto auto unknow
22、nGi0/12 notconnect routed auto auto unknown Switch# show interfaces fastethernet 0/1 switchportName: Fa0/1Switchport: EnabledAdministrative Mode: static accessOperational Mode: downAdministrative Trunking Encapsulation: dot1qNegotiation of Trunking: OffAccess Mode VLAN: 1 (default)Trunking Native Mo
23、de VLAN: 1 (default)Trunking VLANs Enabled: ALLPruning VLANs Enabled: 2-1001 Protected: falseUnknown unicast blocked: disabledUnknown multicast blocked: disabled Voice VLAN: dot1p (Inactive)Appliance trust: 5Switch# show running-config interface fastethernet0/2Building configuration. Current configu
24、ration : 131 bytes!interface FastEthernet0/2 switchport mode access switchport protected no ip address mls qos cos 7 mls qos cos overrideend刷新、重置端口及計(jì)數(shù)器Clear命令目的 clear counters interface-id清除端口計(jì)數(shù)器.clear line number | console 0 | vty number重置異步串口的硬件邏輯Noteclear counters 命令只清除用show interface所顯示的計(jì)數(shù),不影響用s
25、nmp得到的計(jì)數(shù) 舉例如下:Switch# clear counters fastethernet0/5 Clear show interface counters on this interface confirm y Switch#*Sep 30 08:42:55: %CLEAR-5-COUNTERS: Clear counter on interface FastEthernet0/5by vty1 (0) 可使用clear line 命令來(lái)清除或重置某一端口或串口,在大部分情況下并不需要這樣做:Switch# clear interface fastethern
26、et0/5 關(guān)閉和打開(kāi)端口命令 目的 Step1 configure terminal進(jìn)入配置狀態(tài)Step2 interface vlan vlan-id | fastethernet | gigabitethernet interface-id | port-channel port-channel-number選擇要關(guān)閉的端口Step3 shutdown關(guān)閉Step4 end退出Step5 show running-config驗(yàn)證使用 no shutdown 命令重新打開(kāi)端口.舉例如下:Switch# configure terminalSwitch(config)# interface
27、 fastethernet0/5 Switch(config-if)# shutdown Switch(config-if)#*Sep 30 08:33:47: %LINK-5-CHANGED: Interface FastEthernet0/5, changed state to a administratively down Switch# configure terminalSwitch(config)# interface fastethernet0/5 Switch(config-if)# no shutdown Switch(config-if)#*Sep 30 08:36:00:
28、 %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up 配置VLAN理解VLAN 一個(gè)VLAN就是一個(gè)交換網(wǎng),其邏輯上按功能、項(xiàng)目、應(yīng)用來(lái)分而不必考慮用戶的物理位置。任何交換口都可以屬于某一VLAN, IP包、廣播包及組播包均可以發(fā)送或廣播給在此VLAN內(nèi)的最終用戶。每一個(gè)VLAN均可看成是一個(gè)邏輯網(wǎng)絡(luò),發(fā)往另一VLAN的數(shù)據(jù)包必須由路由器或網(wǎng)橋轉(zhuǎn)發(fā)(如下圖)。由于VLAN被看成是一個(gè)邏輯網(wǎng)絡(luò),其具有自己的網(wǎng)橋管理信息庫(kù) (MIB) 并可支持自己的生成樹(shù) VLAN作為邏輯定義的網(wǎng)絡(luò)示意圖VLAN常常與IP子網(wǎng)相聯(lián)系,同一I
29、P子網(wǎng)屬于同一VLAN。在3550上VLAN之間的數(shù)據(jù)包可以由VLAN端口進(jìn)行轉(zhuǎn)發(fā)??芍С值腣LANCatalyst 3550交換機(jī)支持250個(gè) VLAN,可以分別是VTPclient, server, 及 transparent modes. VLAN號(hào)可以從1到4094. VLAN號(hào)1002到1005保留給令牌環(huán)及FDDI VLAN. VTP只能學(xué)習(xí)到普通范圍的VLAN, 即從VLAN到1到1005; VLAN號(hào)大于1005屬于擴(kuò)展VLAN,不存在VLAN數(shù)據(jù)庫(kù)中。 交換機(jī)必須配置成VTP透明模式當(dāng)需要生成VLAN 號(hào)從1006到4094. 本交換機(jī)支持基于每一VLAN的生成樹(shù)(PVST)
30、,最多支持128個(gè)生成樹(shù)。本交換機(jī)支持ISL及IEEE 802.1Q trunk二種封裝。配置正常范圍的VLANVLAN號(hào)1, 1002到1005是自動(dòng)生成的不能被去掉。 VLAN號(hào)1到1005的配置被寫到文件vlan.dat 中, 可以用show vlan 命令查看, vlan.dat 文件存放在NVRAM中. 注意不要手工刪除vlan.dat 文件,可能造成VLAN的不完整。如要?jiǎng)h除vlan需要用有關(guān)的命令來(lái)進(jìn)行生成、修改以太網(wǎng)VLAN命令目的Step1 configure terminal進(jìn)入配置狀態(tài)Step2 vlan vlan-id輸入一個(gè)VLAN號(hào), 然后進(jìn)入vlan配置狀態(tài),可以
31、輸入一個(gè)新的VLAN號(hào)或舊的來(lái)進(jìn)行修改。 Step3 name vlan-name(可選)輸入一個(gè)VLAN名,如果沒(méi)有配置VLAN名,缺省的名字是VLAN號(hào)前面用0填滿的4位數(shù),如VLAN0004是VLAN4的缺省名字Step4 mtu mtu-size(可選) 改變MTU大小Step5 end退出Step6 show vlan name vlan-name | id vlan-id驗(yàn)證Step7 copy running-config startup config(可選) 保存配置用no vlan name 或 no vlan mtu 退回到缺省的vlan配置狀態(tài)舉例如下:Switch# c
32、onfigure terminalSwitch(config)# vlan 20Switch(config-vlan)# name test20Switch(config-vlan)# end也可以在enable狀態(tài)下,進(jìn)行VLAN配置:命令 目的 Step1 vlan database進(jìn)入VLAN配置狀態(tài)Step2 vlan vlan-id name vlan-name加入VLAN號(hào)及VLAN名Step3 vlan vlan-id mtu mtu-size(可選) 修改MTU大小Step4 exit更新VLAN數(shù)據(jù)庫(kù)并退出Step5 show vlan name vlan-name | id
33、 vlan-id驗(yàn)證配置Step6 copy running-config startup config保存配置(可選)舉例如下:Switch# vlan databaseSwitch(vlan)# vlan 20 name test20Switch(vlan)# exitAPPLY completed.ExitingSwitch# 刪除VLAN當(dāng)刪除一個(gè)處于VTP服務(wù)器的交換機(jī)上刪除VLAN時(shí),則此VLAN將在所有相同VTP的交換機(jī)上刪除。當(dāng)在透明模式下刪除時(shí),只在當(dāng)前交換機(jī)上刪除。注意當(dāng)刪除一個(gè)VLAN時(shí),原來(lái)屬于此VLAN的端口將處于非激活的狀態(tài),直到將其分配給某一VLAN。命令 目的
34、Step1 configure terminal進(jìn)入配置狀態(tài)Step2 no vlan vlan-id刪除某一VLAN. Step3 end退出Step4 show vlan brief驗(yàn)證Step5 copy running-config startup config保存也可用vlan database 進(jìn)入VLAN配置狀態(tài),用no vlan vlan-id 來(lái)刪除。將端口分配給一個(gè)VLAN命令 目的 Step1 configure terminal進(jìn)入配置狀態(tài)Step2 interface interface-id進(jìn)入要分配的端口Step3 switchport mode access定義
35、二層口Step4 switchport access vlan vlan-id把端口分配給某一VLANStep5 End退出Step6 show running-config interface interface-id 驗(yàn)證端口的VLAN號(hào)Step7 show interfaces interface-id switchport驗(yàn)證端口的管理模式和VLAN情況Step8 copy running-config startup-config保存配置使用 default interface interface-id 還原到缺省配置狀態(tài)。舉例如下:Switch# configure termina
36、l Enter configuration commands, one per line. End with CNTL/Z.Switch(config)# interface fastethernet0/1 Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 2Switch(config-if)# end Switch#配置VLAN Trunks命令 目的 Step1 configure terminal進(jìn)入配置狀態(tài)Step2 interface interface-id進(jìn)入端口
37、配置狀態(tài)Step3 switchport mode dynamic auto | desirable | trunk配置二層trunk模式。dynamic auto自動(dòng)協(xié)商是否成為trunkdynamic desirable把端口設(shè)置為trunk如果對(duì)方端口是trunk, desirable, 或自動(dòng)模式trunk設(shè)置端口為強(qiáng)制的trunk方式,而不理會(huì)對(duì)方端口是否為trunkStep4 switchport access vlan vlan-id(可選) 指定一個(gè)缺省VLAN, 如果此端口不再是trunkStep5 switchport trunk native vlan vlan-id指定
38、802.1Q native VLAN號(hào) Step6 end退出Step7 show interfaces interface-id switchport顯示有關(guān)switchport 的配置Step8 show interfaces interface-id trunk顯示有關(guān)trunk的配置Step9 copy running-config startup-config保存配置舉例:Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z.Switch(config)# inte
39、rface fastethernet0/4 Switch(config-if)# switchport mode trunk Switch(config-if)# end 定義trunk允許的VLAN缺省情況下trunk允許所有的VLAN通過(guò)??梢允褂?switchport trunk allowed vlan remove vlan-list 來(lái)去掉某一VLAN Command Purpose Step1 configure terminal進(jìn)入配置狀態(tài)Step2 interface interface-id進(jìn)入端口配置Step3 switchport mode trunk配置二層口為tru
40、nkStep4 switchport trunk allowed vlan add | all | except | remove vlan-list (可選) 配置trunk允許的VLAN. 使用add, all, except, remove關(guān)健字Step5 end退出Step6 show interfaces interface-id switchport 驗(yàn)證VLAN配置情況.Step7 copy running-config startup-config保存配置回到允許所有VLAN通過(guò)時(shí), 可用no switchport trunk allowed vlan 端口配置命令.舉例如下:
41、Switch(config)# interface fastethernet0/1Switch(config-if)# switchport trunk allowed vlan remove 2Switch(config-if)# end配置Native VLAN(802.1q)封裝802.1q的trunk端口可以接受帶有標(biāo)簽和不帶標(biāo)簽的數(shù)據(jù)流,交換機(jī)向native vlan傳送不帶標(biāo)簽的數(shù)據(jù)流,缺省情況下native VLAN是1。命令 目的 Step1 configure terminal進(jìn)入配置狀態(tài)Step2 interface interface-id進(jìn)入配置成802.1qtrunk
42、的端口Step3 switchport trunk native vlan vlan-id配置native VLAN號(hào)Step4 end退出Step5 show interfaces interface-id switchport驗(yàn)證native VLAN配置Step6 copy running-config startup-config保存配置使用no switchport trunk native vlan 端口配置命令回到缺省的狀態(tài)使用STP實(shí)現(xiàn)負(fù)載均衡負(fù)載均衡可以使用流量分流到其它平行的trunks上去. 交換機(jī)為了避免環(huán)路, STP通常是阻斷所有端口交換機(jī)之間只留一條鏈路 。使用負(fù)載
43、均衡后, 可以把不同VLAN的流量分配到不同的trunk上。 可以通過(guò)配置STP端口權(quán)值STP路徑值來(lái)實(shí)現(xiàn)負(fù)載均衡. 如果使用STP端口權(quán)值來(lái)配置那么二條負(fù)載均衡的trunk必須聯(lián)同一交換機(jī)上。使用路徑值則即可以聯(lián)相同的交換機(jī)與可以聯(lián)不同的交換機(jī)。使用STP端口權(quán)值的負(fù)載均衡當(dāng)同一臺(tái)交換機(jī)的二個(gè)口形成環(huán)路時(shí), STP端口權(quán)值用來(lái)決定那個(gè)口是enable的,那個(gè)口是阻斷的。 可以通過(guò)配置端口權(quán)值來(lái)決定二對(duì)trunk各走那些VLAN, 有較高權(quán)值的端口(數(shù)字較小的)vlan, 將處于轉(zhuǎn)發(fā)狀態(tài),同一個(gè)VLAN在另一個(gè)trunk有較低的權(quán)值(數(shù)字較大)則將處在阻斷狀態(tài)。 即同一VLAN只在一個(gè)trun
44、k上發(fā)送接受?;诙丝跈?quán)值的負(fù)載均衡示意圖 trunk1將發(fā)送和接收VLAN810的數(shù)據(jù),trunk2將發(fā)送和接收VLAN36的數(shù)據(jù)配置如下:Command Purpose Step1 configure terminal進(jìn)入Switch1配置狀態(tài)Step2 vtp domain domain-name配置VTP域Step3 vtp server將Switch 1配置成VTP server.Step4 end退出Step5 show vtp status驗(yàn)證VTP的配置Step6 show vlan驗(yàn)證VLANStep7 configure terminal進(jìn)入配置狀態(tài)Step8 interf
45、ace fastethernet 0/1進(jìn)入F0/1端口Step9 switchport mode trunk配置成trunk端口Step10 end退出Step11 show interfaces fastethernet0/1 switchport驗(yàn)證VLAN配置Step12 在switch1上的F0/2上重復(fù)7到11步驟Step13 在Switch 2的F0/1,F0/2上重復(fù)7到11步驟。Step14 show vlan當(dāng)trunk已經(jīng)起來(lái),在switch2上驗(yàn)證已經(jīng)學(xué)到相關(guān)的vlan配置Step15 configure terminal在Switch 1上進(jìn)入配置狀態(tài)Step16 i
46、nterface fastethernet0/1進(jìn)入要配置的端口Step17 spanning-tree vlan 8 port-priority 10將端口權(quán)值10賦與VLAN 8.Step18 spanning-tree vlan 9 port-priority 10將端口權(quán)值10賦與VLAN 9.Step19 spanning-tree vlan 10 port-priority 10將端口權(quán)值10賦與VLAN 10.Step20 exit退回.Step21interface fastethernet0/2進(jìn)入F0/2Step22spanning-tree vlan 3 port-pri
47、ority 10將端口權(quán)值10賦與VLAN 3.Step23 spanning-tree vlan 4 port-priority 10將端口權(quán)值10賦與VLAN 4.Step24 spanning-tree vlan 5 port-priority 10將端口權(quán)值10賦與VLAN 5.Step25 spanning-tree vlan 6 port-priority 10將端口權(quán)值10賦與VLAN 10.Step26 end退出Step27 show running-config驗(yàn)證配置Step28 copy running-config startup-config保存配置配置STP路徑值的負(fù)載均衡也可以通過(guò)配置配置STP路徑值來(lái)實(shí)現(xiàn)負(fù)載均衡,如下圖所示Trunk1走VLAN810,Trunk2走VLAN24命令 目的 Step1 configure terminal進(jìn)入 Switch1配置狀態(tài)Step2 interface fastethernet 0/1進(jìn)入F0/1Step3 switchport mode trunk配
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝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ù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年冀教版高一語(yǔ)文上冊(cè)階段測(cè)試試卷含答案
- 2025年滬教版七年級(jí)生物下冊(cè)階段測(cè)試試卷含答案
- 2025年統(tǒng)編版選修5歷史下冊(cè)階段測(cè)試試卷
- 2025年上教版九年級(jí)生物下冊(cè)階段測(cè)試試卷
- 2025年牛津譯林版九年級(jí)歷史下冊(cè)階段測(cè)試試卷
- 2025年度智慧門禁系統(tǒng)門衛(wèi)服務(wù)全面升級(jí)合同4篇
- 2025版高鐵建設(shè)農(nóng)民工勞動(dòng)合同規(guī)范文本3篇
- 技術(shù)專利資源共享合同(2篇)
- 二零二五版智能節(jié)能門窗工程分包合同樣本4篇
- 2025版醫(yī)療責(zé)任保險(xiǎn)合同范本4篇
- 《醫(yī)院財(cái)務(wù)分析報(bào)告》課件
- 2025老年公寓合同管理制度
- 2024-2025學(xué)年人教版數(shù)學(xué)六年級(jí)上冊(cè) 期末綜合卷(含答案)
- 2024中國(guó)汽車后市場(chǎng)年度發(fā)展報(bào)告
- 感染性腹瀉的護(hù)理查房
- 天津市部分區(qū)2023-2024學(xué)年高二上學(xué)期期末考試 物理 含解析
- 《人工智能基礎(chǔ)》全套英語(yǔ)教學(xué)課件(共7章)
- GB/T 35613-2024綠色產(chǎn)品評(píng)價(jià)紙和紙制品
- 2022-2023學(xué)年五年級(jí)數(shù)學(xué)春季開(kāi)學(xué)摸底考(四)蘇教版
- 【螞蟻?!?024中國(guó)商業(yè)醫(yī)療險(xiǎn)發(fā)展研究藍(lán)皮書
- 軍事理論-綜合版智慧樹(shù)知到期末考試答案章節(jié)答案2024年國(guó)防大學(xué)
評(píng)論
0/150
提交評(píng)論