Use it when you need only the traffic sent out of a port.
TX
SPAN direction tx mirrors only traffic transmitted out of the source port (egress).
1. TX mirrors traffic transmitted by the source port.
2. Shows egress after switching.
3. Combine with RX as needed.
4. Some platforms show rewritten frames.
5. Check direction when analysing.
egress frames → 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
TX — Correlate the same test packet with egress counters and the TX SPAN capture, then verify receipt on the adjacent device to close the physical boundary.
Step 2 Observation → implication → next check Narrow the fault
TX — If traffic is seen in RX elsewhere but not TX on the expected egress, inspect switching/routing/policy decisions. If it appears in TX but the peer misses it, move to physical link, optics or peer ingress.
Step 3 Common mistakes Narrow the fault
- Capturing only TX and missing incoming problems.
- Duplicate packets when combining TX on one port with RX on another.
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.
- tx mirrors traffic sent out of the source port (egress).
- Use it to see what the switch delivers to a device.
- Egress copies reflect any rewrites done by the switch.
show monitor session <n>— Source Ports TX
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
TX — A SPAN source in TX mode mirrors frames selected for transmission out the source interface. It observes the switch egress decision rather than what arrived on the wire from the peer. The forwarding pipeline selects egress first, then the mirror function copies eligible traffic. A TX capture can therefore show selection for egress but not successful physical reception by the far-end device.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
tx: mirror only what the switch sends out of the source port
With tx, the switch copies frames as they are transmitted out of the source port, after forwarding. The capture shows what the connected device actually receives. The Catalyst 9300 guide lists tx as one of the source directions, alongside rx and the default both.
C9300(config)# monitor session 4 source interface Gi1/0/30 tx
C9300(config)# monitor session 4 destination interface Gi1/0/48 encapsulation replicate
C9300# show monitor session 4
Session 4
---------
Type : Local Session
Source Ports :
TX Only : Gi1/0/30
Destination Ports : Gi1/0/48
Encapsulation : Replicate
When tx helps
| Question | Why tx answers it |
|---|---|
| Does the server receive the client's packets? | Shows what the switch delivered to the server port |
| Is multicast or broadcast reaching this host? | Flooded and multicast frames appear on egress |
| Are QoS markings rewritten? | Shows the egress DSCP or CoS after policies |
| Is a device being flooded with unknown unicast? | Egress shows everything sent to it |
tx and dropped traffic
Frames dropped on egress because of queue congestion are not mirrored, because they never leave the port. If a host reports missing packets, compare the capture with the output drop counters:
C9300# show interfaces Gi1/0/30 | include output drops
Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 18234
C9300# show platform hardware fed switch active qos queue stats interface Gi1/0/30
rx on one side, tx on the other
To follow one flow through the switch, mirror rx on the ingress port and tx on the egress port in the same session. Then you see the frame both arriving and leaving. If it arrives but never leaves, the switch dropped it (ACL, QoS, VLAN or MAC table issue).
Documented example, not captured output.
Quick reference
TX mirroring copies only traffic leaving the source port — what is being delivered to the connected device, after the switch has made its forwarding changes. It answers the question "what does this host actually receive?"
TX direction mirrors traffic transmitted by the source port (egress), after switching/routing changes such as rewritten MAC addresses and VLAN tags. Useful for seeing what actually reaches a device.
monitor session 1 source interface Gi1/0/5 tx
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 → TX. 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%