Mình thực hiện cấu hình etherchannel trên swich CSW1 và CSW2 trong packet tracer
cấu hình trên CSW1:
CSW1#show running-config
Building configuration...
Current configuration : 1647 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname CSW1
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
switchport trunk allowed vlan 3-4
switchport mode trunk
shutdown
!
interface FastEthernet0/2
!
interface FastEthernet0/3
channel-group 1 mode active
switchport mode trunk
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
switchport trunk allowed vlan 3-4
switchport mode trunk
!
interface FastEthernet0/6
channel-group 1 mode active
switchport mode trunk
!
interface FastEthernet0/7
channel-group 1 mode active
switchport mode trunk
!
interface FastEthernet0/8
channel-group 1 mode active
switchport mode trunk
!
interface FastEthernet0/9
shutdown
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
shutdown
!
interface FastEthernet0/12
shutdown
!
interface FastEthernet0/13
shutdown
!
interface FastEthernet0/14
shutdown
!
interface FastEthernet0/15
shutdown
!
interface FastEthernet0/16
shutdown
!
interface FastEthernet0/17
shutdown
!
interface FastEthernet0/18
shutdown
!
interface FastEthernet0/19
shutdown
!
interface FastEthernet0/20
shutdown
!
interface FastEthernet0/21
shutdown
!
interface FastEthernet0/22
shutdown
!
interface FastEthernet0/23
shutdown
!
interface FastEthernet0/24
shutdown
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Port-channel 1
switchport mode trunk
!
interface Vlan1
ip address 10.1.1.111 255.255.255.0
shutdown
!
ip classless
ip default-network 10.1.1.251
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Cấu hình trên CSW2:
CSW2#show running-config
Building configuration...
Current configuration : 1531 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname CSW2
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
shutdown
!
interface FastEthernet0/2
!
interface FastEthernet0/3
channel-group 2 mode active
switchport mode trunk
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
!
interface FastEthernet0/6
channel-group 2 mode active
switchport mode trunk
!
interface FastEthernet0/7
channel-group 2 mode active
switchport mode trunk
!
interface FastEthernet0/8
channel-group 2 mode active
switchport mode trunk
!
interface FastEthernet0/9
shutdown
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
shutdown
!
interface FastEthernet0/12
shutdown
!
interface FastEthernet0/13
shutdown
!
interface FastEthernet0/14
shutdown
!
interface FastEthernet0/15
shutdown
!
interface FastEthernet0/16
shutdown
!
interface FastEthernet0/17
shutdown
!
interface FastEthernet0/18
shutdown
!
interface FastEthernet0/19
shutdown
!
interface FastEthernet0/20
shutdown
!
interface FastEthernet0/21
shutdown
!
interface FastEthernet0/22
shutdown
!
interface FastEthernet0/23
shutdown
!
interface FastEthernet0/24
shutdown
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Port-channel 2
switchport mode trunk
!
interface Vlan1
ip address 10.1.1.222 255.255.255.0
!
ip classless
ip route 10.0.0.0 255.0.0.0 10.1.1.252
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Mình cấu hình để cả 4 link vào channel-group thì ping giữa PC1 và PC2 ok. nhưng nếu shutdown một link bất kỳ đi thì PC1 và PC2 lại ping không thông nữa.?
cấu hình trên CSW1:
CSW1#show running-config
Building configuration...
Current configuration : 1647 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname CSW1
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
switchport trunk allowed vlan 3-4
switchport mode trunk
shutdown
!
interface FastEthernet0/2
!
interface FastEthernet0/3
channel-group 1 mode active
switchport mode trunk
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
switchport trunk allowed vlan 3-4
switchport mode trunk
!
interface FastEthernet0/6
channel-group 1 mode active
switchport mode trunk
!
interface FastEthernet0/7
channel-group 1 mode active
switchport mode trunk
!
interface FastEthernet0/8
channel-group 1 mode active
switchport mode trunk
!
interface FastEthernet0/9
shutdown
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
shutdown
!
interface FastEthernet0/12
shutdown
!
interface FastEthernet0/13
shutdown
!
interface FastEthernet0/14
shutdown
!
interface FastEthernet0/15
shutdown
!
interface FastEthernet0/16
shutdown
!
interface FastEthernet0/17
shutdown
!
interface FastEthernet0/18
shutdown
!
interface FastEthernet0/19
shutdown
!
interface FastEthernet0/20
shutdown
!
interface FastEthernet0/21
shutdown
!
interface FastEthernet0/22
shutdown
!
interface FastEthernet0/23
shutdown
!
interface FastEthernet0/24
shutdown
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Port-channel 1
switchport mode trunk
!
interface Vlan1
ip address 10.1.1.111 255.255.255.0
shutdown
!
ip classless
ip default-network 10.1.1.251
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Cấu hình trên CSW2:
CSW2#show running-config
Building configuration...
Current configuration : 1531 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname CSW2
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
shutdown
!
interface FastEthernet0/2
!
interface FastEthernet0/3
channel-group 2 mode active
switchport mode trunk
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
!
interface FastEthernet0/6
channel-group 2 mode active
switchport mode trunk
!
interface FastEthernet0/7
channel-group 2 mode active
switchport mode trunk
!
interface FastEthernet0/8
channel-group 2 mode active
switchport mode trunk
!
interface FastEthernet0/9
shutdown
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
shutdown
!
interface FastEthernet0/12
shutdown
!
interface FastEthernet0/13
shutdown
!
interface FastEthernet0/14
shutdown
!
interface FastEthernet0/15
shutdown
!
interface FastEthernet0/16
shutdown
!
interface FastEthernet0/17
shutdown
!
interface FastEthernet0/18
shutdown
!
interface FastEthernet0/19
shutdown
!
interface FastEthernet0/20
shutdown
!
interface FastEthernet0/21
shutdown
!
interface FastEthernet0/22
shutdown
!
interface FastEthernet0/23
shutdown
!
interface FastEthernet0/24
shutdown
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Port-channel 2
switchport mode trunk
!
interface Vlan1
ip address 10.1.1.222 255.255.255.0
!
ip classless
ip route 10.0.0.0 255.0.0.0 10.1.1.252
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Mình cấu hình để cả 4 link vào channel-group thì ping giữa PC1 và PC2 ok. nhưng nếu shutdown một link bất kỳ đi thì PC1 và PC2 lại ping không thông nữa.?
Comment