Quick Reference Guide

402 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
MAC filter-based mirroring
14
If a port is in both mirrored and non-mirrored VLANs, only traffic on the port from the mirrored VLAN
will be mirrored. For example, the following configuration adds VLAN 20 to the previous
configuration. In this example, ports 1 and 2 are in both VLAN 10 and VLAN 20. ACL-Based
Mirroring is only applied to VLAN 10. Consequently, traffic that is on ports 1 and 2 that belongs to
VLAN 20 will not be mirrored.
PowerConnect(config)#vlan 10
PowerConnect(config-vlan-10)#tagged ethernet 1 to 2
PowerConnect(config-vlan-10)#tagged ethernet 3
PowerConnect(config-vlan-10)#router-interface ve 10
PowerConnect(config)#vlan 20
PowerConnect(config-vlan-20)#tagged ethernet 1 to 2
PowerConnect(config)#interface ethernet 1
PowerConnect(config-if-e10000-1)#ACL-mirror-port ethernet 5
PowerConnect(config)#interface ve 10
PowerConnect(config-vif-10)#ip address 10.10.10.254/24
PowerConnect(config-vif-10)#ip access-group 102 in
PowerConnect(config)#access-list 102 permit ip any any mirror
MAC filter-based mirroring
This feature allows traffic entering an ingress port to be monitored from a mirror port connected to
a data analyzer, based on specific source and destination MAC addresses. This feature supports
mirroring of inbound traffic only. Outbound mirroring is not supported.
MAC-Filter-Based Mirroring allows a user to specify a particular stream of data for mirroring using a
filter. This eliminates the need to analyze all incoming data to the monitored port. To configure
MAC-Filter-Based Mirroring, the user must perform three steps:
Define a mirror port
Create a MAC filter with a mirroring clause
Apply the MAC filter to an interface
The following sections describe these steps.
Configuring MAC filter-based mirroring on
PowerConnect B-Series TI24X devices
The following example shows how to configure MAC filter-based mirroring on PowerConnect
B-Series TI24X devices.
1. Configure the mirror port.
PowerConnect(config)#mirror-port ethernet 2
2. Configure the MAC filter inbound mirror clause.
PowerConnect(config)#mac filter 1 permit 0000.0000.0010 ffff.ffff.ffff any
mirror
3. Apply the MAC filter inbound mirror clause to the monitor port.