icmp-echo

Syntax

icmp回应{< DEST-IPV4-ADDR >|} [source {|})[name-server] [payload-size] [tos] [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-

Parameters

{< DEST-IPV4-ADDR >|}

选择德斯坦ation IPv4 address for the IP-SLA or the hostname of the destination.

[source {|})

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

name-server

Specifies the DNS server for destination hostname resolution.

payload-size

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

tos

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

probe-interval

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

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config)#ip-sla testswitch(config-ip-sla-test)#icmp-echo 2.2.2.2switch(config-ip-sla-test)#icmp-echo 2.2.2.2 source 3.3.3.3switch(config-ip-sla-test)#icmp-echo 2.2.2.2 source 3.3.3.3 payload-size 400switch(config-ip-sla-test)#icmp-echo 2.2.2.2 source 3.3.3.3 payload-size 400 name-server 4.4.4.4switch(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