Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Both

Direct answer

SPAN direction both mirrors received and transmitted traffic of the source port, giving a complete view of conversations through it.

When to use this

Use it when you need the full conversation on a port.

First 30 seconds

1. Both mirrors received and transmitted traffic.

2. Doubles mirrored volume.

3. Captures full conversations on a port.

4. Watch destination oversubscription.

5. Default when direction is not specified.

Operational verification

source port rx + tx → mirror → destination

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 you need the full conversation on a port.
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.

3 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 and original-test closure Verify boundary

Both — Use a low-rate controlled bidirectional flow, validate both directions against interface counters, then rely on the capture only within the confirmed SPAN capacity boundary.

Step 2 Observation → implication → next check Narrow the fault

Both — If the capture seems incomplete, compare source-port RX/TX rates with destination capacity and narrow the filter/session. If direction matters to the hypothesis, split RX and TX rather than inferring direction from packet order.

Step 3 Common mistakes Narrow the fault
  • Duplicates when both ends of a flow are mirrored.
  • Oversubscribing the destination port.
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
  • both mirrors traffic received and sent on the source port.
  • It shows complete conversations through that port.
  • It doubles the load on the destination port.
Key checks
  • show monitor session <n> — Source Ports Both
ReferenceHow it works1 section · depth on demand

Operational mechanics and ownership

Both — SPAN Both mirrors eligible ingress and egress traffic from the source, useful for bidirectional context but more likely to oversubscribe the destination when aggregate traffic is high. The monitor session combines two directions that have different semantics; duplicate-looking frames or missing bursts can be artifacts of mirroring capacity rather than the production path itself.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

both mirrors received and transmitted traffic, and is the default

On Catalyst 9300 (IOS XE 17.3) the source direction is rx, tx or both. The configuration guide gives both as the default.

C9300(config)# monitor session 1 source interface Gi1/0/10 both
C9300(config)# monitor session 1 destination interface Gi1/0/48 encapsulation replicate
C9300# show monitor session 1
Session 1
---------
Type                     : Local Session
Source Ports             :
    Both                 : Gi1/0/10
Destination Ports        : Gi1/0/48
    Encapsulation        : Replicate
          Ingress        : Disabled

Direction choice

DirectionCapturesTypical use
rxFrames received on the source portWhat a host sends
txFrames sent out of the source portWhat the network delivers to the host
bothBoth directionsFull conversation analysis

Limits worth knowing (Cat9300 guide)

PointDetail
DestinationMust be a physical port, not an EtherChannel or a VLAN
Destination behaviourCarries only monitored traffic. Stops taking part in STP, CDP and similar protocols while the session is active
Taggingencapsulation replicate keeps the source tagging; the default sends untagged frames
SourcesPort and VLAN sources can't be mixed in one session
Scale66 sessions per device, up to 8 of them source sessions

Oversubscription

both on a busy 1 GbE source can produce up to 2 Gb/s of mirrored traffic, so a 1 GbE destination drops frames. For high-rate links, mirror one direction per session to separate destinations, or use a faster destination port.

Remove sessions after troubleshooting (no monitor session 1). A forgotten SPAN destination is a port that silently carries no normal traffic.

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

Mirroring both directions shows the complete conversation on a port and is the default. The main side effect appears when two monitored ports talk to each other: every packet is captured twice, which can confuse analysis unless duplicates are removed.

Both (default) mirrors RX and TX. When two sources talk to each other and both are monitored in both directions, each packet appears twice — mirror one side only, or deduplicate in Wireshark (editcap -d).

monitor session 1 source interface Gi1/0/5 both

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 Assurance → SPAN → Both. 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?