Configuring vlan-based mirroring – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 249

Advertising
background image

VLAN-based mirroring behavior: Tagged versus untagged ports (Continued)

TABLE 42

Ingress tag type

Egress tag type

VLAN-based mirroring direction

Mirrored traffic tag type

Untagged

Tagged

Ingress

Untagged

Untagged

Tagged

Egress

Tagged

Tagged

Untagged

Ingress

Tagged

Tagged

Untagged

Egress

Tagged

Tagged

Tagged

Ingress

Tagged

Tagged

Tagged

Egress

Tagged

As illustrated in the above table, regardless of the egress port tag type, if a VLAN is egress mirrored,
the mirrored traffic is always tagged. This functionality is built into the hardware and is the expected
behavior, as the tag acts as an identifier for monitored traffic on the mirror-port (in case the mirror-port
belongs to some other VLAN).

Configuring VLAN-based mirroring

Configure VLAN-based mirroring using the monitor ethernet command in VLAN configuration mode.
For example, to enable incoming mirroring on VLANs 10 and 20, to mirror port e 6/24, enter the
following commands.

device(config)#mirror-port ethernet 6/24

device(config)#vlan 10

device(config-VLAN-10)#monitor ethernet 6/24 input

device(config-VLAN-10)#exit

device(config)#vlan 20

device(config-VLAN-20)#monitor ethernet 6/24 input

device(config-VLAN-20)#end

For example, to enable outgoing mirroring on VLANs 10 and 20, to mirror port e 6/24, enter the
following commands.

device(config)#mirror-port ethernet 6/24

device(config)#vlan 10

device(config-VLAN-10)#monitor ethernet 6/24 output

device(config-VLAN-10)#exit

device(config)#vlan 20

device(config-VLAN-20)#monitor ethernet 6/24 output

device(config-VLAN-20)#end

For example, to enable bidirectional mirroring on VLANs 10 and 20, to mirror port e 6/24, enter the
following commands.

device(config)#mirror-port ethernet 6/24

device(config)#vlan 10

device(config-VLAN-10)#monitor ethernet 6/24 both

device(config-VLAN-10)#exit

device(config)#vlan 20

device(config-VLAN-20)#monitor ethernet 6/24 both

device(config-VLAN-20)#end

To disable mirroring on VLAN 20, enter the following commands.

device(config)#vlan 20

device(config-VLAN-20)#no monitor ethernet 6/24

device(config-VLAN-20)#end

Configuring VLAN-based mirroring

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

249

53-1003086-04

Advertising