Jump to content






Photo - - - - -

PfR Example #1 Part #2

Posted by MSSK , 22 July 2013 · 2,005 views

PfR Example #1 Part #2 What happened is that PfR moved one of the traffic streams to the higher BW link and kept the other one on the frame relay connection (Which we configured from the beginning as the default path for out traffic)

Now , after a while the traffic got back all to the frame relay connection , so what PfR did is moving both traffic streams to the serial connection
*Jul 21 10:48:47.975: %PFR_MC-5-ROUTE_EVENT: 100% of traffic classes controlled through default policy are INPOLICY (trigger-log-percentage is 30%)

R2#show pfr master border detail
Border    Status     UP/DOWN AuthFail  Version  DOWN Reason
2.2.2.2   ACTIVE     UP    00:09:33   0  3.3
Fa2/0    INTERNAL   UP
Fa2/1    INTERNAL   UP
Se1/1.23     EXTERNAL   UP
Se1/0    EXTERNAL   UP

External     Capacity   Max BW   BW Used    Load Status   Exit Id
Interface     (kbps)    (kbps)    (kbps)    (%)
---------    --------   ------   ------- ------- ------    ------
Se1/1.23     Tx    128 115 0    0 UP     2
Rx    128    128 100
Se1/0    Tx   1544     1389    189   12 UP     1
Rx 1544 0    0

R2#show pfr master traffic-class
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (percent/10000), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

DstPrefix    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  ActSLos  ActLLos
--------------------------------------------------------------------------------
33.33.33.0/24 N    N    N    N   N N
  INPOLICY     0    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0     0    69
   U     U     0     0     N     N     N     N

3.3.3.0/24     N    N    N    N    N N
  INPOLICY     0    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0    91    90
   U     U     0     0     N     N     N     N

R2#show ip route static   
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2
   i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
   ia - IS-IS inter area, * - candidate default, U - per-user static route
   o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
   + - replicated route, % - next hop override

R2#show ip route static
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2
   i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
   ia - IS-IS inter area, * - candidate default, U - per-user static route
   o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
   + - replicated route, % - next hop override

Gateway of last resort is 192.1.23.3 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 192.1.23.3
  3.0.0.0/24 is subnetted, 1 subnets
S     3.3.3.0 [1/0] via 10.1.23.3, Serial1/0
  33.0.0.0/24 is subnetted, 1 subnets
S     33.33.33.0 [1/0] via 10.1.23.3, Serial1/0

As we can notice, the above static route we did not configure when we started

R2#show pfr master active-probes
OER Master Controller active-probes
Border   = Border Router running this Probe
State    = Un/Assigned to a Prefix
Prefix   = Probe is assigned to this Prefix
Type = Probe Type
Target   = Target Address
TPort    = Target Port
How   = Was the probe Learned or Configured
N - Not applicable

The following Probes exist:

State   Prefix Type Target   TPort   How Codec
Assigned   3.3.3.0/24 echo 3.3.3.3 N  Lrnd N
Assigned   33.33.33.0/24   echo 33.33.33.33 N  Lrnd      N

The following Probes are running:

Border   State    Prefix Type Target   TPort

R2#show pfr master appl learned
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (packets-per-million), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

Prefix     Prot Port [src][dst]/ApplId     DSCP Source Prefix
  State Time Curr BR CurrI/F Protocol
    PasSDly  PasLDly   PasSUn   PasLUn  PasSLos  PasLLos
    ActSDly  ActLDly   ActSUn   ActLUn   EBw   IBw
    ActSJit  ActPMOS
-------------------------------------------------------------------------------------------
33.33.33.0/24     NA   NA   NA
   INPOLICY     0 2.2.2.2 Se1/0    STATIC  
  U     U     0     0     0     0
  U     U     0     0     0    72
  N     N
3.3.3.0/24    NA   NA   NA     
   INPOLICY     0 2.2.2.2 Se1/0    STATIC  
  U     U     0     0     0     0
  U     U     0     0    90    72

R2#show pfr master traffic-class performance ip any 33.33.33.0/24
==============================================================================================

Traffic-class:
Destination Prefix : 33.33.33.0/24    Source Prefix    : N/A
Destination Port   : N/A Source Port   : N/A
DSCP    : N    Protocol : N/A
Application Name:  : N/A

General:
   Control State    : Controlled using STATIC
   Traffic-class status     : INPOLICY
   Current Exit     : BR 2.2.2.2 interface Se1/0, Tie breaker was load-balance criteria
   Time on current exit     : 0d 0:2:11
   Time remaining in current state : @76 seconds
   Last uncontrol reason    : Exit mismatch
   Time since last uncontrol    : 0d 0:3:40
   Traffic-class type   : Learned
   Improper config : None

Last Out of Policy event:
   Exit     : BR 2.2.2.2 interface Se1/0
   Reason : unreachable criteria
   Time since Out of Policy event  : 0d 0:0:13
   Active Unreachable Performance  : 0%
   Active Unreachable Threshold    : 50%
   Passive Unreachable Performance : 0%
   Passive Unreachable Threshold   : 50%

Average Passive Performance Current Exit: (Average for last 5 minutes)
   Unreachable     : 0% -- Threshold: 50%
   Delay   : 0% -- Threshold: 50%
   Loss    : 0% -- Threshold: 10%
   Egress BW   : 0 kbps
   Ingress BW : 58 kbps
   Time since last update : 0d 0:0:13

Average Active Performance Current Exit: (Average for last 5 minutes)
   Unreachable     : 0% -- Threshold: 50%
   Delay   : 0% -- Threshold: 50%

Last Resolver Decision:
   BR   Interface    Status    Reason    Performance Threshold
   --------------- ------------ ------------ ------------ ----------- ---------
   2.2.2.2 Se1/1.23 Eliminated   Utilization  Unknown   Unknown    
   2.2.2.2 Se1/0     Best Exit    Range     N/A   N/A

R2#show pfr master traffic-class performance ip any 3.3.3.0/24    
==============================================================================================

Traffic-class:
Destination Prefix : 3.3.3.0/24   Source Prefix    : N/A
Destination Port   : N/A Source Port   : N/A
DSCP    : N    Protocol : N/A
Application Name:  : N/A

General:
   Control State    : Controlled using STATIC
   Traffic-class status     : INPOLICY
   Current Exit     : BR 2.2.2.2 interface Se1/0, Tie breaker was load-balance criteria
   Time on current exit     : 0d 0:2:0
   Time remaining in current state : 0 seconds
   Last uncontrol reason    : Exit mismatch
   Time since last uncontrol    : 0d 0:3:30
   Traffic-class type   : Learned
   Improper config : None

Last Out of Policy event:
   Exit     : BR 2.2.2.2 interface Se1/0
   Reason   : load-balance criteria
   Time since Out of Policy event  : 0d 0:2:6
   Link OOP; no prefix performance :

Average Passive Performance Current Exit: (Average for last 5 minutes)
   Unreachable     : 0% -- Threshold: 50%
   Delay   : 0% -- Threshold: 50%
   Loss    : 0% -- Threshold: 10%
   Egress BW   : 0 kbps
   Ingress BW : 56 kbps
   Time since last update : 0d 0:0:33

Average Active Performance Current Exit: (Average for last 5 minutes)
   Unreachable     : 0% -- Threshold: 50%
   Delay   : 0% -- Threshold: 50%

Last Resolver Decision:
   BR   Interface    Status    Reason    Performance Threshold
   --------------- ------------ ------------ ------------ ----------- ---------
   2.2.2.2 Se1/1.23 Eliminated   Range     80%   10%
   2.2.2.2 Se1/0     Best Exit    Range     N/A   N/A

R2#show pfr master traffic-class learned throughput
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (percent/10000), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

DstPrefix    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  ActSLos  ActLLos
--------------------------------------------------------------------------------
3.3.3.0/24     N    N    N    N    N N
  INPOLICY     0    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0     0    56
   U     U     0     0     N     N     N     N

33.33.33.0/24 N    N    N    N    N N
  INPOLICY   @24    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0     0    71
   4     4     0     0     N     N     N     N


Now, both loopbacks on R3 are configured with /32 mask, so we want to learn these prefixes with their respective mask

R2

pfr master
learn
aggregation-type prefix-length 32

R2#clear pfr master *

And let us start the ICMP traffic patterns again

R2#show pfr master traffic-class
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (percent/10000), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

DstPrefix    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  ActSLos  ActLLos
--------------------------------------------------------------------------------
33.33.33.33/32     N    N    N    N    N N
  DEFAULT*   @66    2.2.2.2 U    U   

3.3.3.3/32     N    N    N    N    N N
  DEFAULT*   @66    2.2.2.2 U    U   



*Jul 21 11:37:08.687: %PFR_MC-6-ROUTE_EVENT_INFO: Discovered exit BR 2.2.2.2, i/f Se1/1.23 for traffic class Prefix 3.3.3.3/32
*Jul 21 11:37:08.687: %PFR_MC-6-ROUTE_EVENT_INFO: Discovered exit BR 2.2.2.2, i/f Se1/1.23 for traffic class Prefix 33.33.33.33/32
*Jul 21 11:37:12.115: %PFR_MC-5-OOP_LINK: Load balance is out of policy.BR 2.2.2.2 i/f Se1/1.23 currently at %100 bandwidth utilization, BR 2.2.2.2 i/f Se1/0 currently at %0 bandwidth utilization
*Jul 21 11:37:12.115: %PFR_MC-5-OOP_LINK: The current bandwidth utilization of BR 2.2.2.2 intf Se1/1.23 is out of policy; Bandwidth untilization 128, configured threshold 115
*Jul 21 11:37:12.115: %PFR_MC-5-OOP_LINK: The load of 2.2.2.2 intf Se1/1.23 is out of policy. Transmit bandwith 128, Receive bandwidth 128,Transmit load 100, Receive Load 100
*Jul 21 11:38:11.859: %PFR_MC-6-ROUTE_EVENT_INFO: Prefix 3.3.3.3/32: route changed to BR 2.2.2.2, i/f Se1/0, due to load-balance criteria. Out of policy reason: utilization criteria
*Jul 21 11:38:11.875: %PFR_MC-6-ROUTE_EVENT_INFO: Prefix 33.33.33.33/32: route changed to BR 2.2.2.2, i/f Se1/0, due to load-balance criteria. Out of policy reason: utilization criteria

R2#show pfr master traffic-class
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (percent/10000), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

DstPrefix    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  ActSLos  ActLLos
--------------------------------------------------------------------------------
33.33.33.33/32     N    N    N    N    N N
  HOLDDOWN    68    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0    71    71
   U     U     0     0     N     N     N     N

3.3.3.3/32     N    N    N    N    N N
  HOLDDOWN    67    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0    73    73
   U     U     0     0     N     N     N     N


R2#show pfr master traffic-class
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (percent/10000), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

DstPrefix    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  ActSLos  ActLLos
--------------------------------------------------------------------------------
33.33.33.33/32     N    N    N    N    N N
  INPOLICY     0    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0    71    66
   U     U     0     0     N     N     N     N

3.3.3.3/32     N    N    N    N    N N
  INPOLICY     0    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0    73    66
   U     U     0     0     N     N     N     N

Suppose that we are in concern of one prefix only, we can filter the prefixes learned through what so called learn list , let us assume we want to monitor only 3.3.3.0/24 prefix

ip prefix-list PREFIX1 seq 5 permit 3.3.3.3/32

ip access-list extended ICMP
permit icmp any any

ip access-list extended DENY_GLOBAL
deny ip any any

pfr master
learn
  traffic-class filter access-list DENY_GLOBAL
list seq 5 refname R3LOOP0
traffic-class access-list ICMP filter PREFIX1
throughput

Then we should configure a pfr-map that will match the learn list we configured above and apply it to the pfr master

pfr-map MAP 10
match pfr learn list R3LOOP0

pfr master
policy-rules MAP

R2#show pfr master traffic-class
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (percent/10000), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

DstPrefix    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  ActSLos  ActLLos
--------------------------------------------------------------------------------
3.3.3.0/24     N    N    1    N    N 0.0.0.0/0
  DEFAULT*   @49    2.2.2.2 U    U  

R2#show pfr master traffic-class
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (percent/10000), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

DstPrefix    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  ActSLos  ActLLos
--------------------------------------------------------------------------------
3.3.3.0/24     N    N    1    N    N 0.0.0.0/0
  HOLDDOWN    81    2.2.2.2 Se1/0    PBR
   U     U     0     0     0     0    15    15
        U     U     0     0     N     N     N     N

R2#show pfr master traffic-class
OER Prefix Statistics:
Pas - Passive, Act - Active, S - Short term, L - Long term, Dly - Delay (ms),
P - Percentage below threshold, Jit - Jitter (ms),
MOS - Mean Opinion Score
Los - Packet Loss (percent/10000), Un - Unreachable (flows-per-million),
E - Egress, I - Ingress, Bw - Bandwidth (kbps), N - Not applicable
U - unknown, * - uncontrolled, + - control more specific, @ - active probe all
# - Prefix monitor mode is Special, & - Blackholed Prefix
% - Force Next-Hop, ^ - Prefix is denied

DstPrefix    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  ActSLos  ActLLos
--------------------------------------------------------------------------------
3.3.3.0/24     N    N    1    N    N 0.0.0.0/0
  INPOLICY     0    2.2.2.2 Se1/0    PBR
   U     U     0     0     0     0     0    37
   U     U     0     0     N     N     N     N

R2#show pfr master learn list

Learn-List seq 5 refname R3LOOP0
   Configuration:
    Traffic-Class Access-list: ICMP
    Filter: PREFIX1
    Aggregation-type: prefix-length 24
    Learn type: throughput
    Session count: 1000 Max count: 1000
    Policies assigned: 10
    Status: ACTIVE
   Stats:
    Traffic-Class Count: 1
    Traffic-Class Learned:
Appl Prefix 3.3.3.0/24 N    1





February 2020

S M T W T F S
      1
2345678
9101112131415
1617 18 19202122
23242526272829

Recent Entries

Recent Comments

Tags

    Search My Blog

    Categories

    Organization

    Community

    Downloads

    Test Providers

    Site Info


    Go to top