Use it when you need the full conversation on a port.
Both
SPAN direction both mirrors received and transmitted traffic of the source port, giving a complete view of conversations through it.
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.
source port rx + tx → mirror → destination
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
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
| Direction | Captures | Typical use |
|---|---|---|
rx | Frames received on the source port | What a host sends |
tx | Frames sent out of the source port | What the network delivers to the host |
both | Both directions | Full conversation analysis |
Limits worth knowing (Cat9300 guide)
| Point | Detail |
|---|---|
| Destination | Must be a physical port, not an EtherChannel or a VLAN |
| Destination behaviour | Carries only monitored traffic. Stops taking part in STP, CDP and similar protocols while the session is active |
| Tagging | encapsulation replicate keeps the source tagging; the default sends untagged frames |
| Sources | Port and VLAN sources can't be mixed in one session |
| Scale | 66 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.
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
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 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%