|
Table Of Contents
EtherChannel Flow-Based
Limited 1:1 RedundancyInformation About EtherChannel Flow-based Limited 1:1 Redundancy
EtherChannel Flow-Based Limited 1:1 Redundancy Functionality
Traffic Flow Balancing on a Per-Port-Channel Basis
Dynamic Mapping of Flows to the Member Links of a Port-channel
How to Configure Flow-Based Load Balancing
Configuring EtherChannel Flow-Based Limited 1:1 Redundancy with Fast-Switchover
Prerequisites for Configuring EtherChannel Flow-Based Limited 1:1 Redundancy
Setting the Switchover Rate with Carrier Delay
Configuration Examples for EtherChannel Flow-based Limited1:1 Redundancy
EtherChannel 1:1 Active Standby: Example
Setting Priority for 1:1 Redundancy Using LACP: Example
EtherChannel Flow-Based
Limited 1:1 Redundancy
First Published: June 30, 2009Last Updated: June 30, 2009EtherChannel flow-based limited 1:1 redundancy provides MAC, or layer 2, traffic protection to avoid higher layer protocols from reacting to single link failures and re-converging. To use EtherChannel flow-based limited 1:1 redundancy, you configure an EtherChannel with two ports (one active and one standby). If the active link goes down, the EtherChannel stays up and the system performs fast switchover to the hot-standby link. Depending on how you have the priorities set, when the failed link becomes operational again, the EtherChannel performs another fast switchover to revert to the original active link. if all port-priorities are the same, it will not revert, but remain on the current active link.
With 1:1 redundancy configured, only one link is active at any given time so all flows are directed over the active link.
Finding Feature Information
For the latest feature information and caveats, see the release notes for your platform and software release.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS 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
•Information About EtherChannel Flow-based Limited 1:1 Redundancy
•How to Configure Flow-Based Load Balancing
•Configuration Examples for EtherChannel Flow-based Limited1:1 Redundancy
•Feature Information for EtherChannel Flow-based Limited 1:1 Redundancy, page 9
Information About EtherChannel Flow-based Limited 1:1 Redundancy
Before configuring EtherChannel Flow-Based Limited 1:1 Redundancy, you should be familiar with the following topics:
EtherChannel Flow-Based Limited 1:1 Redundancy Functionality
Flow-based load balancing allows you to identify different flows of traffic based on the key fields in the data packet. For example, IPv4 source and destination IP addressees can be used to identify a flow. The various data traffic flows are mapped to different member links of a specified port-channel. Once the mapping is configured, the data traffic on that flow is transmitted through the specified member link. The flow mapping is dynamic and can change if there is any change in the state of the member link to which it is assigned. The flow mappings may also change if member links are added to or removed from the EtherChannel. Multiple flows may be mapped to each member link.
EtherChannel flow-based limited 1:1 redundancy provides an EtherChannel configuration with one active link and fast switchover to a hot standby link.
To use EtherChannel flow-based limited 1:1 redundancy, you configure an LACP EtherChannel with two ports (one active and one standby). If the active link goes down, the EtherChannel stays up and the system performs fast switchover to the hot standby link. Depending on how the priorities of the links are set, when the failed link becomes operational again, the EtherChannel performs another fast switchover to revert to the original active link, or to the link with the higher priority.
For EtherChannel flow-based limited 1:1 redundancy to work correctly (especially the fast switchover capability) the feature needs to be enabled at both ends of the link.
•Traffic Flow Balancing on a Per-Port-Channel Basis
•Dynamic Mapping of Flows to the Member Links of a Port-channel
Traffic Flow Balancing on a Per-Port-Channel Basis
All port channels use either VLAN manual load balancing and dynamic flow-based load balancing. If VLAN load balancing is not configured explicitly, the load balancing is flow-based.
Dynamic Mapping of Flows to the Member Links of a Port-channel
Flow-to-member link mappings are managed through buckets. The various defined traffic flows are mapped to the buckets and the buckets are distributed among the member links. The flows mapped to a bucket use the member link to which this bucket is assigned. The ASR1000 forwarding processor receives mapping information and forwards it to be programmed in the QFP, including
•bucket-to-member link mappings
•member link state changes
•additions or removal of member links to and from a port-channel
When a member link goes down or is removed from a port-channel, the buckets associated with that member link are re-distributed among the other active member links. When a member link comes up or is added to a port-channel, some of the buckets associated with other links are assigned to this link.
You can display the bucket-to-member link mapping through show commands. When you display information about the links configured for the 1:1 redundancy, you will see that all buckets are directed to the active link.
How to Configure Flow-Based Load Balancing
Flow-based load balancing has to be enabled globally. If nothing is configured on a port-channel, the load-balancing type configuration is enabled by default at the global level.
This section contains the following tasks:
•Configuring EtherChannel Flow-Based Limited 1:1 Redundancy with Fast-Switchover
•Setting the Switchover Rate with Carrier Delay
Configuring EtherChannel Flow-Based Limited 1:1 Redundancy with Fast-Switchover
The EtherChannel flow-based 1:1 redundancy provides an EtherChannel configuration with one active link and fast switchover to a hot standby link.
To use EtherChannel flow-based 1:1 redundancy, configure an LACP EtherChannel with two ports (one active and one standby). If the active link goes down, the EtherChannel stays up and the system performs fast switchover to the hot-standby link. Depending on the priorities assigned to each link, when the failed link becomes operational again, the EtherChannel performs another fast switchover to revert to the original active link if that link is the one with the higher priority.
You can control which link is the primary active link by setting the port priority on the links used for the redundancy. To prevent the switchover to revert, you can assign both link the same priority.
Prerequisites for Configuring EtherChannel Flow-Based Limited 1:1 Redundancy
To use EtherChannel 1:1 redundancy, especially the fast switchover capability, the feature needs to be enabled at both ends of the link.
The EtherChannel must contain exactly two links, of which only one is active. You may use bundled links. To configure a primary link and enable the EtherChannel to revert to the original link, one link must have a higher port priority than the other and the LACP max-bundle must be set to 1. This configuration results in link 1 being active and link 2 being in hot standby state.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface port-channel number
4. lacp fast-switchover
5. lacp max-bundle 1
6. interface tengigabitethernet number/slot/port
7. channel-group 1 mode active
8. lacp port-priority priority
9. interface tengigabitethernetnumber/slot/port
10. channel-group 1 mode active
11. lacp port-priority priority
12. end
DETAILED STEPS
Setting the Switchover Rate with Carrier Delay
Optionally, you can control the speed of the switchover between the active and standby links by setting the carrier delay on each link. The carrier-delay command controls how long it takes for IOS to propagate the information about the links status to other modules.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface tengigabitethernet type carrier card/port adapter/port numb
4. carrier-delay msec 0-1000
DETAILED STEPS
Troubleshooting Tips
Use these show commands to verify the configuration and to display information about the port channel.
Configuration Examples for EtherChannel Flow-based Limited1:1 Redundancy
This section contains the following examples:
•EtherChannel 1:1 Active Standby: Example
•Setting Priority for 1:1 Redundancy Using LACP: Example
EtherChannel 1:1 Active Standby: Example
This example shows how to configure a port channel for 1:1 link redundancy for equal priority ports so there is no preference for which port is active.
Router# enable
Router# configure terminal
Router(config)# interface port-channel 2
Router(config-if)# ip address 10.1.1.1 255.255.0.0
Router(config-if)# negotiation auto
Router(config-if)# lacp max-bundle 1
Router(config-if)# lacp fast-switchover
Router(config)# interface Tengigabitethernet0/1/0
Router(config-if)# channel-group 2 mode active
Router(config-if)# negotiation auto
Router(config)# interface Tengigabitethernet 2/1/0
Router(config-if)# channel-group 2 mode active
Router(config-if)# negotiation auto
Router(config)# interface GigabitEthernet0/1/6
Router(config-if)# negotiation auto
Router(config-if)#channel-group 19 mode active
Router(config-if)#interface GigabitEthernet0/1/7
Router(config-if)#negotiation auto
Router(config-if)#channel-group 19 mode active
Router(config-if)# interface Port-channel19
Router(config-if)# ip address 10.19.1.1 255.255.255.0
Router(config-if)# no negotiation auto
Router(config-if)# lacp fast-switchover
Router(config-if)# lacp max-bundle 1
Router(config-if)# end
Notice that in the show command display that the priorities are the same value.
Router# show lacp internal
Flags: S - Device is requesting Slow LACPDUsF - Device is requesting Fast LACPDUsA - Device is in Active mode P - Device is in Passive modeChannel group 19LACP port Admin Oper Port PortPort Flags State Priority Key Key Number StateGi0/1/6 SA bndl 32768 0x13 0x13 0x47 0x3DGi0/1/7 FA hot-sby 32768 0x13 0x13 0x48 0x7Setting Priority for 1:1 Redundancy Using LACP: Example
This example shows how to configure an LACP EtherChannel with 1:1 redundancy. GigabitEthernet 0/1/7 is the active link, because it is configured with a lower number which gives it a higher port priority.
Router> enableRouter# configure terminalRouter(config)# interface GigabitEthernet0/1/6Router(config-if)# lacp port-priority 32767Router(config-if)# endRouter(config)#interface GigabitEthernet0/1/7Router(config-if)#lacp fast-switchoverRouter(config-if)#lacp max-bundle 1Router(config-if)#negotiation autoRouter(config-if)#channel-group 19 mode activeIn this show display, notice that the bundled link is set at a higher priority. This will ensure that the bundled link is used as the first active link in the standby configuration.
Router#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 19LACP port Admin Oper Port PortPort Flags State Priority Key Key Number StateGi0/1/6 FA hot-sby 32768 0x13 0x13 0x47 0x7Gi0/1/7 SA bndl 32767 0x13 0x13 0x48 0x3DAdditional References
The following sections provide references related to the <<Feature Name>> feature.
Related Documents
Standards
MIBs
RFCs
Technical Assistance
CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo 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. (0910R)
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 Cisco Systems, Inc. All rights reserved.