Mirror Port – Does It Keep VLAN Tags?

brocademirrorvlan

I have the following config on a Brocade XMR, running IronWare 5.6.0c.

Will the traffic mirrored to e 1/13 keep it's VLAN tags, so I can distinguish where it came from? Or will the tags be stripped and all be untagged?

And for bonus points, if it will be untagged, is there any way to keep the tags?

mirror ethernet 1/13

interface ethernet 2/16
 enable
 mon ethernet 1/13 both
!

#show vlan e 1/13
VLAN: 1  Untagged

#show vlan e 2/16
VLL name                   XXXXXX, VLL ID:               150, VLAN:  910    Tagged
VLL name                   YYYYYY, VLL ID:               151, VLAN:  911    Tagged
VLAN: 37  Tagged
VLAN: 90  Tagged
VLAN: 129  Tagged
VLAN: 256  Tagged
VLAN: 257  Tagged
VLAN: 280  Tagged
VLAN: 287  Tagged
VLAN: 290  Tagged
VLAN: 291  Tagged
VLAN: 1014  Tagged

Best Answer

The documentation says: "NOTE: If a port is configured as a mirror port, all traffic sent from that port will retain the encapsulation of the port being monitored and not add the encapsulation of the Egress port.". So it's a 1:1 packet copy, any tagging is preserved.