Professional Documents
Culture Documents
EDCS-728322
BRKIPM-2362
BRKIPM-2362
Cisco Public
Housekeeping
We value your feedback- don't forget to complete your online session evaluations after each session & complete the Overall Conference Evaluation which will be available online from Thursday Visit the World of Solutions Please remember this is a 'non-smoking' venue! Please switch off your mobile phones Please make use of the recycling bins provided Please remember to wear your badge at all times including the Party
BRKIPM-2362
Cisco Public
Agenda
PfR Overview Deployment Performance Conclusion Q and A Backup SlidesTroubleshooting
BRKIPM-2362
Cisco Public
PfR Enhances Internet and WAN Connectivity for Prefixes and Applications by Enabling Performance, Load, and $Cost Routing Policies Or Simply Put, the Ability to Select a Path Based on More Than Just Routing Metrics
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 4
SP A
SP B
SP C
Remote Office
Headquarters
By Default BGP Chooses Best Path Based on Fewest As-Path Hops Bottlenecks
SP D
SP E
Telecommuter
SP B
SP C
Remote Office
MC/BR BR
MC
BR
Bottlenecks
SP D
SP E
MC/BR
Optimize by: Reachability, Delay, Loss, Jitter*, MOS*, Throughput, Load, and/or $Cost
Telecommuter
PfR Components
BRBorder Router MCMaster Controller (decision maker)
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 6
PfR
Applications Private IP (MPLS) Path selection Networkwide
7
Overview
BRKIPM-2362
Cisco Public
MC
Headquarters
BR BR
MPLS ATM FR
BR MC/BR
Remote Office
BR BR
Internet VPN
PfR Components
BRBorder Router (Forwarding Path) MCMaster Controller (Decision Maker)
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
MC/BR
Telecommuter
Reroute Traffic
Component Description
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
BR Internal (LAN) Interfaces ISP1/WAN1
BR MC
ISP2/WAN2
BR
Information Flow
MC controls all operation
Issues commands to BRs Contains traffic class/link data Reports events Reports measurements Makes policy decisions
BR2 MC
Response
BR1
Command
BR responds to MC commands
Sends responses to MC Uses NetFlow, IP SLA, BGP, static, PBR Measures traffic class performance Measures link performance Enforces performance-based routing
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Well-Known
NBAR
Required: Destination Prefix Optional: Src Pfx, Protocol, Ports, DSCP, Application ID
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Delay Loss Reachability Egress BW Ingress BW Delay Reachability Jitter 12.4T MOS 12.4T Loss 12.4(15)T
Active
PfR enables IP SLA feature Probes sourced from BRs icmp probes learned or configured tcp, udp, jitter need ip sla responder
Both mode
Attempts to measure performance passively with NetFlow and only launches IP SLA probes as needed
Fast mode
Probes all path all the time
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
BR
14
PfR Policy
Traffic Class Performance Delay Loss Reachability MOS Jitter Security Sinkhole Blackhole Performance Load balancing Max utilization Link Administrative Link grouping $Cost
Scope
BRKIPM-2362
Cisco Public
15
Select Best Performing Paths Depending on Priority with Variance Remove Paths Which Do Not Have Sufficient Capacity
M
BRKIPM-2362
Cisco Public
16
Serial1
89%
100
30
Serial2
50%
113
30
Serial3
60%
119
32
Serial4
40%
150
20
BRKIPM-2362
Cisco Public
17
A
BGP/Static Redis Route Commands
Master BR1
ISP or MPLS
B
BGP/Static Redis BR2
ISP or MPLS
BRKIPM-2362
Cisco Public
19
A
eBGP Advert
Route Commands
Master
BR1
ISP or MPLS
B
ISP or MPLS
Modifying eBGP
Prepend AS hop(s) Append BGP downgrade community
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Headquarters
Remote Office
Telecommuter
BRKIPM-2362
Cisco Public
21
Cisco 6500***
12.2(33)SXH
Cisco 7600
12.2(33)SRB
*Announced/reached end-of-sale (EoS) **Cisco 7301 with fixed NPE-G1 also supports PfR ***Only BR function supported, no support for MC
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 22
BRKIPM-2362
Cisco Public
23
Agenda
PfR Overview Deployment Performance Conclusion Q and A Backup SlidesTroubleshooting
BRKIPM-2362
Cisco Public
24
Design Questions
1. Do I have redundant WAN connections?
Internet, IPSEC/GRE, MPLS, ATM, Frame Relay Configure as PfR external interfaces
Design Questions
5. What policy is important?
Exit performance Delay, loss, reachability, throughput Jitter, MOS Entrance performance12.4T Delay, loss, reachability, throughput Load distribution Cost minimization ($cost) Primary/backup link groups Path discovery (for troubleshooting) Security 12.4T Default priority is performance then load
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Design Questions
6. Determine interesting traffic class by:
Configure prefix Configure application Configure full ACL Learn interesting prefixes Learn interesting traffic classes Learn eBGP advertised prefixes (inbound optimization) Learn application
Solution Topologies
1. SOHO/Broadband 2. Remote Office
ISP1/WAN1
BR MC/BR MC/BR
ISP2/WAN2
3. Headquarters/Content/Hosting/Data Centers
ISP1/WAN1
BR MC BR
ISP2/WAN2
SOHO/Broadband Deployment
1. Cable and DSL WAN interfaces
Eth8/0OER Internal Eth9/0OER External Ser12/0OER External
Ser12/0 DSL
SOHO/Broadband Configuration
key chain key1 key 1 key-string oer oer master logging mode route control max prefix total 100
interface Ethernet8/0 internal interface Ethernet9/0 external Limit Cable and max-xmit-utilization absolute 1000 DSL Throughput interface Ser12/0 external max-xmit-utilization absolute 300 learn Learn Delay and throughput Throughput delay Prefixes Every Minute monitor-period 1 periodic-interval 0 oer border logging local Ethernet8/0 master 10.10.10.1 key-chain key1 interface Ethernet8/0 ip address 10.10.10.1 255.255.255.0 interface Ethernet 9/0 load-interval 30 interface Serial 12/0 load-interval 30
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
Eth8/0
MC/BR
Ser12/0 DSL
30
ISPA ISP1
ISPD
Internet
ISPB ISP2 ISPC ISPF ISPE ISPG
Internet voice Application hosting DNS Online music Online video BRBorder Router, MCMaster Controller
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 31
2. Cisco 7200 and Cisco 3800 are typical BR/MC with BR terminating WAN connections 3. BGP routing
BRs must be iBGP peers Default routing -orPartial routes -orFull routes
MC 10.1.1.1
Choose Best Exit Regardless of In or Out of Policy
BR 10.10.10.2 BR 10.10.10.3
oer master logging mode route control mode select-exit best backoff 90 3000 300 periodic 600
oer border logging local loopback 1 master 10.10.10.1 key-chain key1 interface ser12/0 load-interval 30 interface ser13/0 load-interval 30
border 10.1.1.2 key-chain key1 interface Ethernet8/0 internal interface Serial12/0 external interface Serial13/0 external border 10.1.1.3 key-chain key1 interface Ethernet 8/0 internal interface Serial12/0 external interface Serial13/0 external learn throughput delay monitor-period 1 periodic-interval 0 prefixes 500 expire after time 240
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
IM Web E-Mail
Learn 500 Prefixes Delete Prefix if Not Relearned in 240 Minutes
MC
BR
BR
33
IM Web E-Mail
Link OOP if :% util > Lowest + 50 % util > 90
MC
BR
MC 10.1.1.1
BR
BRKIPM-2362
Cisco Public
34
100
10,000$
MC 10.1.1.1
75%
40
8000$
No OER
4000$
10,000$
cost-minimization end day-of-month 31 interface Serial13/0 external cost-minimization fixed fee 3000 border 10.1.1.3 interface Serial12/0 external cost-minimization fixed fee 3000 interface Serial13/0 external cost-minimization fixed fee 3000
75%
8000$
OER
4000$
Fixed Tiered
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 35
Enterprise
BR MC
ISP1
Internet
BR/CE
ISP2
Telecommuter
MPLS
Headquarters
BR MC BR
BR
2.
Remote Office
PfR Integration with EIGRP Coming in 12.5(P13)T. Until That Time, We Must Use This Workaround.
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 38
BRKIPM-2362
Cisco Public
39
Tunnel0 Tunnel1
Telecommuter
MC/BR
Internet
Tunnel0
MC/BR
Remote Office
Tunnel0
BR/CE
Tunnel0
Internet
Remote Office
Headquarters
BR MC
Serial1
Tunnel2
BR/CE
MC/BR
Serial3
MPLS VPN
BR/CE
Tunnel0
BR1 MC BR2
Remote Office
MC/BR
Serial0
MPLS
BR/CE
Serial0
oer-map MAP 10 match oer learn list REM_OFC set mode monitor fast set unreachable threshold 5 set active-probe echo 10.1.1.1 set active-probe echo 10.1.1.2 set probe frequency 2 set resolve range priority 1
Oer master max-range-utilization percent 10 learn list sequence 10 refname REM_OFC traffic-class prefix-list REM_OFC_LIST throughput Ip prefix-lst REM_OFC_LIST permit 10.1.0.0/16 Ip prefix-lst REM_OFC_LIST deny 0.0.0.0/0
Headquarters
BR MC BR/CE
ISP1
Tunnel0
Remote Office
Internet
Tunnel1 ISP2 Tunnel1
MC/BR
BR/CE
Jitter 5 ms
better
Or
UDP port range ip access-list extended VOICE-LIST permit udp any 10.1.1.0 0.0.0.255 range x y
Tunnel0
Remote Office
Internet
2
MC/BR
Tunnel1
Tunnel1
BR/CE
BRKIPM-2362
Cisco Public
45
Headquarters
Tunnel0
1
BR
Internet
Tunnel1
2
Telnet or ssh
Tunnel0
Other
Tunnel1
Configure Policy
oer-map MAP 10 match oer learn list BRANCH_APPL set delay threshold 100 set resolve delay priority 1 variance 5
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
oer-map MAP 20 match oer learn list BRANCH_PFX set delay threshold 400 set resolve utilization priority 1 variance 5
46
BR
BRKIPM-2362
Cisco Public
47
Apply Policy
oer master policy-rules SECURITY oer-map SECURITY 10 match ip address prefix-list BLACKHOLE set interface Null0 oer-map SECURITY 40 match ip address access-list SINKHOLE set next-hop 10.10.10.4
BRKIPM-2362
Cisco Public
49
Existing flow continues on same exit; no sessions are dropped New flow goes out via new exit Avoids problems if ISP is performing RPF checking
Web
CSS11500
MC/BR ISP2
ISP1
BR ISP2 MC
BRKIPM-2362
Cisco Public
50
Single IP
interface virtual-template 1 ip nat inside source route-map isp-1 interface Virtual-Template1 overload oer
Se1/0ISP1
Single IP
IP Pool
ip nat pool ISP-2 <min-ip-addr> <max-ip-addr> prefix-length <len> ip nat inside source route-map isp-2 pool ISP-2 oer
ISP1
10.1.0.0
MC/BR ISP2
Eth3/0
Se2/0ISP2
IP Pool
BRKIPM-2362
Cisco Public
51
Security Considerations
Deploy MC behind firewall Separate private VLAN for MC and BR Private addressing for MC and BR communication No routing on MC
no ip routing no router IM Web E-Mail
MC BR BR
PfR MC Redundancy
What if MC goes down?
Routing defaults to normal as if PfR was not configured
ISP1
IM Web E-Mail
MC
BR
ISP2
BR
53
PfR MC Redundancy
Stateless redundancy using HSRP
On Border Configure HSRP Group IP as MC IP
oer border master 10.1.1.100 key-chain oer
ISP1
IM Web
BR
BR
E-Mail
MC Active MC Standby
Agenda
PfR Overview Deployment Performance Conclusion Q and A Backup SlidesTroubleshooting
BRKIPM-2362
Cisco Public
55
System Total10 Border Routers/2500 Prefixes OER Process10 Border Routers/2500 Prefixes System Total10 Border Routers/5000 Prefixes OER Process10 Border Routers/5000 Prefixes
PfR BR Learning-Enabled
12.3(11)T CPU Usage Cisco IOS Border Router
12.3(11)T CPU Usage Cisco IOS Border Router Active + Learning Mode Enabled (2500 Prefixes)
8 7 6 1min % CPU 5 4 3 2 1 0 0 5 10 15 20 25 30 35 40 45 50 55 Time (Minutes)
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 57
2 Border Routers/1000 Prefixes 2 Border Routers/2500 Prefixes 2 Border Routers/5000 Prefixes 10 Border Routers/1000 Prefixes 10 Border Routers/2500 Prefixes 10 Border Routers/5000 Prefixes
4:1
3:1
5:1
2:1000
2:2000
2:5000
3:1000
3:2000
3:3000
3:4000
4:1000
4:3000
4:4000
4:5000
5:1000
5:2000
5:3000
5:4000
5:5000
2:3000
3:5000
4:2000
X:Y
60 Min.
58
BRKIPM-2362
Cisco Public
BR
18%MC
9% IPSLA 5% BR
*12.4(15)T image
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
BRKIPM-2362
Cisco Public
61
Deployment Suggestions
Agenda
OER Overview Deployment Troubleshooting Performance Conclusion Q and A
BRKIPM-2362
Cisco Public
63
Conclusions
PfR routes around soft errors
Blackouts Brownouts Congestion
MPLS ATM FR
Internet
ISPB ISPC ISPF
$ cost management
OER saves $ on usage based pricing links
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
$$$$$$$
64
Agenda
PfR Overview Deployment Performance Conclusion References Q and A Backup SlidesTroubleshooting
BRKIPM-2362
Cisco Public
65
Technical References
PfR CCO
www.cisco.com/go/PfR/
Q and A
BRKIPM-2362
Cisco Public
67
BRKIPM-2362
Cisco Public
68
Recommended Reading
BRKIPM-2362
Recommended Reading
BRKIPM-2362 Continue your Cisco Live learning experience with further reading from Cisco Press Check the Recommended Reading flyer for suggested books
BRKIPM-2362
Cisco Public
71
BRKIPM-2362
Cisco Public
72
Done or In Progress
MC/BR
Ser12/0 DSL
73
BRKIPM-2362
Cisco Public
3 100.0.0.2 20 0 -------------------------------------------------------------------------------Path for Prefix: 100.1.1.0/24 Target: 100.1.1.1 Exit ID: 2, Border: 10.10.10.1 External Interface: Se12/0 Status: DONE, How Recent: 00:05:44 minutes old Hop Host Time(ms) AS 1 2 3 30.30.30.2 60.60.60.4 100.0.0.2 12 16 32 0 0 0
Ser12/0 DSL
74
BRKIPM-2362
Cisco Public
Eth9/0 Cable
Eth8/0
MC/BR
Ser12/0 DSL
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 75
Troubleshooting
1. Verify master to border connection 2. Verify master is operational 3. Verify internal/external interfaces operational 4. Verify traffic class learning 5. Verify traffic class monitoring 6. Verify traffic class control 7. Investigate traffic class history
Eth8/0
MC/BR
Eth9/0 Cable
Ser12/0 DSL
Key chain not configured or misconfigured OER border local interface IP address and master IP address mismatch OER border master IP address not reachable or not master CEF not configured
BRBorder Router, MCMaster Controller
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 77
Ser12/0 DSL
sh oer master border detail | i Down Se12/0 EXTERNAL Admin Down Se12/0 1544 300
0 Admin Down
Ser12/0 DSL
00:10:32
Ser12/0 DSL External Interface --------Se12/0 Et9/0 Capacity (kbps) -------1544 10000 Max BW (kbps) -----300 300 1000 1000 BW Used Load Status (kbps) (%) ------- ------- -----120 7 UP 78 3 Egress 338 3 UP Ingress 150 1 Exit Id -----4 2
Ser12/0 DSL
Eth9/0 Cable
Ser12/0 DSL
Learning running on BR
sh oer border pass cache learn traffic-class
OER Learn Cache: State is enabled Measurement type: throughput and delay, Duration: 1 min Aggregation type: prefix-length, Prefix length: 24 4096 oer-flows per chunk, 12 chunks allocated, 32 max chunks, 1 allocated records, 49151 free records, 5767680 bytes allocated DstPrefix Pkts Host1 Appl_ID Dscp Prot B/Pk Host2 SrcPort Delay Host3 DstPort SrcPrefix Samples Host4
Eth8/0
MC/BR
Ser12/0 DSL
Active Host5
dport1 dport2 dport3 dport4 dport5 ------------------------------------------------------------------------------10.1.15.0/24 telnet defa N N N 0.0.0.0/0 38 49 0 0 72.7 10.1.15.2 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 1005 0 0 0 0 10.1.15.0/24 84 10.1.15.2 1006 N defa 634 0.0.0.0 0 N 0 0.0.0.0 0 N N N 0 0.0.0.0 0
45.2 0.0.0.0 0
Eth8/0
MC/BR
Ser12/0 DSL
Appl_ID Dscp Prot SrcPort DstPort SrcPrefix Flags State Time CurrBR CurrI/F Protocol PasSDly PasLDly PasSUn PasLUn PasSLos PasLLos EBw IBw ActSDly ActLDly ActSUn ActLUn ActSJit ActPMOS ----------------------------------------------------------------------------10.1.15.0/24 telnet defa N N N 0.0.0.0/0 INPOLICY 0 10.1.1.2 Et2/0 PBR 22 22 0 0 1749 1395 1 1 U U 0 0 N N 10.1.15.0/24 14 U N defa INPOLICY* 13 0 12 0 N 0 0 0 N N 0.0.0.0/0 10.1.1.2 Et2/0 0 0 14 N N
U 1
Passive monitoring on BR
show oer border passive cache traffic-class OER Passive Prefix Cache, State: enabled, 278544 bytes
Appl_ID Dscp Prot SrcPort DstPort SrcPrefix Nexthop SrcIf DstIf Active Flows sDl #Dly Pkts B/Pk PktLos #UnRch -----------------------------------------------------------------------------10.1.15.0/24 N defa N N N 0.0.0.0/0 10.1.7.2 Et0/0 Et2/0 56.3 30 0 0 150 620 0 0 10.1.15.0/24 16 telnet defa 10.1.7.2 0 0 N 27 N Et0/0 49 N 0.0.0.0/0 Et2/0 1
DstPrefix
30.4 0
Appl_ID Dscp Prot SrcPort DstPort SrcPrefix Flags State Time CurrBR CurrI/F Protocol PasSDly PasLDly PasSUn PasLUn PasSLos PasLLos EBw IBw ActSDly ActLDly ActSUn ActLUn ActSJit ActPMOS ----------------------------------------------------------------------------10.1.15.0/24 telnet defa N N N 0.0.0.0/0 INPOLICY 0 10.1.1.2 Et2/0 PBR 22 22 0 0 1749 1395 1 1 U U 0 0 N N 10.1.15.0/24 14 U N defa INPOLICY 13 0 12 0 N 0 0 0 N N 0.0.0.0/0 10.1.1.2 Et2/0 0 0 14 N N
BGP 1
Eth8/0
MC/BR
show oer border routes bgp BGP table version is 88, local router ID is 10.1.4.1
Ser12/0 DSL
Status codes: s suppressed, d damped, h history, * valid, > best, i internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete OER Flags: C - Controlled, X - Excluded, E - Exact, N - Non-exact, I Injected
OER CE
Eth8/0
MC/BR
Ser12/0 DSL
show route-map dynamic route-map OER-02/21/06-04:27:44.419-1-OER, permit, sequence 0, identifier 1706070788 Match clauses: ip address (access-lists): oer#1 Set clauses: interface Ethernet2/0 External Interface ip next-hop 10.1.4.2 Policy routing matches: 0 packets, 0 bytes Current active dynamic routemaps = 1
Eth8/0
MC/BR
Ser12/0 DSL
*Apr 26 22:58:20.919: %OER_MC-5-NOTICE: Discovered Exit for prefix 10.1.15.0/24, BR 10.10.10.1, i/f Et9/0 *Apr 26 23:03:14.987: %OER_MC-5-NOTICE: Route changed 10.1.15.0/24, BR 10.10.10.1, i/f Se12/0, Reason Delay, OOP Reason Timer Expired *Apr 26 23:09:18.911: %OER_MC-5-NOTICE: Passive REL Loss OOP 10.1.15.0/24, loss 133, BR 10.10.10.1, i/f Se12/0, relative loss 23, prev BR Unknown i/f Unknown *Apr 26 23:10:51.123: %OER_MC-5-NOTICE: Route changed Appl 10.1.15.0/24 telnet, BR 10.10.10.1, i/f Et9/0, Reason Delay, OOP Reason Loss *Apr 26 23:19:18.919: %OER_MC-5-NOTICE: Passive REL Loss OOP 10.1.15.0/24, loss 138, BR 10.10.10.1, i/f Et9/0, relative loss 66, prev BR Unknown i/f Unknown BRBorder Router, MCMaster Controller
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 88
Eth8/0
MC/BR
Ser12/0 DSL
Most recent data per exit Border *10.10.10.1 10.10.10.1 Interface Et9/0 Se12/0 PasSDly 0 0 PasLDly 16 0 ActSDly 35 38 ActLDly 35 38
Latest Active Stats on Current Exit: Type echo Target 100.1.1.1 TPort Attem Comps N 2 2 DSum 88 Min 40 Max 48 Dly 44
clear oer master traffic-class prefix 10.1.15.0/24 This will remove learned prefixes
Ser12/0 DSL
No Probes Responding Most recent data per exit Border *10.10.10.1 10.10.10.1
BRKIPM-2362
PasSDly 0 0
PasLDly 0 0
ActSDly 0 0
ActLDly 0 0
90
Target is turned off, disabled Target does not respond to echo probes
Try configuring
tcp-conn
or
udp-echo
probes
Ser12/0 DSL
91
No TCP traffic
Passive delay, loss, and reachability rely on TCP traffic
Ser12/0 DSL
BRKIPM-2362 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 92
BRKIPM-2362
Cisco Public
93