configure mirroring add
ExtremeWare Software 7.3.0 Command Reference Guide 227
configure mirroring add
configure mirroring add [<mac_address> | vlan <vlan name> {ports <port
number>} | ports <portnumber> {vlan <vlan name>}]
Description
Adds a particular mirroring filter definition on the switch.
Syntax Description
Default
N/A.
Usage Guidelines
On a modular switch,
<portnumber>
will be a slot and port in the form
<slot>:<port>
. For a detailed
explanation of port specification, see
“Modular Switch Numerical Ranges” or “Stand-alone Switch
Numerical Ranges” in Chapter 1.
You must enable port-mirroring using the
enable mirroring
command before you can configure the
mirroring filter definitions.
Up to eight mirroring definitions can be added. You can mirror traffic from a VLAN, a physical port, or
a specific VLAN/port combination.
Port-mirroring configures the switch to copy all traffic associated with one or more ports to a monitor
port on the switch. The monitor port can be connected to a network analyzer or RMON probe for
packet analysis. The switch uses a traffic filter that copies a group of traffic to the monitor port. The
traffic filter can be defined based on one of the following criteria:
• Physical port—All data that traverses the port, regardless of VLAN configuration, is copied to the
monitor port.
•VLAN—All data to and from a particular VLAN, regardless of the physical port configuration, is
copied to the monitor port.
•Virtual port—All data specific to a VLAN on a specific port is copied to the monitor port.
Up to eight mirroring filters and one monitor port can be configured on the switch. Once a port is
specified as a monitor port, it cannot be used for any other function. Frames that contain errors are not
mirrored.
For version 2.0 and 4.0:
In addition to the physical port, VLAN, and virtual port, the traffic filter can be defined based on the
following criteria:
• MAC source address/destination address—All data sent to or received from a particular source or
destination MAC address is copied to the monitor port.
mac_address Specifies a MAC address. (Supported in versions 2.0 - 4x only)
vlan name Specifies a VLAN name.
portnumber Specifies a port or slot and port.