Selecting All Traffic On A Vlan Interface For Mirroring According To Traffic Direction - HP Aruba JL253A Management And Configuration Manual

For arubaos-switch 16.08
Table of Contents

Advertisement

interface port/trunk/mesh Identifies the source ports, static trunks, and/or mesh on which to mirror
monitor all [in | out |
both]
mirror [1 | name-str]
[no-tag-added]
The no form of the command removes a mirroring source assigned to the session, but does not remove the
session itself. This enables you to repurpose a session by removing an unwanted mirroring source and adding
another in its place.
Selecting all traffic on a VLAN interface for mirroring
according to traffic direction
Syntax
vlan vid-# monitor all [in | out | both] [mirror 1 - 4 | name-str] [{1 - 4 | name-str} | {1 - 4 | name-str} | {1 - 4 | name-str}]
This command assigns a monitored VLAN source to a previously configured mirroring session on a source switch
by specifying the VLAN ID, the direction of traffic to mirror, and the session.
Chapter 12 Monitoring and Analyzing Switch Operation
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.)
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
Assigns the traffic specified by the interface and direction to a session by
number or—if configured—by name. The session must have been
previously configured.
Depending on how many sessions are already configured on the switch, you
can use the same command to assign the specified source to up to four
sessions, for example, interface a1 monitor all in mirror 1.
1 : Configures the port traffic to be mirrored in the specified session
number.
[ name name-str]: Optional; configures the port traffic to be mirrored
in the specified session name. The string can be used interchangeably
with the session number when using this command to assign a mirroring
source to a session.
Prevents a VLAN tag from being added to the mirrored copy of an outbound
packet sent to a local or remote mirroring destination.
413

Advertisement

Table of Contents
loading

Table of Contents