Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Portchannels 4506

Status
Not open for further replies.

bantrab

IS-IT--Management
Apr 14, 2003
12
0
0
GT
Hello all. I was just wondering I was looking at the configuration of portchannels when I notice that there are two ways of creating a portchannel a layer 3 and a layer 2 portchannel as you all can see in my configuration I have a layer 2 portchannel and the ip address is asigned in the vlan, What is the best way to configure the portchannels layer 2 or 3, in case I changed it to layer 3 is my dhcp affected?

Thanks in advance

Gerardo

!
ip dhcp pool 8
network 172.16.108.0 255.255.255.0
domain-name bantrab.bantrab.net.gt
dns-server 172.16.1.243 172.16.1.8 172.16.1.11
netbios-name-server 172.16.1.243 172.16.1.8 172.16.1.77
default-router 172.16.108.251
netbios-node-type m-node
lease 0 1
!
interface Port-channel8
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,108,192
switchport mode trunk

!
interface Vlan108
ip address 172.16.108.251 255.255.255.0

C 172.16.108.0/24 is directly connected, Vlan108
S* 0.0.0.0/0 [1/0] via 172.16.1.11
 
Umm.... I beleive your talking about create a port channel (etherchannel). Which in case, you go to each interface you want grouped together and enter this command.

interface gig1/1
channel-group 1 mode on
interface gig1/2
channel-group 1 mode on

Now you have an interface channel-group 1 that consist of gig1/1 and gig1/2.

interface po1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,108,192
switchport mode trunk
 
This is the configuration of my interfaces

!
interface GigabitEthernet4/3
description Enlace de Cobre 8vo Nivel
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,108,192
switchport mode trunk
channel-group 8 mode on
!
interface GigabitEthernet4/6
description Enlace de Fibra 8vo Nivel
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,108,192
switchport mode trunk
channel-group 8 mode on
!
 
That should work fine. Just make sure the other switch or server is setup for etherchannel too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top