Step 1
|
configure
terminal
switch# configure terminal
|
Enters global
configuration mode.
|
Step 2
|
feature sla
sender
switch(config)# feature sla sender
|
Enables the
IP SLAs operation feature.
|
Step 3
|
ip
sla
operation-number
switch(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 ]
switch(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
switch(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
switch(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
filter {none |
all |
overThreshold |
failures }
switch(config-ip-sla-dns)# history filter failures
|
(Optional) Defines the type of information that is kept in the history table for an IP SLAs operation.
|
Step 8
|
frequency
seconds
switch(config-ip-sla-dns)# frequency 30
|
(Optional) Sets
the rate at which a specified IP SLAs operation repeats.
|
Step 9
|
history
hours-of-statistics-kept
hours
switch(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 10
|
history
lives-kept
lives
switch(config-ip-sla-dns)# history lives-kept 2
|
(Optional) Sets the number of lives that are maintained in the history table for an IP SLAs operation.
|
Step 11
|
owner
owner-id
switch(config-ip-sla-dns)# owner admin
|
(Optional)
Configures the Simple Network Management Protocol (SNMP) owner of an IP SLAs
operation.
|
Step 12
|
history
statistics-distribution-interval
milliseconds
switch(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 13
|
tag
text
switch(config-ip-sla-dns)# tag TelnetPollServer1
|
(Optional)
Creates a user-specified identifier for an IP SLAs operation.
|
Step 14
|
threshold
milliseconds
switch(config-ip-sla-dns)# threshold 9000
|
(Optional) Sets the upper threshold value for calculating network monitoring statistics that are created by an IP SLAs operation.
|
Step 15
|
timeout
milliseconds
switch(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 16
|
end
switch(config-ip-sla-dns)# end
|
Exits to
privileged EXEC mode.
|