0% found this document useful (0 votes)
31 views

Configuring Link Aggregation With Etherchannel: Implementing Spanning Tree

EtherChannel aggregates multiple network links into a single logical trunk to provide increased bandwidth and redundancy. It can be configured dynamically between switches using either PAgP or LACP protocols. EtherChannel is verified using show commands and best practices include configuring interfaces within a bundle consistently and setting the load balancing method.

Uploaded by

rajkumarlodh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Configuring Link Aggregation With Etherchannel: Implementing Spanning Tree

EtherChannel aggregates multiple network links into a single logical trunk to provide increased bandwidth and redundancy. It can be configured dynamically between switches using either PAgP or LACP protocols. EtherChannel is verified using show commands and best practices include configuring interfaces within a bundle consistently and setting the load balancing method.

Uploaded by

rajkumarlodh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 15

Implementing Spanning Tree

Configuring Link Aggregation with EtherChannel


EtherChannel

• Logical aggregation of
similar links
• Load balances
• Viewed as one logical port
• Redundancy
Dynamic Trunk Negotiation Protocols

PAgP
• Cisco proprietary
LACP
• IEEE 802.3ad standard
About EtherChannel Configuration
Commands

Configure PAgP
• interface port-channel {channel-group-number}
• channel-protocol pagp
• channel-group 1 mode {mode}
Verify
• show interfaces fastethernet 0/1 etherchannel
• show etherchannel 1 port-channel
• show etherchannel 1 summary
Configuring Layer 2 EtherChannel

Switch(config)#interface range interface slot/port - port

• Specifies the interfaces to configure in the bundle

Switch(config-if-range)#channel-protocol {pagp | lacp}

• Specifies the channel protocol—either PAgP or LACP

Switch(config-if-range)#channel-group number mode {active


| on | auto | desirable | passive}

• Creates the port-channel interface and places the interfaces as


members
Configuring Layer 3 EtherChannel

Switch(config)#interface port-channel port-channel-number


• Creates a port-channel interface
Switch(config-if)#no switchport
Switch(config-if)#ip address address mask
• Specifies L3 and assigns an IP address and subnet mask to the
EtherChannel
Switch(config)#interface interface slot/port
• Specifies an interface to configure
Switch(config-if)#no switchport
Switch(config-if)#channel-group number mode {auto |
desirable | on}
• Configures the interface as L3 and specifies the port channel
and the PAgP mode
Verifying EtherChannel

Switch#show running-config interface port-channel num


• Displays port-channel information

Switch#show running-config interface interface x/y


• Displays interface information

Switch#show run interface port-channel 1 Switch#show run interface gig 0/9


Building configuration... Building configuration...

Current configuration : 66 bytes Current configuration : 127 bytes


! !
interface Port-channel1 interface GigabitEthernet 0/9
switchport mode dynamic desirable switchport mode dynamic desirable
end channel-group 2 mode desirable
channel-protocol pagp
end
Verifying EtherChannel (Cont.)
Switch#show interfaces gigabitethernet 0/9 etherchannel
Port state = Up Mstr In-Bndl
Channel group = 1 Mode = Desirable-Sl Gcchange = 0
Port-channel = Po2 GC = 0x00020001 Pseudo port-channel = Po1
Port index = 0 Load = 0x00

Flags: S - Device is sending Slow hello. C - Device is in Consistent state.


A - Device is in Auto mode. P - Device learns on physical port.
d - PAgP is down.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.

Local information:
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Gi0/9 SC U6/S7 H 30s 1 128 Any 15

Partner's information:

Partner Partner Partner Partner Group


Port Name Device ID Port Age Flags Cap.
Gi0/9 DSW122 0005.313e.4780 Gi0/9 18s SC 20001

Age of the port in the current state: 00d:20h:00m:49s


Guidelines for Configuring EtherChannel
Guidelines for Configuring EtherChannel
(Cont.)
EtherChannel Guidelines
Switch#show run
interface FastEthernet0/9
description DSW121 0/9-10 - DSW122 0/9-10
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,21-28
switchport mode trunk
switchport nonegotiate
duplex full
speed 100
channel-group 2 mode desirable
!
interface FastEthernet0/10
description DSW121 0/9-10 - DSW122 0/9-10
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,21-28
switchport mode trunk
switchport nonegotiate
duplex full
speed 100
channel-group 2 mode desirable
EtherChannel Load Balancing

Switch(config)# port-channel load-balance src-mac


Configuring EtherChannel Load Balancing

Switch(config)#port-channel load-balance type


• Configures EtherChannel load balancing

Switch#show etherchannel load-balance


Source XOR Destination IP address
Summary

• EtherChannel increases bandwidth and provides redundancy


by aggregating individual links between switches.
• EtherChannel can be dynamically configured between
switches using either PAgP or LACP.
• Etherchannel is configured and verified using a variety of
show commands.
• Best practices should be followed for EtherChannel
configuration.
• EtherChannel load balances traffic over all the links in the
bundle.

You might also like