HP (Hewlett-Packard) 6600 Switch User Manual


 
Monitoring and Analyzing Switch Operation
Traffic Mirroring
Selecting All Inbound/Outbound Traffic to Mirror
Use the commands in this section to configure all inbound and/or outbound
traffic on specified VLAN, port, or trunk interfaces for a local or remote
mirroring session. For an example of a mirroring configuration that selects all
inbound or outbound traffic on a monitored interface, see:
“Example: Local Mirroring Using Traffic-Direction Criteria” on page B-87
“Example: Remote Mirroring Using Traffic-Direction Criteria” on page
B-90
Note If you have already configured session 1 with a local or remote destination (as
described in “3. Configure a Mirroring Session on the Source Switch” on page
B-52), you can enter the vlan < vid > monitor or interface < port > monitor
command without additional parameters for traffic-selection criteria and
session number to configure mirroring for all inbound and outbound traffic
on the specified VLAN or port interfaces in session 1 with the preconfigured
destination.
Port Interface with Traffic Direction as the Selection Criteria
Use the following command to select all traffic on a port, trunk, and/or mesh
interface for mirroring according to traffic direction (inbound and/or out-
bound):
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 >] [no-tag-added]
This command assigns a mirroring source to a previously
configured mirroring session on a source switch by specifying
the port. trunk, and/or mesh source(s) to use, the direction of
traffic to mirror, and the session.
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 source 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).
B-57