Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Severity 4 — Warning

Direct answer

Syslog severity 4 (warning) reports conditions that are not errors yet but need attention.

When to use this

Use it to recognise warnings that need attention before they become errors.

First 30 seconds

1. Severity 4 Warning: warning conditions.

2. Review trends.

3. Not normally paged.

4. Investigate spikes.

5. Can precede errors.

Operational verification

warning → log → trend review

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Ignoring warnings that predict failures (optics, memory, CPU).
  • Logging warnings only to the local buffer.
  • No trend view of warning counts.
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS XE
Scope / prerequisiteUse it to recognise warnings that need attention before they become errors.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • 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.

LevelKeywordExample messages
4warnings%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

WarningOften means
MAC flappingA loop, a misconfigured NIC team, or a VM moving rapidly
Native VLAN mismatchTrunk misconfiguration; the guide warns about spanning-tree loops
Environmental warningsTemperature or a power supply approaching limits
Duplex mismatch (CDP)Performance problems with late collisions

Logging destinations and defaults (Cat9300 guide)

DestinationCommandDefault level
Consolelogging console <level>debugging
Terminal sessionslogging monitor <level> + terminal monitordebugging
Syslog serverslogging trap <level>informational
History table (SNMP)logging history <level>warnings

Practice

  • Send warnings and more severe to alerting, and informational to 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 5424

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%
Confirmation

Confirm action

Continue?