Step 1
|
enable
|
Enables privileged EXEC mode.
|
Step 2
|
configure
terminal
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
ip
sla
monitor
responder
Router(config)# ip sla monitor responder
|
Enables the IP SLAs Responder.
|
Step 4
|
exit
|
Exits global configuration mode and returns to privileged EXEC mode.
|
Step 5
|
Move to the network device that is the PfR master controller.
|
|
Step 6
|
enable
|
Enables privileged EXEC mode.
|
Step 7
|
configure
terminal
Router# configure terminal
|
Enters global configuration mode.
|
Step 8
|
pfr-map
map-name
sequence-number
Router(config)# pfr-map TARGET_MAP 10
|
Enters PfR map configuration mode to configure a PfR map to apply policies to selected IP prefixes.
-
Only one match clause can be configured for each PfR map sequence.
-
Deny sequences are first defined in an IP prefix list and then applied with the
match
ip
address (PfR) command in Step 9 .
-
The example creates a PfR map named TARGET_MAP.
|
Step 9
|
match
ip
address
{access-list
access-list-name |
prefix-list
prefix-list-name }
Router(config-pfr-map)# match ip address access-list VOICE_ACCESS_LIST
|
References an extended IP access list or IP prefix as match criteria in a PfR map.
-
Only a single match clause can be configured for each PfR map sequence.
-
The example configures the IP access list named VOICE_ACCESS_LIST as match criteria in a PfR map. The access list was created
in the “Identifying Voice Traffic to Optimize Using an Access List” task.
|
Step 10
|
set
active-probe
probe-type
ip-address
[target-port
number ] [codec
codec-name ]
Router(config-pfr-map)# set active-probe jitter 10.20.22.1 target-port 2000 codec g729a
|
Creates a set clause entry to assign a target prefix for an active probe.
-
The
echo keyword is used to specify the target IP address of a prefix to actively monitor using Internet Control Message Protocol
(ICMP) echo (ping) messages.
-
The
jitter keyword is used to specify the target IP address of a prefix to actively monitor using jitter messages.
-
The
tcp-conn keyword is used to specify the target IP address of a prefix to actively monitor using Internet Control Message Protocol
(ICMP) echo (ping) messages.
-
The
udp-echo keyword is used to specify the target IP address of a prefix to actively monitor using Internet Control Message Protocol
(ICMP) echo (ping) messages.
-
The example creates a set clause entry to specify the target IP address of a prefix and a specific port number to actively
monitor using jitter.
|
Step 11
|
set
probe
frequency
seconds
Router(config-pfr-map)# set probe frequency 10
|
Creates a set clause entry to set the frequency of the PfR active probe.
-
The
seconds argument is used to set the time, in seconds, between the active probe monitoring of the specified IP prefixes.
-
The example creates a set clause to set the active probe frequency to 10 seconds.
|
Step 12
|
set
jitter
threshold
maximum
Router(config-pfr-map)# set jitter threshold 20
|
Creates a set clause entry to configure the jitter threshold value.
-
The
threshold keyword is used to configure the maximum jitter value, in milliseconds.
-
The example creates a set clause that sets the jitter threshold value to 20 for traffic that is matched in the same PfR map
sequence.
|
Step 13
|
set
mos
{threshold
minimum
percent
percent }
Router(config-pfr-map)# set mos threshold 4.0 percent 30
|
Creates a set clause entry to configure the MOS threshold and percentage values used to decide whether an alternate exit
is be selected.
-
The
threshold keyword is used to configure the minimum MOS value.
-
The
percent keyword is used to configure the percentage of MOS values that are below the MOS threshold.
-
PfR calculates the percentage of MOS values below the MOS threshold that are recorded in a five-minute period. If the percentage
value exceeds the configured percent value or the default value, the master controller searches for alternate exit links.
-
The example creates a set clause that sets the threshold MOS value to 4.0 and the percent value to 30 percent for traffic
that is matched in the same PfR map sequence.
|
Step 14
|
set
resolve
{cost
priority
value |
delay
priority
value
variance
percentage |
jitter
priority
value
variance
percentage |
loss
priority
value
variance
percentage |
mos
priority
value
variance
percentage |
range
priority
value |
utilization
priority
value
variance
percentage }
Router(config-pfr-map)# set resolve jitter priority 1 variance 10
|
Creates a set clause entry to configure policy priority or resolve policy conflicts.
-
This command is used to set priority for a policy type when multiple policies are configured for the same prefix. When this
command is configured, the policy with the highest priority will be selected to determine the policy decision.
-
The
priority keyword is used to specify the priority value. Configuring the number 1 assigns the highest priority to a policy. Configuring
the number 10 assigns the lowest priority.
-
Each policy must be assigned a different priority number.
-
The
variance keyword is used to set an allowable variance for a user-defined policy. This keyword configures the allowable percentage that
an exit link or prefix can vary from the user-defined policy value and still be considered equivalent.
-
Variance cannot be configured for cost or range policies.
-
The example creates set clause that configures the priority for jitter policies to 1 for voice traffic. The variance is configured
to allow a 10 percent difference in jitter statistics before a prefix is determined to be out-of-policy.
|
Step 15
|
set
resolve
mos
priority
value
variance
percentage
Router(config-pfr-map)# set resolve mos priority 2 variance 15
|
Creates a set clause entry to configure policy priority or resolve policy conflicts.
Note
|
Only the syntax applicable to this task is used in this example. For more details, see Step 14.
|
|
Step 16
|
set
delay
{relative
percentage |
threshold
maximum }
Router(config-pfr-map)# set delay threshold 100
|
Creates a set clause entry to configure the delay threshold.
-
The delay threshold can be configured as a relative percentage or as an absolute value for match criteria.
-
The
relative keyword is used to configure a relative delay percentage. The relative delay percentage is based on a comparison of short-term
and long-term measurements.
-
The
threshold keyword is used to configure the absolute maximum delay period in milliseconds.
-
The example creates a set clause that sets the absolute maximum delay threshold to 100 milliseconds for traffic that is matched
in the same PfR map sequence.
|
Step 17
|
exit
Router(config-pfr-map)# exit
|
Exits PfR map configuration mode and returns to global configuration mode.
|
Step 18
|
pfr
master
Router(config)# pfr master
|
Enters PfR master controller configuration mode to configure a router as a master controller.
|
Step 19
|
policy-rules
map-name
Router(config-pfr-mc)# policy-rules TARGET_MAP
|
Applies a configuration from a PfR map to a master controller configuration in PfR master controller configuration mode.
-
Reentering this command with a new PfR map name will immediately overwrite the previous configuration. This behavior is designed
to allow you to quickly select and switch between predefined PfR maps.
-
The example applies the configuration from the PfR map named TARGET_MAP.
|
Step 20
|
end
Router(config-pfr-mc)# end
|
Exits PfR master controller configuration mode and enters privileged EXEC mode.
|
Step 21
|
show
pfr
master
active-probes
[appl |
forced ]
Router# show pfr master active-probes forced
|
Displays connection and status information about active probes on a PfR master controller.
-
The output from this command displays the active probe type and destination, the border router that is the source of the
active probe, the target prefixes that are used for active probing, and whether the probe was learned or configured.
-
The
appl keyword is used to filter the output to display information about applications optimized by the master controller.
-
The
forced keyword is used to show any forced targets that are assigned.
-
The example displays connection and status information about the active probes generated for voice traffic configured with
a forced target assignment.
|
Step 22
|
show
pfr
master
policy
{sequence-number |policy-name |
default }
Router# show pfr master policy TARGET_MAP
|
Displays policy settings on a PfR master controller.
-
This command is used to configure a PfR map to configure the relative percentage or maximum number of packets that PfR will
permit to be lost during transmission on an exit link. If packet loss is greater than the user-defined or the default value,
the master controller determines that the exit link is out-of-policy.
-
The
sequence-number
argument is used to display policy settings for the specified PfR map sequence.
-
The
policy-name
argument is used to display policy settings for the specified PfR policy map name.
-
Thedefault keyword is used to display only the default policy settings.
-
The example displays the policy settings configured for the TARGET_MAP policy.
|