Load-balance between trunk

From: David Li (davidli1985@gmail.com)
Date: Wed May 28 2008 - 22:06:47 ART


Hi,exports:
I have a question about load-balance between trunk.
Sw1============Sw2
sw1 and sw2 are connected using fa0/1 and fa0/2.
There are 2 vlans on both switches.they are vlan 1 and vlan2.
I want to load-balance between the trunk link.Only allowed traffics of vlan
1 pass through fa0/1,
and traffics of vlan 2 pass through fa0/2.

These are 3 options below.
option 1:
interface fa0/1
  switchport trunk encapsulation isl
  switchport mode trunk
  switchport trunk allowed vlan 1
  channel-group 10 mode on
interface fa0/2
  switchport trunk encapsulation isl
  switchport mode trunk
  switchport trunk allowed vlan 2
  channle-group 10 mode on
interface port-channel 10
  switchport trunkencapsulation isl
  switchport mode trunk

option 2:
interface fa0/1
  switchport trunk encapsulation isl
  switchport mode trunk
  spanning-tree vlan 1 port-priority 64
interface fa0/2
  switchport trunk encapsulation isl
  switchport mode trunk
  spanning-tree vlan 2 port-priority 64

option 3:
interface fa0/1
  switchport trunk encapsulation isl
  switchport mode trunk
  switchport trunk allowed vlan 1
interface fa0/2
  switchport trunk encapsulation isl
  switchport mode trunk
  switchport trunk allowed vlan 2

I know option 1 and 2 are OK.
My question is that,which is better ? option 1 or option 2 ?
If option 3 works? and why?

Any inputs will be appreciated.

regards.

David.



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:18 ART