六月丁香五月婷婷,丁香五月婷婷网,欧美激情网站,日本护士xxxx,禁止18岁天天操夜夜操,18岁禁止1000免费,国产福利无码一区色费

學習啦>學習電腦>網絡知識>路由器>路由器設置>cisco思科>

cisco ap信道設置

時間: 春健736 分享

  不少網友都不知道cisco無線ap信道怎么設置。其實步驟并不難,下面學習啦小編給大家介紹一下具體操作辦法,供大家參考!

  cisco無線ap信道設置教程

  以太網信道可能通過執(zhí)行適當命令手工配置,或者可能由有自動地配置交換機與另一邊協商信道使用Port Aggregation Protocol (PAgP)。 這是最佳使用PAgP期望的模式配置以太網信道,每當可能,因為手工配置EtherChannel有時創(chuàng)建復雜化。 本文手工提供配置EtherChannel示例和配置EtherChannel使用PAGP。 并且如何如何包括排除以太網信道故障和使用Trunking帶有以太網信道。 在本文中,術語以太網信道、快速以太信道, Gigabit EtherChannel或者開辟全部引用以太網信道。

  網絡圖

  在此部分表示的網絡建立說明測試環(huán)境。

  在交換機的配置被清除了用clear config all命令之后,提示用set system name命令更改了。 IP地址和掩碼分配到交換機管理目的使用set interface sc0 172.16.84.6 255.255.255.0命令為交換機A和set interface sc0 172.16.84.17 255.255.255.0命令為交換機B。 默認網關分配到兩臺交換機用set ip route default 172.16.84.1命令。

  清除交換機配置從默認條件開始。 交換機是教名對于證明從提示在命令行。 要連接在交換機之間為測試, IP地址分配。 未使用默認網關。

  許多命令顯示更多輸出比為此論述需要的。 額外的輸出在本文被抑制。

  請手工配置以太網信道

  步驟

  完成這些步驟手工配置以太網信道:

  發(fā)出show version及show module命令。

  show version命令顯示交換機運行的軟件版本。 模塊在交換機上安裝的show module命令列表。

  Switch-A> show version

  WS-C5505 Software, Version McpSW: 4.5(1) NmpSW: 4.5(1)

  !--- This is the software version that runs on the switch.

  Copyright (c) 1995-1999 by Cisco Systems

  NMP S/W compiled on Mar 29 1999, 16:09:01

  MCP S/W compiled on Mar 29 1999, 16:06:50

  System Bootstrap Version: 3.1.2

  Hardware Version: 1.0 Model: WS-C5505 Serial #: 066507453

  Mod Port Model Serial # Versions

  --- ---- ---------- --------- ----------------------------------------

  1 0 WS-X5530 006841805 Hw : 1.3

  Fw : 3.1.2

  Fw1: 3.1(2)

  Sw : 4.5(1)

  2 24 WS-X5225R 012785227 Hw : 3.2

  Fw : 4.3(1)

  SW : 4.5(1)

  DRAM FLASH NVRAM

  Module Total Used Free Total Used Free Total Used Free

  ------ ------- ------- ------- ------- ------- ------- ----- ----- -----

  1 32640K 13650K 18990K 8192K 4118K 4074K 512K 108K 404K

  Uptime is 0 day, 3 hours, 32 minutes

  Switch-A> show module

  Mod Module-Name Ports Module-Type Model Serial-Num Status

  --- ------------------- ----- --------------------- --------- --------- -------

  1 0 Supervisor III WS-X5530 006841805 ok

  !--- These are the modules installed on the switch.

  2 24 10/100BaseTX Ethernet WS-X5225R 012785227 OK

  Mod MAC-Address(es) Hw Fw SW

  --- -------------------------------------- ------ ---------- -----------------

  1 00-90-92-b0-84-00 to 00-90-92-b0-87-ff 1.3 3.1.2 4.5(1)

  2 00-50-0f-b2-e2-60 to 00-50-0f-b2-e2-77 3.2 4.3(1) 4.5(1)

  Mod Sub-Type Sub-Model Sub-Serial Sub-Hw

  --- -------- --------- ---------- ------

  1 NFFC WS-F5521 0008728786 1.0

  Switch-B> show version

  WS-C5505 Software, Version McpSW: 4.5(1) NmpSW: 4.5(1)

  !--- This is the software version that runs on the switch.

  Copyright (c) 1995-1999 by Cisco Systems

  NMP S/W compiled on Mar 29 1999, 16:09:01

  MCP S/W compiled on Mar 29 1999, 16:06:50

  System Bootstrap Version: 5.1(2)

  Hardware Version: 1.0 Model: WS-C5505 Serial #: 066509957

  Mod Port Model Serial # Versions

  --- ---- ---------- --------- ----------------------------------------

  1 0 WS-X5530 008592453 Hw : 2.3

  Fw : 5.1(2)

  Fw1: 4.4(1)

  SW : 4.5(1)

  2 24 WS-X5234 015388641 Hw : 1.0

  Fw : 4.5(2)

  SW : 4.5(1)

  DRAM FLASH NVRAM

  Module Total Used Free Total Used Free Total Used Free

  ------ ------- ------- ------- ------- ------- ------- ----- ----- -----

  1 32640K 13548K 19092K 8192K 7300K 892K 512K 119K 393K

  Uptime is 0 day, 3 hours, 36 minutes

  Switch-B> show module

  Mod Module-Name Ports Module-Type Model Serial-Num Status

  --- ------------------- ----- --------------------- --------- --------- -------

  1 0 Supervisor III WS-X5530 008592453 OK

  !--- These are the modules installed on the switch.

  2 24 10/100BaseTX Ethernet WS-X5234 015388641 OK

  Mod MAC-Address(Es) Hw Fw SW

  --- -------------------------------------- ------ ---------- -----------------

  1 00-10-0d-b2-8c-00 to 00-10-0d-b2-8f-ff 2.3 5.1(2) 4.5(1)

  2 00-d0-bc-03-58-98 to 00-d0-bc-03-58-af 1.0 4.5(2) 4.5(1)

  Mod Subtype Sub-Model Sub-Serial Sub-Hw

  --- -------- --------- ---------- ------

  1 EARL 1+ WS-F5520 0011591025 1.1

  驗證端口支持以太網信道。

  注意: ?show port capabilities命令是可用的在CatOS軟件版本4.x以上。 如果4.x有一個軟件版本早于,您必須跳到此步驟。 沒有每個快速以太網模塊支持以太網信道。 在模塊的左下角有“快速以太信道”打印的某些原始以太網信道模塊(當您在交換機面對它),告訴您支持功能。 但是此慣例在最新模塊被放棄了。 模塊在他們沒有“快速以太信道”打印的此測試,但是他們支持功能。

  Switch-A> show port capabilities 2/1

  Model WS-X5225R

  Port 2/1

  Type 10/100BaseTX

  Speed auto,10,100

  Duplex half,full

  Trunk encap type 802.1Q,ISL

  Trunk mode on,off,desirable,auto,nonegotiate

  Channel 2/1-2,2/1-4

  !--- This indicates that EtherChannel can be configured on port 2/1

  !--- with two or four contiguous ports.

  Broadcast suppression percentage(0-100)

  Flow control receive-(off,on),send-(off,on)

  Security yes

  Membership static,dynamic

  Fast start yes

  Rewrite yes

  Switch-B> show port capabilities 2/1

  Model WS-X5234

  Port 2/1

  Type 10/100BaseTX

  Speed auto,10,100

  Duplex half,full

  Trunk encap type 802.1Q,ISL

  Trunk mode on,off,desirable,auto,nonegotiate

  !--- This indicates that EtherChannel can be configured on port 2/1

  !--- with two or four contiguous ports.

  Channel 2/1-2,2/1-4

  Broadcast suppression percentage(0-100)

  Flow control receive-(off,on),send-(off,on)

  Security yes

  Membership static,dynamic

  Fast start yes

  Rewrite no

  不支持以太網信道如下所示:的端口

  Switch> show port capabilities 2/1

  Model WS-X5213A

  Port 2/1

  Type 10/100BaseTX

  Speed 10,100,auto

  Duplex half,full

  Trunk encap type ISL

  Trunk mode on,off,desirable,auto,nonegotiate

  Channel no

  !--- This indicates that EtherChannel is not supported on this port

  !--- or module.

  Broadcast suppression pps(0-150000)

  Flow control no

  Security yes

  Membership static,dynamic

  Fast start yes

  驗證端口是被連接和可操作的。

  在連接電纜之前,端口狀態(tài)是:

  Switch-A> show port

  Port Name Status Vlan Level Duplex Speed Type

  ----- ------------------ ---------- ---------- ------ ------ ----- ------------

  2/1 notconnect 1 normal auto auto 10/100BaseTX

  2/2 notconnect 1 normal auto auto 10/100BaseTX

  2/3 notconnect 1 normal auto auto 10/100BaseTX

  2/4 notconnect 1 normal auto auto 10/100BaseTX

  在連接電纜以后在二臺交換機之間,狀態(tài)是:

  1999 Dec 14 20:32:44 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1

  1999 DEC 14 20:32:44 %PAGP-5-PORTTOSTP:Port 2/2 joined bridge port 2/2

  1999 DEC 14 20:32:44 %PAGP-5-PORTTOSTP:Port 2/3 joined bridge port 2/3

  1999 DEC 14 20:32:44 %PAGP-5-PORTTOSTP:Port 2/4 joined bridge port 2/4

  Switch-A> show port

  Port Name Status Vlan Level Duplex Speed Type

  ----- ------------------ ---------- ---------- ------ ------ ----- ------------

  2/1 connected 1 normal a-full a-100 10/100BaseTX

  2/2 connected 1 normal a-full a-100 10/100BaseTX

  2/3 connected 1 normal a-full a-100 10/100BaseTX

  2/4 connected 1 normal a-full a-100 10/100BaseTX

  Switch-B> show port

  Port Name Status Vlan Level Duplex Speed Type

  ----- ------------------ ---------- ---------- ------ ------ ----- ------------

  2/1 connected 1 normal a-full a-100 10/100BaseTX

  2/2 connected 1 normal a-full a-100 10/100BaseTX

  2/3 connected 1 normal a-full a-100 10/100BaseTX

  2/4 connected 1 normal a-full a-100 10/100BaseTX

  因為交換機配置在開始此測試之前被清除了,端口在他們的默認條件。 他們是全部在VLAN 1,并且他們的速度和雙工設置為自動。 在連接電纜以后,他們協商到100 Mbps和全雙工的速度。 狀態(tài)被連接。 您現在能ping另一臺交換機。

  Switch-A> ping 172.16.84.17

  172.16.84.17 is alive

  在您的網絡中,您可以想要手工設定速度為100 Mbps和全雙工而不是取決于自動協商,因為您很可能希望您的端口總是運作以最高速度。 關于關于自動協商的論述,請參見本文:

  配置和故障排除以太網10/100/1000Mb半/全雙工自動協商。

  驗證將被組隊的端口有同樣設置。

  這是在故障排除EtherChannel部分較詳細地報道的重要點。 如果命令設置以太網信道不運作,通常是,因為在信道涉及的端口有與彼此有所不同的配置。 這包括端口在鏈路的另一邊并且本地端口。 在這種情況下,因為交換機配置在此測試之前被清除了,端口在他們的默認條件。 他們是全部在VLAN 1,他們的速度和雙工設置為自動,并且為每個端口設置所有生成樹參數是相同。 您從以上輸出看到了,在連接電纜以后,端口協商到100 Mbps和全雙工的速度。 因為STP為每個VLAN運行,配置信道和回應錯誤信息比嘗試檢查每個STP字段一致性為每個端口和VLAN在信道是更加容易的。

  識別有效端口組。

  在Catalyst 5500/5000上,僅某些端口可以被匯集到信道。 這些受限制的依靠不適用于所有平臺。 端口在一條信道在Catalyst 5500/5000一定鄰接。 show port capabilities命令,發(fā)出為端口2/1,顯示可能的組合:

  Switch-A> show port capabilities 2/1

  Model WS-X5225R

  Port 2/1

  ...

  Channel 2/1-2,2/1-4

  注意此端口可以作為一個組的一個組的部分二(2/1-2)或部分四(2/1-4)。 一個以太網綁定控制器(EBC)在模塊導致這些配置限制。 這里, show port capabilities為另一個端口發(fā)出:

  Switch-A> show port capabilities 2/3

  Model WS-X5225R

  Port 2/3

  ...

  Channel 2/3-4,2/1-4

  此端口可以被聚合到一個組二個端口(2/3-4)或到一個組四個端口(2/1-4)。

  注意: ?根據硬件,可能有其它限制。 在某些模塊上(WS-X5201和WS-X5203),您在端口組中不能形成一個以太網信道與前二個端口,除非前二個端口在組已經形成以太網信道。 端口組是允許形成以太網信道的端口組。 (在上面的例子, 2/1-4是端口組。)

  例如,如果用二個端口在信道只創(chuàng)建分開以太網信道,您不能分配端口2/3-4到信道,直到您有第一個配置端口2/1-2到信道。 這是僅可靠對于有此限制的模塊。 同樣地,在您配置端口2/6-7之前,您必須配置端口2/5-6。 此限制在用于本文的模塊不發(fā)生(WS-X5225R和WS-X5234)。

  因為您配置一個組四個端口(2/1-4),這在核準的編組之內。 您不能分配一個組四到端口2/3-6。 這是鄰接端口組,但是他們在核準的邊界不開始,如由show port capabilities命令顯示。 (有效組是端口1-4, 5-8, 9-12, 13-16, 17-20和21-24。)

  創(chuàng)建信道。

  要手工創(chuàng)建信道,請使用set port channel mod/port on命令每臺交換機。 這是最佳使用set port disable命令啟用端口在信道的一端在打開以太網信道之前手工。 在配置流程期間,這避免可能的問題與STP。 STP能關閉一些端口(以端口狀態(tài)errdisable),如果一端被配置作為信道,在另一邊可以被配置作為信道之前。 由于此可能性,使用PAgP創(chuàng)建以太網信道是容易,在使用的PAgP被覆蓋配置以太網信道本文的(建議)部分。 要避免此情況,當手工時配置以太網信道,您在交換機A在交換機A在交換機B在交換機A使端口無效,配置信道,配置信道,然后重新激活端口。

  驗證開辟信道關閉。

  Switch-A> (enable) show port channel

  No ports channelling

  Switch-B> (enable) show port channel

  No ports channelling

  使端口無效在交換機A,直到兩臺交換機為以太網信道被配置了。

  Switch-A> (enable) set port disable 2/1-4

  Ports 2/1-4 disabled.

  [output from Switch A upon disabling ports]

  1999 DEC 15 00:06:40 %PAGP-5-PORTFROMSTP:Port 2/1 left bridg1

  1999 DEC 15 00:06:40 %PAGP-5-PORTFROMSTP:Port 2/2 left bridge port 2/2

  1999 DEC 15 00:06:40 %PAGP-5-PORTFROMSTP:Port 2/3 left bridge port 2/3

  1999 DEC 15 00:06:40 %PAGP-5-PORTFROMSTP:Port 2/4 left bridge port 2/4

  現在, STP不生成錯誤并且關閉端口。

  啟用信道模式對為交換機A。

  Switch-A> (enable) set port channel 2/1-4 on

  Port(s) 2/1-4 channel mode set to on.

  檢查信道的狀況。

  Switch-A> (enable) show port channel

  Port Status Channel Channel Neighbor Neighbor

  mode status device port

  ----- ---------- --------- ----------- ------------------------- ----------

  2/1 disabled on channel

  2/2 disabled on channel

  2/3 disabled on channel

  2/4 disabled on channel

  ----- ---------- --------- ----------- ------------------------- ----------

  注意信道模式被設置至開,但是端口的狀態(tài)失效(因為您及早禁用他們)。 信道這時不是可操作的,但是變得可操作,當端口啟用時。

  由于交換機A端口(臨時地)失效,交換機B端口不再有連接。 當交換機A端口失效時,此消息在交換機B控制臺顯示:

  Switch-B> (enable)

  2000 Jan 13 22:30:03 %PAGP-5-PORTFROMSTP:Port 2/1 left bridge port 2/1

  2000 Jan 13 22:30:04 %PAGP-5-PORTFROMSTP:Port 2/2 left bridge port 2/2

  2000 Jan 13 22:30:04 %PAGP-5-PORTFROMSTP:Port 2/3 left bridge port 2/3

  2000 Jan 13 22:30:04 %PAGP-5-PORTFROMSTP:Port 2/4 left bridge port 2/4

  起動信道為交換機B。

  Switch-B> (enable) set port channel 2/1-4 on

  Port(s) 2/1-4 channel mode set to on.

  驗證信道模式打開為交換機B。

  Switch-B> (enable) show port channel

  Port Status Channel Channel Neighbor Neighbor

  mode status device port

  ----- ---------- --------- ----------- ------------------------- ----------

  2/1 notconnect on channel

  2/2 notconnect on channel

  2/3 notconnect on channel

  2/4 notconnect on channel

  ----- ---------- --------- ----------- ------------------------- ----------

  注意信道模式為交換機B打開,但是端口的狀態(tài)是不連接的。 因為交換機A端口仍然被禁用,這是實際情形。

  啟用端口在交換機A。

  Switch-A> (enable) set port enable 2/1-4

  Ports 2/1-4 enabled.

  1999 DEC 15 00:08:40 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1-4

  1999 DEC 15 00:08:40 %PAGP-5-PORTTOSTP:Port 2/2 joined bridge port 2/1-4

  1999 DEC 15 00:08:40 %PAGP-5-PORTTOSTP:Port 2/3 joined bridge port 2/1-4

  1999 DEC 15 00:08:40 %PAGP-5-PORTTOSTP:Port 2/4 joined bridge port 2/1-4

  驗證EtherChannel配置

  要驗證信道適當地設置,請發(fā)出show port channel命令。

  Switch-A> (enable) show port channel

  Port Status Channel Channel Neighbor Neighbor

  mode status device port

  ----- ---------- --------- ----------- ------------------------- ----------

  2/1 connected on channel WS-C5505 066509957(SW 2/1

  2/2 connected on channel WS-C5505 066509957(SW 2/2

  2/3 connected on channel WS-C5505 066509957(SW 2/3

  2/4 connected on channel WS-C5505 066509957(SW 2/4

  ----- ---------- --------- ----------- ------------------------- ----------

  Switch-B> (enable) show port channel

  Port Status Channel Channel Neighbor Neighbor

  mode status device port

  ----- ---------- --------- ----------- ------------------------- ----------

  2/1 connected on channel WS-C5505 066507453(SW 2/1

  2/2 connected on channel WS-C5505 066507453(SW 2/2

  2/3 connected on channel WS-C5505 066507453(SW 2/3

  2/4 connected on channel WS-C5505 066507453(SW 2/4

  ----- ---------- --------- ----------- ------------------------- ----------

  如果有show port channel命令的輸出從您的Cisco設備,您能使用輸出解釋器工具(注冊的用戶),允許您查看show命令輸出分析。

  STP在show spantree命令顯示對待端口作為一個邏輯端口。 在此輸出中,當端口列出作為2/1-4時,它意味著STP對待端口2/1, 2/2, 2/3和2/4作為一個端口。

  Switch-A> (enable) show spantree

  VLAN 1

  Spanning tree enabled

  Spanning tree type ieee

  Designated Root 00-10-0d-b2-8c-00

  Designated Root Priority 32768

  Designated Root Cost 8

  Designated Root Port 2/1-4

  Root Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec

  Bridge ID MAC ADDR 00-90-92-b0-84-00

  Bridge ID Priority 32768

  Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec

  Port Vlan Port-State Cost Priority Fast-Start Group-Method

  --------- ---- ------------- ----- -------- ---------- ------------

  2/1-4 1 forwarding 8 32 disabled channel

  如果有show spantree命令的輸出從您的Cisco設備,您能使用輸出解釋器工具(注冊的用戶),允許您查看show命令輸出分析。

  以太網信道在信道可以實現用分發(fā)數據流不同的方式橫跨端口。 以太網信道規(guī)格不指明如何在信道應該橫跨鏈路分發(fā)數據流。 Catalyst 5500/5000在幀使用最后位或前二位(根據多少條鏈路在信道)源及目的地MAC地址確定哪個端口在使用的信道。 您在其中每一個在信道應該看到相似的數據流量端口,假設,數據流由MAC地址的正常分配生成在信道的一端或其他。 要驗證數據流在所有端口在信道去,您能使用show Mac命令。 如果您的端口在配置以太網信道之前是活躍的,您能重置數據流計數器到0用clear counters命令。 數據流值然后表示以太網信道如何分發(fā)了數據流。

  在此測試環(huán)境,因為沒有生成數據流的工作站、服務器或者路由器一個真實世界的分配沒有達到。 生成數據流的唯一的設備是交換機。 Ping從交換機A發(fā)出了到交換機B; 單播數據流在信道使用第一個端口。 (請參閱下面的輸出。)接受信息(RCV單播)在這種情況下顯示交換機B如何分發(fā)了數據流橫跨信道到交換機A。 并且在輸出中,傳輸信息(Xmit單播)顯示交換機A如何分發(fā)了數據流橫跨信道到交換機B。 您也看到少量交換機生成的組播數據流(動態(tài)交換機間連協議[ISL], Cisco發(fā)現協議[CDP])出去全部四個端口。 廣播包是地址解析協議(ARP)查詢(不存在于此實驗室)的默認網關。 如果有工作站發(fā)送信息包通過交換機到目的地在信道的另一邊,您在信道會準備發(fā)現數據流去在四條鏈路中的每一條。 您在您的網絡能使用show Mac命令監(jiān)控信息包分布。

  Switch-A> (enable) clear counters

  This command will reset all MAC and port counters reported in CLI and SNMP.

  Do you want to continue (y/n) [n]? y

  MAC and Port counters cleared.

  Switch-A> (enable) show mac

  Port Rcv-Unicast Rcv-Multicast Rcv-Broadcast

  -------- -------------------- -------------------- --------------------

  2/1 9 320 183

  2/2 0 51 0

  2/3 0 47 0

  2/4 0 47 0

  (...)

  Port Xmit-Unicast Xmit-Multicast Xmit-Broadcast

  -------- -------------------- -------------------- --------------------

  2/1 8 47 184

  2/2 0 47 0

  2/3 0 47 0

  2/4 0 47 0

  (...)

  Port Rcv-Octet Xmit-Octet

  -------- -------------------- --------------------

  2/1 35176 17443

  2/2 5304 4851

  2/3 5048 4851

  2/4 5048 4851

  (...)

  Last-Time-Cleared

  --------------------------

  Wed DEC 15 1999, 01:05:33

  如果有show Mac命令的輸出從您的Cisco設備,您能使用輸出解釋器工具(注冊的用戶),允許您查看show命令輸出分析。

  使用 PAgP 配置 EtherChannel (建議)

  PAgP由交換信息包實現EtherChannel鏈路的自動創(chuàng)建在有信道能力的端口之間。 協議動態(tài)地了解端口組的功能并且通知鄰居端口。

  在PAgP識別正確地配對的支持信道的鏈路之后,聚合端口到信道。 信道然后被添加到生成樹作為單個網橋端口。 指定Outbound廣播或組播信息包在僅信道在信道傳輸一個端口,不每個端口。 另外,在一個端口傳輸的出局廣播和組播信息包在信道從返回被阻攔在信道的其他端口。

  有四個用戶可配置的信道模式: 在,自動和理想。 PAgP信息包在自動和期望模式僅被交換在端口之間。 在on或off模式配置端口不交換PAgP信息包。 對于您想要形成以太網信道的交換機,這是最佳有兩臺交換機設置為期望的模式。 這產生最穩(wěn)健的工作情況,如果一端或其他遭遇錯誤情況或者被重置。 信道的默認模式自動。

  兩個自動和期望模式允許端口與連接的端口協商確定他們是否能形成信道。 確定根據標準例如端口速度、中繼狀態(tài)和本地VLAN。

  端口能形成以太網信道,當他們用不同的信道模式時,只要模式兼容。 此列表提供示例:

  一個端口在期望的模式能順利地形成一個以太網信道與在期望的或自動模式的另一個端口。

  一個端口在自動模式在期望的模式能形成一個以太網信道與另一個端口。

  一個端口在自動模式不能形成一個以太網信道與也在自動模式的另一個端口,因為兩個端口不起動協商。

  因為端口在on模式不交換PAgP信息包,一個端口在on模式在on模式能形成一條僅信道與一個端口。

  一個端口在off模式不能形成一條信道與任何端口。

  當使用以太網信道,如果此消息(或一個相似的系統(tǒng)日志消息)時顯示,它在連接的端口指示EtherChannel模式不匹配:

  SPANTREE-2: Channel misconfig - x/x-x will be disabled

  更正配置并且重新激活端口通過發(fā)出set port enable命令。 有效EtherChannel配置包括:

端口信道模式

有效鄰居端口信道模式

理想

理想或自動

auto (default)

理想或auto1

  1,如果本機和鄰接端口在自動模式, EtherChannel套件不形成。

  下張表提供所有可能的信道模式方案匯總。 其中一些組合可能的errDisable狀態(tài)造成STP把端口放在信道側上。(換句話說,某些組合在信道側關閉了端口。)

交換機A信道模式

交換機B信道模式

信道狀態(tài)

信道

不是信道(錯誤-禁止)

自動

不是信道(錯誤-禁止)

理想

不是信道(錯誤-禁止)

不是信道(錯誤-禁止)

不是信道

自動

不是信道

理想

不是信道

自動

不是信道(錯誤-禁止)

自動

不是信道

自動

自動

不是信道

自動

理想

信道

理想

不是信道(錯誤-禁止)

理想

不是信道

理想

自動

信道

理想

理想

信道

  信道從前一個示例(步驟6b在部分手工配置以太網信道)使用此命令在交換機A和交換機B被關閉:

  Switch-A> (enable) set port channel 2/1-4 auto

  Port(s) 2/1-4 channel mode set to auto.

  默認信道模式為能開辟信道的端口自動。 要驗證此,請發(fā)出此命令:

  Switch-A> (enable) show port channel 2/1

  Port Status Channel Channel Neighbor Neighbor

  mode status device port

  ----- ---------- --------- ----------- ------------------------- ----------

  2/1 connected auto not channel

  show port channel port命令也表示,端口目前不開辟信道。 這是另一個方式驗證信道狀態(tài):

  Switch-A> (enable) show port channel

  No ports channelling

  Switch-B> (enable) show port channel

  No ports channelling

  它是簡單的使信道工作與PAgP。 這時,兩臺交換機設置為自動模式,因此它意味著他們開辟信道,如果連接的端口發(fā)送一個PAgP請求開辟信道。 設置交換機A為理想的原因交換機A發(fā)送PAgP信息包到另一臺交換機,請求它開辟信道。

  Switch-A> (enable) set port channel 2/1-4 desirable

  Port(s) 2/1-4 channel mode set to desirable.

  1999 DEC 15 22:03:18 %PAGP-5-PORTFROMSTP:Port 2/1 left bridg1

  1999 DEC 15 22:03:18 %PAGP-5-PORTFROMSTP:Port 2/2 left bridge port 2/2

  1999 DEC 15 22:03:18 %PAGP-5-PORTFROMSTP:Port 2/3 left bridge port 2/3

  1999 DEC 15 22:03:18 %PAGP-5-PORTFROMSTP:Port 2/4 left bridge port 2/4

  1999 DEC 15 22:03:19 %PAGP-5-PORTFROMSTP:Port 2/2 left bridge port 2/2

  1999 DEC 15 22:03:19 %PAGP-5-PORTFROMSTP:Port 2/3 left bridge port 2/3

  1999 DEC 15 22:03:20 %PAGP-5-PORTFROMSTP:Port 2/4 left bridge port 2/4

  1999 DEC 15 22:03:23 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1-4

  1999 DEC 15 22:03:23 %PAGP-5-PORTTOSTP:Port 2/2 joined bridge port 2/1-4

  1999 DEC 15 22:03:23 %PAGP-5-PORTTOSTP:Port 2/3 joined bridge port 2/1-4

  1999 DEC 15 22:03:24 %PAGP-5-PORTTOSTP:Port 2/4 joined bridge port 2/1-4

  要查看信道,請發(fā)出此命令:

  Switch-A> (enable) show port channel

  Port Status Channel Channel Neighbor Neighbor

  mode status device port

  ----- ---------- --------- ----------- ------------------------- ----------

  2/1 connected desirable channel WS-C5505 066509957(SW 2/1

  2/2 connected desirable channel WS-C5505 066509957(SW 2/2

  2/3 connected desirable channel WS-C5505 066509957(SW 2/3

  2/4 connected desirable channel WS-C5505 066509957(SW 2/4

  ----- ---------- --------- ----------- ------------------------- ----------

  Switch-A> (enable)

  因為交換機B在自動模式,回應PAgP信息包并且用交換機A創(chuàng)建信道。

  Switch-B> (enable)

  2000 Jan 14 20:26:41 %PAGP-5-PORTFROMSTP:Port 2/1 left bridg1

  2000 Jan 14 20:26:41 %PAGP-5-PORTFROMSTP:Port 2/2 left bridge port 2/2

  2000 Jan 14 20:26:41 %PAGP-5-PORTFROMSTP:Port 2/3 left bridge port 2/3

  2000 Jan 14 20:26:41 %PAGP-5-PORTFROMSTP:Port 2/4 left bridge port 2/4

  2000 Jan 14 20:26:45 %PAGP-5-PORTFROMSTP:Port 2/2 left bridge port 2/2

  2000 Jan 14 20:26:45 %PAGP-5-PORTFROMSTP:Port 2/3 left bridge port 2/3

  2000 Jan 14 20:26:45 %PAGP-5-PORTFROMSTP:Port 2/4 left bridge port 2/4

  2000 Jan 14 20:26:47 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1-4

  2000 Jan 14 20:26:47 %PAGP-5-PORTTOSTP:Port 2/2 joined bridge port 2/1-4

  2000 Jan 14 20:26:47 %PAGP-5-PORTTOSTP:Port 2/3 joined bridge port 2/1-4

  2000 Jan 14 20:26:48 %PAGP-5-PORTTOSTP:Port 2/4 joined bridge port 2/1-4

  Switch-B> (enable) show port channel

  Port Status Channel Channel Neighbor Neighbor

  mode status device port

  ----- ---------- --------- ----------- ------------------------- ----------

  2/1 connected auto channel WS-C5505 066507453(SW 2/1

  2/2 connected auto channel WS-C5505 066507453(SW 2/2

  2/3 connected auto channel WS-C5505 066507453(SW 2/3

  2/4 connected auto channel WS-C5505 066507453(SW 2/4

  ----- ---------- --------- ----------- ------------------------- ----------

  Switch-B> (enable)

  注意: ?這是最佳設置信道的兩邊對理想,以便兩邊設法起動信道,如果一端脫離。 設置EtherChannel端口在交換機B為期望的模式,即使信道當前活躍和在自動模式,不提出問題。 命令是:

  Switch-B> (enable) set port channel 2/1-4 desirable

  Port(s) 2/1-4 channel mode set to desirable.

  Switch-B> (enable) show port channel

  Port Status Channel Channel Neighbor Neighbor

  mode status device port

  ----- ---------- --------- ----------- ------------------------- ----------

  2/1 connected desirable channel WS-C5505 066507453(SW 2/1

  2/2 connected desirable channel WS-C5505 066507453(SW 2/2

  2/3 connected desirable channel WS-C5505 066507453(SW 2/3

  2/4 connected desirable channel WS-C5505 066507453(SW 2/4

  ----- ---------- --------- ----------- ------------------------- ----------

  Switch-B> (enable)

  由于某種原因如果交換機A脫離,或者,如果新硬件替換交換機A,交換機B設法重建信道。 如果新的設備不能開辟信道,交換機B對待其端口2/1-4作為正常無信道端口。 這是其中一個使用期望的模式的好處。 如果信道使用PAgP on模式被配置了,并且連接的一端有某一種類型錯誤或重置,可能導致一個errDisable狀態(tài)(關閉)在另一邊。在期望的模式設置的PAgP在每一側,信道穩(wěn)定后重新協商EtherChannel連接。

  學習啦小編分享了cisco無線ap信道設置的解決方法。希望大家喜歡。

566908