Skip Links

Network World

Brad Reese

How to setup a Cisco IP SLA TCP connect operation

By Brad Reese on Fri, 05/23/08 - 4:29pm.
Newsletter Signup

Cisco How-To Tutorials

In this blog, we will outline what is involved when creating an IP SLA ICMP Echo monitor on Cisco routers.

We will also discuss how to create IP SLA reports through SNMP using an typical SNMP trending tool.

Why setup an IP SLA TCP connect operation?

This exercise is useful when trying to baseline the performance of a specific port carrying a specified DiffServ codepoint over a WAN link.

An SNMP trend can be created which helps administrators understand how an application may perform.

What is The IP SLA TCP connect operation?

The IP SLA TCP Connect operation measures the response time taken to perform a TCP Connect operation between a Cisco router and devices using IP.

TCP is a transport layer (Layer 4) internet protocol that provides reliable full-duplex data transmission.

The destination device can be any device using IP.

ICMP Echo response times can be measured between Cisco routers by enabling the IP SLA Responder.

Using another Cisco router is not required.

Skip to the "IP TCPConnect Monitor # Availability Verification" section destination is not a Cisco Router.

IOS Version Warning

Some IOS versions support IP SLA operations with slightly different navigation or methods of creation although the overall methods for creating IP SLA operations are the same.

The administrator may need to use the "?" command to apply the correct commands for that IOS.

Setting up the IP SLA Responder

In order for a successful implementation of the IP SLA TCP connection operation using another Cisco router as the destination, the destination router needs to be configured to respond to the router initiating the request to be able to generate the values necessary for performance trending.

Enable IP SLA Responder:

Router (config)# ip sla monitor responder

Enabling Specific Responders:

It may be necessary to provide a specific destination IP address, port number and/or other details for the responder to work with firewalls.

Router (config)# ip sla monitor responder type ipaddress port <1-65535>

Verification of Responder Status:

Once the responder has been configured, the administrator should verify that the responder is currently enabled.

Router (config)# exit

Router# show ip sla monitor responder

Responder Config

View more details on responder configuration


Steps to configure TCP Connect IP SLA

IP SLA TCP Connect Monitor # Availability Verification:

The administrator should first verify that there are no other IP SLA Monitors that exist with the same number scheduled to be used.

The IOS will not allow the user to overwrite an existing IP SLA Monitor.

Existing IP SLA Monitors can be viewed by entering the following command:

Router# show ip sla monitor configuration

Create Monitor:

Once the administrator has identified an available monitor number for the IP SLA Monitor the administrator can continue with the creation of the TCP Connect IP SLA Monitor.

Enter config mode and proceed with the following steps.

Router (config)# ip sla monitor < 1-2147483647 >

Specify Type:

Once the monitor has been created, specify what type of monitor that should be used along with the required configuration options.

Below is an example of how to setup a typical TCP Connect IP SLA Operation.

Router(config-sla-monitor)# type tcpconnect dest-ipaddr dest-port <1-65535>

Specify Tag:

It is necessary to add the line below as it will be picked up by the SNMP measuring tool and used as the description of what this IP SLA operation is.

Router (config-sla-monitor-tcp)# tag

Specify Frequency:

The frequency of this monitor should be 300 seconds or less.

Giving this monitor a smaller time value is acceptable; keeping in mind that increased frequency will create more overhead for the router.

A frequency of 300 seconds will produce statistics in the SNMP measurement tool.

Router(config-sla-monitor-tcp)# frequency <1-604800>

Specify Owner:

The administrator of this IP SLA Monitor should specify the contact responsible for the configuration.

This is done by adding the owner config line.

Router (config-sla-monitor-jitter)# owner

Specify Type of Service:

This line defines a type of service (ToS) byte in the IP header of an IP SLA operation.

IP SLA Monitors emulate and keep statistics on traffic that is identical to the type of traffic the administrator needs to monitor.

If the administrator needs to measure traffic in a specific QoS queue, the ToS value associated with that queue should be specified.

If the ToS is not specified, the TCP Connect operation will not include a QoS tag in the packet.

The chart below is useful in determining which Diffserv or decimal to use for the ToS config line.

DiffServ Codepoints

Router (config-sla-monitor-tcp)# tos <0-255>

Enabling the IP SLA TCP Connect Monitor:

The next step is to exit configuration mode and return to exec mode in order to start the IP SLA operation.

Router(config-sla-monitor-tcp)# exit

Schedule the Monitor to Start:

Once the monitor configuration has been completed, it must be enabled.

There are many variations on how to schedule IP SLA Monitors.

For the purpose of creating dependable reports, the administrator should start the monitor upon completion and keep it running permanently or until it is no longer needed.

Router (config)# ip sla monitor schedule <1-2147483647> start-time now life forever

Verification of IP SLA TCP Connection Operation Configuration:

Once the IP SLA Monitor has been started, it will generate statistics on the first transaction between the source and destination.

The administrator may run statistics on the new IP SLA Monitor by running:

Router# show ip sla monitor configuration statistics <1-2147483647>

RTT Display

A successful implementation will result in the latest round trip time (RTT) being displayed.

The number of successes and failures will also be displayed.

If the monitor fails to connect, the administrator will see a number greater than zero in the failures line, and the cause of the problem will be displayed.

It will be necessary to review the configuration or check network issues that may be blocking the connection.

Router#show ip sla monitor configuration <1-2147483647>

Editing or Removing an IP SLA Monitor:

If the administrator finds a problem with the monitor or would like to make a change in the monitor, the monitor must then be removed and recreated by repeating the process.

To remove an IP SLA Monitor, the command below may be used:

Router (config)# no ip sla monitor <1-2147483647>

Troubleshooting IP SLAs:

If problems persist, try verifying firewall configurations, access lists, or other networking issues that may be interfering in the process.

The administrator should also make sure that the current IOS version supports these IP SLA Operations.

Create IP SLA Reports with Denika Performance Trender

Once the IP SLA Monitor has been successfully created and scheduled, the administrator can create IP SLA Performance Reports like the ones above with the Denika SNMP Performance Trender.

Steps to create reports in Denika SNMP Performance Trender:

1. Download the free version at www.plixer.com
2. Install Denika on a Windows server
3. Log in to the web interface
4. Click on the discovery button in the Admin Tools Tab
5. Click on the Single Device button
6. Enter the IP Address and the SNMP Community string for the router currently being configured for SLA Reporting.

If the community string is not public the administrator may simply create a credential with the correct community string.

7. Click on the View First button and select the reports to be created.

Follow the instructions on the screen if the reports options wanted are not listed.

8. Wait 10-15 minutes for the trends to show up and celebrate.
Michael Patterson"Scrutinizer Netflow Analyzer and Denika SNMP Performance Trender both have a 3rd party integration feature so that integrating between the two or with any other network management application with a web interface is fast and simple," said Michael Patterson - CEO – Plixer International.

"Plixer recommends having the integration between Denika and Scrutinizer enabled."

If you would like assistance creating Reports in Denika, feel free to contact Plixer directly.

View Cisco documentation on IP SLA TCP connect and other IP SLA operations.


View more Cisco How-To Tutorials

Contact Brad Reese
http://www.BradReese.Com

Brad's Top 5 Story Picks
# 1. Something very big must be brewing over at Cisco mobility
# 2. Brad Reese = Cisco Basher
# 3. Power and cooling: Cisco vs. Enterasys
# 4. Nortel: Calling all CCIEs
# 5. PowerPoint presentation appears to implicate Cisco in China censorship
Story Archives Brad Reese on Cisco Story Archives

Cisco Repair

Cisco VoIP Gateways

Cisco Power Supplies

Cisco Aironet Wireless

  

Wonderful tips, I love this

0

Wonderful tips, I love this so much, if someone don't know how to get all statistics on the new IP SLA Monitor, he can try config viewer for cisco routers, fully support the latest Windows XP and Vista graphical user interfaces, for an easy-to-use experience. Thanks for this howto.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Welcome, visitor. Register Log in
Advertisement:
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished which offers one year warranties on Cisco Refurbished and Cisco Repair.

Contact Brad Reese

Archives
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
1811 expands to 384Mbps of DRAM and 128Mbps of Flash
A UBS analyst is reporting that Cisco's losing market share across the board
A company's monthly network communications cost will be reduced
A government official in possession of a large corporate stockholding while that corporation is subject to administrative rulings by that same government official
Agito adds that its enterprise fixed mobile convergence (eFMC) platform enables low-cost in-building voice coverage
Agito introduced Agito for BlackBerry
Agito's BlackBerry smart phone functionality for Cisco VoIP
Agito's RIM BlackBerry support announcement
An assortment of communications companies
Apple iPhone 3G S
Apple will begin selling its new iPhone 3G S
Applying a Mask of 11111111.11111111.11111111.0000
Back in April the CCIE Security track changed
Before Cisco CTO Padmasree Warrior was hired by Cisco
Below are two addresses broken out from dotted decimal to binary and then redisplayed with dots separating octet boundaries
Bill Alderson - NetQoS Technology Consulting Officer
Black Hat attack on Cisco's network admission control (NAC)
Boas also led an educational session at the Gartner Security Summit
Boas shares his insight on the most prevalent threats to the enterprise network
Brings enterprise VoIP over WiFi for dual-mode BlackBerry smartphones
Careers
Certified by Cisco-Linksys technicians via Linksys ISO certification procedures
Chairman and CEO of Cisco China - Jim Sherriff
Cisco
Cisco 1811 IOS 12.4 with SDM is the standard for Cisco CCNA – Security Labs
Cisco 1811 is now standard on the Cisco CCIE Security Lab with IOS 12.4T
Cisco Flip Video Camera
Cisco NAC design flaws that the folks at Black Hat so alarmingly described
Cisco has produced a new CCIE count
Cisco has successfully made the market transition to selling refurbished Linksys directly to end users
Cisco is also offering its new home media ensemble
Cisco is celebrating its 25th anniversary this year
Cisco merged the Linksys channel partner program into Cisco's registered partner tier
Cisco only counts your CCIE number once
Cisco registered the shoplinksys.com domain name to sell refurbished Linksys
Cisco released its new worldwide CCIE count
Cisco sales plummeted $1.6 billion (Page 4) and operating income nose-dived $1 billion
Cisco shouldn’t until it works out the kinks
Cisco's executive biographies web page
Compromised the Cisco agent installed on the end system
Confirmation testimony before the U.S. Senate noteworthy
Customer-proven best practices of network access control (NAC)
DSL/Cable with the Cisco 1811 makes sense
Data Center
Desai previously served as Chief Operating Officer of Radware (NASDAQ: RDWR)
Didn’t RIM already support voice over WiFi?
Doesn’t RIM’s Ascendent acquisition give them this?
Dotted decimal addresses that end up falling under a non-octet boundary subnet mask
Dual CCIE #18532 Routing and Switching/Security - George Morton
Dual Cisco CCIE #18532 Security/R&S - George Morton
Dual-mode BlackBerry smartphones
During the first 9 months of Cisco's 2009 fiscal year under Warrior's leadership as CTO
Each eight bits being converted to decimal
Enables BlackBerry to be integrated into corporate PBXs and Unified Communications systems
Enterasys NAC is agent-less assessment based on a network scan
Enterasys security expert Dennis Boas
Enterasys uses multiple criteria beyond end system health assessment to assign and limit access granted to an end system
Enterprise concerns about the financial and management aspects of NAC
Enterprises that have standardized on the BlackBerry platform
FCC requires the old Bell System to report its T1 outage and that the repair needs to be under 4 hours for 95% of all T1 outages
Famous networking industry journalist
Feature allowing entry of a real address mask of your own to test if it is on the same or remote network
Flexible options with Enterasys NAC
HP and Liquid Computing
Half the smartphones in use in the US today are BlackBerry devices
How Cisco was working overtime AGAINST the Buy America provisions of the $7.2B broadband stimulus fund
How LiquidIQ Works
How useful do you find this subnet calculator?
I developed the Subnet Calculator to make learning more demonstrative and fun
I have worked for a handful of telecommunications companies of varying sizes
I voted for President Obama seeking change
In the subnet calculator the binary and the n
Interesting CCIE news from around the world
Internet access at the branch would run faster than traditional T1 services
Is Cisco getting ready to sell its refurbished gear directly to end users too?
Is George Morton on to something here?
It will kill the Cisco Flip video camera
Its been proven that a government official can be bribed with free dinners
Joel Bion - Senior Vice President of Cisco's Product Resiliency Research
LANs / WANs
Larry Strickling is confirmed as the new Administrator of the National Telecommunications and Information Administration (NTIA)
Last month Cisco missed the multiple CCIE numbers
Leaving Warrior with absolutely no future as the CTO of Motorola
Linksys by Cisco Certified Refurbished Product
Linksys by Cisco Wireless Home Audio System
Liquid Computing's definition of unified computing (LiquidIQ) is a flexible
LiquidIQ Business Continuity - Disaster Recovery Made Simple
LiquidIQ Technical Specifications
LiquidIQ Total Software Control - LiquidView Management
LiquidIQ can consolidate functions including web
LiquidIQ is the only UCS system that's listed by VMware to support VSphere
LiquidIQ is the only standards-based unified computing solution that’s in production today with paying customers
LiquidIQ was designed with built-in security
Made by Strickling during his March 19
Manny Rivelo - Senior Vice President of Cisco's Development Organization
Market failures for business class DSL/Cable is unacceptable
May 2009 vs. June 2009 Worldwide CCIE Count Comparison
Mobile features integrated into the BlackBerry
Morton believes with DSL/Cable services having up to 18Mbps of download availability
Morton's design would route all requests over the DMVPN-mGRE
Motorola operating earnings dropped $3.8 billion to a loss of $534 million
Motorola sales had collapsed by more than $4 billion (Page 1)
Multiple pipes with QoS for voice dedicated to one uplink and data services on the second link
My previous government service at the FCC provide me a unique background for the position of Assistant Secretary
NetQoS Subnet Calculator offers a view of every bit in the IP address to help network engineers understand how IP subnetting works
Network Management
Network World's Data Center Derby story acknowledged Liquid's first-mover advantage with its unified data center concept
Network performance management vendor NetQos
Network security vendor Enterasys
Nortel had purchased Alteon for $7.8 billion
Not too many senior executives are around from Cisco's early days
Omitted the years of Cisco service for both John Morgridge and Richard Justice because they are no longer full-time Cisco executives
Only 66% of all applicants who passed were for the CCIE Router and Switch track
Only one CCIE is a member of Cisco's 59 strong senior executive team
Pacific Rim CCIE numbers didn't change over the last 39 days
Pejman Roshan - Chief Marketing Officer of enterprise fixed mobile convergence (eFMC) vendor Agito Networks
Ponemon Institute reported
R & S + Security this year as the most popular dual CCIE track
R & S + Service Provider was 49% of the successful attempts for dual CCIE
RIM offers only data services over WiFi on their dual-mode smartphones
Radware recently purchased Nortel's application delivery business (Alteon) for the cut-rate price of $18 million
Refurbished product are mostly customer returns that meet original factory specifications
Refurbished product sold in the United States
Responsible for Cisco's IOS Software
SMB
Screenshot of the NetQoS Subnet Calculator
Security
Security mechanisms are used to validate the integrity and authenticity of the Enterasys agent for all server/agent communications
She was the CTO of Motorola and dismissed in her blog the introduction of the Apple iPhone
Showed that Stickling owned a large Cisco stock position
So we had 251 new CCIEs
Start by entering your address and mask in the calculator
Subject of Cisco's senior executive team came up
The Federal Reserve has moved from complex Cisco routers with T1 service to Cisco low end routers (ISR 1811) with DSL
The IOS 12.4 track with ISR routers is slowing down the Security CCIE track
The National Telecommunications and Information Administration (NTIA) granted Cisco its coveted Buy American Exception
The average tenure would be of the 61 executives listed on Cisco's Mount Rushmore
The change in the CCIE Security track has had a major impact on new security CCIEs
Until one takes some real addresses and experiments with how the mask affects the address bits
View Cisco's flash promotion for its home media ensemble
View more Cisco Tools
Vik Desai - President and Chief Executive Officer of unified computing infrastructure vendor - Liquid Computing
VoIP / Convergence
Warrior is now repeating her Motorola failure at Cisco
We're also now starting to see the CCIE Wireless track
We've experienced a new low for CCIE Security track
What exactly has Agito Networks announced this week?
What's your take on the implications of the new worldwide Cisco CCIE count?
Why is cellular-only PBX and UC integration incomplete?
Why the Enterasys NAC solution is doing so well
Why the Enterasys NAC solution is in such high demand
Wireless / Mobile
Within 9 months of the Apple iPhone introduction
On The Web
Twitter