To do...
6.
Specify the destination
interface for traffic
mirroring.
7.
Exit behavior view.
8.
Create a policy and enter
policy view.
9.
Associate the class with
the traffic behavior in the
QoS policy.
10.
Exit policy view.
11.
Apply the QoS policy.
Mirroring traffic to the CPU
To do...
1.
Enter system view.
2.
Create a class and enter
class view.
3.
Configure the match
criteria.
4.
Exit class view.
5.
Create a behavior and
enter behavior view.
6.
Mirror traffic to the CPU.
Exit behavior view.
7.
Use the command...
mirror-to interface interface-type
interface-number
quit
qos policy policy-name
classifier tcl-name behavior behavior-
name
quit
See
"Applying a QoS
policy"
Use the command...
system-view
traffic classifier tcl-name [ operator { and
| or } ]
if-match match-criteria
quit
traffic behavior behavior-name
mirror-to cpu
quit
190
Remarks
Required.
By default, traffic mirroring is
not configured in a traffic
behavior.
Execute this command multiple
times to configure multiple
traffic mirroring destination
ports in a traffic behavior. On
an HP 5800 switch, you can
configure up to four traffic
mirroring destination ports in a
traffic behavior. On an HP
5820X switch, you can
configure up to two traffic
mirroring destination ports in a
traffic behavior.
—
Required.
By default, no policy exists.
Required.
By default, no traffic behavior
is associated with a class.
—
Required.
Remarks
—
Required.
By default, no traffic class
exists.
Required.
By default, no match criterion
is configured in a traffic class.
—
Required.
By default, no traffic behavior
exists.
Required.
By default, traffic mirroring is
not configured in a traffic
behavior.
—