Monitoring and Analyzing Switch Operation

Traffic Mirroring

For more information about how to apply a mirroring policy to an interface, refer to the “Applying a Service Policy to an Interface” section in the “Classi­ fier-Based Software Configuration” chapter in the Advanced Traffic Manage­ ment Guide.

Viewing a Classifier-Based Mirroring Configuration

To display information about a classifier-based mirroring configuration or statistics on one or more mirroring policies, enter one of the following commands:

show class < class-name>show policy < mirror-policy-name >show policy resources

show statistics policy [ mirror-policy-name] [ interface <port-list> vlan <vlan­ id > ] in

For examples of classifier-based show command output, see “Displaying Information on a Classifier-Based Mirroring Session” on page B-82.

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.
B-73