set active-probe (PfR)
To configure a Performance Routing (PfR) active probe with a forced target assignment within a PfR map, use the set active-probe command in PfR map configuration mode. To disable the active probe, use the no form of this command.
set active-probe probe-type ip-address target-port number [codec codec-name] [dscp value]
no set active-probe probe-type ip-address
Syntax Description
probe-type |
Type of probe. Must be one of the following:
|
ip-address |
Target IP address of a prefix to be monitored using the specified type of probe. |
target-port |
(Not specified for echo probes.) Specifies the destination port number for the active probe. |
number |
Port number in the range from 1 to 65535. |
codec |
(Optional) Only used with the jitter probe type. Specifies the codec value used for Mean Opinion Score (MOS) calculation. |
codec-name |
(Optional) Codec value. Must be one of the following:
|
dscp |
(Optional) Sets the Differentiated Services Code Point (DSCP) value. |
value |
(Optional) DSCP value. |
Command Default
No active probes are configured with a forced target assignment.
Command Modes
PfR map configuration (config-pfr-map)
Command History
Release |
Modification |
---|---|
15.1(2)T |
This command was introduced. |
15.0(1)S |
This command was integrated into Cisco IOS Release 15.0(1)S. |
Cisco IOS XE Release 3.3S |
This command was integrated into Cisco IOS XE Release 3.3S. |
Usage Guidelines
If the optional dscp keyword and value argument are not specified, active probes are created using the DSCP value of the traffic class. For example, the software creates two sets of probes for the following three traffic classes. Traffic class 2 is assigned a probe with a DSCP value of ef, and the other two traffic classes share a probe with a DSCP value of 0.
-
Traffic class 1: 10.1.1.0/24, destination port 23
-
Traffic class 2: 10.1.2.0/24, dscp ef
-
Traffic class 3: 10.1.2.0/24, destination port 991
If the optional dscp keyword and value argument are provided, probes are created using the specified DSCP value. For example, if the DSCP value specified for the set active-probe command is cs1, only one probe is created for the three traffic classes.
Examples
The following example shows how to configure an ICMP reply (ping) message probe with a forced target assignment within a PfR map. The 10.1.2.10 address is the forced target assignment. A remote responder does not have to be enabled on the target device.
Router(config)# pfr-map MAP1 10
Router(config-pfr-map)# match ip prefix-list LIST1
Router(config-pfr-map)# set active-probe echo 10.1.2.10
The following example shows how to configure a TCP connection message probe with a forced target assignment within an PfR map. The 10.1.2.10 address is the forced target assignment, the target port is defined as 29, and the DSCP value is set to ef. A remote responder must be enabled on the target device.
Router(config)# pfr-map MAP2 10
Router(config-pfr-map)# match ip prefix-list LISTMAP2
Router(config-pfr-map)# set active-probe tcp-conn 10.1.2.10 target-port 29 dscp ef