HP (Hewlett-Packard) 6600 Switch User Manual


 
Monitoring and Analyzing Switch Operation
Traffic Mirroring
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 (see “Monitor Command” on page B-96).
mirror < 1 - 4 | < name-str >: 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 as described in “3. Configure a
Mirroring Session on the Source Switch” on page B-52.
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 2 4. For limits on configuring
mirroring sources in a session, refer to “Mirroring-Source
Restrictions” on page B-56.
< 1 - 4 >: Configures the selected port traffic to be
mirrored in the specified session number.
[ name < name-str >]: Optional; configures the selected
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. To configure an
alphanumeric name for a mirror session, refer to the
command description in “Configuring a Source
Switch in a Remote Mirroring Session” on page B-53.
[no-tag-added]: Prevents a VLAN tag from being added to the
mirrored copy of an outbound packet sent to a local or
remote mirroring destination. See “Untagged Mirrored
Packets” on page B-59 for more information.
B-58