View Full Version : Etherchannel Trouble!
themask
28-02-2004, 04:21 PM
hi,
Trong khi cấu hình etherchannel, themask để các port tạo thành channel
là trunk nhưng port-channel lại là access. Kết quả là một số port ngẫu nhiên ( xảy ra ở mỗi lần chuyển port-channel từ trunk sang access) chuyển sang màu cam, tuy nhiên các port ( include of port-channel) vẫn up và forward traffic.
themask thắc mắc tại sao
1/ Port chuyển sang cam lại ngẫu nhiên.
2/ Pagp parameter mismatched mà port-ether và các port khác vẫn up.
3/ Port màu cam đang ở trạng thái gì? Bloc, Liste, Lear hay Ford?
thanks in advance.
sinhvienngheo
28-02-2004, 11:00 PM
hi
anh chuyển port-channel về access-mode bằng cách nào?
mến,
themask
29-02-2004, 09:20 AM
hi svn,
Cấu hình nsau:
First
s1 & s2
#sh run
interface Port-channel3
switchport mode trunk
flowcontrol send off
...
interface FastEthernet0/7
switchport mode trunk
channel-group 3 mode desirable
!
interface FastEthernet0/8
switchport mode trunk
channel-group 3 mode desirable
then,
s2(config)#int port-channel 3
s2(config-if)#switchport mode access
port f0/8 turns to orange,
sh int f0/8
FastEthernet0/8 is up, line protocol is up (connected)
sh udld f0/8
Port enable administrative configuration setting: Enabled / in aggressive mode
Port enable operational state: Enabled / in aggressive mode
Current bidirectional state: Bidirectional
Current operational state: Advertisement - Single neighbor detected
Message interval: 15
Time out interval: 5
Entry 1
---
Expiration time: 37
Device ID: 1
Current neighbor state: Bidirectional
Device name: FOC0748X25M
Port ID: Fa0/8
Neighbor echo 1 device: FOC0746Y1YC
Neighbor echo 1 port: Fa0/8
Message interval: 15
Time out interval: 5
CDP Device name: s1
sinhvienngheo
29-02-2004, 09:23 PM
Cấu hình FEC đòi hỏi một số giới hạn sau:
- Chỉ có các links có cùng cấu hình được bundle. Ví dụ: tất cả các port phải cùng VLAN, có cùng duplex mode, có cùng speed.
Nếu một port được dùng như trunking mode, tất cả các port còn lại phải ở trong trunking mode. Kết quả là port channel được hình thành cũng sẽ là trunking. Thậm chí, nếu một các port trunking trên phải mang cùng các VLAN. Nếu một trong các port có khác cấu hình, port-channel sẽ không hình thành.
Các port thành viên ngoài ra cũng phải có cùng cấu hình spanning-tree giống nhau.
Trong thử nghiệm của anh, anh thay đổi cấu hình của port-channel. Em cho rằng trong trường hợp này, port-channel đã không thể hình thành.
Cái lệnh show udld của anh lại càng không phải để minh họa cho việc FEC connection đang UP và working.
Dù sao thì cũng cám ơn anh có một thử nghiệm rất 'ccie'.
chúc vui vẻ,
sinhvienngheo
01-03-2004, 10:04 AM
hi,
svn đã lab cấu hình của themask. Kết quả là nếu ta chuyển port-channel về trunking hoặc về access-mode, các port thành viên cũng sẽ chuyển theo tương ứng.
Ban đầu port channel ở mode access. The mask cần nhận thấy là cấu hình của từng port thành viên của FEC là giống nhau và cũng ở access-mode.
!
interface Port-channel1
switchport mode access
no ip address
!
interface FastEthernet0/1
switchport access vlan 3
switchport mode access
no ip address
duplex full
speed 100
channel-group 1 mode desirable!
interface FastEthernet0/2
switchport access vlan 3
switchport mode access
no ip address
duplex full
speed 100
channel-group 1 mode desirable!
Sau đó chuyển port channel sang trunking mode:
svn1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
svn1(config)#int port 1
svn1(config-if)#switch trunk enc dot1q
svn1(config-if)#^Z
svn1#sh run
Building configuration...
00:09:06: %SYS-5-CONFIG_I: Configured from console by console
Current configuration : 2918 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname svn1
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode access
no ip address
!
interface FastEthernet0/1
switchport access vlan 3
switchport trunk encapsulation dot1q
switchport mode access
no ip address
duplex full
speed 100
channel-group 1 mode desirable
!
interface FastEthernet0/2
switchport access vlan 3
switchport trunk encapsulation dot1q
switchport mode access
no ip address
duplex full
speed 100
channel-group 1 mode desirable
!
interface FastEthernet0/3
no ip address
Kết quả là lệnh trunk cũng được thêm vào tự động cho các port thành viên.
Port channel sẽ chuyển sang trunk ở cả hai đầu: Xem lại switch svn.
svn# sh int port 1 switchport
Name: Po1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 3 (VLAN0003)
Trunking Native Mode VLAN: 1 (default)
Vậy, có thể kết luận là nếu thay đổi config trên port-channel, các port thành viên cũng sẽ bị thay đổi theo một cách tự động.
Thân,
themask
01-03-2004, 10:28 AM
hi,
udld cho thấy port f0/8 ( orange) vẫn ở trạng thái up, bidirectional.
Themask nghĩ rằng có bug (mismatched mistakes logical port & physical ones),
đây là một ví dụ khác cho thất etherchannel vẫn up khi parameters mismatched:
s1#sh run
interface Port-channel3
switchport mode access
flowcontrol send off
interface FastEthernet0/7
switchport mode access
channel-group 3 mode desirable
!
interface FastEthernet0/8
switchport mode access
channel-group 3 mode desirable
##########################
s1#sh int f0/7
FastEthernet0/7 is up, line protocol is up (connected)
s1#sh int f0/8
FastEthernet0/8 is up, line protocol is up (connected)
s1#sh int port-channel 3
Port-channel3 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 000e.83b0.8448 (bia 000e.83b0.8448)
MTU 1500 bytes, BW 200000 Kbit , DLY 1000 usec,
s2#sh run
interface Port-channel3
switchport mode trunk
flowcontrol send off
interface FastEthernet0/7
switchport mode trunk
channel-group 3 mode desirable
!
interface FastEthernet0/8
switchport mode trunk
channel-group 3 mode desirable
##########################
s2#sh int f0/7
FastEthernet0/7 is up, line protocol is up (connected)
s2#sh int f0/8
FastEthernet0/8 is up, line protocol is up (connected)
s2#sh int port-channel 3
Port-channel3 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 000e.38f1.c907 (bia 000e.38f1.c907)
MTU 1500 bytes, BW 200000 Kbit, DLY 1000 usec,
that bug in catalyst 2950-24
sinhvienngheo
01-03-2004, 10:34 AM
hey man,
trong cấu hình của anh, chổ nào để chỉ ra parameter mismatch?
đừng nói là thông số BW20000Kbit kia nhé,
chúc vui vẻ,
themask
01-03-2004, 11:57 AM
ok! themask có làm lại thêm một lần nữa và có kết quả giống svn. Tuy nhiên
svn làm thử cấu hình 1 bên access và bên kia là trunk ( đừng để auto trunk mode mà gán trực tiếp) xem có lỗi như sau ko?
01:20:56: pm_port_is_errdisable: Po3 reason channel-misconfig.
Tiện mình làm sáng tỏ vụ này cho bà con cùng rõ luôn nha. ; )
Chúc vui vẻ,
danguyennhi
01-03-2004, 04:37 PM
hi,
chằng còn gì để làm sáng tỏ:
01:20:56: pm_port_is_errdisable: Po3 reason channel-misconfig.
tóm tắt cho vấn đề này: mọi cấu hình của từng port thành viên phải giống nhau. Nếu cấu hình khác thì các port sẽ bị đưa về trạng thái lỗi như trên.
ok man?
sinhvienngheo
02-03-2004, 09:32 PM
Khi có một cấu hình của một port thành viên thay đổi, PAgP sẽ thông báo cho tất cả các switch về thay đổi này và cập nhật cho các port còn lại. do đó nếu thay đổi thông số trên port-channel, các port còn lậi cũng sẽ thay đổi theo.
Chào mọi người,
Which command is used to configure layer 3 EthernetChannels but not layer 2 EtherChannels ?
Có ai biết xin chỉ giúp !
Thanks.
admin
21-04-2004, 11:15 PM
hi
cấu hình L3 EtherChannel sẽ khác với L2 Etherchannel ở thứ tự thực hiện.
Theo link này:
http://www.cisco.com/en/US/products/hw/switches/ps700/products_configuration_guide_chapter09186a008007f6 48.html#1020465
khi cấu hình L3 EtherChannel, interface port-channel sẽ được tạo ra trước, gán IP address cho interface port-channel này. Sau khi port-channel đã được tạo ra, các physical interfaces mới được gán vào port-channel vừa tạo ra.
Port channel được tạo ra bằng lệnh:
Router(config)# interface port-channel port_channel_number
--->Create the port-channel interface. The group number can be from 1 to 64 (256 with Release 12.1(2)E and earlier
Trong L2 thì không cần tạo port-channel trước. Port channel sẽ được tự động tạo ra khi gán một physical interface nào đó vào channel-group:
Router(config-if)# channel-group group port_channel_number mode {auto | desirable | on}
Vậy, đáp án cho câu hỏi của plynh là
Router(config)# interface port-channel port_channel_number
Thân mến,
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.