Applying A Mirroring Policy On A Port Or Vlan Interface; Viewing A Classifier-Based Mirroring Configuration - HP Aruba JL253A Management And Configuration Manual

For arubaos-switch 16.08
Table of Contents

Advertisement

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.

Applying a mirroring policy on a port or VLAN interface

Enter one of the following service-policy commands from the global configuration context.
Context: Global configuration
Syntax
interface <PORT-LIST> service-policy policy-name in
Configures the specified ports with a mirroring policy that is applied to inbound traffic on each interface.
Separate individual port numbers in a series with a comma, for example, a1,b4,d3. Enter a range of ports by
using a dash, for example, a1-a5.
The mirroring policy name you enter must be the same as the policy name you configured with the policy
mirror command.
Syntax
vlan vlan-id service-policy policy-name in
Configures a mirroring policy on the specified VLAN that is applied to inbound traffic on the VLAN interface.
Valid VLAN ID numbers range from 1 to 4094.
The mirroring policy name you enter must be the same as the policy name you configured with the policy
mirror command in the syntax policy mirror.

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:
Syntax
show class [ipv4 class-name | ipv6 class-name | config]
Syntax
show policy [policy-name | config]
Syntax
show policy resources
Syntax
show statistics policy [policy-name] [interface port-num | vlan vid in]
Chapter 12 Monitoring and Analyzing Switch Operation
417

Advertisement

Table of Contents
loading

Table of Contents