HP (Hewlett-Packard) 6600 Switch User Manual


 
Monitoring and Analyzing Switch Operation
Traffic Mirroring
Figures B-24 and B-25 show how ACL-based selection criteria in a mirroring
session are converted to a classifier-based policy and class configuration when
you install release K.14.01 or greater on a switch.
ProCurve(config)# show run
Running configuration:
. . .
ip access-list extended "100"
Configuration of ACL 100 that is used to select
mirrored traffic in session 1
10 permit icmp 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 0
. . .
interface C1
monitor ip access-group "100" In mirror 1
exit
. . .
ACL-based traffic selection on monitored
interface C1 in session 1
exit
. . .
mirror 1 port C1
mirror 2 name "test-10" remote ip 10.10.10.1 8010 10.10.30.2
Existing mirror sessions configured on the
switch for a local (port C1 in session 1) and
remote (session 2) monitored interface
Figure B-24. Mirroring Configuration in “show run” Output in Release K.13.xx
ProCurve(config)# show run
Running configuration:
. . .
mirror 1 port B3
mirror 2 name "test-10" remote ip 10.10.10.1 8010 10.10.30.2
After migration to release K.14.01 or greater, the existing mirroring
configurations for sessions 1 (local) and 2 (remote) on the switch remain
the same.
. . .
class ipv4 “100MirrorClass”
exit
. . .
10 match icmp 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 0
exit
policy mirror “100MirrorPolicy”
10 class ipv4 “100” action mirror 1
exit
. . .
interface C1
service-policy "100MirrorPolicy" In
The traffic-selection criteria in ACL 100 (Figure B-24)
applied to inbound traffic on port C1 in session 1 are
converted to a class and policy configuration with the
names, “100MirrorClass” and “100MirrorPolicy”, which
are applied to inbound traffic on port C1 in session 1 with
the service-policy command.
Figure B-25. Mirroring Configuration in “show run” Output in Release K.14.01 or Greater
B-38