Beruflich Dokumente
Kultur Dokumente
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version
of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
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.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://
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. (1110R)
Preface Preface v
Audience v
Document Conventions v
Documentation Feedback vi
Obtaining Documentation and Submitting a Service Request vii
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 iii
Contents
Failaction Reassignment 11
Failaction Reassignment Without a Standby Node 11
Failaction Reassignment with a Standby Node 11
No Failaction Reassignment 12
No Failaction Reassignment with a Probe Configured 12
No Failaction Reassignment without a Probe Configured 12
Licensing Requirements for ITD 12
Prerequisites for ITD 12
Guidelines and Limitations for ITD 12
Configuring ITD 13
Enabling ITD 13
Configuring a Device Group 13
Configuring an ITD Service 14
Verifying the ITD Configuration 16
Warnings and Error Messages for ITD 21
Configuration Examples for ITD 22
Related Documents for ITD 23
Standards for ITD 23
Feature History for ITD 23
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
iv OL-32044-01
Preface
This preface describes the audience, organization and conventions of the Cisco Nexus 7000 Series NX-OS
Intelligent Traffic Director Configuration Guide. It also provides information on how to obtain related
documentation.
• Audience, page v
• Document Conventions, page v
• Documentation Feedback, page vi
• Obtaining Documentation and Submitting a Service Request, page vii
Audience
This publication is for network administrators who configure and maintain Cisco Nexus devices.
Document Conventions
Command descriptions use the following conventions:
Convention Description
bold Bold text indicates the commands and keywords that you enter literally
as shown.
Italic Italic text indicates arguments for which the user supplies the values.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 v
Preface
Documentation Feedback
Convention Description
[x {y | z}] Nested set of square brackets or braces indicate optional or required
choices within optional or required elements. Braces and a vertical bar
within square brackets indicate a required choice within an optional
element.
variable Indicates a variable for which you supply values, in context where italics
cannot be used.
string A nonquoted set of characters. Do not use quotation marks around the
string or the string will include the quotation marks.
Convention Description
screen font Terminal sessions and information the switch displays are in screen font.
boldface screen font Information you must enter is in boldface screen font.
italic screen font Arguments for which you supply values are in italic screen font.
Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the
manual.
Caution Means reader be careful. In this situation, you might do something that could result in equipment damage
or loss of data.
Documentation Feedback
To provide technical feedback on this document, or to report an error or omission, please send your comments
to one of the following:
We appreciate your feedback.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
vi OL-32044-01
Preface
Obtaining Documentation and Submitting a Service Request
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 vii
Preface
Obtaining Documentation and Submitting a Service Request
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
viii OL-32044-01
CHAPTER 1
New and Changed Information
• New and Changed Information, page 1
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 1
New and Changed Information
New and Changed Information
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
2 OL-32044-01
CHAPTER 2
Configuring ITD
This chapter describes how to configure Intelligent Traffic Director (ITD) on the Cisco NX-OS device.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 3
Configuring ITD
ITD Feature Overview
integrates Layer 2 and Layer 3 switching with Layer 4 to Layer 7 applications for scale and capacity expansion
to serve high-bandwidth applications.
ITD provides adaptive load balancing to distribute traffic to an application cluster. With this feature on the
Cisco Nexus 7000 Series switch, you can deploy servers and appliances from any vendor without a network
or topology upgrade.
Benefits of ITD
ITD on the Cisco NX-OS switch enables the following:
• Horizontal scale—groups N servers for linear scaling and capacity expansion.
• Health monitoring of servers.
• Automatic failure detection of links and/or servers.
• Automatic traffic redistribution in case of a failure.
• Hot standby support of N+1 redundancy, with M standby.
• Complete transparency to the end devices.
• No manual configuration or intervention required if a link or server fails.
• The use of heterogeneous types of servers and devices.
• Large number of servers supported.
• Simplified provisioning and ease of deployment.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
4 OL-32044-01
Configuring ITD
Scalability of ITD
• No certification, integration, or qualification needed between the devices and the Cisco NX-OS switch.
• The feature does not add any load to the supervisor CPU.
• ITD uses orders of magnitude less hardware TCAM resources than WCCP.
• Handles unlimited number of flows.
Scalability of ITD
The following table shows the scalability for this feature.
Parameter Limit
Maximum number of nodes per ITD device group 256
Maximum number of ITD services per Nexus 7000 Series switch. 8 x maximum number of VDCs
Maximum number of probes per Nexus 7000 Series switch. 500 x maximum number of VDCs
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 5
Configuring ITD
Deployment Modes
Deployment Modes
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
6 OL-32044-01
Configuring ITD
Deployment Modes
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 7
Configuring ITD
Device Groups
• A DST-IP load balancing scheme for the ITD service on the ingress interface for traffic entering inside
the network from servers.
Note You need to configure ITD service similarly on each Cisco NX-OS 7000 Series switch. The ITD service
configuration needs to be done manually on each switch.
Device Groups
The ITD feature supports device groups. When you configure a device group you can specify the following:
• The device group's cluster nodes
• The device group's probe
Note You can map one device group to one ITD service.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
8 OL-32044-01
Configuring ITD
Load Balancing
Load Balancing
The ITD feature enables you to configure specific load-balancing options by using the loadbalance command.
The optional keywords for the loadbalance command are as follows:
• buckets—Specifies the number of buckets to create. Buckets must be configured in powers of two. One
or more buckets are mapped to a node in the cluster. If you configure more buckets than the number of
nodes, the buckets are applied in round robin fashion across all the nodes.
• mask-position— Specifies the mask position of the load balancing. This keyword is useful when a
packet classification has to be made based on specific octets or bits of an IP addresses. By default the
system uses the last octet or least significant bits (LSBs) for bucketing. If you prefer to use nondefault
bits/octets, you can use the mask-position keyword to provide the starting point at which bits the traffic
classification is to be made. For example, you can start at the 8th bit for the second octet and the 16th
bit for the third octet of an IP address.
Hot Standby
ITD supports N+1 redundancy where M cluster nodes can act as standby nodes for N active cluster nodes.
When an active node fails, ITD looks for an operational standby node and selects the first available standby
node to replace the failed node. ITD reconfigures the switch to redirect the traffic segment that was originally
headed toward the failed node to the newly active node. The service does not impose any fixed mapping of
standby nodes to active nodes.
When the failed node becomes operational again, it is reinstated as an active node and traffic from the acting
standby node is redirected back to the original node and the standby node reverts to the pool of standby nodes.
When multiple nodes fail, traffic destined to all failed nodes gets redirected to the first available standby node.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 9
Configuring ITD
System Health Monitoring
With health monitoring, the following critical errors are detected and remedied:
• ITD service is shut/no shut or deleted.
• Switch reboot.
• Supervisor switchover.
• In-service software upgrade (ISSU).
• ITD service node failure.
• Ingress interface is down.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
10 OL-32044-01
Configuring ITD
Failaction Reassignment
Failaction Reassignment
Failaction for ITD enables traffic on the failed nodes to be reassigned to the first available active node. Once
the failed node comes back, it automatically resumes serving the connections. The failaction command enables
this feature.
When the node is down, the traffic or ACL associated with the node is reassigned to the first active node
found in the configured set of nodes. If the newly reassigned node also fails, traffic is reassigned to the next
available active node. Once the failed node becomes active again, traffic is diverted back to the new node and
resumes serving connections.
Note You must configure probe under an ITD device group, before enabling the failaction feature.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 11
Configuring ITD
Licensing Requirements for ITD
No Failaction Reassignment
When failaction node reassignment is not configured, there are two possible scenarios:
• Scenario 1: Probe configured; and:
◦with standby configured; or
◦without standby configured.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
12 OL-32044-01
Configuring ITD
Configuring ITD
Configuring ITD
After the servers are physically connected, the interfaces can be configured on the switch. The server can be
connected to the switch through a routed interface or port-channel.
Enabling ITD
Before You Begin
You must enable the ITD feature before you can configure ITD.
Note Before you configure feature itd you must enter the feature pbr and feature ipsla commands.
SUMMARY STEPS
DETAILED STEPS
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 13
Configuring ITD
Configuring an ITD Service
SUMMARY STEPS
DETAILED STEPS
Step 2 switch(config)# itd device-group name Creates an ITD device group and enters into device group
configuration mode.
Step 3 switch(config-device-group)# node ip ipv4-address Specifies the cluster nodes for ITD. Repeat this step to specify all
[mode hot-standby] cluster nodes.
To configure IPv6 cluster nodes, use the node ipv6 ipv6-address
[mode hot-standby].
Note An ITD device group can have either IPv4 or IPv6 nodes,
but not both.
Step 4 switch(config-device-group)# probe {icmp | tcp Configures the cluster group service probe.
port port-number | udp port port-number} You can specify the following protocols as the probe for the ITD
[frequency seconds] [retry-count number] service:
[timeout seconds]
• ICMP
• TCP
• UDP
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
14 OL-32044-01
Configuring ITD
Configuring an ITD Service
SUMMARY STEPS
DETAILED STEPS
Step 2 switch(config)# itd service-name Configures an ITD service and enters into ITD configuration mode.
Step 3 switch(config-itd)# device-group Adds an existing device group to the ITD service. The device-group-name
device-group-name specifies the name of the device group. You can enter up to 32
alphanumeric characters.
Step 4 switch(config-itd)# ingress interface Adds an ingress interface or multiple interfaces to an ITD service.
interface
• Use a comma (“,”) to separate multiple interfaces.
• Use a hyphen (“-”) to separate a range of interfaces.
Step 5 switch(config-itd)# loadbalance [buckets Configures the load-balancing options for the ITD service. The optional
bucket-number] [mask-position position] keywords are as follows:
[method {src-ip | dst-ip}]
• buckets—Specifies the number of buckets to create. Buckets must
be configured in powers of two.
• mask-position— Specifies the mask position of the loadbalance.
• method—Specifies the source IP address or destination IP address
based load/traffic distribution.
Step 6 switch(config-itd)# virtual ip ipv4-address Configures the virtual IPv4 address of the ITD service.
ipv4-network-mask [tcp | udp Note To configure an IPv6 virtual address, use the virtual ipv6
{port-number | any}] [advertise {enable ipv6-address ipv6-network-mask | ipv6-prefix/length} [ip | tcp
| disable}] {port-number | any} | udp {port-number | any}] [advertise
{enable | disable}]
The advertise enable keywords specify that the virtual IP route is
advertised to neighboring devices.
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 15
Configuring ITD
Verifying the ITD Configuration
Step 7 switch(config-itd)# failaction node Enables traffic to be reassigned, following a node failure. The traffic to
reassign the failed node gets reassigned to the first available active node.
Command Purpose
show itd [itd-name] [brief] Displays the status and configuration for all or
specified ITD instances.
• Use the itd-name argument to display the status
and configuration for the specific instance.
• Use the brief keyword to display summary
status and configuration information.
show itd statistics [itd-name] [brief] Displays the statistics for ITD instances.
• Use the itd-name argument to display statistics
for the specific instance.
• Use the brief keyword to display summary
information.
Device Group
--------------------------------------------------
IPV6_SERVER_FARM
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
16 OL-32044-01
Configuring ITD
Verifying the ITD Configuration
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_0
WEB-SERVERS_itd_acl_5
WEB-SERVERS_itd_acl_10
WEB-SERVERS_itd_acl_15
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_1
WEB-SERVERS_itd_acl_6
WEB-SERVERS_itd_acl_11
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_2
WEB-SERVERS_itd_acl_7
WEB-SERVERS_itd_acl_12
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_3
WEB-SERVERS_itd_acl_8
WEB-SERVERS_itd_acl_13
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_4
WEB-SERVERS_itd_acl_9
WEB-SERVERS_itd_acl_14
IP Access List
---------------------------------------------------------------------------
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 17
Configuring ITD
Verifying the ITD Configuration
IP Access List
---------------------------------------------------------------------------
Device Group
--------------------------------------------------
IPV4_SERVER_FARM
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_0
WEB-SERVERS_itd_acl_5
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_1
WEB-SERVERS_itd_acl_6
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_2
WEB-SERVERS_itd_acl_7
IP Access List
---------------------------------------------------------------------------
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_3
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
18 OL-32044-01
Configuring ITD
Verifying the ITD Configuration
IP Access List
---------------------------------------------------------------------------
WEB-SERVERS_itd_acl_4
IP Access List
---------------------------------------------------------------------------
Device Group
--------------------------------------------------
IPV6_SERVER_FARM
Device Group
--------------------------------------------------
IPV4_SERVER_FARM
Service Name
--------------------------------------------------------------------
WEB-SERVERS
Device Group
--------------------------------------------------------------------
IPV6_SERVER_FARM
Node IP Packets
----------------------------------------------------- ------------
1 100:100::100:100 1563
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 19
Configuring ITD
Verifying the ITD Configuration
Node IP Packets
----------------------------------------------------- ------------
2 200:200::200:200 1200
Node IP Packets
----------------------------------------------------- ------------
3 300:300::300:300 1200
Node IP Packets
----------------------------------------------------- ------------
4 500:500::500:500 1200
Node IP Packets
----------------------------------------------------- ------------
5 600:600::600:600 1201
Node IP Packets
----------------------------------------------------- ------------
6 700:700::700:700 0
Node IP Packets
----------------------------------------------------- ------------
7 400:400::400:400 0
Service Name
--------------------------------------------------------------------
WEB-SERVERS
Device Group
--------------------------------------------------------------------
IPV4_SERVER_FARM
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
20 OL-32044-01
Configuring ITD
Warnings and Error Messages for ITD
Node IP Packets
----------------------------------------------------- ------------
1 10.10.10.10 110
Node IP Packets
----------------------------------------------------- ------------
2 20.20.20.20 101
Node IP Packets
----------------------------------------------------- ------------
3 30.30.30.30 92
Node IP Packets
----------------------------------------------------- ------------
4 40.40.40.40 0
Node IP Packets
----------------------------------------------------- ------------
5 50.50.50.50 32
Node IP Packets
----------------------------------------------------- ------------
6 60.60.60.60 32
Node IP Packets
----------------------------------------------------- ------------
7 70.70.70.70 0
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 21
Configuring ITD
Configuration Examples for ITD
When you try to change or remove a device group, probe, or ingress interface after the IDT service is enabled,
one of these messages is displayed:
Probe configuration is not allowed, service is enabled
Ingress interface configuration is not allowed, service is enabled
Node configuration is not allowed, service is enabled
If the ITD service is already enabled or disabled, one of these messages is displayed:
In service already enabled case
In service already disabled case
When you try to change the failaction configuration after the ITD service is enabled:
Failaction configuration is not allowed, service is enabled.
This example shows how to configure an RACL with ITD. The user-defined RACL, test, is displayed:
switch(config-itd)# show ip access-lists test
Below is the ITD configuration that has the ingress interface as Eth4/15
itd demo
device-group dg
virtual ip 11.22.33.44 255.255.255.255 tcp any
virtual ip 11.22.33.55 255.255.0.0
virtual ip 11.22.33.66 255.255.255.255 tcp any
ingress interface Eth4/15
no shut
Here we see both the route-map created by ITD and the RACL are both part of the same physical interface
Eth4/15:
interface Ethernet4/15
ip access-group test in
ip policy route-map demo_itd_routemap
no shutdown
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
22 OL-32044-01
Configuring ITD
Related Documents for ITD
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 23
Configuring ITD
Feature History for ITD
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
24 OL-32044-01
INDEX
C H
configuration examples 22 hot standby 9
ITD 22 ITD 9
configuring a device group 13
ITD 13
configuring an ITD service 14
ITD 14
I
information about 3
ITD 3
D ITD 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 21, 22, 23
benefits 4
device groups 8 configuration examples 22
ITD 8 configuring a device group 13
configuring an ITD service 14
device groups 8
enabling 13
E error messages 21
enabling 13 failaction 11
ITD 13 feature history 23
error messages 21 feature overview 4
ITD 21 guidelines and limitations 12
hot standby 9
information about 3
licensing requirements 12
F load-balancing 9
failaction 11, 12 monitor cluster node 10
ITD 11 multiple ingress interfaces 9
no failaction reassignment 12 one-arm deployment 6
reassignment with standby node 11 one-arm deployment with VDC 7
reassignment without standby node 11 prerequisites 12
without failaction reassignment 12 RACL 9
feature history 23 related documents 23
ITD 23 sandwich deployment 7
scalability 5
server load-balancing deployment 8
standards 23
G system health 10
verifying 16
guidelines and limitations 12
ITD 12
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
OL-32044-01 IN-1
Index
L R
licensing requirements 12 RACL 9
ITD 12 ITD 9
load-balancing 9 related documents 23
ITD 9 ITD 23
M S
monitor cluster modes 10 sandwich deployment 7
ITD 10 ITD 7
multiple ingress interfaces 9 scalability 5
ITD 9 ITD 5
server load-balancing deployment 8
ITD 8
standards 23
O ITD 23
one-arm deployment 6 system health monitoring 10
ITD 6 ITD 10
one-arm deployment with VDC 7
ITD 7
V
verifying 16
P ITD 16
prerequisities 12
ITD 12
Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Configuration Guide, Release 6.x
IN-2 OL-32044-01