Configuring IP SLAs Operations
Command
Step 6
ip sla monitor schedule
operation-number [life {forever |
seconds}] [start-time {hh:mm [:ss]
[month day | day month] | pending
| now | after hh:mm:ss] [ageout
seconds] [recurring]
Step 7
end
Step 8
show ip sla configuration
[operation-number]
Step 9
copy running-config
startup-config
To disable the IP SLAs operation, enter the no ip sla operation-number global configuration command.
This example shows how to configure a UDP jitter IP SLAs operation:
Switch(config)# ip sla 10
Switch(config-ip-sla)# udp-jitter 172.29.139.134 5000
Switch(config-ip-sla-jitter)# frequency 30
Switch(config-ip-sla-jitter)# exit
Switch(config)# ip sla schedule 5 start-time now life forever
Switch(config)# end
Switch# show ip sla configuration 10
IP SLAs, Infrastructure Engine-II.
Entry number: 10
Owner:
Tag:
Type of operation to perform: udp-jitter
Target address/Source address: 1.1.1.1/0.0.0.0
Target port/Source port: 2/0
Request size (ARR data portion): 32
Operation timeout (milliseconds): 5000
Packet Interval (milliseconds)/Number of packets: 20/10
Type Of Service parameters: 0x0
Verify data: No
Vrf Name:
Control Packets: enabled
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-10
Purpose
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 show 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.
Return to privileged EXEC mode.
(Optional) Display configuration values, including all defaults for all IP SLAs
operations or a specified operation.
(Optional) Save your entries in the configuration file.
Chapter 1
Configuring Cisco IOS IP SLAs Operations
OL-25303-03