Management and Configuration Guide K/KA/KB.15.15

5. Apply the mirroring policy to inbound traffic on a port (interface service-policy in
command) or VLAN (vlan service-policy in command) interface.
CAUTION: After you apply a mirroring policy for one or more preconfigured sessions on a
port or VLAN interface, the switch immediately starts to use the traffic-selection criteria and
exit port to mirror traffic to the destination device connected to each exit port.
In a remote mirroring session that uses IPv4 encapsulation, if the remote switch is not already
configured as the destination for the session, its performance may be adversely affected by
the stream of mirrored traffic.
For this reason, HP Switch strongly recommends that you first configure the exit switch in a
remote mirroring session, as described in “Configure a mirroring destination on a remote
switch (page 349) and “Configure a mirroring session on the source switch (page 350), before
you apply a mirroring service policy on a port or VLAN interface.
Restrictions: The following restrictions apply to a mirroring service policy:
Only one mirroring policy is supported on a port or VLAN interface.
If you apply a mirroring policy to a port or VLAN interface on which a mirroring policy
is already configured, the new policy replaces the existing one.
A mirroring policy is supported only on inbound traffic.
Because only one mirroring policy is supported on a port or VLAN interface, ensure that the
policy you want to apply contains all the required classes and actions for your configuration.
Classifier-based mirroring restrictions
The following restrictions apply to mirroring policies configured with the classifier-based model:
A mirroring policy is supported only on inbound IPv4 or IPv6 traffic.
A mirroring policy is not supported on a meshed port interface. (Classifier-based policies are
supported only on a port, VLAN, or trunk interface.)
Only one classifier-based mirroring policy is supported on a port or VLAN interface. You can,
however, apply a classifier-based policy of a different type, such as QoS.
You can enter multiple class action mirror statements in a policy.
You can configure only one mirroring session (destination) for each class.
You can configure the same mirroring session for different classes.
If a mirroring session is configured with a classifier-based mirroring policy on a port or VLAN
interface, no other traffic-selection criteria (MAC-based or all inbound and/or outbound traffic)
can be added to the session.
Classifier-based mirroring configuration 357