60-12
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 60 Configuring Cisco IOS IP SLA Operations
Configuring IP SLAs Operations
measurements between the source IP SLAs device and the destination IP device. The IP SLAs ICMP
echo operation conforms to the same specifications as ICMP ping testing, and the two methods result in
the same response times.
Note This operation does not require the IP SLAs responder to be enabled.
To configure an ICMP echo operation on the source device, perform this task:
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 Switch(config)# ip sla
operation-number Creates an IP SLAs operation and enter IP SLAs configuration mode.
Step 3 Switch(config-ip-sla)#
icmp-echo
{destination-ip-address |
destination-hostname}
[source-ip {ip-address |
hostname} | source-interface
interface-id]
Configures the IP SLAs operation as an ICMP Echo operation and enter ICMP
echo configuration mode.
destination-ip-address | destination-hostname—Specify the destination IP
address or hostname.
(Optional) source-ip {ip-address | hostname}Specify the source IP
address or hostname. When a source IP address or hostname is not
specified, IP SLAs chooses the IP address nearest to the destination
(Optional) source-interface interface-id—Specify the source interface for
the operation.
Step 4 Switch(config-ip-sla)#
frequency seconds (Optional) Sets the rate at which a specified IP SLAs operation repeats. The
range is from 1 to 604800 seconds; the default is 60 seconds.
Step 5 Switch(config-ip-sla)# exit Exits UDP jitter configuration mode, and return to global configuration mode.
Step 6 Switch(config)# ip sla
schedule operation-number
[life {forever | seconds}]
[start-time {hh:mm [:ss]
[month day | day month] |
pending | now | after
hh:mm:ss] [ageout seconds]
[recurring]
Configures the scheduling parameters for an individual IP SLAs operation.
operation-number—Enter the RTR entry number.
(Optional) life—Set the operation to run indefinitely (forever) or for a
specific number of seconds. The range is from 0 to 2147483647. The
default is 3600 seconds (1 hour)
(Optional) start-time—Enter the time for the operation to begin collecting
information:
To start at a specific time, enter the hour, minute, second (in 24-hour
notation), and day of the month. If no month is entered, the default is
the current month.
Enter pending to select no information collection until a start time is
selected.
Enter now to start the operation immediately.
Enter after hh:mm:ss to indicate that the operation should start after
the entered time has elapsed.
(Optional) ageout seconds—Enter the number of seconds to keep the
operation in memory when it is not actively collecting information. The
range is 0 to 2073600 seconds; the default is 0 seconds (never ages out).
(Optional) recurring—Set the operation to automatically run every day.
Step 7 Switch(config)# end Returns to privileged EXEC mode.