Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Prevention

Direct answer

Prevention means the IPS sits inline and actively drops, resets or blocks malicious traffic, rather than only generating alerts as an IDS does.

When to use this

Use it when attacks must actually be stopped, not just logged, and when deciding fail-open or fail-closed behaviour.

First 30 seconds

1. Policy mode shows inline/drop actions, not "detect only".

2. Test with known attack signatures in a lab or with vendor test traffic.

3. Bypass/fail-open behaviour documented and tested.

4. Blocked events visible in the SIEM with correct source/destination.

Operational verification

sensor inline → policy action drop → signature matches → packet dropped or session reset → event logged → fail mode known

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Rules in alert mode forever, so nothing is prevented.
  • Blocking actions without logging, making troubleshooting impossible.
  • Not testing that drops really happen (generate safe test traffic).
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 attacks must actually be stopped, not just logged, and when deciding fail-open or fail-closed behaviour.
What next?3 suggested next steps
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.

1 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 Verifying prevention Verify boundary
  • Policy mode shows inline/drop actions, not "detect only".
  • Test with known attack signatures in a lab or with vendor test traffic.
  • Bypass/fail-open behaviour documented and tested.
  • Blocked events visible in the SIEM with correct source/destination.
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
  • Prevention means blocking malicious traffic inline instead of only alerting.
  • Inline placement adds latency and a failure point.
  • Decide fail-open or fail-closed behaviour.
Key checks
  • Check the IPS is inline and in blocking mode.
  • Check block events for the flow.
  • Check fail-open/fail-closed behaviour.
ReferenceWhat it is1 section · depth on demand

Inline vs passive

ModePlacementCan blockRisk
IPS (inline)In the traffic pathYes: drop, reset, block sourceA false positive blocks real traffic; failure must be fail-open or fail-closed by design
IDS (passive)On a SPAN/TAP copyNo, only alertsAttack reaches the target before anyone reacts

Start new signatures in alert-only mode, tune false positives, then enable blocking.

ReferenceWhy it matters1 section · depth on demand

How it works

Prevention means the IPS sits inline and can drop packets or reset connections when a rule fires. An IDS only alerts on a copy of the traffic. Inline sensors must be sized for throughput and have a fail-open or fail-closed decision for when the engine is overloaded.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Prevention: what an IPS does when it detects an attack

NIST SP 800-94 groups prevention capabilities into three kinds: stopping the attack (ending the connection or session, blocking an account or address), changing the security environment (reconfiguring a firewall, router or switch), and changing the attack's content (removing malicious parts, normalising requests).

Prevention actions

ActionEffectCaution
Drop packetThe offending packet never reaches the targetOnly possible inline
Reset connectionTCP resets to one or both endsThe attacker can retry
Block sourceAddress blocked for a periodShared or spoofed addresses can cause collateral blocking
Quarantine hostSwitch port or VLAN change, often through NACBusiness impact if wrong
Rewrite contentStrip or normalise the malicious partCan break applications

Inline versus passive

DeploymentCan prevent?
Inline (in the traffic path)Yes: drops before delivery
Passive (SPAN or tap)Only indirectly: resets, or instructing other devices

Avoiding self-inflicted outages

NIST notes many products offer a learning or simulation mode that logs when a prevention action would have fired, so administrators can tune before blocking. It also explains that reducing false negatives usually increases false positives, which is why blocking rules need tuning.

ips# show policy CORP-EDGE | include mode|action
  Inspection mode: prevention
  Default action for high-confidence signatures: drop
  Default action for medium-confidence signatures: alert
ips# show events blocked last 2
2026-11-28T10:41:22Z  drop   1:58722  path traversal attempt   198.51.100.77 -> 10.30.0.15:443
2026-11-28T11:04:51Z  drop   1:61003  C2 beacon                10.110.0.90 -> 192.0.2.200:80

Fail-open or fail-closed

ChoiceBehaviour if the IPS fails
Fail-open (bypass)Traffic flows uninspected; availability first
Fail-closedTraffic stops; security first

Decide per link: Internet edges often fail open with redundant devices, high-security zones fail closed.

Rollout

Start new policies in detection mode, block high-confidence signatures first, then widen blocking as tuning removes false positives.

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

Authoritative/upstream documentation reviewed for bounded claims in Network Devices → IPS → Prevention. 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%
Confirmation

Confirm action

Continue?