Jump to content






Photo - - - - -

PfR Example #1 Part #1

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

PfR Example #1 Part #1 Elements

Our network above consists of 4 routers; R2 will act as the master controller as well as the border router
OSPF is running between R1, R2 and R4
We will depend only on throughput in making decisions; the bandwidth was manually set on the frame relay connection toward R3 in order to see the results faster as well as the holddown, periodic interval and monitoring period value
Two Traffic classes to be monitored R3 Lo0 and Lo1

Configuration

R1

interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet1/0
ip address 192.1.12.1 255.255.255.0
speed 100
full-duplex
no shut

router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 192.1.12.1 0.0.0.0 area 0

R2

ip cef

interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet2/0
ip address 192.1.12.2 255.255.255.0
speed 100
full-duplex
no shut
!
interface Serial1/0
bandwidth 256
ip address 10.1.23.2 255.255.255.0
encapsulation ppp
no shut
!
interface FastEthernet2/1
ip address 192.1.24.2 255.255.255.0
speed 100
full-duplex
no shut
!
interface Serial1/1
no ip address
encapsulation frame-relay
clock rate 128000
no frame-relay inverse-arp
no shut
!
interface Serial1/1.23 point-to-point
bandwidth 128
ip address 192.1.23.2 255.255.255.0
snmp trap link-status
frame-relay interface-dlci 23  
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 192.1.12.2 0.0.0.0 area 0
network 192.1.24.2 0.0.0.0 area 0
default-information originate always

ip route 0.0.0.0 0.0.0.0 192.1.23.3
ip route 0.0.0.0 0.0.0.0 10.1.23.3 5

key chain KEY
key 1
   key-string cisco

oer master
!
border 2.2.2.2 key-chain KEY
  interface Serial1/0 external
  interface Serial1/1.23 external
  interface FastEthernet2/0 internal
  interface FastEthernet2/1 internal
!
learn
  throughput
  periodic-interval 0
  monitor-period 1
no max range receive
holddown 90
backoff 90 90
mode route control
!
oer border
local Loopback0
master 2.2.2.2 key-chain KEY


R3

interface Loopback0
ip address 3.3.3.3 255.255.255.255

interface Loopback1
ip address 33.33.33.33 255.255.255.255

interface Serial1/0
bandwidth 256
ip address 10.1.23.3 255.255.255.0
encapsulation ppp
no shut

interface Serial1/1
no ip address
encapsulation frame-relay
clock rate 128000
no frame-relay inverse-arp
no shut

interface Serial1/1.23 point-to-point
bandwidth 128
ip address 192.1.23.3 255.255.255.0
snmp trap link-status
frame-relay interface-dlci 32  

ip route 0.0.0.0 0.0.0.0 192.1.23.2

R4

interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface FastEthernet1/0
ip address 192.1.24.4 255.255.255.0
speed 100
full-duplex
no shut

router ospf 1
router-id 4.4.4.4
log-adjacency-changes
network 4.4.4.4 0.0.0.0 area 0
network 192.1.24.4 0.0.0.0 area 0

Verification

R2#show pfr master   
OER state: ENABLED and ACTIVE
  Conn Status: SUCCESS, PORT: 3949
  Version: 3.3
  Number of Border routers: 1
  Number of Exits: 2
  Number of monitored prefixes: 0 (max 5000)
  Max prefixes: total 5000 learn 2500
  Prefix count: total 0, learn 0, cfg 0
  PBR Requirements met
  Nbar Status: Inactive
  Auto Tunnel Mode: Off

Border        Status     UP/DOWN AuthFail  Version  DOWN Reason
2.2.2.2   ACTIVE     UP    00:04:01   0  3.3

Global Settings:
  max-range-utilization percent 20 recv 0
  rsvp post-dial-delay 0 signaling-retries 1
  mode route metric bgp local-pref 5000
  mode route metric static tag 5000
  trace probe delay 1000
  logging
  exit holddown time 60 secs, time remaining 0

Default Policy Settings:
  backoff 90 90 90
  delay relative 50
  holddown 90
  periodic 0
  probe frequency 56
  number of jitter probe packets 100
  mode route control
  mode monitor both
  loss relative 10
  jitter threshold 20
  mos threshold 3.60 percent 30
  unreachable relative 50
  trigger-log percentage 30

Learn Settings:
  current state : STARTED
  time remaining in current state : 91 seconds
  throughput
  no delay
  no inside bgp
  monitor-period 1
  periodic-interval 0
  aggregation-type prefix-length 24
  prefixes 100 appls 100
  expire after time 720
PfR versions have to match on both border and MC; if not equal MC should be higher

R2#show pfr master border
Border    Status     UP/DOWN AuthFail  Version  DOWN Reason
2.2.2.2   ACTIVE     UP    00:04:14   0  3.3

R2#show pfr master border detail
Border    Status     UP/DOWN AuthFail  Version  DOWN Reason
2.2.2.2   ACTIVE     UP    00:04:20   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 0    0
Se1/0     Tx   1544     1389 0    0 UP     1
Rx   1544 0    0

We will start ICMP traffic from R1 toward R3’s lo0 interface and
ICMP traffic from R4 on its lo1 interface and check what will happen

R1#ping 3.3.3.3 source lo0 repeat 100000
Type escape sequence to abort.

R4#ping 33.33.33.33 source lo1 repeat 100000

R2#show pfr master border detail
Border    Status     UP/DOWN AuthFail  Version  DOWN Reason
2.2.2.2   ACTIVE     UP    00:01:48   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     13   10 UP     2
Rx    128     21   16
Se1/0    Tx   1544     1389 0    0 UP     1
Rx   1544 0    0

*Jul 21 10:41:16.587: %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 10:41:16.591: %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 10:41:16.591: %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

R2#show pfr master border detail
Border    Status     UP/DOWN AuthFail  Version  DOWN Reason
2.2.2.2   ACTIVE     UP    00:02:08   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    128 100 UP     2
Rx    128    128 100
Se1/0    Tx   1544     1389 0    0 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
  DEFAULT*   @88    2.2.2.2 U    U   

3.3.3.0/24     N    N    N    N    N N
  DEFAULT*   @88    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
--------------------------------------------------------------------------------
33.33.33.0/24 N    N    N    N    N N
  DEFAULT*   @57    2.2.2.2 Se1/1.23     U   
   U     U     0     0     0     0    92    92
   9     9     0     0     N     N     N     N

3.3.3.0/24     N    N    N    N    N N
  DEFAULT*   @57    2.2.2.2 Se1/1.23     U   
   U     U     0     0     0     0    87    87
   1     1     0     0     N     N     N     N


*Jul 21 10:42:47.271: %PFR_MC-5-ROUTE_EVENT: 100% of traffic classes controlled through default policy are NOT INPOLICY (trigger-log-percentage is 30%)

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
  HOLDDOWN    27    2.2.2.2 Se1/0    STATIC  
   U     U     0     0     0     0   122   114
   U     U     0     0     N     N     N     N

3.3.3.0/24     N    N    N    N    N N
  HOLDDOWN    30    2.2.2.2 Se1/1.23     STATIC  
   U     U     0     0     0     0   111   111
   2     2     0     0     N     N     N     N

R2#show pfr master border detail
Border   Status     UP/DOWN AuthFail  Version  DOWN Reason
2.2.2.2   ACTIVE     UP    00:05:09   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     95   74 UP     2
Rx    128    128 100
Se1/0    Tx   1544     1389     94    6 UP     1
Rx   1544 0    0

R2#show pfr master traffic-class
*Jul 21 10:44:36.763: %PFR_MC-5-OOP_LINK: Load balance is out of policy.BR 2.2.2.2 i/f Se1/1.23 currently at %73 bandwidth utilization, BR 2.2.2.2 i/f Se1/0 currently at %6 bandwidth utilization
*Jul 21 10:44:36.763: %PFR_MC-5-OOP_LINK: The load of 2.2.2.2 intf Se1/1.23 is out of policy. Transmit bandwith 94, Receive bandwidth 128,Transmit load 73, Receive Load 100
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   122   110
   U     U     0     0     N     N     N     N

3.3.3.0/24     N    N    N    N    N N
  HOLDDOWN     2    2.2.2.2 Se1/1.23     STATIC  
   U     U     0     0     0     0   107   107
   2     2     0     0     N     N     N     N

R2#
*Jul 21 10:44:47.479: %PFR_MC-5-ROUTE_EVENT: 100% of traffic classes controlled through default policy are INPOLICY (trigger-log-percentage is 30%)

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   122   106
   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/1.23     STATIC  
   U     U     0     0     0     0   104   104
   2     2     0     0     N     N     N     N




November 2019

S M T W T F S
     12
3456789
10111213141516
1718 19 20212223
24252627282930

Recent Entries

Recent Comments

Tags

    Search My Blog

    Categories

    Organization

    Community

    Downloads

    Test Providers

    Site Info


    Go to top