Table Of Contents
Link Aggregation Control Protocol (LACP) (802.3ad) for Gigabit Interfaces
Prerequisites for LACP (802.3ad) for Gigabit Interfaces
Restrictions for LACP (802.3ad) for Gigabit Interfaces
Information About LACP (802.3ad) for Gigabit Interfaces
LACP (802.3ad) for Gigabit Interfaces Feature Overview
Features Supported on Gigabit EtherChannel Bundles
LACP (802.3ad) for Gigabit Interfaces Configuration Overview
Understanding LACP (802.3ad) for Gigabit Interfaces Load Balancing
Understanding LACP (802.3ad) for Gigabit Interfaces Configuration
LACP (802.3ad) for Gigabit Interfaces Configuration Guidelines
How to Configure LACP (802.3ad) for Gigabit Interfaces
Configuring LACP (802.3ad) for Gigabit Interfaces
Configuring the LACP System ID and Port Priority
Removing a Channel Group from a Port
Displaying Gigabit EtherChannel Information
Configuration Examples for LACP (802.3ad) for Gigabit Interfaces
Configuring LACP (802.3ad) for Gigabit Interfaces: Example
Displaying Port Channel Interface Information: Example
Feature Information for LACP (802.3ad) for Gigabit Interfaces
Link Aggregation Control Protocol (LACP) (802.3ad) for Gigabit Interfaces
First Published: November, 2006
Revised: March, 2007This document describes how to configure Gigabit Ethernet port channels using LACP. This allows you to bundle multiple Gigabit Ethernet links into a single logical interface on a Cisco 10000 series router.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for LACP (802.3ad) for Gigabit Interfaces" section.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•Prerequisites for LACP (802.3ad) for Gigabit Interfaces
•Restrictions for LACP (802.3ad) for Gigabit Interfaces
•Information About LACP (802.3ad) for Gigabit Interfaces
•How to Configure LACP (802.3ad) for Gigabit Interfaces
•Configuration Examples for LACP (802.3ad) for Gigabit Interfaces
•Feature Information for LACP (802.3ad) for Gigabit Interfaces
Prerequisites for LACP (802.3ad) for Gigabit Interfaces
This feature requires a Performance Routing Engine 2 (PRE2) or PRE3.
Restrictions for LACP (802.3ad) for Gigabit Interfaces
This feature has the following restrictions on the Cisco 10000 series router in IOS Release12.2(31)SB2:
•Maximum of 4 bundled ports per Gigabit Ethernet port channel
•Maximum of 64 Gigabit Ethernet port channels in a chassis
•MPLS traffic engineering is not supported on port channel interfaces
•There is no 802.1q and QinQ subinterface support on Gigabit Ethernet port channels
•QoS is supported on individual bundled ports and not on Gigabit Ethernet port channels
Information About LACP (802.3ad) for Gigabit Interfaces
These sections describe the LACP (802.3ad) for Gigabit Interfaces feature:
•LACP (802.3ad) for Gigabit Interfaces Feature Overview
•Features Supported on Gigabit EtherChannel Bundles
•LACP (802.3ad) for Gigabit Interfaces Configuration Overview
•Understanding LACP (802.3ad) for Gigabit Interfaces Load Balancing
•Understanding LACP (802.3ad) for Gigabit Interfaces Configuration
•LACP (802.3ad) for Gigabit Interfaces Configuration Guidelines
LACP (802.3ad) for Gigabit Interfaces Feature Overview
The LACP (802.3ad) for Gigabit Interfaces feature bundles individual Gigabit Ethernet links into a single logical link that provides the aggregate bandwidth of up to 4 physical links. A Cisco 10000 series router supports a maximum of 4 Gigabit Ethernet bundled ports per port channel and a maximum of 64 Gigabit Ethernet port channels per chassis.
All LAN ports on a port channel must be the same speed and must all be configured as either Layer 2 or Layer 3 LAN ports. If a segment within a port channel fails, traffic previously carried over the failed link switches to the remaining segments within the port channel. Inbound broadcast and multicast packets on one segment in a port channel are blocked from returning on any other segment of the port channel.
Note The network device to which a Cisco 10000 series router is connected may impose its own limits on the number of bundled ports per port channel.
Features Supported on Gigabit EtherChannel Bundles
Table 1 lists the features that are supported on Gigabit EtherChannel bundles on a PRE2 and PRE3.
LACP (802.3ad) for Gigabit Interfaces Configuration Overview
LACP is part of the IEEE specification 802.3ad that allows you to bundle several physical ports to form a single logical channel. When you change the number of active bundled ports on a port channel, traffic patterns will reflect the rebalanced state of the port channel.
Understanding LACP (802.3ad) for Gigabit Interfaces Load Balancing
A Gigabit Ethernet port channel balances the traffic load across the links by reducing part of the binary pattern formed from the addresses in the frame to a numerical value that selects one of the links in the channel. Bundled ports equally inherit the logical MAC addresses on the port channel interface.
Understanding LACP (802.3ad) for Gigabit Interfaces Configuration
LACP supports the automatic creation of Gigabit Ethernet port channels by exchanging LACP packets between ports. It learns the capabilities of port groups dynamically and informs the other ports. Once LACP identifies correctly matched Ethernet links, it facilitates grouping the links into a Gigabit Ethernet port channel.
LACP packets are exchanged between ports in these modes:
•Active—Places a port into an active negotiating state, in which the port initiates negotiations with remote ports by sending LACP packets.
•Passive—Places a port into a passive negotiating state, in which the port responds to LACP packets it receives but does not initiate LACP negotiation. In this mode, the port channel group attaches the interface to the bundle.
Both modes allow LACP to negotiate between ports to determine if they can form a port channel based on criteria such as port speed and trunking state. Table 2 describes the significant LACP parameters.
When LACP is configured on ports, it tries to configure the maximum number of compatible ports in a port channel, up to the maximum allowed by the hardware (four ports). If LACP cannot aggregate all the ports that are compatible (for example, the remote system might have more restrictive hardware limitations), then all the ports that cannot be actively included in the channel are put in hot standby state and are used only if one of the channeled ports fails.
Note In prior Cisco IOS releases, the Cisco-proprietary Port Aggregation Control Protocol (PAgP) was used to configure port channels. LACP and PAgP do not interoperate with each other. Ports configured to use PAgP cannot form port channels on ports configured to use LACP. Ports configured to use LACP cannot form port channels on ports configured to use PAgP.
LACP (802.3ad) for Gigabit Interfaces Configuration Guidelines
When port channel interfaces are configured improperly with LACP, they are disabled automatically to avoid network loops and other problems. To avoid configuration problems, observe these guidelines and restrictions:
•Every port added to a port channel must be configured identically. No individual differences in configuration are allowed.
•Bundled ports can be configured on different line cards in a chassis.
•Maximum Transmission Unit (MTU) must be configured only on port channel interfaces and this MTU is propagated to the bundled ports.
•Quality of Service (QoS) and Committed Access Rate (CAR) are applied at the port level. Access control lists (ACLs) are applied on port channels.
•MAC configuration is only allowed on port channels.
•MPLS IP should be enabled on bundled ports using the mpls ip command.
•You should apply Unicast Reverse Path Forwarding (uRPF) on the port channel interface using the ip verify unicast reverse-path command in interface configuration mode.
•The Cisco Discovery Protocol (CDP) should be enabled on the port channel interface using the cdp enable command in interface configuration mode.
•Enable all LAN ports in a port channel. If you shut down a LAN port in a port channel, it is treated as a link failure and its traffic is transferred to one of the remaining ports in the port channel.
•To create a port channel interface, use the interface port-channel command in global configuration command.
•When a Gigabit Ethernet interface has an IP address assigned, you must disable that IP address before adding the interface to the port channel. To disable an existing IP address, use the no ip address command in interface configuration mode.
•The hold queue in command is only valid on port channel interfaces. The hold queue out command is only valid on bundled ports.
How to Configure LACP (802.3ad) for Gigabit Interfaces
This section includes these procedures:
•Configuring LACP (802.3ad) for Gigabit Interfaces
•Configuring the LACP System ID and Port Priority
•Removing a Channel Group from a Port
•Displaying Gigabit EtherChannel Information
Configuring LACP (802.3ad) for Gigabit Interfaces
Perform this task to create a port channel with two bundled ports. You can configure a maximum of four bundled ports per port channel.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface port-channel number
4. ip address ip_address mask
5. interface type slot/subslot/port
6. no ip address
7. channel-group number mode {active | passive}
8. exit
9. interface type slot/subslot/port
10. no ip address
11. channel-group number mode {active | passive}
12. end
DETAILED STEPS
Examples
Router> enable
Router# configure terminal
Router(config)# interface port-channel 1
Router(config-if)# ip address 10.1.1.1 255.255.255.0
Router(config-if)# interface g2/0/0
Router(config-if)# no ip address
Router(config-if)# channel-group 1 mode active
Router(config-if)# exit
Router(config)# interface g4/0/0
Router(config-if)# no ip address
Router(config-if)# channel-group 1 mode active
Router(config-if)# end
Configuring the LACP System ID and Port Priority
Perform this task to manually configure the LACP parameters.
SUMMARY STEPS
1. enable
2. configure terminal
3. lacp system-priority value
4. interface type slot/subslot/port
5. lacp port-priority value
6. end
DETAILED STEPS
Examples
Router> enable
Router# configure terminal
Router(config)# lacp system-priority 23456Router(config)# interface g4/0/0
Router(config-if)# lacp port-priority 500
Router(config-if)# endRemoving a Channel Group from a Port
Perform this task to remove a Gigabit Ethernet port channel group from a physical port.
SUMMARY STEPS
1. enable
2. configure terminal
3. no interface port-channel number
4. end
DETAILED STEPS
Examples
Router> enable
Router# configure terminal
Router(config)# no interface port-channel 1
Router(config)# endDisplaying Gigabit EtherChannel Information
To display Gigabit Ethernet port channel information, use the show interfaces port-channel command in user or privileged EXEC mode. The following example shows information about port channels configured on ports 0/2 and 0/3. The default MTU is set to 1500 bytes.
Router# show interfaces port-channel 1
Port-channel1 is up, line protocol is up Hardware is GEChannel, address is 0013.19b3.7748 (bia 0000.0000.0000) MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 No. of active members in this channel: 2 Member 0 : GigabitEthernet3/0/0 , Full-duplex, 1000Mb/s Member 1 : GigabitEthernet7/1/0 , Full-duplex, 1000Mb/s Last input 00:00:05, output never, output hang never Last clearing of "show interface" counters 00:04:40 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Interface Port-channel1 queueing strategy: PXF First-In-First-Out Output queue 0/8192, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts (0 IP multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 3 packets output, 180 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped outTable 3 describes the significant fields shown in the display.
Configuration Examples for LACP (802.3ad) for Gigabit Interfaces
This section provides the following configuration examples:
•Configuring LACP (802.3ad) for Gigabit Interfaces: Example
•Displaying Port Channel Interface Information: Example
Configuring LACP (802.3ad) for Gigabit Interfaces: Example
The following example shows how to configure Gigabit Ethernet ports 2/0 and 4/0 into port channel 1 with LACP parameters.
Router> enable
Router# configure terminal
Router(config)# lacp system-priority 65535
Router(config)# interface port-channel 1
Router(config-if)# lacp max-bundle 2
Router(config-if)# ip address 10.1.1.1 255.255.255.0
Router(config)# interface g2/0/0
Router(config-if)# no ip address
Router(config-if)# lacp port-priority 100
Router(config-if)# channel-group 1 mode passive
Router(config-if)# exit
Router(config)# interface g4/0/0
Router(config-if)# no ip address
Router(config-if)# lacp port-priority 200
Router(config-if)# channel-group 1 mode passive
Router(config-if)# end
Displaying Port Channel Interface Information: Example
The following example shows how to display the configuration of port channel interface 1.
Router# show interface port-channel 1
Port-channel1 is up, line protocol is up Hardware is GEChannel, address is 0013.19b3.7748 (bia 0000.0000.0000) MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 No. of active members in this channel: 2 Member 0 : GigabitEthernet3/0/0 , Full-duplex, 1000Mb/s Member 1 : GigabitEthernet7/1/0 , Full-duplex, 1000Mb/s Last input 00:00:05, output never, output hang never Last clearing of "show interface" counters 00:04:40 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Interface Port-channel1 queueing strategy: PXF First-In-First-Out Output queue 0/8192, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts (0 IP multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 3 packets output, 180 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped outAdditional References
The following sections provide references related to the LACP (802.3ad) for Gigabit Interfaces feature.
Related Documents
Related Topic Document TitleConfiguring Cisco 10000 series router line cards
Provisioning QoS
Cisco 10000 Series Router Quality of Service Configuration Guide
Standards
MIBs
RFCs
RFC TitleNo new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents modified commands only.
Modified Commands in Cisco IOS Release 12.2(31)SB2
•lacp max-bundle
lacp max-bundle
To define the maximum number of bundled Link Aggregation Control Protocol (LACP) ports allowed in a port channel, use the lacp max-bundle command in interface configuration mode. To return to the default settings, use the no form of this command.
lacp max-bundle max-bundles
no lacp max-bundle
Syntax Description
max-bundles
Maximum number of bundled ports allowed in the port channel. Valid values are from 1 to 8.
Note On the Cisco 10000 series router, the valid values are from 1 to 4.
Defaults
The default settings are as follows:
•Maximum of eight bundled ports per port channel.
•Maximum of eight bundled ports and eight hot-standby ports per port channel; this setting applies if the port channel on both sides of the LACP bundle are configured the same.
Cisco 10000 Series Router
Maximum of four bundled ports per port channel.
Command Modes
Interface configuration
Command History
Usage Guidelines
Cisco 10000 Series Router
•Maximum of four bundled ports per port channel.
•This command requires a Performance Routing Engine 2 (PRE2) or PRE3.
Examples
This example shows how to set the maximum number of ports to bundle in a port channel:
Router(config-if)# lacp max-bundle 4Router(config-if)#Related Commands
Feature Information for LACP (802.3ad) for Gigabit Interfaces
Table 4 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Cisco IOS software images are specific to a Cisco IOS software release, a feature set, and a platform. Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Note Table 4 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
CCVP, the Cisco Logo, and the Cisco Square Bridge logo are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, iQuick Study, LightStream, Linksys, MeetingPlace, MGX, Networking Academy, Network Registrar, Packet, PIX, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0609R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2006 Cisco Systems, Inc. All rights reserved.