Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
ip
sla
operation-number
Device(config)# ip sla 10
|
Begins configuration for an IP SLAs operation and enters IP SLA configuration mode.
|
Step 4 |
dns
{destination-ip-address |
destination-hostname }
name-server
ip-address [source-ip {ip-address |
hostname }
source-port
port-number ]
Device(config-ip-sla)# dns host1 name-server 172.20.2.132
|
Defines a DNS operation and enters IP SLA DNS configuration mode.
|
Step 5 |
history
buckets-kept
size
Device(config-ip-sla-dns)# 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
Device(config-ip-sla-dns)# 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 ]
Device(config-ip-sla-dns)# history enhanced interval 900 buckets 100
|
(Optional) Enables enhanced history gathering for an IP SLAs operation.
|
Step 8 |
history
filter
{none |
all |
overThreshold |
failures }
Device(config-ip-sla-dns)# history filter failures
|
(Optional) Defines the type of information kept in the history table for an IP SLAs operation.
|
Step 9 |
frequency
seconds
Device(config-ip-sla-dns)# frequency 30
|
(Optional) Sets the rate at which a specified IP SLAs operation repeats.
|
Step 10 |
history
hours-of-statistics-kept
hours
Device(config-ip-sla-dns)# 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
Device(config-ip-sla-dns)# 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
Device(config-ip-sla-dns)# owner admin
|
(Optional) Configures the Simple Network Management Protocol (SNMP) owner of an IP SLAs operation.
|
Step 13 |
history
statistics-distribution-interval
milliseconds
Device(config-ip-sla-dns)# history statistics-distribution-interval 10
|
(Optional) Sets the time interval for each statistics distribution kept for an IP SLAs operation.
|
Step 14 |
tag
text
Device(config-ip-sla-dns)# tag TelnetPollServer1
|
(Optional) Creates a user-specified identifier for an IP SLAs operation.
|
Step 15 |
threshold
milliseconds
Device(config-ip-sla-dns)# threshold 10000
|
(Optional) Sets the upper threshold value for calculating network monitoring statistics created by an IP SLAs operation.
|
Step 16 |
timeout
milliseconds
Device(config-ip-sla-dns)# timeout 10000
|
(Optional) Sets the amount of time an IP SLAs operation waits for a response from its request packet.
|
Step 17 |
end
Device(config-ip-sla-dns)# end
|
Exits to privileged EXEC mode.
|