Table Of Contents
Configuring IEEE 802.3ad Link Bundling
Prerequisites for Configuring IEEE 802.3ad Link Bundling
Restrictions for Configuring IEEE 802.3ad Link Bundling
Information About Configuring IEEE 802.3ad Link Bundling
Port Channel and LACP-Enabled Interfaces
Benefits of IEEE 802.3ad Link Bundling
Features Supported on Gigabit EtherChannel Bundles
LACP for Gigabit Interfaces Configuration Guidelines
How to Configure IEEE 802.3ad Link Bundling
Configuring LACP (802.3ad) for Gigabit Interfaces
Setting LACP System Priority and Port Priority
Adding and Removing Interfaces from a Bundle
Removing a Channel Group from a Port
Setting a Minimum Threshold of Active Links
Displaying Gigabit EtherChannel Information
Configuration Examples for Configuring IEEE 802.3ad Link Bundling
Example: Configuring LACP for Gigabit Interfaces
Example: Associating a Channel Group with a Port Channel
Example: Adding and Removing Interfaces from a Bundle
Example: Monitoring LACP Status
Example: Displaying Port Channel Interface Information
Feature Information for Configuring IEEE 802.3ad Link Bundling
Configuring IEEE 802.3ad Link Bundling
First Published: June 30, 2009Last Updated: February 11, 2011This document describes how the IEEE 802.3ad Link Bundling feature leverages the EtherChannel infrastructure within Cisco IOS XE software to manage the bundling of Ethernet links. The supported Ethernet link types for link bundling are Gigabit Ethernet and Ten Gigabit Ethernet.
Finding Feature Information
For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for Configuring IEEE 802.3ad Link Bundling" section.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for Configuring IEEE 802.3ad Link Bundling
•
Restrictions for Configuring IEEE 802.3ad Link Bundling
•
Information About Configuring IEEE 802.3ad Link Bundling
•
How to Configure IEEE 802.3ad Link Bundling
•
Configuration Examples for Configuring IEEE 802.3ad Link Bundling
•
Feature Information for Configuring IEEE 802.3ad Link Bundling
Prerequisites for Configuring IEEE 802.3ad Link Bundling
•
Knowledge of how EtherChannels and Link Aggregation Control Protocol (LACP) function in a network
•
Verification that both ends of the LACP link have the same baseline software version
Restrictions for Configuring IEEE 802.3ad Link Bundling
•
Maximum of four Ethernet links per bundle configured for LACP are supported.
•
All links must operate at the same link speed and in full-duplex mode (LACP does not support half-duplex mode).
•
All links must be configured as either EtherChannel links or LACP links.
•
Only physical interfaces can form aggregations. Aggregations of VLAN interfaces are not possible nor is an aggregation of aggregations.
•
If a router is connected to a switch, the bundle terminates on the switch.
•
An EtherChannel will not form if one of the LAN ports is a Switched Port Analyzer (SPAN) destination port.
•
All ports in an EtherChannel must use the same EtherChannel protocol.
•
Maximum of four bundled ports per Ethernet port channel are supported.
•
Maximum of 64 Ethernet port channels in a chassis are supported.
•
QinQ subinterfaces are not supported on Ethernet port channels.
•
Quality of service (QoS) is supported on individual bundled ports and not on Ethernet port channels.
Information About Configuring IEEE 802.3ad Link Bundling
•
Port Channel and LACP-Enabled Interfaces
Gigabit EtherChannel
Gigabit EtherChannel (GEC) is high-performance Ethernet technology that provides Gigabit per second (Gb/s) transmission rates. A Gigabit EtherChannel bundles individual Ethernet links (Gigabit Ethernet or Ten Gigabit Ethernet) into a single logical link that provides the aggregate bandwidth of up to four physical links. All LAN ports in each EtherChannel must be the same speed and all must be configured as either Layer 2 or Layer 3 LAN ports. Inbound broadcast and multicast packets on one link in an EtherChannel are blocked from returning on any other link in the EtherChannel.
When a link within an EtherChannel fails, traffic previously carried over the failed link switches to the remaining links within that EtherChannel. Also when a failure occurs, a trap is sent that identifies the device, the EtherChannel, and the failed link.
Port Channel and LACP-Enabled Interfaces
Each EtherChannel has a numbered port channel interface that must be manually created before interfaces can be added to the channel group. The configuration of a port channel interface affects all LAN ports assigned to that port channel interface.
To change the parameters of all ports in an EtherChannel, change the configuration of the port channel interface; for example, if you want to configure Spanning Tree Protocol or configure a Layer 2 EtherChannel as a trunk. Any configuration or attribute changes you make to the port channel interface are propagated to all interfaces within the same channel group as the port channel; that is, configuration changes are propagated to the physical interfaces that are not part of the port channel but are part of the channel group.
The configuration of a LAN port affects only that LAN port.
IEEE 802.3ad Link Bundling
The IEEE 802.3ad Link Bundling feature provides a method for aggregating multiple Ethernet links into a single logical channel based on the IEEE 802.3ad standard. This feature helps improve the cost effectiveness of a device by increasing cumulative bandwidth without necessarily requiring hardware upgrades. In addition, IEEE 802.3ad Link Bundling provides a capability to dynamically provision, manage, and monitor various aggregated links and enables interoperability between various Cisco devices and devices of third-party vendors.
LACP supports the automatic creation of EtherChannels by exchanging LACP packets between LAN ports. LACP packets are exchanged only between ports in passive and active modes. The protocol "learns" the capabilities of LAN port groups dynamically and informs the other LAN ports. After LACP identifies correctly matched Ethernet links, it facilitates grouping the links into an EtherChannel. Then the EtherChannel is added to the spanning tree as a single bridge port.
Both the passive and active modes allow LACP to negotiate between LAN ports to determine if they can form an EtherChannel, based on criteria such as port speed and trunking state. (Layer 2 EtherChannels also use VLAN numbers.) LAN ports can form an EtherChannel when they are in compatible LACP modes, as in the following examples:
•
A LAN port in active mode can form an EtherChannel with another LAN port that is in active mode.
•
A LAN port in active mode can form an EtherChannel with another LAN port in passive mode.
•
A LAN port in passive mode cannot form an EtherChannel with another LAN port that is also in passive mode because neither port will initiate negotiation.
LACP uses the following parameters:
•
LACP system priority—You must configure an LACP system priority on each device running LACP. The system priority can be configured automatically or through the command-line interface (CLI). LACP uses the system priority with the device MAC address to form the system ID and also during negotiation with other systems.
•
LACP port priority—You must configure an LACP port priority on each port configured to use LACP. The port priority can be configured automatically or through the CLI. LACP uses the port priority to decide which ports should be put in standby mode when there is a hardware limitation that prevents all compatible ports from aggregating. LACP also uses the port priority with the port number to form the port identifier.
•
LACP administrative key—LACP automatically configures an administrative key value on each port configured to use LACP. The administrative key defines the ability of a port to aggregate with other ports. A port's ability to aggregate with other ports is determined by the following:
–
Port physical characteristics such as data rate, duplex capability, and point-to-point or shared medium
–
Configuration restrictions that you establish
On ports configured to use LACP, it tries to configure the maximum number of compatible ports in an EtherChannel, up to the maximum allowed by the hardware. To use the hot standby feature in the event a channel port fails, both ends of the LACP bundle must support the lacp max-bundle command.
As a control protocol, LACP uses the Slow Protocol Multicast address of 01-80-C2-00-00-02 to transmit LACP protocol data units (PDUs). Aside from LACP, the Slow Protocol linktype is to be utilized by operations, administration, and maintenance (OAM) packets, too. Subsequently, a subtype field is defined per the IEEE 802.3ad standard [1] (Annex 43B, section 4) differentiating LACP PDUs from OAM PDUs.
Note
LACP and Port Aggregation Control Protocol (PAgP) are not compatible. Ports configured for PAgP cannot form port channels on ports configured for LACP, and ports configured for LACP cannot form port channels on ports configured for PAgP.
Benefits of IEEE 802.3ad Link Bundling
•
Increased network capacity without changing physical connections or upgrading hardware
•
Cost savings resulting from use of existing hardware and software for additional functions
•
A standard solution that enables interoperability of network devices
•
Port redundancy without user intervention when an operational port fails
LACP Enhancements
The following LACP enhancements are supported:
•
Four member links per LACP bundle.
•
Stateful switchover (SSO), in service software upgrade (ISSU), Cisco nonstop forwarding (NSF), and nonstop routing (NSR) on Gigabit EtherChannel bundles.
•
Point-to-Point Protocol over Ethernet (PPPoE) over Ethernet (PPPoEoE), PPPoEoQinQ, and PPPoVLAN sessions are not forced to reestablish when a link switchover occurs. During the switchover, the port channel is maintained in the LINK_UP state, and both the active and standby links assume the same configured elements after the switchover.
•
Link failover time of 250 milliseconds or less and a maximum link failover time of 2 seconds; port channels remain in the LINK_UP state to eliminate reconvergence by the Spanning-Tree Protocol.
•
Shutting down a port channel when the number of active links falls below the minimum threshold. In the port channel interface, a configurable option is provided to bring down the port channel interface when the number of active links falls below the minimum threshold. For the port-channel state to be symmetric on both sides of the channel, the peer must also be running LACP and have the same lacp min-bundle command setting.
•
The IEEE Link Aggregation Group (LAG) MIB.
LACP for Gigabit Interfaces
The LACP (802.3ad) for Gigabit Interfaces feature bundles individual Ethernet links (Gigabit Ethernet or Ten Gigabit Ethernet) into a single logical link that provides the aggregate bandwidth of up to four physical links.
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 ASR 1000 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 Cisco ASR1000 series router.
LACP for Gigabit Interfaces Configuration Guidelines
Port channel interfaces that are configured improperly with LACP 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 units (MTUs) must be configured on only port channel interfaces; MTUs are propagated to the bundled ports.
•
QoS and committed access rate (CAR) are applied at the port level. Access control lists (ACLs) are applied on port channels.
•
MAC configuration is allowed only on port channels.
•
MPLS IP should be enabled on bundled ports using the mpls ip command.
•
Unicast Reverse Path Forwarding (uRPF) should be applied on the port channel interface using the ip verify unicast reverse-path command in interface configuration mode.
•
Cisco Discovery Protocol should be enabled on the port channel interface using the cdp enable command in interface configuration mode.
•
All LAN ports in a port channel should be enabled. If you shut down a LAN port in a port channel, the shutdown is treated as a link failure and the traffic is transferred to one of the remaining ports in the port channel.
•
Create a port channel interface using the interface port-channel command in global configuration mode.
•
When an Ethernet interface has an IP address assigned, 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 valid only on port channel interfaces. The hold queue out command is valid only on bundled ports.
How to Configure IEEE 802.3ad Link Bundling
•
Configuring LACP (802.3ad) for Gigabit Interfaces
•
Setting LACP System Priority and Port Priority
•
Adding and Removing Interfaces from a Bundle
•
Removing a Channel Group from a Port
•
Setting a Minimum Threshold of Active Links
•
Displaying Gigabit EtherChannel Information
Enabling LACP
Perform this task to enable LACP.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface port-channel channel-number
4.
channel-group channel-group-number mode {active | passive}
5.
end
DETAILED STEPS
Configuring a Port Channel
You must manually create a port channel logical interface. Perform this task to configure a port channel.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface port-channel channel-number
4.
lacp max-bundle max-bundles
5.
ip address ip_address mask
6.
end
7.
show running-config interface port-channel group_number
8.
end
DETAILED STEPS
Examples
This example shows how to verify the configuration:
Router# show running-config interface port-channel 10Building configuration...Current configuration:!interface Port-channel10ip address 172.31.52.10 255.255.255.0no ip directed-broadcastendConfiguring 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 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> enableRouter# configure terminalRouter(config)# interface port-channel 1Router(config-if)# ip address 10.1.1.1 255.255.255.0Router(config-if)# interface gigabitethernet 2/0/0Router(config-if)# no ip addressRouter(config-if)# channel-group 1 mode activeRouter(config-if)# exitRouter(config)# interface gigabitethernet 4/0/0Router(config-if)# no ip addressRouter(config-if)# channel-group 1 mode activeRouter(config-if)# endSetting LACP System Priority and Port Priority
Perform this task to set the LACP system priority and port priority. The system ID is the combination of the LACP system priority and the MAC address of a device. The port identifier is the combination of the port priority and port number.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
lacp system-priority priority
4.
interface type slot/subslot/port
5.
lacp port-priority priority
6.
end
7.
show lacp sys-id
8.
end
DETAILED STEPS
Examples
Router> enableRouter# configure terminalRouter(config)# lacp system-priority 200Router(config)# interface gigabitethernet 0/1/1Router(config-if)# lacp port-priority 500Router(config-if)# endThis example shows how to verify the LACP configuration:
Router# show lacp 200200.abcd.abcd.abcd.Adding and Removing Interfaces from a Bundle
Perform this task to add and remove an interface from a link bundle.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type slot/subslot/port
4.
channel-group channel-group-number mode {active | passive}
5.
no channel-group channel-group-number mode {active | passive}
6.
end
DETAILED STEPS
Removing 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> enableRouter# configure terminalRouter(config)# no interface port-channel 1Router(config)# endSetting a Minimum Threshold of Active Links
Perform this task to set a minimum number of active links.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
lacp min-bundle min-bundle
5.
end
DETAILED STEPS
Monitoring LACP Status
Perform this task to monitor LACP activity in the network.
SUMMARY STEPS
1.
enable
2.
show lacp {number | counters | internal | neighbor | sys-id}
3.
end
DETAILED STEPS
Troubleshooting Tips
Use the debug lacp command to display LACP configuration and activity details.
The following sample output from a debug lacp all command shows that a remote device is removing a link and also adding a link.
The following sample output shows a remote device removing a link:
Router1# debug lacp allLink Aggregation Control Protocol all debugging is onRouter1#*Aug 20 17:21:51.685: LACP :lacp_bugpak: Receive LACP-PDU packet via Gi5/0/0*Aug 20 17:21:51.685: LACP : packet size: 124*Aug 20 17:21:51.685: LACP: pdu: subtype: 1, version: 1*Aug 20 17:21:51.685: LACP: Act: tlv:1, tlv-len:20, key:0x1, p-pri:0x8000, p:0x14, p-state:0x3C,s-pri:0xFFFF, s-mac:0011.2026.7300*Aug 20 17:21:51.685: LACP: Part: tlv:2, tlv-len:20, key:0x5, p-pri:0x8000, p:0x42, p-state:0x3D,s-pri:0x8000, s-mac:0014.a93d.4a00*Aug 20 17:21:51.685: LACP: col-tlv:3, col-tlv-len:16, col-max-d:0x8000*Aug 20 17:21:51.685: LACP: term-tlv:0 termr-tlv-len:0*Aug 20 17:21:51.685: LACP: Gi5/0/0 LACP packet received, processing*Aug 20 17:21:51.685: lacp_rx Gi5: during state CURRENT, got event 5(recv_lacpdu)*Aug 20 17:21:59.869: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:21:59.869: LACP: lacp_p(Gi5/0/0) expired*Aug 20 17:21:59.869: lacp_ptx Gi5: during state SLOW_PERIODIC, got event 3(pt_expired)*Aug 20 17:21:59.869: @@@ lacp_ptx Gi5: SLOW_PERIODIC -> PERIODIC_TX*Aug 20 17:21:59.869: LACP: Gi5/0/0 lacp_action_ptx_slow_periodic_exit entered*Aug 20 17:21:59.869: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:22:00.869: LACP: lacp_t(Gi5/0/0) timer stopped*Aug 20 17:22:00.869: LACP: lacp_t(Gi5/0/0) expired*Aug 20 17:22:19.089: LACP :lacp_bugpak: Receive LACP-PDU packet via Gi5/0/0*Aug 20 17:22:19.089: LACP : packet size: 124*Aug 20 17:22:19.089: LACP: pdu: subtype: 1, version: 1*Aug 20 17:22:19.089: LACP: Act: tlv:1, tlv-len:20, key:0x1, p-pri:0x8000, p:0x14, p-state:0x4,s-pri:0xFFFF, s-mac:0011.2026.7300*Aug 20 17:22:19.089: LACP: Part: tlv:2, tlv-len:20, key:0x5, p-pri:0x8000, p:0x42, p-state:0x34,s-pri:0x8000, s-mac:0014.a93d.4a00*Aug 20 17:22:19.089: LACP: col-tlv:3, col-tlv-len:16, col-max-d:0x8000*Aug 20 17:22:19.089: LACP: term-tlv:0 termr-tlv-len:0*Aug 20 17:22:19.089: LACP: Gi5/0/0 LACP packet received, processing*Aug 20 17:22:19.089: lacp_rx Gi5: during state CURRENT, got event 5(recv_lacpdu)*Aug 20 17:22:19.989: LACP: lacp_t(Gi5/0/0) timer stopped*Aug 20 17:22:19.989: LACP: lacp_t(Gi5/0/0) expired*Aug 20 17:22:19.989: LACP: timer lacp_t(Gi5/0/0) started with interval 1000.*Aug 20 17:22:19.989: LACP: lacp_send_lacpdu: (Gi5/0/0) About to send the 110 LACPDU*Aug 20 17:22:19.989: LACP :lacp_bugpak: Send LACP-PDU packet via Gi5/0/0*Aug 20 17:22:19.989: LACP : packet size: 124*Aug 20 17:22:20.957: LACP: lacp_t(Gi5/0/0) timer stopped*Aug 20 17:22:20.957: LACP: lacp_t(Gi5/0/0) expired*Aug 20 17:22:21.205: %LINK-3-UPDOWN: Interface GigabitEthernet5/0/0, changed state to down*Aug 20 17:22:21.205: LACP: lacp_hw_off: Gi5/0/0 is going down*Aug 20 17:22:21.205: LACP: if_down: Gi5/0/0*Aug 20 17:22:21.205: lacp_ptx Gi5: during state SLOW_PERIODIC, got event 0(no_periodic)*Aug 20 17:22:22.089: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel5, changed state to down*Aug 20 17:22:22.153: %C10K_ALARM-6-INFO: CLEAR CRITICAL GigE 5/0/0 Physical Port Link Down*Aug 20 17:22:23.413: LACP: Gi5/0/0 oper-key: 0x0*Aug 20 17:22:23.413: LACP: lacp_hw_on: Gi5/0/0 is coming up*Aug 20 17:22:23.413: lacp_ptx Gi5: during state NO_PERIODIC, got event 0(no_periodic)*Aug 20 17:22:23.413: @@@ lacp_ptx Gi5: NO_PERIODIC -> NO_PERIODIC*Aug 20 17:22:23.413: LACP: Gi5/0/0 lacp_action_ptx_no_periodic entered*Aug 20 17:22:23.413: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:22:24.153: %LINK-3-UPDOWN: Interface GigabitEthernet5/0/0, changed state to up*Aug 20 17:22:24.153: LACP: lacp_hw_on: Gi5/0/0 is coming up*Aug 20 17:22:24.153: lacp_ptx Gi5: during state FAST_PERIODIC, got event 0(no_periodic)*Aug 20 17:22:24.153: @@@ lacp_ptx Gi5: FAST_PERIODIC -> NO_PERIODIC*Aug 20 17:22:24.153: LACP: Gi5/0/0 lacp_action_ptx_fast_periodic_exit entered*Aug 20 17:22:24.153: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:22:24.153: LACP:*Aug 20 17:22:25.021: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:22:25.021: LACP: lacp_p(Gi5/0/0) expired*Aug 20 17:22:25.021: lacp_ptx Gi5: during state FAST_PERIODIC, got event 3(pt_expired)*Aug 20 17:22:25.021: @@@ lacp_ptx Gi5: FAST_PERIODIC -> PERIODIC_TX*Aug 20 17:22:25.021: LACP: Gi5/0/0 lacp_action_ptx_fast_periodic_exit entered*Aug 20 17:22:25.021: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:22:25.917: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:22:25.917: LACP: lacp_p(Gi5/0/0) expired*Aug 20 17:22:25.917: lacp_ptx Gi5: during state FAST_PERIODIC, got event 3(pt_expired)*Aug 20 17:22:25.917: @@@ lacp_ptx Gi5: FAST_PERIODIC -> PERIODIC_TX*Aug 20 17:22:25.917: LACP: Gi5/0/0 lacp_action_ptx_fast_periodic_exit entered*Aug 20 17:22:25.917: LACP: lacp_p(Gi5/0/0) timer stoppedRouter1#The following sample output shows a remote device adding a link:
Router1#*Aug 20 17:23:54.005: LACP: lacp_t(Gi5/0/0) timer stopped*Aug 20 17:23:54.005: LACP: lacp_t(Gi5/0/0) expired*Aug 20 17:23:55.789: %C10K_ALARM-6-INFO: ASSERT CRITICAL GigE 5/0/0 Physical Port Link Down*Aug 20 17:23:56.497: %C10K_ALARM-6-INFO: CLEAR CRITICAL GigE 5/0/0 Physical Port Link Down*Aug 20 17:24:19.085: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:24:19.085: LACP: lacp_p(Gi5/0/0) expired*Aug 20 17:24:19.085: lacp_ptx Gi5: during state SLOW_PERIODIC, got event 3(pt_expired)*Aug 20 17:24:19.085: @@@ lacp_ptx Gi5: SLOW_PERIODIC -> PERIODIC_TX*Aug 20 17:24:19.085: LACP: Gi5/0/0 lacp_action_ptx_slow_periodic_exit entered*Aug 20 17:24:19.085: LACP: lacp_p(Gi5/0/0) timer stopped*Aug 20 17:24:19.957: LACP: lacp_t(Gi5/0/0) timer stopped*Aug 20 17:24:19.957: LACP: lacp_t(Gi5/0/0) expired*Aug 20 17:24:21.073: LACP :lacp_bugpak: Receive LACP-PDU packet via Gi5/0/0*Aug 20 17:24:21.073: LACP : packet size: 124*Aug 20 17:24:21.073: LACP: pdu: subtype: 1, version: 1*Aug 20 17:24:21.073: LACP: Act: tlv:1, tlv-len:20, key:0x1, p-pri:0x8000, p:0x14, p-state:0xC,s-pri:0xFFFF, s-mac:0011.2026.7300*Aug 20 17:24:21.073: LACP: Part: tlv:2, tlv-len:20, key:0x0, p-pri:0x8000, p:0x42, p-state:0x75,s-pri:0x8000, s-mac:0014.a93d.4a00*Aug 20 17:24:21.073: LACP: col-tlv:3, col-tlv-len:16, col-max-d:0x8000*Aug 20 17:24:21.073: LACP: term-tlv:0 termr-tlv-len:0*Aug 20 17:24:21.073: LACP: Gi5/0/0 LACP packet received, processing*Aug 20 17:24:21.073: lacp_rx Gi5: during state DEFAULTED, got event 5(recv_lacpdu)*Aug 20 17:24:21.929: LACP: lacp_t(Gi5/0/0) timer stopped*Aug 20 17:24:21.929: LACP: lacp_t(Gi5/0/0) expired*Aug 20 17:24:21.929: LACP: timer lacp_t(Gi5/0/0) started with interval 1000.*Aug 20 17:24:21.929: LACP: lacp_send_lacpdu: (Gi5/0/0) About to send the 110 LACPDU*Aug 20 17:24:21.929: LACP :lacp_bugpak: Send LACP-PDU packet via Gi5/0/0*Aug 20 17:24:21.929: LACP : packet size: 124*Aug 20 17:24:22.805: LACP: lacp_t(Gi5/0/0) timer stopped*Aug 20 17:24:22.805: LACP: lacp_t(Gi5/0/0) expired*Aug 20 17:24:23.025: LACP: lacp_w(Gi5/0/0) timer stopped*Aug 20 17:24:23.025: LACP: lacp_w(Gi5/0/0) expired*Aug 20 17:24:23.025: lacp_mux Gi5: during state WAITING, got event 4(ready)*Aug 20 17:24:23.025: @@@ lacp_mux Gi5: WAITING -> ATTACHED*Aug 20 17:24:23.921: LACP: lacp_t(Gi5/0/0) timer stopped*Aug 20 17:24:23.921: LACP: lacp_t(Gi5/0/0) expired*Aug 20 17:24:26.025: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel5, changed state to upDisplaying Gigabit EtherChannel Information
To display Gigabit Ethernet port channel information, use the show interfaces port-channel command in user EXEC mode 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 1Port-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 2 describes the significant fields shown in the display.
Configuration Examples for Configuring IEEE 802.3ad Link Bundling
•
Example: Configuring LACP for Gigabit Interfaces
•
Example: Associating a Channel Group with a Port Channel
•
Example: Adding and Removing Interfaces from a Bundle
•
Example: Monitoring LACP Status
•
Example: Displaying Port Channel Interface Information
Example: Configuring LACP for Gigabit Interfaces
The following example shows how to configure Gigabit Ethernet ports 2/0 and 4/0 into port channel 1 with LACP parameters.
Router> enableRouter# configure terminalRouter(config)# lacp system-priority 65535Router(config)# interface port-channel 1Router(config-if)# lacp max-bundle 1Router(config-if)# ip address 10.1.1.1 255.255.255.0Router(config)# interface gigabitethernet 2/0/0Router(config-if)# no ip addressRouter(config-if)# lacp port-priority 100Router(config-if)# channel-group 1 mode passiveRouter(config-if)# exitRouter(config)# interface gigabitethernet 4/0/0Router(config-if)# no ip addressRouter(config-if)# lacp port-priority 200Router(config-if)# channel-group 1 mode passiveRouter(config-if)# endExample: Associating a Channel Group with a Port Channel
This example shows how to configure channel group number 5 and include it in the channel group.
Router1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router1(config)# interface port 5Router1(config-if)#*Aug 20 17:06:14.417: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel5, changed state to down*Aug 20 17:06:25.413: %LINK-3-UPDOWN: Interface Port-channel5, changed state to downRouter1(config-if)#Router1(config-if)# interface gigabitethernet 7/0/0Router1(config-if)# channel-group 5 mode activeRouter1(config-if)#*Aug 20 17:07:43.713: %LINK-3-UPDOWN: Interface GigabitEthernet7/0/0, changed state to down*Aug 20 17:07:44.713: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet7/0/0, changed state to down*Aug 20 17:07:45.093: %C10K_ALARM-6-INFO: ASSERT CRITICAL GigE 7/0/0 Physical Port Link Down*Aug 20 17:07:45.093: %C10K_ALARM-6-INFO: CLEAR CRITICAL GigE 7/0/0 Physical Port Link Down*Aug 20 17:07:47.093: %LINK-3-UPDOWN: Interface GigabitEthernet7/0/0, changed state to up*Aug 20 17:07:48.093: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet7/0/0, changed state to up*Aug 20 17:07:48.957: GigabitEthernet7/0/0 added as member-1 to port-channel5*Aug 20 17:07:51.957: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel5, changed state to upRouter1(config-if)# endRouter1#*Aug 20 17:08:00.933: %SYS-5-CONFIG_I: Configured from console by consoleRouter1# show lacp internalFlags: S - Device is requesting Slow LACPDUsF - Device is requesting Fast LACPDUsA - Device is in Active mode P - Device is in Passive modeChannel group 5LACP port Admin Oper Port PortPort Flags State Priority Key Key Number StateGi7/0/0 SA bndl 32768 0x5 0x5 0x43 0x3DRouter1# show interface port 5Port-channel5 is up, line protocol is upHardware is GEChannel, address is 0014.a93d.4aa8 (bia 0000.0000.0000)MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setKeepalive set (10 sec)ARP type: ARPA, ARP Timeout 04:00:00No. of active members in this channel: 1Member 0 : GigabitEthernet7/0/0 , Full-duplex, 1000Mb/sLast input 00:00:05, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0Interface Port-channel5 queueing strategy: PXF First-In-First-OutOutput queue 0/8192, 0 drops; input queue 0/75, 0 drops5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec0 packets input, 0 bytes, 0 no bufferReceived 0 broadcasts (0 IP multicasts)0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored0 watchdog, 0 multicast, 0 pause input9 packets output, 924 bytes, 0 underruns0 output errors, 0 collisions, 0 interface resets0 babbles, 0 late collision, 0 deferred0 lost carrier, 0 no carrier, 0 PAUSE output0 output buffer failures, 0 output buffers swapped outRouter1#Example: Adding and Removing Interfaces from a Bundle
The following example shows how to add an interface to a bundle:
Router1#Router1# show lacp internalFlags: S - Device is requesting Slow LACPDUsF - Device is requesting Fast LACPDUsA - Device is in Active mode P - Device is in Passive modeChannel group 5LACP port Admin Oper Port PortPort Flags State Priority Key Key Number StateGi7/0/0 SA bndl 32768 0x5 0x5 0x43 0x3DRouter1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router1(config)# interface gigabitethernet 5/0/0Router1(config-if)# channel-group 5 mode activeRouter1(config-if)#*Aug 20 17:10:19.057: %LINK-3-UPDOWN: Interface GigabitEthernet5/0/0, changed state to down*Aug 20 17:10:19.469: %C10K_ALARM-6-INFO: ASSERT CRITICAL GigE 5/0/0 Physical Port Link Down*Aug 20 17:10:19.473: %C10K_ALARM-6-INFO: CLEAR CRITICAL GigE 5/0/0 Physical Port Link Down*Aug 20 17:10:21.473: %LINK-3-UPDOWN: Interface GigabitEthernet5/0/0, changed state to up*Aug 20 17:10:21.473: GigabitEthernet7/0/0 taken out of port-channel5*Aug 20 17:10:23.413: GigabitEthernet5/0/0 added as member-1 to port-channel5*Aug 20 17:10:23.473: %LINK-3-UPDOWN: Interface Port-channel5, changed state to upRouter1(config-if)# endRouter1#*Aug 20 17:10:27.653: %SYS-5-CONFIG_I: Configured from console by console*Aug 20 17:11:40.717: GigabitEthernet7/0/0 added as member-2 to port-channel5Router1# show lacp internalFlags: S - Device is requesting Slow LACPDUsF - Device is requesting Fast LACPDUsA - Device is in Active mode P - Device is in Passive modeChannel group 5LACP port Admin Oper Port PortPort Flags State Priority Key Key Number StateGi7/0/0 SA bndl 32768 0x5 0x5 0x43 0x3DGi5/0/0 SA bndl 32768 0x5 0x5 0x42 0x3DRouter1#Router1# show interface port 5Port-channel5 is up, line protocol is upHardware is GEChannel, address is 0014.a93d.4aa8 (bia 0000.0000.0000)MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec,reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setKeepalive set (10 sec)ARP type: ARPA, ARP Timeout 04:00:00No. of active members in this channel: 2Member 0 : GigabitEthernet5/0/0 , Full-duplex, 1000Mb/s <---- added to port channel bundleMember 1 : GigabitEthernet7/0/0 , Full-duplex, 1000Mb/sLast input 00:00:00, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/150/0/0 (size/max/drops/flushes); Total output drops: 0Interface Port-channel5 queueing strategy: PXF First-In-First-OutOutput queue 0/8192, 0 drops; input queue 0/150, 0 drops5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec0 packets input, 0 bytes, 0 no bufferReceived 0 broadcasts (0 IP multicasts)0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored0 watchdog, 0 multicast, 0 pause input104 packets output, 8544 bytes, 0 underruns0 output errors, 0 collisions, 0 interface resets0 babbles, 0 late collision, 0 deferred0 lost carrier, 0 no carrier, 0 PAUSE output0 output buffer failures, 0 output buffers swapped outRouter1#The following example shows how to remove an interface from a bundle:
Router1#Router1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router1(config)# interface gigabitethernet 7/0/0Router1(config-if)# no channel-group 5 mode activeRouter1(config-if)#*Aug 20 17:15:49.433: GigabitEthernet7/0/0 taken out of port-channel5*Aug 20 17:15:49.557: %C10K_ALARM-6-INFO: ASSERT CRITICAL GigE 5/0/0 Physical Port Link Down*Aug 20 17:15:50.161: %C10K_ALARM-6-INFO: CLEAR CRITICAL GigE 5/0/0 Physical Port Link Down*Aug 20 17:15:51.433: %LINK-3-UPDOWN: Interface GigabitEthernet7/0/0, changed state to down*Aug 20 17:15:52.433: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet7/0/0, changed state to downRouter1(config-if)# endRouter1#*Aug 20 17:15:58.209: %SYS-5-CONFIG_I: Configured from console by consoleRouter1#*Aug 20 17:15:59.257: %C10K_ALARM-6-INFO: ASSERT CRITICAL GigE 7/0/0 Physical Port Link Down*Aug 20 17:15:59.257: %C10K_ALARM-6-INFO: CLEAR CRITICAL GigE 7/0/0 Physical Port Link DownRouter1#*Aug 20 17:16:01.257: %LINK-3-UPDOWN: Interface GigabitEthernet7/0/0, changed state to up*Aug 20 17:16:02.257: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet7/0/0, changed state to upRouter1# show lacp internalFlags: S - Device is requesting Slow LACPDUsF - Device is requesting Fast LACPDUsA - Device is in Active mode P - Device is in Passive modeChannel group 5LACP port Admin Oper Port PortPort Flags State Priority Key Key Number StateGi5/0/0 SA bndl 32768 0x5 0x5 0x42 0x3DRouter1#Example: Monitoring LACP Status
The following example shows LACP activity that you can monitor by using the show lacp command.
Router1# show lacp internalFlags: S - Device is requesting Slow LACPDUsF - Device is requesting Fast LACPDUsA - Device is in Active mode P - Device is in Passive modeChannel group 5LACP port Admin Oper Port PortPort Flags State Priority Key Key Number StateGi5/0/0 SA bndl 32768 0x5 0x5 0x42 0x3DRouter1# show lacp 5 countersLACPDUs Marker Marker Response LACPDUsPort Sent Recv Sent Recv Sent Recv Pkts Err---------------------------------------------------------------------Channel group: 5Gi5/0/0 21 18 0 0 0 0 0Router1# show lacp 5 internalFlags: S - Device is requesting Slow LACPDUsF - Device is requesting Fast LACPDUsA - Device is in Active mode P - Device is in Passive modeChannel group 5LACP port Admin Oper Port PortPort Flags State Priority Key Key Number StateGi5/0/0 SA bndl 32768 0x5 0x5 0x42 0x3DRouter1# show lacp 5 neighborFlags: S - Device is requesting Slow LACPDUsF - Device is requesting Fast LACPDUsA - Device is in Active mode P - Device is in Passive modeChannel group 5 neighborsPartner's information:Partner Partner LACP Partner Partner Partner Partner PartnerPort Flags State Port Priority Admin Key Oper Key Port Number Port StateGi5/0/0 SP 32768 0011.2026.7300 11s 0x1 0x14 0x3CRouter1# show lacp countersLACPDUs Marker Marker Response LACPDUsPort Sent Recv Sent Recv Sent Recv Pkts Err---------------------------------------------------------------------Channel group: 5Gi5/0/0 23 20 0 0 0 0 0Router1# show lacp sys-id32768,0014.a93d.4a00Router1#Example: Displaying Port Channel Interface Information
The following example shows how to display the configuration of port channel interface 1.
Router# show interface port-channel 1Port-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
Related Documents
Related Topic Document TitleConfiguring EtherChannels
"Configuring Layer 3 and Layer 2 EtherChannel" chapter of the Catalyst 6500 Release 12.2SXF Software Configuration Guide
LACP commands
LACP commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples
Cisco IOS commands: master list of commands with complete command syntax, command mode, command history, defaults, usage guidelines, and examples
Standards
MIBs
RFCs
RFC TitleNo new or modified RFCs are supported, and support for existing RFCs has not been modified.
—
Technical Assistance
Feature Information for Configuring IEEE 802.3ad Link Bundling
Table 3 lists the features in this module and provides links to specific configuration information.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 3 lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Table 3 Feature Information for Configuring IEEE 802.3ad Link Bundling
Feature Name Releases Feature InformationEtherChannel Min-Links
Cisco IOS XE Release 2.5
The EtherChannel Min-Links feature allows a port channel to be shut down when the number of active links falls below the minimum threshold. Using the lacp min-bundle command, you can configure the minimum threshold.
The following sections provide information about this feature:
•
Setting a Minimum Threshold of Active Links
The following commands were introduced or modified: lacp min-bundle.
IEEE 802.3ad Faster Link Switchover Time
Cisco IOS XE Release 2.5
The IEEE 802.3ad Faster Link Switchover Time feature provides a link failover time of 250 milliseconds or less and a maximum link failover time of 2 seconds. Also, port channels remain in the LINK_UP state to eliminate reconvergence by the Spanning-Tree Protocol.
The following sections provide information about this feature:
The following commands were introduced or modified: lacp fast-switchover.
IEEE 802.3ad Link Aggregation (LACP)
Cisco IOS XE Release 2.4
The IEEE 802.3ad Link Aggregation feature provides a method for aggregating multiple Ethernet links into a single logical channel based on the IEEE 802.3ad standard. In addition, this feature provides a capability to dynamically provision, manage, and monitor various aggregated links and enables interoperability between various Cisco devices and devices of third-party vendors.
In Cisco IOS XE Release 2.4, this feature was implemented on the Cisco ASR1000 Series Router.
The following sections provide information about this feature:
•
How to Configure IEEE 802.3ad Link Bundling
•
Configuration Examples for Configuring IEEE 802.3ad Link Bundling
The following commands were introduced or modified: channel-group (interface), debug lacp, lacp max-bundle, lacp port-priority, lacp system-priority, show lacp.
Link Aggregation Control Protocol (LACP) (802.3ad) for Gigabit Interfaces
Cisco IOS XE Release 2.5
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 four physical links.
The following sections provide information about this feature:
•
LACP for Gigabit Interfaces Configuration Guidelines
•
How to Configure IEEE 802.3ad Link Bundling
•
Configuration Examples for Configuring IEEE 802.3ad Link Bundling
The following commands were introduced or modified: lacp max-bundle.
SSO - LACP
Cisco IOS XE Release 2.5
The SSO - LACP feature supports stateful switchover (SSO), in service software upgrade (ISSU), Cisco nonstop forwarding (NSF), and nonstop routing (NSR) on Gigabit EtherChannel bundles.
The following sections provide information about this feature:
This feature uses no new or modified commands.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned 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. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
© 2009-2011 Cisco Systems, Inc. All rights reserved.
