
Monitoring and Analyzing Switch Operation
Traffic Mirroring
Applying Multiple Mirroring Sessions to an Interface
You can apply a mirroring policy to an interface that is already configured with
another traffic-selection method (MAC-based or all inbound and/or outbound
traffic) for a different mirroring session.
The classifier-based policy provides a finer level of granularity that allows you
to zoom in on a subset of port or VLAN traffic and select it for local or remote
mirroring.
In the following example, traffic on Port b1 is used as the mirroring source for
two different, local mirroring sessions:
■ All inbound and outbound traffic on Ports b1, b2, and b3 is mirrored in
session 4.
■ Only selected voice traffic on Port b1 is mirrored in session 2.
ProCurve(config)# mirror 4 port a2
ProCurve(config)# interface b1-b3 monitor all both mirror 4
ProCurve(config)# mirror 2 port b4
ProCurve(config)# class ipv4 voice
ProCurve(config-class)# match ip any any ip-dscp ef
ProCurve(config-class)# exit
ProCurve(config)# policy mirror IPphones
ProCurve(config-policy)# class ipv4 voice action mirror 2
ProCurve(config-policy)# exit
ProCurve(config)# interface b1 service-policy IPphones in
Figure B-32. Example of Applying Multiple Sessions to the Same Interface
B-75