HP (Hewlett-Packard) 6600 Switch User Manual


 
Monitoring and Analyzing Switch Operation
Traffic Mirroring
3. Determine the traffic to be selected for mirroring by any of the following
methods and the appropriate configuration level (VLAN, port, mesh,
trunk, switch):
a. Direction: inbound, outbound, or both
b. Classifier-based mirroring policy: inbound only for IPv4 or IPv6 traffic
c. MAC source and/or destination address: inbound, outbound, or both
4. Enter the monitor command to assign one or more source interfaces to the
session.
After you complete step 4, the switch begins mirroring traffic to the configured
exit port. The next two sections provide a quick reference to the configuration
commands for local and remote mirroring sessions.
Quick Reference to Local Mirroring Set-Up. The following commands
configure mirroring for a local session in which the mirroring source and
destination are on the same switch. For command syntax details, refer to the
pages listed with each heading.
The mirror command identifies the destination in a mirroring session.
The interface and vlan commands identify the mirroring source, including
source interface, traffic direction, and traffic-selection criteria for a spec-
ified session.
Configure a Local Mirroring Session (Page B-52):
Mirror-Session Number, Local Exit Port, and (Optional) Session Name
[no] mirror < 1 - 4 > port < exit-port-# > [ name < name-str >]
The no mirror <session-#> port command removes the mirroring session and
any mirroring source previously assigned to that session by the following
commands.
Configure Traffic-Direction Criteria to Select Traffic (Page B-57)
[no] < interface < port/trunk/mesh > | vlan < vid-# >>
monitor all < in | out | both > mirror < session > [< session > ... ] [no-tag-added]
Deprecated
Command
Configure ACL Criteria to Select Inbound Traffic — Deprecated
[no] < interface < port/trunk/mesh > | vlan < vid-# >>
monitor ip access-group < acl-name > in mirror < session > [< session > ... ]
B-45