Monitoring and Analyzing Switch Operation
Traffic Mirroring
B-48
Using Interface Identity and Direction of Movement
To Select the Traffic To Mirror from a Source Switch
Use the commands in this section to configure mirrored traffic selection for
either local or remote mirroring. Options for the selection criteria includes:
■
Interface Options: VLAN, port, or trunk
Directional Options: entering or leaving the switch, or both
■
Port, Trunk, and/or Mesh Interface with Traffic Direction as the
Selection Criteria. Use this command when the direction of traffic move-
ment on the port, trunk, and/or mesh interface defines the criteria for mirror-
ing traffic.
Syntax: [no] interface < port/trunk/mesh > 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 mirroring source to a previously
configured mirroring session on a source switch. It specifies the
port. trunk, and/or mesh source(s) to use, the direction of traffic
to mirror, and the session identifier.
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.
interface < port/trunk/mesh >: Identifies the port(s), static
trunk(s), and/or mesh on which to mirroring 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: Mirror entering traffic.
out: Mirror exiting traffic.
both: Mirror traffic entering or exiting.
(Using monitor without mirroring criteria or session
number affects session 1. Refer to "Monitor Command" on
page B-72.)
—Continued—
Need help?
Do you have a question about the 6200yl and is the answer not in the manual?
Questions and answers