configure mirror add
Description
Specifies mirror source filters for an instance.
Syntax Description
|
Default
N/A.
Usage Guidelines
You must enable port-mirroring using the enable mirroring to port command before you can configure the mirroring filter definitions.
Port mirroring configures the switch to copy all traffic associated with one or more ports to a monitor port on the switch. The switch uses a traffic filter that copies a group of traffic to the monitor port.
Up to 128 mirroring filters can be configured with the restriction that a maximum of 16 of these can be configured as VLAN and/or virtual port (port + VLAN) filters.
One monitor port or 1 monitor port list can be configured. A monitor port list may contain up to 16 ports.
Frames that contain errors are not mirrored.
For general guideline information and information for various platforms, see Guidelines for Mirroring in the ExtremeXOS 22.1 User Guide or the Usage Guidelines of enable mirroring to port command discussion.
Example
The following example sends all traffic coming into a switch on port 11 and the VLAN default to the mirror port:
configure mirror add port 11 vlan default
History
This command was first available in ExtremeXOS 15.3.
The vlan_id option was added in ExtremeXOS 16.1.
The ip-fix option was added in ExtremeXOS 21.1.
Platform Availability
This command is available on all platforms.