Use it to recognise warnings that need attention before they become errors.
Severity 4 — Warning
Syslog severity 4 (warning) reports conditions that are not errors yet but need attention.
1. Severity 4 Warning: warning conditions.
2. Review trends.
3. Not normally paged.
4. Investigate spikes.
5. Can precede errors.
warning → log → trend review
Context & applicabilityCommon mistakes · platform/version boundaries
- Ignoring warnings that predict failures (optics, memory, CPU).
- Logging warnings only to the local buffer.
- No trend view of warning counts.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Severity numbers run 0 most severe through 7 debugging
- A configured threshold includes that severity and more severe messages
- Console, buffer, terminal monitor and remote logging are distinct destinations
- Excessive debugging can harm a production control plane; use bounded capture and rollback.
show logging | include -4-— warnings- Trend dashboards — patterns
ReferenceWhat it is1 section · depth on demand
Examples
%SW_MATM-4-MACFLAP_NOTIF(MAC address flapping)%OSPF-4-ERRRCV,%BGP-4-MSGDUMP, duplicate address warnings
Warnings often show early signs of loops, misconfiguration or attacks. Review them daily or alert on specific message IDs.
ReferenceWhy it matters1 section · depth on demand
Overview
Severity 4, warning, flags conditions that are not yet failures but often lead to them — for example MAC address flapping that points to a loop, or a native VLAN mismatch on a trunk. Reviewing warnings regularly catches configuration mistakes before users notice them.
Severity 4 — Warning: conditions that may lead to problems, e.g. %SW_MATM-4-MACFLAP_NOTIF (MAC flapping — possible loop), %CDP-4-NATIVE_VLAN_MISMATCH, %DHCP_SNOOPING-4-…. Warnings often point at configuration mistakes before they become outages.
ReferenceImportant terms & boundaries3 sections · depth on demand
Examples
%SFF8472-4-THRESHOLD_VIOLATION: Te1/1/1: Rx power low warning
%SW_MATM-4-MACFLAP_NOTIF: Host 0011.2233.4455 in vlan 10 is flapping between port Gi1/0/1 and port Gi1/0/2
Illustrative output, not captured Evidence. Both predict problems: a failing optic and a possible loop or duplicate MAC.
In depth
Severity 4 — warnings: something is wrong, but not yet an error
Syslog severities run from 0 (emergencies) to 7 (debugging). The Catalyst 9300 guide notes that lower numbers are more severe, and that a level setting includes that level and everything more severe.
| Level | Keyword | Example messages |
|---|---|---|
| 4 | warnings | %CDP-4-NATIVE_VLAN_MISMATCH, %SW_MATM-4-MACFLAP_NOTIF, %PLATFORM-4-ELEMENT_WARNING |
*Nov 27 10:20:41.118: %SW_MATM-4-MACFLAP_NOTIF: Host 0050.56ab.12cd in vlan 20 is flapping between port Gi1/0/5 and port Gi1/0/6
*Nov 27 10:21:02.903: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on TenGigabitEthernet1/1/1 (99), with SW2 TenGigabitEthernet1/1/1 (1).
C9300(config)# logging buffered 1048576 warnings
C9300# show logging | include -4-
Why warnings deserve attention
| Warning | Often means |
|---|---|
| MAC flapping | A loop, a misconfigured NIC team, or a VM moving rapidly |
| Native VLAN mismatch | Trunk misconfiguration; the guide warns about spanning-tree loops |
| Environmental warnings | Temperature or a power supply approaching limits |
| Duplex mismatch (CDP) | Performance problems with late collisions |
Logging destinations and defaults (Cat9300 guide)
| Destination | Command | Default level |
|---|---|---|
| Console | logging console <level> | debugging |
| Terminal sessions | logging monitor <level> + terminal monitor | debugging |
| Syslog servers | logging trap <level> | informational |
| History table (SNMP) | logging history <level> | warnings |
Practice
- Send
warningsand more severe to alerting, andinformationalto the log server for analysis. - Treat repeated warnings as incidents. MAC flapping in particular often precedes an outage.
- Keep the console at a lower verbosity (for example
logging console critical), so console output doesn't slow the device during an event.
Documented example, not captured output.
Using warnings
Build specific alerts for important warning IDs (MAC flapping, duplicate IP, OSPF errors) rather than for all level 4 messages. logging rate-limit prevents a storm of warnings from overloading the CPU.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Services → Syslog → Severity 4 — Warning. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc5424.html · confidence 94%