Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

IPS

Direct answer

An intrusion prevention system inspects traffic inline and blocks attacks, using signatures for known attacks and behaviour or anomaly detection for unusual traffic. An IDS only alerts; an IPS can drop.

When to use this

Use it when checking that attacks are actually blocked, or when legitimate traffic is broken by an IPS.

First 30 seconds

1. Inline or monitor-only? Detection or prevention policy?

2. Signatures updated recently?

3. Find the event for the traffic: which signature, which action?

4. Legitimate traffic dropped → tune or disable that signature for that traffic.

5. Attack not blocked → its signature set to alert, or the traffic is encrypted.

Operational verification

sensor inline → policy in prevention mode → signatures current → traffic visible (not encrypted) → match → drop → event logged

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
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.

PlatformCisco IOS / IOS XE
Scope / prerequisiteUse it when checking that attacks are actually blocked, or when legitimate traffic is broken by an IPS.
What next?3 suggested next steps
Child topics (this level)3
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Layered verification Verify boundary

Path: Networking → Network Devices → IPS. Local intent: IPS: Signature detection, Behavioral detection, Prevention.

Step 2 Verification and what it shows Verify boundary

Verify the same source/destination/service tuple at ingress and egress, confirm the IPS policy and signature set that matched it, and correlate the event timestamp with the original request. A logged signature shows inspection/match state only, but it does not show end-to-end application failure or that a different security device did not also affect the flow.

Step 3 Verification and output interpretation Verify boundary

Verify traffic visibility first, then detection/event state and enforcement outcome. An alert shows that observed traffic matched a detection condition; it does not by itself show the packet was blocked or that the endpoint was compromised.

Step 4 Observation → implication → next check Narrow the fault

Observation → implication → next check: no event for a known test flow points first to traffic steering or policy scope, not signature tuning. Events without prevention point to action mode or enforcement path. Drops with false positives point to signature/context tuning. After any change, replay the same flow and compare event, action and application result.

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
Drill down

Subtopics

Go one level deeper into this subject.

Key points

An IPS only blocks when it is inline and its policy is set to drop; in detection mode it just logs. Signatures must be current. A false positive is fixed for that one signature. Know what happens if the IPS engine fails: fail-open lets traffic through uninspected.

Key checks
  • The intrusion events — signature, source, destination, action (alert or drop).
  • The intrusion policy — inline or detection only; the action per rule.
  • The update status — when signatures were last updated.
  • The bypass setting — fail-open or fail-closed.
  • show asp drop (ASA / FTD) — drops by reason, for comparison.
ReferenceWhy it matters1 section · depth on demand

How it works in operation

An inline IPS evaluates traffic after packets reach the inspection path, matches signatures or behavioral rules, and can permit, alert, reset or drop according to policy. Availability of the sensor, traffic steering, policy assignment and signature state are separate owners; an enabled policy does not show the target flow actually traverses the sensor.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

IPS: detecting and stopping attacks in traffic

NIST SP 800-94 defines intrusion detection as monitoring events for signs of incidents, and intrusion prevention as detection plus attempts to stop those incidents. An IPS can usually be switched to detection only, which makes it an IDS; NIST uses IDPS for both.

IDPS types (NIST)

TypeWatches
Network-basedTraffic on segments; network and application protocols; usually at boundaries
WirelessWireless protocols themselves
Network behaviour analysisFlows, for unusual patterns such as DDoS or policy violations
Host-basedOne host's traffic, logs, processes and files; often on critical servers

Detection methods (NIST)

MethodStrengthWeakness
Signature-basedVery effective against known threats; simpleMisses unknown threats and variants
Anomaly-basedCan find previously unknown threatsMany false positives; profiles can absorb malicious activity
Stateful protocol analysisFinds attacks others miss, such as out-of-sequence commandsResource-intensive; models hard to make accurate

Prevention actions (NIST)

ActionExample
Stop the attackDrop packets, end the session, block an address
Change the environmentReconfigure a firewall or router
Change the contentRemove a malicious attachment, normalise requests
ips# show alerts last 3
2026-11-28T10:41:22Z  DROP   SID 1:58722  SERVER-WEBAPP path traversal attempt  198.51.100.77 -> 10.30.0.15:443
2026-11-28T10:43:05Z  ALERT  SID 1:43002  POLICY-OTHER remote access tool   10.110.0.64 -> 203.0.113.50:443
2026-11-28T10:44:19Z  DROP   SID 1:61003  MALWARE-CNC beacon               10.110.0.81 -> 192.0.2.200:80

Tuning (NIST)

False positives flag benign activity; false negatives miss attacks; reducing one usually increases the other. NIST describes tuning with thresholds, allow and block lists and alert settings, reviewed periodically. Many products have a learning or simulation mode that logs what would have been blocked, so policies can be tuned before blocking is enabled.

Where it runs

A network IPS must sit inline to block. Today it's usually a function inside an NGFW rather than a separate appliance.

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.

Quick reference

An IPS (Intrusion Prevention System) inspects traffic inline and blocks attacks that match signatures or anomaly rules; an IDS only detects and alerts, usually from a SPAN or TAP copy. Today IPS is typically a feature of next-generation firewalls (e.g. Snort 3 on Cisco Secure Firewall).

AspectIDSIPS
PlacementOut-of-band copyInline
ActionAlertDrop, reset, alert
Failure impactNone on trafficCan block traffic (fail-open/closed)

Tune rule sets to the environment: enable only relevant policies, and review false positives before switching from detect to block.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Architecture/protocol mechanics and state model

IPS functionality can observe traffic passively or sit inline where prevention can affect forwarding. Signature/behavioral detection, enforcement action and the underlying network path are separate evidence layers.

Limits and common misconceptions

No alert does not show no malicious traffic occurred because visibility, policy, signature coverage and encryption can limit inspection. Keep packet delivery, detection and prevention as separate claims.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration intent

Document whether the sensor is inline, tap/SPAN-fed or integrated into another security platform, which traffic reaches it, bypass/fail-open behavior and where enforcement actually occurs.

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 docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Network Devices → IPS. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Embedded reference data

Quick lookup tables

IPS · operational reference

Compact state/design/evidence reference for fast lookup.

LayerEvidence
VisibilityTraffic reached sensor
DetectionRule/behavior matched
PreventionAction applied
ServiceResulting application path
Confirmation

Confirm action

Continue?