93
1 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public BRKIPM-2362 Deploying Performance Routing (PfR) EDCS-728322 BRKIPM-2362

Cisco Live PfR

Embed Size (px)

Citation preview

Page 1: Cisco Live PfR

1© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Deploying Performance Routing (PfR)

EDCS-728322

BRKIPM-2362

Page 2: Cisco Live PfR

2© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

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

Page 3: Cisco Live PfR

3© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Agenda

� PfR Overview

� Deployment

� Performance

� Conclusion

� Q and A

� Backup Slides—Troubleshooting

Page 4: Cisco Live PfR

4© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

What Is Performance Routing (PfR)?

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

Page 5: Cisco Live PfR

5© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Best Path Selection per Prefix, Two or More Paths

Remote Office

Shortest Path Is Not Always the Best Path in Terms of Performance

Telecommuter

HeadquartersSP A SP B SP C

SP D SP E

By Default BGP Chooses Best Path Based on Fewest

As-Path Hops

WAN Access Links Are Biggest End-to-End Bottleneck

Bottlenecks

Page 6: Cisco Live PfR

6© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR Best Path

PfR Components� BR—Border Router

� MC—Master Controller (decision maker)

Remote Office

Optimize by: Reachability, Delay, Loss, Jitter*, MOS*,

Throughput, Load, and/or $Cost

Telecommuter

Headquarters

MC

SP A SP B SP C

SP D SP E

PfR Path

BR

BR

BR

MC/BR

MC/BR

Bottlenecks

Page 7: Cisco Live PfR

7© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR and OERWhat’s the Difference?

� PfR has a broader technology scope

� PfR will greatly expand application intelligence

� PfR will leverage OER and other Cisco IOS®

technologies to enable adaptive routing throughout the enterprise

OER

� Prefix

� WAN edge

� Network selection

� Exit routing

PfR

� Applications

� Private IP (MPLS)

� Path selection

� Networkwide

Page 8: Cisco Live PfR

8© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Overview

Page 9: Cisco Live PfR

9© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Remote Office

Performance Routing (PfR)

PfR Components� BR—Border Router (Forwarding Path)

� MC—Master Controller (Decision Maker)

Headquarters

Telecommuter

E-Mail

MPLSATMFR

Internet VPN

Reachability, Delay, Loss, Jitter, MOS, Load, $Cost

BR

BR

BR

BR

MC/BR

MC/BR

BR

MC

Exit Selection Criteria

Page 10: Cisco Live PfR

10© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Performance Routing Policy Engine

Learn Applications on the Network

Measure Application Performance

Measure Alternate PathsApply Performance Policies to Measurements

Reroute Traffic

Verify Enforcementand Performance

Page 11: Cisco Live PfR

11© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

ISP1/WAN1

ISP2/WAN2

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

� Border Router (BR)Cisco IOS software feature

in forwarding router

Learn, measure, enforcement

NetFlow collector

Probe source (IP SLA client)

BR

MCBR

BR External (WAN) Interfaces

BR Internal (LAN) Interfaces

Page 12: Cisco Live PfR

12© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

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 NetFlow, IP SLA, BGP, static, PBR

Measures traffic class performance

Measures link performance

Enforces performance-based routing

BR1

MC

Page 13: Cisco Live PfR

13© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR Operates on Traffic Classes

Required: Destination PrefixOptional: Src Pfx, Protocol, Ports, DSCP, Application ID

Type Example

Destination Prefix(Mandatory)

10.0.0.0/8

20.1.1.0/24

Application(Optional)

ACL10.1.1.0/24 dscp ef

10.1.1.0/24 dst-port 50

Well-Known10.1.1.0/24 telnet

20.1.0.0/16 ssh

NBAR10.1.1.0/24 nbar RTP

20.1.1.0/24 nbar citrix

Page 14: Cisco Live PfR

14© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

BR

Delay

Reachability

Jitter 12.4T

MOS 12.4T

Loss 12.4(15)T

Delay

Loss

Reachability

Egress BW

Ingress BW

Measuring Traffic Class Performance

� PassivePfR NetFlow monitoring

of traffic classes

Flows do not need to be on symmetrical paths provided that all exit/entry points are PfR-managed

� ActivePfR enables IP SLA feature

Probes sourced from BRs

icmp probes learned or configured

tcp, udp, jitter need ip sla responder

� Both modeAttempts to measure performance

passively with NetFlow and only launches IP SLA probes as needed

� Fast modeProbes all path all the time

Page 15: Cisco Live PfR

15© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Scope Global or per Policy

PfR Policy

Traffic Class Link

Performance Security Performance Administrative

� Delay

� Loss

� Reachability

� MOS

� Jitter

� Sinkhole

� Blackhole

� Load balancing

� Max utilization

� Link grouping

� $Cost

Page 16: Cisco Live PfR

16© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Selecting “Best” Traffic Class Path

BestPath

Winner?If Tie, Select

Current, Random

Select Best PerformingPaths Depending on

Priority with Variance

Remove Paths Which Do Not Have Sufficient Capacity

M

Page 17: Cisco Live PfR

17© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Selecting “Best” Traffic Class Path

Link Utilization Delay (ms)Priority 1

Jitter (ms)Priority 2

Serial1 89% 100 30

Serial2 50% 113 30

Serial3 60% 119 32

Serial4 40% 150 20

Page 18: Cisco Live PfR

18© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

BR1

BR2

Route Commands

BGP/Static Redis

BGP/Static Redis

Master

� Modifying BGP local preferenceLocal preference must be highest

� Installing a static route at the exitRedistribute static should be configured

A

B

How Best Exit Path Is Enforced

� MC tells BR to insert prefix in BGP or static table

� MC tells BR to insert application/DSCP in policy route

ISP or MPLS

ISP or MPLS

Installing a Dynamic PBR route-map at the ExitDirect Link or GRE Tunnel Between BRs Necessary

Page 19: Cisco Live PfR

19© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

MC

How Best Entrance Path Is Chosen

� Measurements gathered for all entrances

� Measurements applied in priority order

� Identify entrances to downgrade

� Downgrade entrance using BGP advertisement

AS path prepend

Append downgrade BGP community

Page 20: Cisco Live PfR

20© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

BR1

BR2

Route Commands

Master

A

B

How Best Entrance Path Is Enforced

� Needed for inbound load balancing

� MC tells BR to modify eBGP advertisement

ISP or MPLS

ISP or MPLS

eBGP Advert

eBGP Advert

� Modifying eBGPPrepend AS hop(s)

Append BGP downgrade community

Page 21: Cisco Live PfR

21© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR Typical Customers

� 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

Page 22: Cisco Live PfR

22© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Cisco 7200-NPE-G2

Current HighestPerforming PfR

Device**12.4, 12.4T

Cisco 3800 ISR

3640*/3660*/3700*

12.4, 12.4T

Cisco 2800 ISR

2600*12.4, 12.4TCisco

1800 ISR1700*

12.4, 12.4T

Cisco 6500***

12.2(33)SXH

Cisco 760012.2(33)SRB

PfR Platform Support

*Announced/reached end-of-sale (EoS)**Cisco 7301 with fixed NPE-G1 also supports PfR***Only BR function supported, no support for MC

Page 23: Cisco Live PfR

23© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Key Features of Cisco PfRManager by Fluke Networks

� Executive-level reports

� Network health reports

� Fully Web-based

� Reports and alerts on network events

� Historical and trendinggraphical reports

� Troubleshooting analysis

� Easy traffic class and policy configuration

� Technical support 24 hours a day

� Same design as NetFlow and IP SLA monitoring products

Page 24: Cisco Live PfR

24© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Agenda

� PfR Overview

� Deployment

� Performance

� Conclusion

� Q and A

� Backup Slides—Troubleshooting

Page 25: Cisco Live PfR

25© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

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

All others, cfg static with redistribution and filtering

4. Which router is PfR master controller?

Up to 5000 prefixes, dedicated 7200 or 3800 MC

Up to 20K prefixes with NPE-G2

For a few to few hundred prefixes, configure MC on BR

Page 26: Cisco Live PfR

26© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Design Questions

5. What policy is important?

Exit performance

Delay, loss, reachability, throughput

Jitter, MOS

Entrance performance—12.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

Page 27: Cisco Live PfR

27© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

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

7. Are prerequisites for prefix or application control met?

Prefix control—parent route (or default) requirement needs to exist in BGP or static table

Application control—parent route for prefix also required; direct links (or GRE) required between all border routers for dynamic PBR

Page 28: Cisco Live PfR

28© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Solution Topologies

1. SOHO/Broadband 2. Remote Office

3. Headquarters/Content/Hosting/Data Centers

ISP1/WAN1

ISP2/WAN2

BR—Border Router, MC—Master Controller

ISP1/WAN1

ISP2/WAN2

BR

MC/BR

MC

BR

BR

MC/BR

Page 29: Cisco Live PfR

29© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

SOHO/Broadband Deployment

1. Cable and DSL WAN interfacesEth8/0—OER Internal

Eth9/0—OER External

Ser12/0—OER External

2. ISR router terminates WANISR is OER BR

3. Static default routing

4. 10 to 100 traffic classesISR is also MC

12.4

5. Performance is most importantUse OER default policy (performance overload)

6. Learn throughput and delay to get prefixes

Eth9/0 Cable

Ser12/0 DSL

Eth8/0

MC/BR

BR—Border Router, MC—Master Controller

Page 30: Cisco Live PfR

30© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

SOHO/Broadband Configurationkey chain key1

key 1

key-string oer

oer master

logging

mode route control

max prefix total 100

backoff 90 3000 300

border 10.10.10.1 key-chain key1

interface Ethernet8/0 internal

interface Ethernet9/0 external

max-xmit-utilization absolute 1000

interface Ser12/0 external

max-xmit-utilization absolute 300

learn

throughput

delay

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

Limit Cable and DSL Throughput

Enforce Routing Changes

Enable Logging

Authentication Required

MC and BR on Same Router

Eth9/0 Cable

Ser12/0 DSL

Eth8/0

Learn Delay and Throughput

Prefixes Every Minute

MC/BR

Page 31: Cisco Live PfR

31© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Mission-Critical Internet Presence

� Online banking� E-mail hosting

� Online ticketing� Instant messaging� Online catalog

� News/weather ISPA

ISPB

ISPC

ISPD

ISPE

ISPF ISPG

Internet

Web

E-Mail

IM

BR—Border Router, MC—Master Controller

MC

BR

BR

ISP1

ISP2

� Internet voice

� Application hosting� DNS� Online music

� Online video

Page 32: Cisco Live PfR

32© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Internet Presence Deployment

1. DS3 interfacesSer12/0, Ser13/0, etc.

2. Cisco 7200 and Cisco 3800 are typical BR/MC with BR terminating WAN connections

3. BGP routingBRs must be iBGP peersDefault routing -or-

Partial routes -or-Full routes

4. Support of up to 15,000 prefixes (with Cisco 7200-NPE-G2)

12.4T/14.4MEntrance Optimization

5. Customers differ on policy priority6. Learn prefixes by throughput and delay

Same PfR Configuration for All

E-mail

MC

BR

BR

Web

IM

BR—Border Router, MC—Master Controller

Page 33: Cisco Live PfR

33© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Internet Presence ConfigurationDefault Policy: Performance Then Load

key chain key1

key 1

key-string oer

oer master

logging

mode route control

mode select-exit best

backoff 90 3000 300

periodic 600

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

MC 10.1.1.1 key chain key1

key 1

key-string oer

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

BR 10.10.10.2

BR 10.10.10.3

Learn 500 Prefixes

Revaluate Exit10 Minutes

Choose Best ExitRegardless of In or

Out of Policy

Delete Prefix if Not Relearned in 240 Minutes

Web

E-Mail

IM

MC

BR

BR

Page 34: Cisco Live PfR

34© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

oer master

no periodic

resolve utilization priority 1 variance 5

resolve range priority 2

no resolve delay

no resolve loss

max-range-utilization percent 50

border 10.1.1.2

interface Serial12/0 external

max-xmit-utilization percent 90

interface Serial13/0 external

max-xmit-utilization percent 90

border 10.1.1.3

interface Serial12/0 external

max-xmit-utilization percent 90

interface Serial13/0 external

max-xmit-utilization percent 90

Internet Presence ConfigurationOutbound Load Balancing Only

� Add to default policy configuration

MC 10.1.1.1

Disable Periodic Prefix Evaluation

Link OOP if :% util > Lowest

+ 50% util > 90

Web

E-Mail

IM

MC

BR

BR

Page 35: Cisco Live PfR

35© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Internet Presence Configuration$Cost Minimization Only

� Add to default policy configurationoer master

no periodic

resolve cost priority 1

no resolve delay

no resolve utilization

border 10.1.1.2

interface Serial12/0 external

cost-minimization tier 100 fee 10000

cost-minimization tier 75 fee 8000

cost-minimization tier 40 fee 4000

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

MC 10.1.1.1

10,000$

8000$

4000$

Fixed Tiered

75%

40

100

75%

10,000$

8000$

4000$

NoOER

OER

Page 36: Cisco Live PfR

36© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Internet Presence Configuration Inbound Load Balancing

Enterprise

Learning Inside Prefix

BGP Advertisement

oer masterlearninside bgp

oer-map MAP 10match oer learn inside

Configuring Inside Prefixip prefix-list INSIDE permit 10.1.1.0/24oer-map MAP 10

ip address prefix-list INSIDE inside

Choosing Downgrading Method

Oer masterborder 10.1.1.1 key-chain oerinterface ethernet1/0 externaldowngrade bgp community 3:2

AS prepend – No Configuration required BGP Community

MC

BR

BR/CE

ISP1

Internet

ISP2

Page 37: Cisco Live PfR

37© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN Deployment

MPLS

Frame Relay

ATM

Internet

BR—Border Router, MC—Master Controller

Headquarters

MC

BR

BR

Telecommuter

Remote Office

MC/BR

MC/BR

BR

Page 38: Cisco Live PfR

38© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN DeploymentPfR with EIGRP—Static Route Redistribution

1. Configure Default to each external interfaceip route 0.0.0.0 0.0.0.0 eth 9/0 50.50.50.2 tag 10

ip route 0.0.0.0 0.0.0.0 ser12/0 tag 10

ip route 0.0.0.0 0.0.0.0 tunnel0 tag 10

ip route 0.0.0.0 0.0.0.0 tunnel1 tag 10

2. Block redistribution of Defaultrouter eigrp 100

redistribute static route-map block-def

route-map block-def deny 20

match tag 10

route-map block-def permit 30

OER External Interfaces

Remote Office

MC/BR

PfR Integration with EIGRP Coming in 12.5(P13)T. Until That Time, We Must Use This Workaround.

Page 39: Cisco Live PfR

39© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN Deployment PfR with EIGRP

3. Configure PfR learnoer master

learn

throughput

delay

4. Block redistribution of PfR statics over externalsrouter eigrp 100

distribute-list route-map block-oer out eth0/1

distribute-list route-map block-oer out ser12/0

distribute-list route-map block-oer out tunnel0

distribute-list route-map block-oer out tunnel1

route-map block-oer deny 10

match tag 5000

route-map block-oer permit 20Default Tag for

OER Statics

OER External Interfaces

Page 40: Cisco Live PfR

40© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Internet

Enterprise VPN DeploymentDual IPSec/GRE Tunnels

� IPSec over GRE

� DMVPN (at spokes only)

� Tunnels are OER external

� Add to Internet default policy config

Tunnel0

Tunnel1

Tunnel0

Tunnel1

Tunnel0

Tunnel1

Tunnel0

Tunnel0

oer master

border 10.10.10.1

interface Tunnel 0 external

interface Tunnel 1 external

Add to SOHO Cfg

oer master

border 10.1.1.2

interface Tunnel 0 external

interface Tunnel 1 external

border 10.1.1.3

interface Tunnel 0 external

interface Tunnel 1 external

BR—Border Router, MC—Master Controller

Remote Office

Telecommuter

MC/BR

BR/CE

MC/BR

Headquarters

MC

BR/CE

BR

Page 41: Cisco Live PfR

41© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN DeploymentMPLS Primary with IPSec/GRE Backup

� Combines Internet and IPSec/GRE

� Tunnel and MPLS I/F are OER external

� Backup then performance policy

Tunnel0

Tunnel2

Serial1

Serial3

Headquarters

MC

BR/CE

BRRemote

Office

BR/CE

MC/BR

BR—Border Router, MC—Master Controller

Internet

MPLSVPN

Page 42: Cisco Live PfR

42© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN DeploymentMPLS Primary and IPSec/GRE Backup Configurations*

oer master

border 1.1.1.1 key-chain key1

interface Serial1 external

link-group RED

interface Tu0 external

link-group BLUE

interface eth1/1 internal

border 1.1.1.2 key-chain key2

interface Serial3 external

link-group RED

interface Tu2 external

link-group BLUE

interface et3/1 internal

Group Links Specify Link Preferenceoer-map MAP 10match Appl1set delay threshold 100set link-group RED fallback BLUE

oer-map MAP 20match Appl2set link-group BLUE

Tunnel0

Serial1

Tunnel2

Serial3

MC

BR2

BR1

*PfR also supported with ISDN and 3G wireless interfaces

Page 43: Cisco Live PfR

43© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN DeploymentFast Failover and Load Balancing

� Simultaneous probing on all exits

� Quick failover to alternate path within 3 seconds

Headquarters

Oer mastermax-range-utilization percent 10learn

list sequence 10 refname REM_OFCtraffic-class prefix-list REM_OFC_LISTthroughput

Ip prefix-lst REM_OFC_LIST permit 10.1.0.0/16Ip prefix-lst REM_OFC_LIST deny 0.0.0.0/0

Remote Office

BR/CE

MC/BR

oer-map MAP 10match oer learn list REM_OFCset mode monitor fastset unreachable threshold 5set active-probe echo 10.1.1.1set active-probe echo 10.1.1.2set probe frequency 2set resolve range priority 1

Serial0

Serial0

MC

BR/CE

BR

BR—Border Router, MC—Master Controller

MPLS

Page 44: Cisco Live PfR

44© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN DeploymentOptimize Voice Traffic Between Two Sites

� Select exit with least jitter, delay, and loss

BR—Border Router, MC—Master Controller

Tunnel0

Tunnel0HeadquartersRemote

Office

BR/CE

MC/BR

ISP1

Tunnel1 ISP2Tunnel1

Jitter 20 ms

Jitter 5 ms

IP SLA Responder

MC

BR/CE

BR

Internet

� Select exit with highest percentage of estimated MOS above threshold

Tunnel1–5 out of 100 sample had MOS < 4.00 � better

Tunnel0–20 out of 100 sample had MOS < 4.00

Page 45: Cisco Live PfR

45© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN DeploymentOptimize Voice Traffic Between Two Sites

Packets marked with DSCP bitsip access-list extended VOICE-LIST

permit ip any 10.1.1.0 0.0.0.255 dscpef

oer-map MAP 20

match traffic-class access-list VOICE-LIST

set Jitter threshold 15

set mos percent 20 threshold 4.00

set resolve mos priority 1

set resolve jitter priority 2

set mode monitor fast

Identify Voice Traffic Configure Voice Policy

UDP port rangeip access-list extended VOICE-LIST

permit udp any 10.1.1.0 0.0.0.255 range x y

Configure Jitter Probe

oer-map MAP 20

set active-probe jitter 10.1.1.1 target-port 2000 codec g729a

set probe frequency 2

Or

Configure Responder on remote routerIp sla responder

Internet

Tunnel0

Tunnel0Headquarters

Remote Office

BR/CE

MC/BR

Tunnel1Tunnel1

Jitter 20 ms

Jitter 5 ms

IP SLA Responder10.1.1.1

MC

BR/CE

BR1

2

Page 46: Cisco Live PfR

46© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Headquarters

Enterprise VPN Deployment Optimize Application

� Traffic to branch officeLatency sensitive application—telnet, ssh

Latency tolerant—other

Learn Application Traffic

Latency < 100 ms

Tunnel0

Tunnel1

Latency > 200 ms

Ip prefix-list BRANCH_PFX permit 10.1.0.0/16

!

oer master

learn

list sequence 10 refname BRANCH_APPL

traffic-class application telnet ssh filter BRANCH_PFX

throughput

list sequence 20 refname BRANCH_PFX

traffic-class prefix-list BRANCH_PFX

throughput

oer-map MAP 10

match oer learn list BRANCH_APPL

set delay threshold 100

set resolve delay priority 1 variance 5

Configure Policy

oer-map MAP 20

match oer learn list BRANCH_PFX

set delay threshold 400

set resolve utilization priority 1variance 5

Tunnel0

Tunnel1

Telnet or ssh

Other

MC

BR

BR/CE

Internet

1

2

Page 47: Cisco Live PfR

47© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN Deployment Optimize Application—Define Your Own Application

Ip access-list extended APPL1_DEF

permit tcp any eq 200 any

permit tcp any any eq 200

Ip access-list extended APPL2_DEF

permit ip any any dscp af12

Define Application Using access-list

MC

BR

BR

Add Application Definition to OER DatabaseOer master

application define APPL1 access-list APPL1_DEF

application define APPL2 access-list APPL2_DEF

Oer master

learn

list seq 30 refname LISTA

traffic-class application APPL1

list seq 40 refname LISTB

traffic-class application APPL2

Learning User Defined Applications

oer-map MAP 10

match traffic-class learn list LISTA

set resolve delay priority 1 variance 5

oer-map MAP 20

match traffic-class learn list LISTB

set resolve range priority 1

Apply Policy to Learned Application

Page 48: Cisco Live PfR

48© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Enterprise VPN Deployment Optimize Application Identified by NBAR*

� Use NBAR to identify application traffic

� NBAR is activated automatically on BR

MC

BR

BR

Configure NBAR Identified Applications

Ip prefix-list LIST1 permit 10.1.1.0/24

Ip prefix-list LIST1 permit 10.1.2.0/24

Oer-map MAP 10

match traffic-class application nbar citrix prefix-li st LIST1

Oer master

learn

list seq 30 refname LISTA

traffic-class application nbar rtp-audio

list seq 40 refname LISTB

traffic-class application nbar citrix

Learning NBAR Identified Applications

* To be released in 12.5 (1st) T

Page 49: Cisco Live PfR

49© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Security Policy—Ignore Performance

Apply Policyoer 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

Identify Blackhole Traffic Classip prefix-list BLACKHOLE permit 100.1.1.0/24ip access-list extended BLACKHOLEpermit tcp 10.10.10.0 0.0.0.255 any eq www

ip prefix-list SINKHOLE permit 9.1.1.1/32ip access-list extended SINKHOLE

permit udp 10.10.10.0 0.0.0.255 any eq domainpermit ip any any dscp cs4

Identify Sinkhole Traffic Class

Page 50: Cisco Live PfR

50© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR with NAT

� PfR and NATExisting 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

E-Mail

IM

NAT Translation Occurs Here

With Separate MC and BR

interface virtual-template 1

ip nat inside source <x> interface Virtual-Template 1 overload oer

RPF Check

Minimal Configuration Change BR

ISP1

ISP2MC

MC/BR Router Combined

MC/BR

ISP1

ISP2CSS11500

Page 51: Cisco Live PfR

51© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR with NAT—Configuration Example

Single IP

access-list 1 permit 10.1.0.0 0.0.255.255

route-map isp-1 permit 10

match ip address 1

match interface Se1/0

route-map isp-2 permit 10

match ip address 1

match interface Se2/0

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

interface virtual-template 1

ip nat inside source route-map isp-1 interface Virtual-Template1 overload oer

IP Pool

Identify Traffic to be NAT Translated

interface Eth3/0

ip nat inside

interface Se1/0

ip nat outside

interface Se2/0

ip nat outside

OER Internal Interface

OER External Interface

Se1/0—ISP1 Single IP

Se2/0—ISP2IP Pool

Eth3/0

10.1.0.0 MC/BR

ISP1

ISP2

Page 52: Cisco Live PfR

52© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Security Considerations

� Deploy MC behind firewall

� Separate private VLAN for MC and BR

� Private addressing for MC and BR communication

� No routing on MCno ip routing

no router …Routing Not Required on MC

BR—Border Router, MC—Master Controller

Web

E-Mail

IM

MC

BR

BR

Page 53: Cisco Live PfR

53© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR MC Redundancy

� What if MC goes down?

Routing defaults to normal as if PfR was not configured

� Still need MC redundancy?

Available

Stateless redundancy without configuration synchronization available using HSRP

On roadmap

Stateless redundancy with synchronized configuration and statefulredundancy

Web

E-Mail

IM BR

BR

MC

ISP1

ISP2

Page 54: Cisco Live PfR

54© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR MC Redundancy

� Stateless redundancy using HSRP

Active Standby

oer border

master 10.1.1.100 key-chain oer

On Border Configure HSRP Group IP as MC IP

Duplicate Configuration on both MC

HSRP Group IP 10.1.1.100

interface Ethernet0/0

standby 100 ip 10.1.1.100

ISP1

ISP2

BR

BR

Web

E-Mail

IM

MC MC

Page 55: Cisco Live PfR

55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Agenda

� PfR Overview

� Deployment

� Performance

� Conclusion

� Q and A

� Backup Slides—Troubleshooting

Page 56: Cisco Live PfR

56© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR MC Process vs. Total System CPU

12.3(11)T CPU Usage Cisco IOS Master ControllerComparing OER Process to Total System CPU

Active + Learning Mode Enabled (2500 Prefixes)

0

2

4

6

8

10

12

14

16

18

20

22

24

26

28

0 5 10 15 20 25 30 35 40 45 50 55

Time (Minutes)

1min

% C

PU

System Total—10 Border Routers/2500 PrefixesOER Process—10 Border Routers/2500 PrefixesSystem Total—10 Border Routers/5000 PrefixesOER Process—10 Border Routers/5000 Prefixes

Page 57: Cisco Live PfR

57© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

PfR BR Learning-Enabled

12.3(11)T CPU Usage Cisco IOS Border Router12.3(11)T CPU Usage Cisco IOS Border Router

Active + Learning Mode Enabled (2500 Prefixes)

0

1

2

3

4

5

6

7

8

0 5 10 15 20 25 30 35 40 45 50 55

Time (Minutes)

1min

% C

PU

2 Border Routers/1000 Prefixes2 Border Routers/2500 Prefixes2 Border Routers/5000 Prefixes

10 Border Routers/1000 Prefixes10 Border Routers/2500 Prefixes10 Border Routers/5000 Prefixes

Page 58: Cisco Live PfR

58© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Master Controller Memory Usage

Memory Usage PfR Master Controller2–5 Border Routers

1–5000 Prefixes

0102030405060708090

100110120130

2:1

2:1000

2:2000

2:3000

2:4000

2:5000

3:1

3:1000

3:2000

3:3000

3:4000

3:5000

4:1

4:1000

4:2000

4:3000

4:4000

4:5000

5:1

5:1000

5:2000

5:3000

5:4000

5:5000

X:Y X = # of Border Routers, Y = # of Prefix es Monitored

MB

1 Min. 60 Min.

Page 59: Cisco Live PfR

59© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Border Router Memory Usage

Memory Usage PfR Border Router2–5 Border Routers

1–5000 Prefixes

0

5,000,000

10,000,000

15,000,000

20,000,000

25,000,000

30,000,000

2:1

2:1000

2:2000

2:3000

2:4000

2:5000

3:1

3:1000

3:2000

3:3000

3:4000

3:5000

4:1

4:1000

4:2000

4:3000

4:4000

4:5000

5:1

5:1000

5:2000

5:3000

5:4000

5:5000

Mem

ory—

Byt

es

A:B A = # of Border Routers, B = # of Prefix es Monitored

1 Min. 60 Min.

Page 60: Cisco Live PfR

60© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

7200-NPE-G2 PfR Performance

� Cisco’s highest performing OER solution

� Ideal for enterprise OER solution

� Supports > 15,000 prefixes

22%Total

MC Router524 MB DRAM

BR Router120 MB RAM

Platform: 7200VXR-NPEG2Mode Monitor: Active

Prefix Count: 20,000*Prefix Type: ConfiguredProbe Frequency: 4 Seconds

Avg

CP

U18%MC

24% Total

5% BR

9% IPSLA

5% IP

*12.4(15)T image

MC

BR

BR

Page 61: Cisco Live PfR

61© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Overall Performance Tests Summary

� MC needs higher performing CPU and more memory compared to BR

� In general, Cisco PfR platforms show very favorable PfR performance

� 7200-NPE-G2 is Cisco’s highest performing PfRplatform

Page 62: Cisco Live PfR

62© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Deployment Suggestions

� Measure performance impact on production BR during peak time (midday on a weekday)

CPU: “show processes cpu”

Memory: “show memory summary”

� Determine viability of colocated MC/BR by:

a. Referencing peak time data

b. Referencing graph test results from earlier

Page 63: Cisco Live PfR

63© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Agenda

� OER Overview

� Deployment

� Troubleshooting

� Performance

� Conclusion

� Q and A

Page 64: Cisco Live PfR

64© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

$$$$$$$

Conclusions

� PfR routes around soft errorsBlackouts

Brownouts

Congestion

� PfR chooses the best performing pathDelay, loss, reachability, throughput, jitter/MOS

Utilization, load balancing

� PfR reports issues

Management application interface

Syslog

Show oer master prefix

Troubleshoot issues during workaround instead of fire fighting

� $ cost managementOER saves $ on usage based pricing links

ISPA

ISPB

ISPC

ISPD

ISPF ISPG

InternetISPE

MPLS

ATM

FR

Page 65: Cisco Live PfR

65© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Agenda

� PfR Overview

� Deployment

� Performance

� Conclusion

� References

� Q and A

� Backup Slides—Troubleshooting

Page 66: Cisco Live PfR

66© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Technical References

� PfR CCOwww.cisco.com/go/PfR/

� Cisco IOS Software Release 12.3 12.4 12.4Twww.cisco.com/go/release124t/

� Cisco IOS Software Release 12.2(33)SRBwww.cisco.com/go/release/

� Fluke Networks PfR Managerwww.flukenetworks.com/fnet/en-us/products/PFR+Manager/Overview.htm

� Empowered Branch 3 Launch AnnouncementCCO: http://www.cisco.com/en/US/netsol/ns340/ns394/ns302/ns296/networking_solutions_package.html

Page 67: Cisco Live PfR

67© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Q and A

Page 68: Cisco Live PfR

68© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Meet The Expert

To make the most of your time at Cisco Networkers 2009, schedule a Face-to-Face Meeting with a top Cisco Expert.

Designed to provide a "big picture" perspective as well as "in-depth" technology discussions, these face-to-face meetings will provide fascinating dialogue and a wealth of valuable insights and ideas.

Visit the Meeting Centre reception desk located in the Meeting Centre in World of Solutions

Page 69: Cisco Live PfR

69© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Source: Cisco Press

Recommended ReadingBRKIPM-2362

Page 70: Cisco Live PfR

70© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Recommended Reading

� Continue your Cisco Live learning experience with further reading from Cisco Press

� Check the Recommended Reading flyer for suggested books

Available Onsite at the Cisco Company Store

BRKIPM-2362

Page 71: Cisco Live PfR

71© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Page 72: Cisco Live PfR

72© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Backup SlidesTroubleshooting PfR

Page 73: Cisco Live PfR

73© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

show oer master prefix 100.1.1.0/24 traceroute curren t [now]

sh oer master prefix 100.1.1.0/24 traceroute current n ow

Path for Prefix: 100.1.1.0/24 Target: 100.1. 1.1

Exit ID: 2, Border: 10.10.10.1 External Inter face: Se12/0

Status: DONE, How Recent: 00:00:00 minutes old

Hop Host Time(ms) AS

1 30.30.30.2 24 0

2 60.60.60.4 12 0

3 100.0.0.2 20 0

How to Discover Current Path?

� Displays current path of prefix

� Uses responding target

� If now, generate new result

� Otherwise, display most recent result

Done or In Progress AS Is Unknown Likely Not Using BGP

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 74: Cisco Live PfR

74© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

show oer master prefix 100.1.1.0/24 traceroute [now]

--------------------------------------------------- -----------------------------

Path for Prefix: 100.1.1.0/24 Target: 100.1. 1.1

Exit ID: 1, Border: 10.10.10.1 External Inter face: Et9/0

Status: DONE, How Recent: 00:01:04 minutes old

Hop Host Time(ms) AS

1 40.40.40.2 4 0

2 60.60.60.4 4 0

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 Inter face: Se12/0

Status: DONE, How Recent: 00:05:44 minutes old

Hop Host Time(ms) AS

1 30.30.30.2 12 0

2 60.60.60.4 16 0

3 100.0.0.2 32 0

How to Discover All Paths?

� Displays path over each external interface

� Uses responding target

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 75: Cisco Live PfR

75© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

How to Discover Path on OOP?

� To display traceroute result

Learned Top Throughput

Prefixes,

Discover Path on Delay OOP

Discover Path on Loss OOP

Discover Path onUnreachable OOP

oer-map foo 10

match oer learn throughput

set traceroute reporting policy delay

set traceroute reporting policy loss

set traceroute reporting policy unreachable

sh oer master prefix 100.1.1.0/24 traceroute current n ow

Path for Prefix: 100.1.1.0/24 Target: 100.1. 1.1

Exit ID: 2, Border: 10.10.10.1 External Inter face: Se12/0

Status: DONE, How Recent: 00:00:00 minutes old

Hop Host Time(ms) AS

1 30.30.30.2 24 0

2 60.60.60.4 12 0

3 100.0.0.2 20 0

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 76: Cisco Live PfR

76© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

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

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 77: Cisco Live PfR

77© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Verify Master to Border Connection

� 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

sh oer master border

Border Status UP/DOWN AuthFai l

10.10.10.1 INACTIVE DOWN 0

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 78: Cisco Live PfR

78© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Verify Master Operational

� At least one internal and two external must be UP

� No shutdown serial 12/0

sh oer master borderBorder Status UP/DOWN AuthF ail

10.10.10.1 INACTIVE UP 00:00:28 0

sh oer master border detail | i Down

Se12/0 EXTERNAL Admin Down

Se12/0 1544 300 0 0 Admin Down

sh oer master border

Border Status UP/DOWN AuthF ail

10.10.10.1 ACTIVE UP 00:17:06 0

sh oer master | i OER state

OER state: ENABLEDand INACTIVEEth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

BR—Border Router, MC—Master Controller

Page 79: Cisco Live PfR

79© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Verify Internal and External Interfaces Operational

sh oer master border detail

Border Status UP/DOWN AuthF ail

10.10.10.1 ACTIVE UP 00:10:32 0

Se12/0 EXTERNAL UP

Et9/0 EXTERNAL UP

Et8/0 INTERNAL UP

External Capacity Max BW BW Used L oad Status Exit Id

Interface (kbps) (kbps) (kbps) (%)

--------- -------- ------ ------- ------- ------ ------

Se12/0 1544 300 120 7 UP 4

300 78 3

Et9/0 10000 1000 338 3 UP 2

1000 150 1

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Egress

Ingress

BR—Border Router, MC—Master Controller

Page 80: Cisco Live PfR

80© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Verify Traffic Class Learning

� Learning running on MC

sh oer master | b Learn

Learn Settings:

current state : STARTED

time remaining in current state : 93 seconds

aggregation-type prefix-length 22

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 81: Cisco Live PfR

81© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

sh oer border passive learn

OER Border Learn Configuration :

State is enabled

Measurement type: throughput , Duration: 5 min

Aggregation type: prefix-length, Prefix length: 24

No port protocol config

Learn List 10

Measurement type: throughput

Session count: 50

Aggregation type: prefix-length, Prefix length: 24

Appl ID: telnet

Verify Traffic Class Learning

� Learning running on BR (configuration)

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 82: Cisco Live PfR

82© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

sh oer border pass cache learn traffic-classOER 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 by tes allocated

DstPrefix Appl_ID Dscp Prot SrcPort DstPort SrcPrefi x

Pkts B/Pk Delay Samples Active

Host1 Host2 Host3 Hos t4 Host5

dport1 dport2 dport3 dpo rt4 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 N defa N N N N

84 634 0 0 45.2

10.1.15.2 0.0.0.0 0.0.0.0 0.0.0.0 0.0 .0.0

1006 0 0 0 0

Verify Traffic Class Learning

� Learning running on BR

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 83: Cisco Live PfR

83© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

MC#show oer master traffic-class

OER Prefix Statistics

DstPrefix Appl_ID Dscp Prot SrcPort DstPort SrcPrefix

Flags State Time CurrBR CurrI/F Protocol

PasSDly PasLDly PasSUn PasLUn PasSLos PasLLo s EBw IBw

ActSDly ActLDly ActSUn ActLUn ActSJit ActPMO S

--------------------------------------------------- --------------------------

10.1.15.0/24 telnet defa N N N 0.0.0.0/0

INPOLICY 0 10.1.1.2 Et2/0 PB R

22 22 0 0 1749 1395 1 1

U U 0 0 N N

10.1.15.0/24 N defa N N N 0.0.0.0/0

INPOLICY* 0 10.1.1.2 Et2/0 U

14 13 0 0 0 0 1 4 1

U 12 0 0 N N

Verify Traffic Class Learning

� Learned traffic class in MC

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 84: Cisco Live PfR

84© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

show oer border passive cache traffic-class

OER Passive Prefix Cache, State: enabled, 278544 by tes

DstPrefix Appl_ID Dscp Prot SrcPort DstPort SrcPrefi x

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 telnet defa N N N 0.0.0.0/0

10.1.7.2 Et0/0 Et2/0 30.4

16 0 0 27 49 1 0

Verify Traffic Class Monitoring

� Passive monitoring on BR

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 85: Cisco Live PfR

85© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

show oer master traffic-class

OER Prefix Statistics:

DstPrefix Appl_ID Dscp Prot SrcPort DstPort SrcPrefi x

Flags State Time CurrBR C urrI/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 N defa N N N 0.0.0.0/0

INPOLICY 0 10.1.1.2 Et2/0 BGP

14 13 0 0 0 0 1 4 1

U 12 0 0 N N

Verify Traffic Class Control

� Traffic class control on MC

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 86: Cisco Live PfR

86© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

show oer border routes bgp

BGP table version is 88, local router ID is 10.1.4. 1

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

Network Next Hop OER LocPrf Weigh t Path

*> 10.1.15.0/24 10.1.4.2 CE 0 300 50 ?

Verify Traffic Class Control

� Verify traffic class control on BRStatic or BGP

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 87: Cisco Live PfR

87© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

show ip access-list dynamic

Extended IP access list oer#1

536870911 permit tcp any 10.1.15.0 0.255.255.255 eq t elnet

536870912 permit tcp any eq telnet 10.1.15.0 0.255.25 5.255

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

ip next-hop 10.1.4.2

Policy routing matches: 0 packets, 0 bytes

Current active dynamic routemaps = 1

Verify Traffic Class Controlled

� Verify application traffic class control on BR

External Interface

BR—Border Router, MC—Master Controller

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 88: Cisco Live PfR

88© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

sh log | i 10.1.15.0

*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 chang ed 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 OOP10.1.15.0/24, loss 133, BR 10.10.10.1, i/f Se12/0, r elative loss 23, prev BR Unknown i/f Unknown

*Apr 26 23:10:51.123: %OER_MC-5-NOTICE: Route chang ed Appl10.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

Investigate Traffic Class History

� Traffic class logEth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

BR—Border Router, MC—Master Controller

Page 89: Cisco Live PfR

89© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

sh oer master traffic-class prefix 10.1.15.0/24 detai l

Prefix: 10.1.15.0/24

State: INPOLICY Time Remaining: 0

Policy: Default

Most recent data per exit

Border Interface PasSDly PasLDly Act SDly ActLDly

*10.10.10.1 Et9/0 0 16 35 35

10.10.10.1 Se12/0 0 0 38 38

Latest Active Stats on Current Exit:

Type Target TPort Attem Comps DSum Min Max Dly

echo 100.1.1.1 N 2 2 88 40 48 44

Investigate Traffic Class History

� Detailed traffic class historyEth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

BR—Border Router, MC—Master Controller

Page 90: Cisco Live PfR

90© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Why Is Traffic Class Always in Default State?

� Verify active probes enabled

sh oer master | i mode monitor

mode monitor both

� clear oer master traffic-class prefix 10.1.15.0/24

This will remove learned prefixes

� Wait for probe all to complete

� Verify active probes responding

sh oer master traffic-class prefix 10.1.15.0/24 detai l

Prefix: 10.1.15.0/24

State: DEFAULT* Time Remaining: @65

Policy: Default

Most recent data per exit

Border Interface PasSDly PasLDly Act SDly ActLDly

*10.10.10.1 Et9/0 0 0 0 0

10.10.10.1 Se12/0 0 0 0 0

No Probes Responding

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Active Probes Are Not Responding

Should Be Both or Active

@ Indicates Probe All

Page 91: Cisco Live PfR

91© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Why Are Active Probes Not Responding?

� Is prefix configured?Probes must be configured for configured prefixes

Probe assigned to prefix with longest match of probe target

oer master

active-probe echo 10.1.15.9

sh oer master active-probes

State Prefix Type Target TPort How Codec

Assigned 10.1.15.0/24 echo 10.1.15.9 N Cfgd N

� No parent route for prefix BGP or static tables must include a route which includes prefix

� Target is turned off, disabled

� Target does not respond to echo probesTry configuring tcp-conn or udp-echo probes

� Firewall is blocking probesTry traceroute to determine block pointshow oer master prefix 10.1.15.0/24 traceroute now

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 92: Cisco Live PfR

92© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362

Why No Passive Measurements?

� No traffic

Check EBw in show oer master prefix

� No TCP traffic

Passive delay, loss, and reachability rely on TCP traffic

� Long-lived TCP flows

Passive delay and reachability rely on TCP SYN, TCP ACK

Eth9/0 Cable

Ser12/0 DSL

MC/BR

Eth8/0

Page 93: Cisco Live PfR

93© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKIPM-2362