icmp-echo

Syntax

icmp-echo {<DEST-IPV4-ADDR>|<HOSTNAME>} [source {<SOURCE-IPV4-ADDR> | <IFNAME>}]
     [name-server <IPV4-ADDR-DNS-SERVER>] [payload-size <PAYLOAD-SIZE>]
     [tos <TYPE-OF-SERVICE>] [probe-interval <PROBE-INTERVAL>]

Description

Configures ICMP echo as the IP-SLA test mechanism. Requires destination address for the IP-SLA test.

Command context

config-ip-sla-<IP-SLA-NAME>

Parameters

{<DEST-IPV4-ADDR> | <HOSTNAME>}

Selects the destination IPv4 address for the IP-SLA or the hostname of the destination.

[source {<SOURCE-IPV4-ADDR> | <IFNAME>}]

Selects the source IPv4 address for SLA probes or the source interface to use for sending IP-SLA probes.

name-server <IPV4-ADDR-DNS-SERVER>

Specifies the DNS server for destination hostname resolution.

payload-size <PAYLOAD-SIZE>

Specifies the payload size of an SLA probe. Range: 0 to 1440.

tos <TYPE-OF-SERVICE>

Specifies the type of serve to be used in the probe packets. Range: 0 to 255.

probe-interval <PROBE-INTERVAL>

Specifies the probe interval in seconds. Range: 5 to 604800.

Authority

Administrators

Examples

switch(config)# ip-sla test
    switch(config-ip-sla-test)# icmp-echo 2.2.2.2
    switch(config-ip-sla-test)# icmp-echo 2.2.2.2 source 3.3.3.3
    switch(config-ip-sla-test)# icmp-echo 2.2.2.2 source 3.3.3.3 payload-size 400
    switch(config-ip-sla-test)# icmp-echo 2.2.2.2 source 3.3.3.3 payload-size 400 name-server 4.4.4.4
    switch(config-ip-sla-test)# icmp-echo 2.2.2.2 source 3.3.3.3 payload-size 400 name-server 4.4.4.4  probe-interval 80