Command Line Reference
Device Management
Log Threshold Configuration
3 min
show interface log threshold show interface log threshold \[ command] show interface log threshold \[purpose] display interface bandwidth utilization alarms \[view] system view \[notes] if no specific alarm configuration is applied to a particular interface, this command will only display the default values and will not provide information for each individual interface \[use cases] sonic# show interface log threshold interface default bandwidth utilization rx/tx alert threshold 80%, resume threshold 75% customer defined interface rx alert threshold rx resume threshold tx alert threshold tx resume threshold \ ethernet2 70 60 70 60 log threshold {tx|rx|both} log threshold {tx|rx|both} \[command] log threshold {tx|rx|both} alert threshold resume threshold \[purpose] configure the bandwidth utilization log threshold value for the interface \[view] system view \[parameter] parameter description tx interface outgoing direction rx interface incoming direction both configure both rx and tx simultaneously alert threshold alarm threshold, range 50 100, default value 80 resume threshold recovery threshold, range 50 100, default value 75 \[view] interface view \[usage scenario] users can use this command to customize the alarm thresholds and recovery thresholds for the outgoing and incoming directions of a specific interface when the alarm threshold is exceeded, syslog begins to generate alarm logs; when it falls below the recovery threshold, the alarm is canceled \[use cases] sonic(config)# interface ethernet 2 sonic(config if 2)# log threshold both 70 60
