Use this command in IP SLA configuration mode, to configure an IP Service Level Agreements (SLAs) Internet Control Message Protocol (ICMP) echo operation.
| Default | No IP SLAs operation type is configured for the operation being configured. |
| Format | icmp-echo destination-ip-address [source-interface {interface-name | vlan vlan-id}] |
| Mode | IP SLA Config |
| Parameter | Description |
|---|---|
| destination-ip-address | Destination IPv4 or IPv6 address. |
| source-interface {interface-name l vlan vlan-id} | Used to specify the source interface for the operation. |
Usage Guidelines
You must configure the type of IP SLAs operation (ICMP echo) before you can configure any of the other parameters of the operation. To change the operation values (destination-ip-address or source-interface-name of an existing scheduled IP SLAs ICMP echo operation, you must stop the IP SLA operation by using the no ip sla schedule operation-number. Or else you must first delete the IP SLAs operation (using the no ip sla global configuration command) and then reconfigure the operation with the new operation values.
IP SLAs ICMP echo operations support both IPv4 and IPv6 addresses.
Example: In the following example, IP SLAs operation 12 is created and configured as an echo operation using the ICMP protocol and the destination IPv4 address 143.1.16.125:
(Routing)(config)#ip sla 12 (Routing)(config-ip-sla)#icmp-echo 143.1.16.125
Example: In the following example, IP SLAs operation 13 is created and configured as an echo operation using the ICMP protocol and the destination IPv6 address 3001:CD6:200::1:
(Routing)(config)#ip sla 13 (Routing)(config-ip-sla)#icmp-echo 3001:CD6:200::1