Syntax
mirror 1 - 4 port exit-port-# [name name-str] no mirror 1- 4
Assigns the exit port to use for the specified mirroring session and must be executed from the global configuration
level.
1 - 4
Identifies the mirroring session created by this command. (Multiple
sessions on the switch can use the same exit port.)
name name-str
Optional alphanumeric name string used to identify the session
( up to 15 characters)
port exit-port-
#
Exit port for mirrored traffic in the remote session. This is the port
to which a traffic analyzer or IDS is connected.
The no form of the command removes the mirroring session and any mirroring source previously assigned to that
session.
Selecting all traffic on a port interface for mirroring
according to traffic direction
Syntax
[no] interface port/trunk/mesh monitor [in | out | both] [mirror 1 - 4 | name-str]
[{1 - 4 | name-str} | {1 - 4 | name-str} | {1 - 4 | name-str}] [no-tag-added]
Assigns a mirroring source to a previously configured mirroring session on a source switch by specifying the port,
trunk, and/or mesh sources to use, the direction of traffic to mirror, and the session.
interface port/trunk/mesh
Identifies the source ports, static trunks, and/or mesh on which to mirror
traffic.
Use a hyphen for a range of consecutive ports or trunks (a5-a8, Trk2-
Trk4.)
Use a comma to separate non-contiguous interfaces (b11, b14, Trk4,
Trk7.)
monitor all [in | out |
both]
For the interface specified by port/trunk/mesh , selects traffic to mirror based
on whether the traffic is entering or leaving the switch on the interface:
• in: Mirrors entering traffic.
• out: Mirrors exiting traffic.
• both: Mirrors traffic entering and exiting.
If you enter the monitor all command without selection criteria or a
session identifier, the command applies by default to session 1
Table Continued
292 Aruba 2530 Management and Configuration Guide for
ArubaOS-Switch 16.05