Skip to content
Ask AI

SLA

[Command]

show sla brief

[Purpose]

Display the information about SLA

[View]

System view

[Use Cases]

sonic# show sla brief
===================================icmp_echo====================================
Sla_id type dst_ip min_time avg_time max_time packt_loss
-------- --------- ----------- ---------- ---------- ---------- ------------
1 icmp_echo 150.1.0.2 0.63 0.762 0.857 0%
==================================user_define===================================
Sla_id type dst_ip customer_file_path
-------- ------ -------- --------------------

[Command]

sla ID icmp-echo dst-ip{ A.B.C.D|A::B }[src-port interface_type interface_name ][timeout time ][frequency interval ]

[Purpose]

Configure SLA

[Parameter]

ParameterDescription
IDSLA instance ID
A.B.C.D|A::BThe IP address monitored by the SLA instance
interface_type interface_nameSpecifies the source of the probe packet
timeout timeThe probe timeout waiting timeout range is 1-3600, the unit is s, and the default value is 5
frequency intervalThe detection packet transmission interval, the value range: 1-3600, the unit: s, the default value is 10

[View]

System configure view

[Usage Scenario]

Configure SLA (Service Level Agreement) to measure network performance and reliability. By sending ICMP (Internet Control Message Protocol) request packets to a specified IP address, it probes whether the IP address is reachable. This helps network administrators determine the optimal data transmission path.

[Use Cases]

sonic(config)# sla 1 icmp-echo dst-ip 150.1.0.2 src-port ethernet 49