SLA Configuration
SLA Configuration
Section titled “SLA Configuration”show sla brief
Section titled “show sla brief”[Command]
show sla brief
[Purpose]
View SLA information
[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 58.241.51.95 0.124 0.183 0.312 0%[Command]
sla id icmp-echo dst-ip A.B.C.D|A::B [src-port interface-type interface-name] [src-ip A.B.C.D|A::B] [timeout time] [frequency time]
[Purpose]
Configure SLA
[Parameter]
| Parameter | Description |
|---|---|
| id | SLA Instance ID |
| A.B.C.D|A::B | IP address for SLA instance monitoring |
| src-port interface-type interface-name | Source interface for sending detection messages |
| src-ip <A.B.C.D A::B> | Specify the interface type and name of the BFD session |
| timeout time | Detection timeout waiting time, value range: 1-3600, unit: s, default value is 5 |
| frequency time | Detection message sending time interval, value range: 1-3600, unit: s, default value is 5 |
[View]
System Configuration View
[Usage Scenario]
Configure SLA to measure information such as network performance, reliability, and packet loss rate. Detect if the IP address is reachable by sending ICMP request messages to the specified IP address. 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 2