
White Paper
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 27 of 51
physical ports on that port channel. To change parameters of all ports in an EtherChannel group,
the configuration should be applied to the port channel interface. Although Cisco IOS Software
allows configuration on physical interfaces, the configuration will not be propagated to the port
channel bundle. If the interfaces within the bundle are not identical, the channel will not form.
Cisco Catalyst OS Cisco IOS Software
set port channel 3/1-8 1 desirable interface range gigabit 3/1—8
switchport
channel-group 1 mode desirable
no shut
interface port-channel 1
switchport trunk encapsulation dot1q
no shut
The Cisco Catalyst OS supports a maximum of 128 EtherChannel groups, and Cisco IOS Software
supports a maximum of 64 EtherChannel groups (128 EtherChannel groups are supported in
Cisco IOS Software Release 12.2(18)SXE and later).
EtherChannel Negotiation
Cisco IOS Software and Cisco Catalyst OS EtherChannel groups support both PAgP and LACP,
which allows for automatic creation of port channels with other devices. PAgP is a Cisco
proprietary protocol for channel negotiation, and LACP is a standard for channel negotiation (IEEE
802.3ad). The negotiation modes of both protocols are nearly identical. Note that the negotiation
keywords are the same for both the Cisco Catalyst OS and Cisco IOS Software. For more details
about PAgP and LACP configuration, refer to the following configuration guides:
●
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/12_1e/swconfig/channel.htm
●
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/sw_7_3/confg_gd/channel.ht
m
PAgP configuration example:
Cisco Catalyst OS Cisco IOS Software
set channelprotocol pagp
set port channel 3/1-8 1 desirable
interface range gigabit 3/1—8
switchport
channel-protocol pagp
channel-group 1 mode desirable
interface port-channel 1
switchport trunk encapsulation dot1q
no shut
LACP configuration example:
Cisco Catalyst OS Cisco IOS Software
set channelprotocol lacp
set port channel 3/1-8 1 desirable
interface range gigabit 3/1—8
switchport
channel-protocol lacp
channel-group 1 mode active
interface port-channel 1
switchport trunk encapsulation dot1q
no shut
Komentarze do niniejszej Instrukcji