Chào các thầy và các bạn! Hôm nay mình làm bài lab về: Etherchannel và Load balancing với mô hình như sau:
Bài lab này mình thực hiện trên phần mềm giả lập packet tracert. Đã thực hiện cấu hình thành công etherchannel cho các switch. Mình gặp vấn đề về load balancing. Giả sử trên Switch core, mình shutdown port fa0/22( port này là thành viên của channel 1, kết nối với switch Dis01) thì lập tức đường kết nối giữa máy tính "vlan 101 dis01" đến máy tính "vlan 250 dis02", cũng có nghĩa là đường kết nối giữa switch Dis01 và Core bị đứt hẵn, vậy etherchannel và loadbalancing của mình vừa cấu hình trở thành vô dụng. Mình cũng thực hiện shutdown port fa0/21, mọi chuyện vẫn diễn ra bình thường, các kết nối vẫn hoạt động tốt. Mình không hiểu sao chỉ khi mình shutdown port fa0/22 mới xảy ra hiện tượng như vậy. Mong các thầy và các bạn giúp đỡ mình vấn đề trên. Còn đây là cấu hình:
Core Switch:
Core#sh running-config
......................
interface FastEthernet0/21
channel-group 1 mode auto
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/22
channel-group 1 mode auto
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/23
channel-group 2 mode desirable
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/24
channel-group 2 mode desirable
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Port-channel 1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Port-channel 2
switchport trunk encapsulation dot1q
switchport mode trunk
.............
Core#sh etherchannel port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1
------------
Age of the Port-channel = 00d:02h:40m:05s
Logical slot/port = 2/1 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/21 Automatic 0
0 00 Fa0/22 Automatic 0
Time since last port bundled: 00d:01h:07m:26s Fa0/22
Group: 2
----------
Port-channels in the group:
---------------------------
Port-channel: Po2
------------
Age of the Port-channel = 00d:02h:40m:05s
Logical slot/port = 2/2 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/24 Automatic 0
0 00 Fa0/23 Automatic 0
Time since last port bundled: 00d:02h:40m:05s Fa0/23
Core#sh etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-mac
EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source MAC address
IPv4: Source MAC address
IPv6: Source MAC address
Dis01#sh etherchannel port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1
------------
Age of the Port-channel = 00d:02h:41m:57s
Logical slot/port = 2/1 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/21 Desirable-Sl 0
0 00 Fa0/22 Desirable-Sl 0
Time since last port bundled: 00d:01h:09m:17s Fa0/22
Dis01#sh etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-mac
EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source MAC address
IPv4: Source MAC address
IPv6: Source MAC address
Dis02#sh etherchannel port-channel
Channel-group listing:
----------------------
Group: 2
----------
Port-channels in the group:
---------------------------
Port-channel: Po2
------------
Age of the Port-channel = 00d:02h:43m:00s
Logical slot/port = 2/2 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/24 Desirable-Sl 0
0 00 Fa0/23 Desirable-Sl 0
Time since last port bundled: 00d:02h:42m:59s Fa0/23
Dis02#sh etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-mac
EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source MAC address
IPv4: Source MAC address
IPv6: Source MAC address
Mong các bạn và các thầy giúp đỡ thắc mắc của mình! Cám ơn mọi người đã đọc bài này!
Bài lab này mình thực hiện trên phần mềm giả lập packet tracert. Đã thực hiện cấu hình thành công etherchannel cho các switch. Mình gặp vấn đề về load balancing. Giả sử trên Switch core, mình shutdown port fa0/22( port này là thành viên của channel 1, kết nối với switch Dis01) thì lập tức đường kết nối giữa máy tính "vlan 101 dis01" đến máy tính "vlan 250 dis02", cũng có nghĩa là đường kết nối giữa switch Dis01 và Core bị đứt hẵn, vậy etherchannel và loadbalancing của mình vừa cấu hình trở thành vô dụng. Mình cũng thực hiện shutdown port fa0/21, mọi chuyện vẫn diễn ra bình thường, các kết nối vẫn hoạt động tốt. Mình không hiểu sao chỉ khi mình shutdown port fa0/22 mới xảy ra hiện tượng như vậy. Mong các thầy và các bạn giúp đỡ mình vấn đề trên. Còn đây là cấu hình:
Core Switch:
Core#sh running-config
......................
interface FastEthernet0/21
channel-group 1 mode auto
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/22
channel-group 1 mode auto
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/23
channel-group 2 mode desirable
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/24
channel-group 2 mode desirable
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Port-channel 1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Port-channel 2
switchport trunk encapsulation dot1q
switchport mode trunk
.............
Core#sh etherchannel port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1
------------
Age of the Port-channel = 00d:02h:40m:05s
Logical slot/port = 2/1 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/21 Automatic 0
0 00 Fa0/22 Automatic 0
Time since last port bundled: 00d:01h:07m:26s Fa0/22
Group: 2
----------
Port-channels in the group:
---------------------------
Port-channel: Po2
------------
Age of the Port-channel = 00d:02h:40m:05s
Logical slot/port = 2/2 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/24 Automatic 0
0 00 Fa0/23 Automatic 0
Time since last port bundled: 00d:02h:40m:05s Fa0/23
Core#sh etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-mac
EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source MAC address
IPv4: Source MAC address
IPv6: Source MAC address
Dis01#sh etherchannel port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1
------------
Age of the Port-channel = 00d:02h:41m:57s
Logical slot/port = 2/1 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/21 Desirable-Sl 0
0 00 Fa0/22 Desirable-Sl 0
Time since last port bundled: 00d:01h:09m:17s Fa0/22
Dis01#sh etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-mac
EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source MAC address
IPv4: Source MAC address
IPv6: Source MAC address
Dis02#sh etherchannel port-channel
Channel-group listing:
----------------------
Group: 2
----------
Port-channels in the group:
---------------------------
Port-channel: Po2
------------
Age of the Port-channel = 00d:02h:43m:00s
Logical slot/port = 2/2 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/24 Desirable-Sl 0
0 00 Fa0/23 Desirable-Sl 0
Time since last port bundled: 00d:02h:42m:59s Fa0/23
Dis02#sh etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-mac
EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source MAC address
IPv4: Source MAC address
IPv6: Source MAC address
Mong các bạn và các thầy giúp đỡ thắc mắc của mình! Cám ơn mọi người đã đọc bài này!
Comment