Introducción a Performance Routing - cisco.com · ©2008 Cisco Systems, Inc. All rights reserved....
Transcript of Introducción a Performance Routing - cisco.com · ©2008 Cisco Systems, Inc. All rights reserved....
© 2008 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKRST-236114342_04_2008_c1 1
Introducción a Performance Routing
Mayo 14, 2009
Presentador: Ramón Romero
Systems Engineer
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 2BRKRST-236114342_04_2008_c1
Agenda
� Challenge and Solution
� PfR Overview
� Design Considerations
� Product Overview
� Conclusion
� Questions and Answers
� Links
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 3BRKRST-236114342_04_2008_c1
What Is Cisco Performance Routing?
� Performance-based adaptive routing
� Application best path selection
� Network problem mitigation
Cisco Performance Routing (PfR)
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 4BRKRST-236114342_04_2008_c1
Network Performance Challenge
� Network availability
Blackouts
Brownouts
Congestion
� WAN performance
Best path not alwaysbest performing path
� Load distribution
Over and underused links
� Cost management
Need to control or limit transport cost
“The Network Is Up, but Are Applications Working?”
ISPA
ISPB
ISPC
ISPD
ISPFISPG
Internet
$$$$$$$
MPLS
ATM
Frame Relay
ISPE
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 5BRKRST-236114342_04_2008_c1
Application Reachability and Performance
� How to manage application reachability and performance in the network?
� Network availability
Redundant devices: HSRP
Redundant interfaces: NSF, SSO, EOT, EEM
Redundant paths: equal cost routing, MPLS
� Network performance
Shortest hop/hot potato routing (BGP, RIP, etc.)
Least cost routing (OSPF, EIGRP, etc.)
MPLS TE, MTR, queuing, etc.
� Necessary…but not sufficient
� Is application reachable ?
� Is application performing ?
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 6BRKRST-236114342_04_2008_c1
But, Are the Applications Performing Adequately?
Headquarters
Branch Office
Small Office
Two PathsTwo Providers
WAN Availability
Enterprise WAN Challenge
MPLS
ATM
FR
Internet VPN
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 7BRKRST-236114342_04_2008_c1
Internet Availability
But, Is the User Experience a Good One?
Multiple ISPs
Internet Presence Challenge
� Online banking
� E-mail hosting
� Online ticketing
� Instant messaging
� Online catalog
� News/weather
� Internet voice
� Application hosting
� DNS
� Online music
� Online video
ISPA
ISPB
ISPC
ISPD
ISPE
ISPF ISPG
InternetIM
ISP1
ISP2
www.foo.com
Web
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 8BRKRST-236114342_04_2008_c1
Customer Problems
� Soft error detection
Issue
All network destinations are reachable, yet the network is slow
Why?
Could be caused by brownouts, congestion, network device anomaly, service provider
PfR solution
Detect packet loss: report and route-around problem area
Detect excessive delay: report and reroute to lower delay path
Detect black hole routing: report and route around
� Resource utilization
Issue
Under utilized circuits and equipment; management wants to leverage all network facilities
Why?
Minimize impact of failure
Full utilization of expensive network resources; equipment and circuits
PfR solution
Detect multiple links and intelligently distribute the traffic based upon load and/or cost $
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 9BRKRST-236114342_04_2008_c1
Customer Problems
� Application awarenessIssue
My application requires a very responsive network
Why?
The application is very sensitive to delay (Live Multimedia, ERP, SQL, etc.)
PfR solution
Forward different applications/services based upon advanced criteria; delay, jitter, MOS, loss, etc.
� Profile network performanceIssue
A new application is available and we’re not sure the network can accommodate the application performance requirements
Why?
Don’t know the network traffic profile
PfR solution
Audit of the network performance including:
Applications, throughput, links available, and performance
Core Traffic Matrix view
Provide a longer term view of network capability (“future proofing”)
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 10BRKRST-236114342_04_2008_c1
How to Verify Application Performance
� Is destination network reachable?Traditional IP Routing
Performance Routing
� Is application reachable?
� Is application performing?
� Are my network resource fully utilized?
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 11BRKRST-236114342_04_2008_c1
Cisco Performance Routing (PfR)
� Cisco PfR enhances routing in order to select the best path based on user defined policy
� The PfR policy can: minimize cost, efficiently distribute traffic load, and/or select the optimum performing path for applications
� Cisco PfR enables intelligent traffic management that can dynamically route around soft errors in the Enterprise WAN or Internet
� Cisco PfR makes adaptive routing adjustments based on advanced criteria
Response time, packet loss, jitter, mean opinion score (MOS), availability, traffic load, and cost $ policies
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 12BRKRST-236114342_04_2008_c1
Agenda
� Challenge and Solution
� PfR Overview
� Design Considerations
� Product Overview
� Conclusion
� Questions and Answers
� Links
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 13BRKRST-236114342_04_2008_c1
How to Verify Application Performance?
� Is prefix reachable?
Examine routing information
� Is application reachable?
Application bidirectional traffic
� Is application performing?
Round-trip time
One-way delay
Loss
Jitter/MOS
Throughput
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 14BRKRST-236114342_04_2008_c1
What Is It?
� Learn prefixes, e.g., 172.128.0.0/16
� Learn applications, e.g., 172.128.0.0/16 Port 88 DSCP EF
� Learn traffic with highest throughput or delay
� Automatically delete traffic if not relearned
� Repeat the process periodically
� Filter certain kind of traffic to be learned
� Aggregate learned applications on user specified keys
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 15BRKRST-236114342_04_2008_c1
ISP1/WAN1
ISP2/WAN2
PfR Component Descriptions
� Master Controller (MC)
Cisco IOS® software feature
Apply policy, verification, reporting
Standalone or collocated with BR
No routing protocol required
No packet forwarding/inspection required
� Border Router (BR)
Cisco IOS software feature in forwarding router
Learn, measure, enforcement
Uses embedded Cisco IOS technologies
MC
BR
BR
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 16BRKRST-236114342_04_2008_c1
Solution Topologies
Components
� BR: Border Router (forwarding path)
� MC: Master Controller (decision maker)
Branch Office
Headquarters/Data Centers
ISP1/WAN1
ISP2/WAN2
BR
MC/BR
MC/BR
MC
ISP1/WAN1
ISP2/WAN2
BR
BR
Small Office
ISP1
WAN
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 17BRKRST-236114342_04_2008_c1
BR2
Command
Response
Information Flow
� MC controls all operation
Issues commands to BRs
Contains traffic class/link data
Reports events
Reports measurements
Makes policy decisions
� BR responds to MC commands
Sends responses to MC
Uses embedded Cisco IOS technology
Measures traffic class performance
Measures link performance
Enforces performance-based routing
BR1
MC
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 18BRKRST-236114342_04_2008_c1
Learning: How Does It Work?
Write Prefixes To MC Database
MCLearn: Based on Highest Throughput for 10 Minutes, Filter UDP Traffic
1
DB
3
Here Is the List of Highest Throughput Prefixes in the Last 10 Minutes2
BR2
BR1
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 19BRKRST-236114342_04_2008_c1
Specifying PfR Traffic Classes
Required: Destination PrefixOptional: Src Pfx, Protocol, Ports, DSCP, Application ID
10.1.1.0/24 nbar TRP20.1.1.0/24 nbar citrix
Dynamic Recognition
10.1.1.0/24 telnet20.1.0.0/16 ssh
Well-Known
10.1.1.0/24 dscp ef10.1.1.0/24 dst-port 50
ACL
Application
10.0.0.0/820.1.1.0/24
Destination Prefix
ExampleTraffic Class Type
12.4(20)T
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 20BRKRST-236114342_04_2008_c1
Selecting “Best” Traffic Class Path
2015040%Serial4
3211960%Serial3
3011350%Serial2
3010089%Serial1
Jitter (ms)Priority 2
Delay (ms)Priority 1
UtilizationLink
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 21BRKRST-236114342_04_2008_c1
Performance Routing (PfR)Enterprise WAN Design
Branch Office
WAN Access Links Are Biggest End-to-End Bottleneck
Traffic Optimize by: Reachability, Delay, Loss, Jitter,
MOS, Throughput, Load, and/or $Cost
Small Office
Headquarters
BottlenecksMCBR
BR
BR
MC/BR
MC/BRISP A ISP B ISP C
By Default Best Path Based on Lowest Metric, Cost, or Hops
MPLS orPrimary ISP
PfR Components
� BR: Border Router
� MC: Master Controller
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 22BRKRST-236114342_04_2008_c1
Enterprise VPN DeploymentOptimize Voice Traffic
� Voice quality is based upon the Mean Opinion Score (MOS)
� MOS is calculated with jitter, delay, and loss measurements
� Cisco PfR will select the path for voice over IP (VoIP) with highest percentage MOS
Tunnel0
Headquarters
Remote Office
MC/BR
Tunnel1
MOS in Policy 80 Percent of Time
MOS in Policy 95 Percent of Time
BR/CE
BR/CE
BR
MC
Tunnel1
Tunnel0
Internet
ISP1
ISP2
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 23BRKRST-236114342_04_2008_c1
Cisco PfR and Cisco WAAS IntegrationAdaptive WAN-Optimized Network
� Cisco Wide Area Application Services (WAAS) optimizes the TCP session
� Cisco PfR monitors and optimizes WAN path selection
� Cisco WAAS network transparency allows individualized session placement by Cisco PfR over best WAN path
Cisco WAE
Cisco WAE
Client
Branch Office
PfR Master Controller (MC)and Border Router (BR)
Data Center
ServersBR
Cisco WAE
Cisco PfR Domain
Cisco PfR Places SQL Traffic on Best Performing WAN Path
BR
MC
BR
IPSec over Internet
MPLS-VPN
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 24BRKRST-236114342_04_2008_c1
Agenda
� Challenge and Solution
� PfR Overview
� Design Considerations
� Product Overview
� Conclusion
� Questions and Answers
� Links
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 25BRKRST-236114342_04_2008_c1
Design Questions
1. Do I have redundant WAN connections?
Internet, IPSec/GRE, MPLS, ATM, Frame Relay
Configure as PfR external interfaces
2. Which routers terminate the WAN?
These are PfR border routers
3. What routing protocols over WAN?
BGP, static covered by PfR
EIGRP, OSPF requires static route cfg
4. Which router is PfR master controller?
> 5000 prefixes, dedicated 7200 NPE-G2
Up to 5000 prefixes, dedicated 7200 or 3800 MC
For a 100s prefixes, configure MC on BR
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 26BRKRST-236114342_04_2008_c1
Design Questions
5. What policy is important?
Traffic class exit performance
Delay, loss, reachability, throughput
Jitter, MOS
Traffic class entrance performance: 12.4T
Delay, loss, reachability, throughput
External interface load distribution
Cost minimization
Backup
Path discovery
Security
Default priority is performance then load
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 27BRKRST-236114342_04_2008_c1
Design Questions
6. Determine interesting traffic by:
Configure prefix
Configure TCP/UDP port
Configure full ACL (src IP, dst port, src port)
Learn Interesting prefixes
Learn Interesting traffic classes
Learn eBGP advertised prefixes
Learn applications (audio, video, SAP, Citrix, etc.)
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 28BRKRST-236114342_04_2008_c1
Eth9/0 Cable
Eth12/0 DSL
MC/BR
Eth8/0
Given Cable and DSL with NAT Overload
SOHO/Broadband Deployment
1. Cable and DSL WAN interfaces
Eth8/0: PfR internal
Eth9/0: PfR external
Eth12/0: PfR external
2. ISR router terminates WAN
ISR (18xx, 28xx, 38xx,) is PfR BR
3. Static default routing
4. 10 to 100 prefixes
ISR is also MC
12.4
5. Performance is most important
Use PfR default policy
6. Learn throughput to get prefixes
BR: Border Router; MC: Master Controller
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 29BRKRST-236114342_04_2008_c1
Internet Presence Deployment
1. DS3 interfaces
Ser12/0, Ser13/0, etc.
2. 7600, 6500, 7200, 3800 terminates WAN
3. BGP routing
BRs must be iBGP peers
Default routing
Partial routes
Full routes
4. 5000 prefixes
12.4
12.4T for entrance optimization
5. Customers differ on policy priority
6. Learn prefixes by throughput and delay
Same PfR Configuration for All
MC
BR
BR
BR: Border Router; MC: Master Controller
Web
IM
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 30BRKRST-236114342_04_2008_c1
Agenda
� Challenge and Solution
� PfR Overview
� Design Considerations
� Product Overview
� Conclusion
� Questions and Answers
� Links
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 31BRKRST-236114342_04_2008_c1
PfR Typical Scenarios
� Large, medium, and small enterprises with mission-critical Internet presence
� Enterprises with redundant WAN networks
� Enterprises with remote offices
� Home office with dual internet connections
Headquarters
Telecommuter
Remote Office
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 32BRKRST-236114342_04_2008_c1
OER/PfR Cisco IOS Support
� Released in 12.3(8)T (May 17, 2004)
� 12.4
Prefix optimization
� 12.4T
Traffic class optimization
Entrance selection
Voice optimization
Application Routing
� 12.2(33)SRB: 7600
� 12.2(33)SXH: Cisco Catalyst® 6000 Series
MC
BR
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 33BRKRST-236114342_04_2008_c1
Advanced Enterprise Services
Advanced IP Services Enterprise Services
IP Base
Enterprise BaseSP ServicesAdvanced Security
IP Voice
PfR
PfR
PfRPfR
Cisco IOS Packaging: Routers
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 34BRKRST-236114342_04_2008_c1
PfR Platform Support
Cisco 1800 ISR
Cisco 2800 ISR
Cisco 3800 ISR
Cisco 7200, 7301
Cisco Catalyst 6500
Cisco 7600
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 35BRKRST-236114342_04_2008_c1
Agenda
� Challenge and Solution
� PfR Overview
� Design Considerations
� Product Overview
� Conclusion
� Questions and Answers
� Links
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 36BRKRST-236114342_04_2008_c1
Benefits of Cisco Performance Routing
� Performance-aware network
Best path continuously reevaluated based upon network performance data: delay, loss, load, etc.
� Increased application availability
Route around at first sign of (soft error) trouble
� Minimize cost with advanced load balancing
Link usage
Circuit cost
Inbound and outbound Internet presence
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 37BRKRST-236114342_04_2008_c1
Benefits of Cisco Performance Routing
� Troubleshooting
Provides network soft error fault detection
� Ease of provisioning and management
Provisioning of network policies instead of device policies
A network or system view of application performance
� Capacity planning: frequency of policy violations
Can the network maintain adequate performance?
Are links able to meet regular and peak traffic demands?
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 38BRKRST-236114342_04_2008_c1
Agenda
� Challenge and Solution
� PfR Overview
� Design Considerations
� Product Overview
� Conclusion
� Questions and Answers
� Links
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 39BRKRST-236114342_04_2008_c1
Questions and Answers
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 40BRKRST-236114342_04_2008_c1
Agenda
� Challenge and Solution
� PfR Overview
� Deployment
� Design Considerations
� Product Overview
� Conclusion
� Links
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 41BRKRST-236114342_04_2008_c1
More Information
� PfR CCO
www.cisco.com/go/pfr/
� Cisco IOS Software Release 12.3 12.4 12.4T
www.cisco.com/go/release124t/
� Cisco IOS Software Release 12.2(33)SRB, 12.2(33)SXH
www.cisco.com/go/release/
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 41BRKRST-236114342_04_2008_c1
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 42BRKRST-236114342_04_2008_c1