Management and Configuration Guide K/KA/KB.15.15

Context: Class configuration
Syntax
[ no ] [seq-number] [ match | ignore ip-protocol
source-address destination-address ] [ip-dscp codepoint]
[precedence precedence-value] [tos tos-value] [vlan vlan-id]
For detailed information about how to enter match and ignore commands to
configure a traffic class, the Advanced Traffic Management Guide.
Context: Global configuration
Syntax
[ no ] policy mirror policy-name
Defines the name of a mirroring policy and enters the policy configuration context.
A traffic policy consists of one or more classes and one or more mirroring actions
configured for each class of traffic. The configured actions are executed on packets
that match a match statement in a class. No policy action is performed on packets
that match an ignore statement.
Context: Policy configuration
Syntax
[ no ] [seq-number] class [ ipv4 | ipv6 classname ]
action mirror session
Defines the mirroring action to be applied on a pre-configured IPv4 or IPv6 traffic
class when a packet matches the match criteria in the traffic class. You can enter
multiple class action mirror statements in a policy.
The (optional) seq-number parameter sequentially orders the mirroring
actions that you enter in a policy configuration. Actions are executed
on matching packets in numerical order.
[seq-number]
Default: Mirroring action statements are numbered in increments of 10,
starting at 10.
Defines the preconfigured traffic class on which the mirroring actions
in the policy are executed and specifies whether the mirroring policy
class [ ipv4 | ipv6
classname ]
is applied to IPv4 or IPv6 traffic in the class. The classname is a text
string (64 characters maximum.)
Configures mirroring for the destination and session specified by the
session parameter.
action mirror
session
Context: Policy configuration
Syntax
[ no ] default-class action mirror session [action mirror
session ]...
Configures a default class that allows packets that are not matched nor ignored by
any of the class configurations in a mirroring policy to be mirrored to the destination
configured for the specified session.
330 Monitoring and Analyzing Switch Operation