man this took very long. Not so happy. I should I have given a thought earlier. But back now and I have already started to mend things. Below is an example for the configuring ether channel per vlan. I wanted to try this very desperately. For me it seemed so logically simple. Now, configuring is also simple:
The Switch 0 may be considered as Major switch which are connected to distributor switches. Here are the config of the switch 0 and switch 1. For switch 2 give it a go and try pinging 20.2 from 10.2
hostname Switch0
!
ip routing
!
interface FastEthernet0/1
channel-protocol pagp
channel-group 1 mode auto
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
channel-protocol pagp
channel-group 1 mode auto
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
channel-protocol pagp
channel-group 2 mode auto
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/4
channel-protocol pagp
channel-group 2 mode auto
switchport access vlan 20
switchport mode access
!
interface Port-channel 1
switchport access vlan 10 ----->configuring portchannels to a vlan
!
interface Port-channel 2
switchport access vlan 20 ----->configuring portchannels to a vlan
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
ip address 192.168.20.1 255.255.255.0
!
========================
hostname Switch1
!
interface FastEthernet0/1
channel-protocol pagp
channel-group 1 mode desirable
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
channel-protocol pagp
channel-group 1 mode desirable
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 10
switchport mode access
!
interface Port-channel 1
switchport access vlan 10
!
interface Vlan1
no ip address
shutdown
!
The Switch 0 may be considered as Major switch which are connected to distributor switches. Here are the config of the switch 0 and switch 1. For switch 2 give it a go and try pinging 20.2 from 10.2
hostname Switch0
!
ip routing
!
interface FastEthernet0/1
channel-protocol pagp
channel-group 1 mode auto
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
channel-protocol pagp
channel-group 1 mode auto
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
channel-protocol pagp
channel-group 2 mode auto
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/4
channel-protocol pagp
channel-group 2 mode auto
switchport access vlan 20
switchport mode access
!
interface Port-channel 1
switchport access vlan 10 ----->configuring portchannels to a vlan
!
interface Port-channel 2
switchport access vlan 20 ----->configuring portchannels to a vlan
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
ip address 192.168.20.1 255.255.255.0
!
========================
hostname Switch1
!
interface FastEthernet0/1
channel-protocol pagp
channel-group 1 mode desirable
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
channel-protocol pagp
channel-group 1 mode desirable
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 10
switchport mode access
!
interface Port-channel 1
switchport access vlan 10
!
interface Vlan1
no ip address
shutdown
!
No comments:
Post a Comment