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
|
Begins
configuration for an IP SLAs operation and enters IP SLA configuration mode.
|
Step 4 |
icmp-echo {destination-ipv4-address
|
destination-ipv6-address |
destination-hostname} [source-ip
{ipv4-address |
ipv6-address |
hostname} |
source-interface
interface-name]
switch(config-ip-sla)# icmp-echo 192.0.2.134 source-ip 192.0.2.132
switch(config-ip-sla)# icmp-echo 2016:1:1:1::2 source-ip 2016:1:1:1::2
|
Defines an
Echo operation and enters IP SLA Echo configuration mode.
Note
|
IPv6 is
available only from Cisco NX-OS Release 8.0 onwards.
|
|
Step 5 |
(Optional) history buckets-kept
size
switch(config-ip-sla-echo)# history buckets-kept 25
|
(Optional)
Sets the
number of history buckets that are kept during the lifetime of an IP SLAs
operation.
|
Step 6 |
(Optional) history distributions-of-statistics-kept
size
switch(config-ip-sla-echo)# history distributions-of-statistics-kept 5
|
(Optional)
Sets the
number of statistics distributions that are kept per hop during an IP SLAs
operation.
|
Step 7 |
(Optional) history enhanced
[interval
seconds] [buckets
number-of-buckets
switch(config-ip-sla-echo)# history enhanced interval 900 buckets 100
|
(Optional)
Enables
enhanced history gathering for an IP SLAs operation.
|
Step 8 |
(Optional) history filter {none |
all
|
overThreshold |
failures}
switch(config-ip-sla-echo)# history filter failures
|
(Optional)
Defines the
type of information kept in the history table for an IP SLAs operation.
|
Step 9 |
(Optional) frequency
seconds
switch(config-ip-sla-echo)# frequency 30
|
(Optional)
Sets the rate
at which a specified IP SLAs operation repeats.
|
Step 10 |
(Optional) history hours-of-statistics-kept
hours
switch(config-ip-sla-echo)# history hours-of-statistics-kept 4
|
(Optional)
Sets the
number of hours for which statistics are maintained for an IP SLAs operation.
|
Step 11 |
(Optional) history lives-kept
lives
switch(config-ip-sla-echo)# history lives-kept 5
|
(Optional)
Sets the
number of lives maintained in the history table for an IP SLAs operation.
|
Step 12 |
(Optional) owner
owner-id
switch(config-ip-sla-echo)# owner admin
|
(Optional)
Configures
the Simple Network Management Protocol (SNMP) owner of an IP SLAs operation.
|
Step 13 |
(Optional) request-data-size
bytes
switch(config-ip-sla-echo)# request-data-size 64
|
(Optional)
Sets the
protocol data size in the payload of an IP SLAs operation's request packet.
|
Step 14 |
(Optional) history statistics-distribution-interval
milliseconds
switch(config-ip-sla-echo)# history statistics-distribution-interval 10
|
(Optional)
Sets the time
interval for each statistics distribution kept for an IP SLAs operation.
|
Step 15 |
(Optional) tag
text
switch(config-ip-sla-echo)# tag TelnetPollServer1
|
(Optional)
Creates a
user-specified identifier for an IP SLAs operation.
|
Step 16 |
(Optional) threshold
milliseconds
switch(config-ip-sla-echo)# threshold 10000
|
(Optional)
Sets the
upper threshold value for calculating network monitoring statistics created by
an IP SLAs operation.
|
Step 17 |
(Optional) timeout
milliseconds
switch(config-ip-sla-echo)# timeout 10000
|
(Optional)
Sets the
amount of time an IP SLAs operation waits for a response from its request
packet.
|
Step 18 |
(Optional) Depending on the IP version you are using, use one of the following commands:
- tos
number
- traffic-class
number
switch(config-ip-sla-echo)# tos 160
switch(config-ip-sla-echo)# traffic-class 160
|
(Optional)
In an IPv4 network, defines the ToS byte in the IPv4 header of an IP SLA operation.
or
In an IPv6 network, defines the traffic class byte in the IPv6 header for a supported IP SLA operation.
Note
|
IPv6 is available only from Cisco NX-OS Release 8.0 onwards.
|
|
Step 19 |
(Optional) verify-data
switch(config-ip-sla-echo)# verify-data
|
(Optional)
Causes an IP
SLAs operation to check each reply packet for data corruption.
|
Step 20 |
(Optional) vrf {vrf-name |
default |
management}
switch(config-ip-sla-echo)# vrf vpn-A
|
(Optional)
Allows
monitoring within Multiprotocol Label Switching (MPLS) Virtual Private Networks
(VPNs) using IP SLAs operations.
|
Step 21 |
end
switch(config-ip-sla-echo)# end
|
Exits IP
SLA Echo configuration mode and returns to privileged EXEC mode.
|