| Step 1 |
enable
Example:
Switch> enable
|
Enables privileged EXEC mode.
Enter your password if prompted.
|
| Step 2 |
configure
terminal
Example:
Switch# configure terminal
|
Enters global configuration mode.
|
| Step 3 |
ip
sla
operation-number
Example:
Switch(config)# ip sla 10
|
Begins configuration for an IP SLAs operation and enters IP SLA configuration mode.
|
| Step 4 |
tcp-connect
{destination-ip-address | destination-hostname} destination-port [source-ip {ip-address | hostname} source-port port-number] [control {enable | disable}]
Example:
Switch(config-ip-sla)# tcp-connect 172.29.139.132 5000
|
Defines a TCP Connect operation and enters IP SLA TCP configuration mode.
Use the control disable keyword combination only if you disable the IP SLAs control protocol on both the source and target switches.
|
| Step 5 |
history
buckets-kept
size
Example:
Switch(config-ip-sla-tcp)# history buckets-kept 25
|
(Optional) Sets the number of history buckets that are kept during the lifetime of an IP SLAs operation.
|
| Step 6 |
history
distributions-of-statistics-kept
size
Example:
Switch(config-ip-sla-tcp)# history distributions-of-statistics-kept 5
|
(Optional) Sets the number of statistics distributions kept per hop during an IP SLAs operation.
|
| Step 7 |
history
enhanced
[interval seconds] [buckets number-of-buckets]
Example:
Switch(config-ip-sla-tcp)# history enhanced interval 900 buckets 100
|
(Optional) Enables enhanced history gathering for an IP SLAs operation.
|
| Step 8 |
history
filter
{none | all | overThreshold | failures}
Example:
Switch(config-ip-sla-tcp)# history filter failures
|
(Optional) Defines the type of information kept in the history table for an IP SLAs operation.
|
| Step 9 |
frequency
seconds
Example:
Switch(config-ip-sla-tcp)# frequency 60
|
(Optional) Sets the rate at which a specified IP SLAs operation repeats.
|
| Step 10 |
history
hours-of-statistics-kept
hours
Example:
Switch(config-ip-sla-tcp)# history hours-of-statistics-kept 4
|
(Optional) Sets the number of hours for which statistics are maintained for an IP SLAs operation.
|
| Step 11 |
history
lives-kept
lives
Example:
Switch(config-ip-sla-tcp)# history lives-kept 5
|
(Optional) Sets the number of lives maintained in the history table for an IP SLAs operation.
|
| Step 12 |
owner
owner-id
Example:
Switch(config-ip-sla-tcp)# owner admin
|
(Optional) Configures the Simple Network Management Protocol (SNMP) owner of an IP SLAs operation.
|
| Step 13 |
history
statistics-distribution-interval
milliseconds
Example:
Switch(config-ip-sla-tcp)# history statistics-distribution-interval 10
|
(Optional) Sets the time interval for each statistics distribution kept for an IP SLAs operation.
|
| Step 14 |
tag
text
Example:
Switch(config-ip-sla-tcp)# tag TelnetPollServer1
|
(Optional) Creates a user-specified identifier for an IP SLAs operation.
|
| Step 15 |
threshold
milliseconds
Example:
Switch(config-ip-sla-tcp)# threshold 10000
|
(Optional) Sets the upper threshold value for calculating network monitoring statistics created by an IP SLAs operation.
|
| Step 16 |
timeout
milliseconds
Example:
Switch(config-ip-sla-tcp)# timeout 10000
|
(Optional) Sets the amount of time an IP SLAs operation waits for a response from its request packet.
|
| Step 17 |
tos number
Example:
Switch(config-ip-sla-jitter)# tos 160
Example:
|
(Optional) In an IPv4 network only, defines the ToS byte in the IPv4 header of an IP SLAs operation.
|
| Step 18 |
exit
Example:
Switch(config-ip-sla-tcp)# exit
|
Exits TCP configuration submode and returns to global configuration mode.
|
| Step 19 |
ip
sla
schedule
operation-number
[life {forever| seconds}] [start-time {hh:mm[:ss] [monthday | daymonth] | pending | now | after hh:mm:ss] [ageout seconds] [recurring]
Example:
Switch(config)# ip sla schedule 10 start-time now life forever
|
Configures the scheduling parameters for an individual IP SLAs operation.
|
| Step 20 |
exit
Example:
Switch(config)# exit
|
(Optional) Exits global configuration mode and returns to privileged EXEC mode.
|
| Step 21 |
show
ip
sla
configuration
[operation-number]
Example:
Switch# show ip sla configuration 10
|
(Optional) Displays configuration values including all defaults for all IP SLAs operations or a specified operation.
|