2013年11月25日星期一

Setup Port Channel on Cisco 3560

I have 2 Layer3 switches. (Cisco WS-C3560X-24P-L). I am setting:

interface FastEthernet0/1
 channel-group 1 mode on
!
interface FastEthernet0/2
 channel-group 1 mode on
!
interface FastEthernet0/3
 channel-group 1 mode on
!
interface FastEthernet0/4
 channel-group 1 mode on
!
interface Port-channel 1
 no switchport
 ip address 192.168.1.2 255.255.255.0

Other switch is same but using 192.168.1.1 255.255.255.0

I am getting connectivity. But Basically would like to have fail-over and load balancing.

So out of the 4 fast Ethernet ports. If one fails. There should still be connectivity.

Get rid of your IP addresses.  Port bonding is a layer 2 game and you don't need them.

Here is an example of a working LACP etherchannel configuration on a WS-C3560G-24TS running IPservices 12.2(50)SE4.  The config on the partner switch is identical.

port-channel load-balance src-dst-mac
!
interface Port-channel23
 description ** LACP channel to SWITCH2, ports 23-24 **
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 11
 switchport trunk allowed vlan 2-499
 switchport mode trunk
 switchport nonegotiate
 spanning-tree link-type point-to-point
!
interface GigabitEthernet0/23
 description ** SWITCH2 etherchannel port 1 **
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 11
 switchport trunk allowed vlan 2-499
 switchport mode trunk
 switchport nonegotiate
 logging event status
 channel-group 23 mode active
!
interface GigabitEthernet0/24
 description ** SWITCH2 WS-C3560V2-48PS-S etherchannel port 2 **
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 11
 switchport trunk allowed vlan 2-499
 switchport mode trunk
 switchport nonegotiate
 logging event status

 channel-group 23 mode active

没有评论:

发表评论