Use this command to start configuring an IP Service Level Agreements (SLAs) operation and enter the IP SLA configuration mode.
Default | No IP SLA operation is configured. |
Format | ip sla operation-number |
Mode | Global Config |
Parameter | Description |
---|---|
operation-number | Identifies the IP SLAs operation being configured. The range is from 1 to 128. |
Usage Guidelines
Start configuring an IP SLA operation by using the ip sla command. This command specifies an identification number for the operation to being configured. Once this command is entered, the router enters IP SLA configuration mode.
This command is supported in IPv4 networks and also for IPv6 networks where IPv6 addresses are supported. The maximum number of IP SLAs supported is 128 (IPv4 and IPv6 combined).
Once an operation is configured it needs to be scheduled to be started. Refer to the ip sla schedule global configuration command for more details on scheduling of an operation.
The configuration of an operation cannot be modified after an operation has been scheduled to start. For modifying the configuration of the operation after it is scheduled, the operation must either be stopped or must be deleted first (using the no ip sla command) and then reconfigured with new operation parameters.
To display the current operational state of an IP SLA operation, use the show ip sla configuration command in User EXEC or Privileged EXEC mode.
Example: The following example shows an operation 55 being configured as an ICMP Echo operation in an IPv4 network and being scheduled to start. In the below example the ip sla command being used in an IPv4 network is shown.
(Routing)(config)# ip sla 55 (Routing)(config-ip-sla)#icmp-echo 172.16.1.175 (Routing) (config-ip-sla-echo)#exit (Routing)(config-ip-sla)#exit (Routing)(config)# ip sla schedule 55