EtherChannel

1.1.d Introduction (Not on blueprint)

EtherChannel characteristics:

“EtherChannel” CLI configuration commands:

## Configuring an EtherChannel interface (trunk mode)
Switch(config)# interface port-channel <id>
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan <vlan-ids>

## Configuring an EtherChannel interface (access mode)
Switch(config)# interface port-channel <id>
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan <vlan-id>

## Assigning EtherChannel to a range of interfaces
Switch(config)# interface range <if-range>
Switch(config-if)# channel-group <po-id> mode [active | passive | desirable | auto | on]

“EtherChannel” CLI show commands:

## Showing configuration of a specific EtherChannel
Switch# show interface port-channel <id>

## Showing configured EtherChannels, their used protocol and assigned ports
Switch# show etherchannel summary

## Showing configured EtherChannels and their technical details
Switch# show etherchannel port-channel

1.1.d i LACP, static

LACP

Link Aggregation Channel Protocol

General information on “LACP”:

How “LACP” works:

“LACP” characteristics:

“LACP” priorities:

“LACP"modes:

“LACP” channel mode interoperability:

Channel mode Active Passive
Active Yes Yes
Passive Yes No

“LACP” CLI configuration commands:

## Setting the EtherChannel mode to LACP
Switch(config)# interface range <if-range>
Switch(config-if)# channel-protocol lacp
Switch(config-if)# channel-group <po-id> mode [active | passive]
Switch(config-if)# lacp port-priority <value>

“LACP” CLI show commands:

## Showing LACP neighbors
Switch# show lacp neighbor

PAgP (not on blueprint)

Port Aggregation Protocol

General information on “PAgP”:

How “PAgP” works:

“PAgP” characteristics:

“PAgP” modes:

“PAgP” channel mode interoperability:

Channel mode Desirable Auto
Desirable Yes Yes
Auto Yes No

“PAgP” CLI configuration commands:

## Setting the EtherChannel mode to PAgP
Switch(config)# interface range <if-range>
Switch(config-if)# channel-protocol pagp
Switch(config-if)# channel-group <po-id> mode [desirable | auto]

“PAgP” CLI show commands:

## Showing PAgP neighbors
Switch# show pagp neighbor

static

General information on “static”:

“static” characteristics:

“static” CLI configuration commands:

## Setting the EtherChannel mode to static
Switch(config)# interface range <if-range>
Switch(config-if)# channel-group <po-id> mode on

“static (EtherChannel)” CLI show commands:

## Showing configured EtherChannels, their used protocol and assigned ports
Switch# show etherchannel summary

1.1.d ii Layer 2, Layer 3

Layer 2

General Information on “Layer 2 EtherChannels”:

Layer 3

General Information on “Layer 3 EtherChannels”:

1.1.d iii Load balancing

General Information on “Load balancing”:

“Load balancing” algorithm can be based on:

“Load balancing” issue:

“Load balacing” XOR-logic:

# of links in EtherChannel # of lowest-order bits to XOR possible results
2 1 0,1
4 2 0,1,2,3
8 3 0,1,2,3,4,5,6,7

“Load balancing” exact distribution:

# of links in EtherChannel Load Balancing
8 1:1:1:1:1:1:1:1
7 2:1:1:1:1:1:1
6 2:2:1:1:1:1
5 2:2:2:1:1
4 2:2:2:2
3 3:3:2
2 4:4

“EtherChanel Load balancing” CLI configuration commands:

## Modify the EtherChannel load balancing algorithm
Switch(config)# port-channel load-balance <algorithm>

“EtherChanel Load balancing” CLI show commands:

## Showing the current set EtherChannel load balancing algorithm
Switch# show etherchannel load-balance

1.1.d iv EtherChannel Misconfiguration Guard

General information on “EtherChannel Misconfiguration Guard”:

“EtherChannel Misconfiguration Guard” CLI configuration commands:

## Disabling/Enabling EtherChannel misconfiguration guard
Switch(config)# [no] spanning-tree etherchannel guard misconfig

“EtherChannel Misconfiguration Guard” CLI show commands:

## Showing the status of EtherChannel misconfiguration guard
Switch# show spanning-tree summary | in EtherChannel