Per-Packet Load Balancing



Similar documents
Configuring a Load-Balancing Scheme

Configuring a Load-Balancing Scheme

Enhanced Password Security - Phase I

Configuring a Load-Balancing Scheme

Enhanced Password Security - Phase I

NetFlow Subinterface Support

Troubleshooting Load Balancing Over Parallel Links Using Cisco Express Forwarding

NetFlow Aggregation. Feature Overview. Aggregation Cache Schemes

Flow-Based per Port-Channel Load Balancing

GLBP - Gateway Load Balancing Protocol

NetFlow v9 Export Format

Domain Name System Server Round-Robin Functionality for the Cisco AS5800

Configuring SNMP and using the NetFlow MIB to Monitor NetFlow Data

Firewall Stateful Inspection of ICMP

NetFlow Policy Routing

Sampled NetFlow. Feature Overview. Benefits

Getting Started with Configuring Cisco IOS NetFlow and NetFlow Data Export

Lab Load Balancing Across Multiple Paths

Table of Contents. Cisco How Does Load Balancing Work?

Configuring NetFlow Switching

Cisco Configuring Basic MPLS Using OSPF

MPLS VPN over mgre. Finding Feature Information. Prerequisites for MPLS VPN over mgre

Configuring NetFlow on Cisco IOS XR Software

QoS: Color-Aware Policer

Router Security Audit Logs

BGP Link Bandwidth. Finding Feature Information. Contents

DHCP Server Port-Based Address Allocation

Controlling Access to a Virtual Terminal Line

NetFlow Configuration Guide, Cisco IOS Release 12.4

Using Link Layer Discovery Protocol in Multivendor Networks

This feature was introduced. This feature was integrated in Cisco IOS Release 12.2(11)T.

You can specify IPv4 and IPv6 addresses while performing various tasks in this feature. The resource

NetFlow Configuration Guide, Cisco IOS Release 15M&T

Lab Load Balancing Across Multiple Paths Instructor Version 2500

Virtual Fragmentation Reassembly

Transferring Files Using HTTP or HTTPS

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

Multiprotocol Label Switching Load Balancing

LogLogic Cisco NetFlow Log Configuration Guide

HTTP 1.1 Web Server and Client

Table of Contents. Cisco Mapping Outbound VoIP Calls to Specific Digital Voice Ports

Troubleshooting the Firewall Services Module

Sample Configuration Using the ip nat outside source static

MPLS VPN Route Target Rewrite

Enabling and Monitoring NetFlow on Subinterfaces

BGP Multipath Load Sharing for Both ebgp and ibgp in an MPLS-VPN

Chapter 2 Lab 2-2, EIGRP Load Balancing

L2TP Dial-Out Load Balancing and Redundancy

Image Verification. Finding Feature Information. Restrictions for Image Verification

- Multiprotocol Label Switching -

Supported Platforms. Supported Standards, MIBs, and RFCs. Prerequisites. Related Features and Technologies. Related Documents. Improved Server Access

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

IP SLAs Overview. Finding Feature Information. Information About IP SLAs. IP SLAs Technology Overview

Implementing Object Tracking on Cisco IOS XR Software

Troubleshooting the Firewall Services Module

Lab Configure Syslog on AP

Document ID: Introduction

Configuring NetFlow on Cisco ASR 9000 Series Aggregation Services Router

Configuring IP Load Sharing in AOS Quick Configuration Guide

How To Import Ipv4 From Global To Global On Cisco Vrf.Net (Vf) On A Vf-Net (Virtual Private Network) On Ipv2 (Vfs) On An Ipv3 (Vv

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

How to Configure Cisco 2600 Routers

Unicast Reverse Path Forwarding

Lab Analyzing Network Traffic

Table of Contents. Cisco Configuring a Basic MPLS VPN

Enabling NetFlow and NetFlow Data Export (NDE) on Cisco Catalyst Switches

RADIUS Server Load Balancing

Cisco IOS Flexible NetFlow Command Reference

Constraining IP Multicast in a Switched Ethernet Network

Configuring Auto-QoS

NetFlow Configuration Guide, Cisco IOS Release 12.2SR

Avaya ExpertNet Lite Assessment Tool

Configuring NetFlow. Information About NetFlow. Send document comments to CHAPTER

LogLogic Cisco NetFlow Log Configuration Guide

Configuring Denial of Service Protection

Ethernet Overhead Accounting

Configuring SIP Support for SRTP

Firewall Stateful Inspection of ICMP

2-port STM-1/OC-3 Channelized E1/T1 Line Card for Cisco Series Internet Routers

Connecting to the Firewall Services Module and Managing the Configuration

Configuring the MNLB Forwarding Agent

USB Disable for Cisco ISRs Feature Module

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

Configuring QoS. Understanding QoS CHAPTER

IPv6 for Cisco IOS Software, File 2 of 3: Configuring

Cisco IOS MPLS configuration

How-To Configure NetFlow v5 & v9 on Cisco Routers

Configuring the Content Routing Software

Overview: Load Balancing with the MNLB Feature Set for LocalDirector

Configuring Aggressive Load Balancing

Configuring the Cisco Secure PIX Firewall with a Single Intern

Configuring Static and Dynamic NAT Simultaneously

Configuration Professional: Site to Site IPsec VPN Between Two IOS Routers Configuration Example

Table of Contents. Cisco Configuring IPSec Cisco Secure VPN Client to Central Router Controlling Access

Overview of Network Traffic Analysis

Configuring VoIP Call Setup Monitoring

Table of Contents. Cisco Using the Cisco IOS Firewall to Allow Java Applets From Known Sites while Denying Others

Leased Line Support for Cisco 2600/3600 Series Analog Modems

Lab Configure and Test Advanced Protocol Handling on the Cisco PIX Security Appliance

Firewall Support for SIP

Transcription:

Per-Packet Load Balancing Feature History Release 12.0(19)ST 12.0(21)S 12.0(22)S Modification This feature was introduced on the Cisco 10000 series routers. This feature was introduced on the Cisco 12000 series Internet routers. The Cisco 10000 series is not supported in this release. Support for the Cisco 10000 series was integrated into Cisco IOS Release 12.0(22)S. This feature module describes per-packet load balancing and how to enable it on Cisco routers. This document includes the following sections: Feature Overview, page 1 Supported Platforms, page 3 Supported Standards, MIBs, and RFCs, page 4 Configuration Tasks, page 4 Configuration Examples, page 5 Command Reference, page 6 Glossary, page 8 Feature Overview The Per-Packet Load Balancing feature allows data traffic to be evenly distributed in an IP network over multiple equal-cost connections. Per-packet load balancing uses round-robin techniques to select the output path without basing the choice on the packet content. Load Balancing Load balancing is based on a combination of source and destination packet information; it allows you to optimize resources by distributing traffic over multiple paths for transferring data to a destination. You configure load balancing on outbound interfaces on a per-destination or per-packet basis. 1

Feature Overview Per-Packet Load Balancing Per-Destination and Per-Packet Per-destination load balancing allows the router to distribute packets based on the destination address, and uses multiple paths to achieve load sharing. Packets for a given source-destination host pair are guaranteed to take the same path, even if multiple paths are available. For example, given two paths to the same network, all packets for destination1 on that network go over the first path, all packets for destination2 on that network go over the second path, and so on. Per-destination load balancing is enabled by default when you start the router, and is the preferred load balancing for most situations. Per-packet load balancing allows the router to send successive data packets over paths without regard to individual hosts or user sessions. It uses the round-robin method to determine which path each packet takes to the destination. With per-packet load balancing enabled, the router sends one packet for destination1 over the first path, the second packet for (the same) destination1 over the second path, and so on. Per-packet load balancing ensures balancing over multiple links. Although path utilization with per-packet load balancing is beneficial, packets for a given pair of source-destination hosts might take different paths. This means that per-packet load balancing can introduce reordering of packets. This load balancing method would be inappropriate for certain types of data traffic (such as voice traffic over IP) that depend on packets arriving at the destination in sequence. Use per-packet load balancing to ensure that a path for a single source-destination pair does not get overloaded. If the bulk of data passing through parallel links is for a single pair, per-destination load balancing overloads a single link while other links have very little traffic. Enabling per-packet load balancing allows you to use alternate paths to the same busy destination. Note The Cisco 10000 series and Cisco 12000 series Internet Router are configured by default to perform per-destination load balancing. Implementing Per-Packet Load Balancing On most Cisco IOS platforms, you need to separately configure load balancing for a destination IP prefix on each outgoing interface. Outgoing packets are then forwarded to the specified destination using the load balancing method that you configure. Because of the Cisco 12000 series Internet router s distributed architecture, you configure load balancing on a per line card basis. This means that all traffic passing through the outgoing interfaces of a line card is switched with either per-packet or per-destination load balancing. Benefits Avoid Path Congestion Per-packet load balancing avoids overloading by spreading traffic for a given destination across different network links. Improve Path Utilization Data traffic is balanced over multiple links. 2

Per-Packet Load Balancing Supported Platforms Restrictions Out-of-Sequence Packets Using per-packet load balancing to share the traffic load across available paths to a given destination can cause out-of-sequence packets in a particular data flow. This can result in unsatisfactory data transmission for video and voice streaming. Configuring Load Balancing in the Same Way on All E2 Line Cards You must globally configure load balancing on E2 line cards so that it is performed either in per-destination or per-packet mode. It is not possible (as in other Cisco IOS software-based platforms) to configure some packet prefixes in per-destination mode and others in per-packet mode. Although you could configure one E2 line card in one load balancing mode and all other E2 line cards in the other mode, this would not be practical and would result in a limited use of the router. For this reason, Cisco recommends that you configure load balancing on all E2 line cards in the 12000 Series Internet Router in the same way: either per-packet or per-destination. Related Features and Technologies Cisco Express Forwarding (CEF) Multiprotocol Label Switching (MPLS) NetFlow services Related Documents Cisco IOS Release 12.0 Configuration Fundamentals Configuration Guide Cisco IOS Release 12.0 Configuration Fundamentals Command Reference Cisco Express Forwarding Overview Configuring Cisco Express Forwarding Cisco IOS IP and IP Routing Configuration Guide Supported Platforms Cisco 10000 series Cisco 12000 series Note In the Cisco 12000 series Internet Router, per-packet load balancing is supported only on Engine 0 (E0), Engine 1 (E1), and Engine 2 (E2) line cards. 3

Supported Standards, MIBs, and RFCs Per-Packet Load Balancing Determining Platform Support Through Feature Navigator Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Feature Navigator. Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature. Feature Navigator is a web-based tool that enables you to quickly determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image. To access Feature Navigator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions at http://www.cisco.com/register. Feature Navigator is updated regularly when major Cisco IOS software releases and technology releases occur. For the most current information, go to the Feature Navigator home page at the following URL: http://www.cisco.com/go/fn Supported Standards, MIBs, and RFCs Standards No new or modified standards are supported by this feature. MIBs No new or modified MIBs are supported by this feature. To obtain lists of MIBs supported by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL: http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml RFCs No new or modified RFCs are supported by this feature. Configuration Tasks See the following sections for configuration tasks for the Per-Packet Load Balancing feature. Each task in the list is identified as either required or optional: Enabling Per-Packet Load Balancing (required) Re-enabling Per-Destination Load Balancing (optional) Verifying Per-Packet Load Balancing (required) 4

Per-Packet Load Balancing Configuration Examples Enabling Per-Packet Load Balancing Command Router(config)# hw-module slotnumber ip load-sharing per-packet# Purpose Disables per-destination and enables per-packet load balancing. Re-enabling Per-Destination Load Balancing Command Router(config)# hw-module slotnumber ip load-sharing per-destination Purpose Disables per-packet and re-enables per-destination load balancing. Verifying Per-Packet Load Balancing Enter the show running-config command to verify that per-packet load balancing is configured for a given line card. In the following example, the output line that displays the load balancing configured for the line card in slot 4 is shown in bold. Router# show running-config Current configuration : 1308 bytes version 12.0 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption hostname cisco12000 enable password lab monitor event-trace eeprom stacktrace hw-module slot 4 ip load-sharing per-packet hw-module slot 1 ip multicast warp hw-module slot 7 ip multicast warp Configuration Examples This section provides an example of how to enable per-packet load balancing for the line card in slot 1 and then re-enable per-destination load balancing for the same line card: Router(config)# hw-module slot1 ip load-sharing per-packet Router(config)# hw-module slot1 ip load-sharing per-destination 5

Command Reference Per-Packet Load Balancing Command Reference This section documents the new hw-module slot ip load-sharing per-packet command. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command reference publications. 6

Per-Packet Load Balancing hw-module slot ip load-sharing per-packet hw-module slot ip load-sharing per-packet To enable per-packet load balancing on a line card, use the hw-module slot ip load-sharing per-packet command in configuration mode. To disable per-packet load balancing, use the no form of this command. hw-module slotnumber ip load-sharing per-packet no hw-module slotnumber ip load-sharing per-packet Syntax Description number Slot number of the line card to be configured for per-packet load balancing. Defaults No default behavior or values. Command Modes Configuration Command History Release 12.0(19)ST 12.0(21)S 12.0(22)S Modification This command was introduced on Cisco 10000 series routers. This command was introduced on Cisco 12000 series Internet Routers. The Cisco 10000 series is not supported in this release. Support for this command on Cisco 10000 series routers was integrated into Cisco IOS Release 12.0(22)S. Usage Guidelines Use this command to enable the per-packet load balancing on a supported line card. Examples The following example shows how to enable and disable per-packet load balancing on the line card in slot 1: Router(config)# hw-module slot1 ip load-sharing per-packet Router(config)# no hw-module slot1 ip load-sharing per-packet Related Commands Command hw-module slotnumber ip load-sharing per-destination Description Enables per-destination load balancing on the specified line card. 7

Glossary Per-Packet Load Balancing Glossary CEF Cisco Express Forwarding, a high performance IP forwarding path. Forwarding can be done in software or hardware. FP Forwarding processor. IP Internet protocol. path A valid route to reach a destination IP prefix. Specified in terms of a next-hop IP address and output interface. PPLB Per-packet load-balancing. RP Route processor. session A unidirectional end-to-end IP communication between two IP nodes. All packets in the session have the same source and destination address. 8