Link to home
Start Free TrialLog in
Avatar of hoggiee
hoggiee

asked on

EtherChannel and VLAN Trunking in Catalyst 3750

Hi.  I have the following configuration in my Cisco Catalyst 3750 switch.  I would like to know what are they for:

vlan internal allocation policy ascending
!
!
interface Port-channel1
 switchport access vlan 2
!
interface Port-channel2
 switchport access vlan 2
!
interface Port-channel3
 switchport access vlan 2
!
interface Port-channel4
 switchport access vlan 2
!
****(output suppress)****
!
interface GigabitEthernet1/0/10
 switchport access vlan 2
 channel-group 1 mode on
!
interface GigabitEthernet1/0/11
 switchport access vlan 2
 channel-group 1 mode on
!
interface GigabitEthernet1/0/12
 switchport access vlan 2
 channel-group 2 mode on
!
interface GigabitEthernet1/0/13
 switchport access vlan 2
 channel-group 2 mode on
!
****(output suppress)****
!
interface GigabitEthernet1/0/49
 switchport access vlan 3
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
****(output suppress)****
!
interface GigabitEthernet2/0/10
 switchport access vlan 2
 channel-group 3 mode on
!
interface GigabitEthernet2/0/11
 switchport access vlan 2
 channel-group 3 mode on
!
interface GigabitEthernet2/0/12
 switchport access vlan 2
 channel-group 4 mode on
!
interface GigabitEthernet2/0/13
 switchport access vlan 2
 channel-group 4 mode on
!
****(output suppress)****
!
interface GigabitEthernet2/0/48
 switchport access vlan 6
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 6,7
 switchport mode trunk
!
!
!
Pls explain what the Port-channel and channel-group are for?  and also the vlan 3 and vlan 6 in the trunk ports (GigabitEthernet1/0/49 and GigabitEthernet2/0/48).  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
D'oh! giltjr beat me by 2 min!  Should've hit refresh!  ;)
Well since we both said the same thing at least the asker know he has the correct answers.

What really weird is not only did we give the same answers (of course we did because they are right), but in the same way and almost the same words.
Avatar of hoggiee
hoggiee

ASKER

interface GigabitEthernet2/0/48
 switchport access vlan 6
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 6,7
 switchport mode trunk

The switchport access vlan 6 shoud not appear in an interface configured as trunk port?
Yes ur right remove the command

no switchport access vlan 6


cheers

Yasir
--> switchport trunk allowed vlan 6,7

Just to make sure you know, this mean that even though this is a trunk only traffic to or from a host in  VLAN 6 and 7  can go over this port.
it allows traffic only from vlan 5  and 6
What?  
Avatar of hoggiee

ASKER

giltjr and calvinetter:
Well...since you both have given the correct answer, at almost the same time, i think you two should have the same points.....fair enough ?! :)
Fine with me.  Thanks.
Thanks hoggiee!