Step 1
|
enable
|
Enables
privileged EXEC mode.
Enter your
password if prompted.
|
Step 2
|
configure
terminal
switch# configure terminal
|
Enters global
configuration mode.
|
Step 3
|
feature sla
sender
switch(config)# feature sla sender
|
Enables the
IP SLAs operation feature.
|
Step 4
|
ip sla
operation-number
switch(config)# ip sla 10
|
Begins
configuration for an IP SLAs operation and enters IP SLA configuration mode.
|
Step 5
|
tcp-connect
{destination-ip-address |
destination-hostname }
destination-port [source-ip {ip-address |
hostname }
source-port
port-number ] [control {enable |
disable }]
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 6
|
history buckets-kept
size
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 7
|
history
distributions-of-statistics-kept
size
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 8
|
history
enhanced
[interval
seconds ] [buckets
number-of-buckets ]
switch(config-ip-sla-tcp)# history enhanced interval 900 buckets 100
|
(Optional)
Enables enhanced history gathering for an IP SLAs operation.
|
Step 9
|
history
filter
{none |
all |
overThreshold
|
failures }
switch(config-ip-sla-tcp)# history filter failures
|
(Optional) Defines the type of information that is kept in the history table for an IP SLAs operation.
|
Step 10
|
frequency
seconds
switch(config-ip-sla-tcp)# frequency 60
|
(Optional)
Sets the rate at which a specified IP SLAs operation repeats.
|
Step 11
|
history
hours-of-statistics-kept
hours
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 12
|
history
lives-kept
lives
switch(config-ip-sla-tcp)# history lives-kept 5
|
(Optional) Sets the number of lives that are maintained in the history table for an IP SLAs operation.
|
Step 13
|
owner
owner-id
switch(config-ip-sla-tcp)# owner admin
|
(Optional)
Configures the Simple Network Management Protocol (SNMP) owner of an IP SLAs
operation.
|
Step 14
|
history
statistics-distribution-interval
milliseconds
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 15
|
tag
text
switch(config-ip-sla-tcp)# tag TelnetPollServer1
|
(Optional)
Creates a user-specified identifier for an IP SLAs operation.
|
Step 16
|
threshold
milliseconds
switch(config-ip-sla-tcp)# threshold 10000
|
(Optional) Sets the upper threshold value for calculating network monitoring statistics that are created by an IP SLAs operation.
|
Step 17
|
timeout
milliseconds
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 18
|
tos
number
switch(config-ip-sla-jitter)# tos 160
|
(Optional) In
an IPv4 network only, defines the ToS byte in the IPv4 header of an IP SLAs
operation.
|
Step 19
|
exit
switch(config-ip-sla-tcp)# exit
|
Exits TCP
configuration submode and returns to global configuration mode.
|
Step 20
|
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 ]
switch(config)# ip sla schedule 10 start-time now life forever
|
Configures
the scheduling parameters for an individual IP SLAs operation.
|
Step 21
|
exit
|
(Optional)
Exits global configuration mode and returns to privileged EXEC mode.
|
Step 22
|
show ip
sla configuration [operation-number ]
switch# show ip sla configuration 10
|
(Optional)
Displays configuration values including all defaults for all IP SLAs operations
or a specified operation.
|