41-12
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 41 Configuring Cisco IOS IP SLAs Operations
Configuring IP SLAs Operations
Note This operation does not require the IP SLAs responder to be enabled.
Beginning in privileged EXEC mode, follow these steps to configure an ICMP echo operation on the
source device:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 ip sla operation-number Create an IP SLAs operation and enter IP SLAs configuration mode.
Step 3 icmp-echo {destination-ip-address
| destination-hostname} [source-ip
{ip-address | hostname} |
source-interface interface-id]
Configure 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 frequency seconds (Optional) Set 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 exit Exit UDP jitter configuration mode, and return to global configuration mode.
Step 6 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]
Configure 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 end Return to privileged EXEC mode.