Specifying the Destination Mirror Port for LAG Ports
You can mirror the traffic that has been selected by ACL-based inbound mirroring from a LAG by configuring a destination port for the LAG virtual interface within the LAG configuration, as shown in the following example.
device(config)# lag blue static id 1 device(config-lag-blue)# ports ethernet 1/1/1 to 1/1/4 device(config)# interface lag 1 device(config-lag-if-lg1)# acl-mirror-port ethernet 1/1/8
Using this configuration, all LAG traffic is mirrored to port 1/1/8.
Limitations when Configuring ACL-based Mirroring with LAGs
If an individual port is configured for ACL-based mirroring, you cannot add it to a LAG. If you try to add a port that is configured for ACL-based mirroring to a LAG, the following message appears.
Note - ACL-mirror-port configuration is removed from port 2 in new trunk.
Behavior of ACL-based Mirroring when Deleting LAGs
If you delete a LAG, the ACL-based mirroring configuration applied on the LAG interface also will get removed.