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.
hoggieeAsked:
Who is Participating?
 
giltjrConnect With a Mentor Commented:
--> interface Port-channel1

Creats Etherchannel  #1.  Seems that you have 4 Etherchannels.

--> interface GigabitEthernet1/0/12
-->  switchport access vlan 2
--> channel-group 2 mode on

Adds the interface GigabitEthernet1/0/12 to the Etherchannel #2.

It seems that this box is maybe a core switch connected to 4 other swichtes with two links to each of the other 4 switches.

The switchport access vlanx (x=3 and 6) on the trunk ports should be ignored.  It looks like at one time these ports where not trunk ports and somebody changed them to trunk ports and forgot to remove the access definitions.
0
 
calvinetterConnect With a Mentor Commented:
>interface Port-channel1
  This defines an EtherChannel virtual interface; this is "EtherChannel #1"

>interface GigabitEthernet1/0/11
>...channel-group 1 mode on
   This tells the switch that this physical interface is a member of the EtherChannel #1 explained above.
   'mode on' forces the port to form an EtherChannel, regardless of whether the partner device seems to support EtherChannel or have it configured.

>interface GigabitEthernet2/0/48
> switchport access vlan 6     <-- port assigned to VLAN 6 if it was in access mode & not in trunk mode
> switchport trunk encapsulation dot1q
> switchport trunk allowed vlan 6,7  <- what VLANs are allowed to traverse the trunk

 See also "Configuring EtherChannels" (Cisco's website):   http://tinyurl.com/3a7nq

cheers
0
 
calvinetterCommented:
D'oh! giltjr beat me by 2 min!  Should've hit refresh!  ;)
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
giltjrCommented:
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.
0
 
hoggieeAuthor Commented:
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?
0
 
yasirirfanCommented:
Yes ur right remove the command

no switchport access vlan 6


cheers

Yasir
0
 
giltjrCommented:
--> 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.
0
 
yasirirfanCommented:
it allows traffic only from vlan 5  and 6
0
 
giltjrCommented:
What?  
0
 
hoggieeAuthor Commented:
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 ?! :)
0
 
giltjrCommented:
Fine with me.  Thanks.
0
 
calvinetterCommented:
Thanks hoggiee!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.