EasyManua.ls Logo

HP Aruba JL253A - Configuring Classifier-Based Mirroring

HP Aruba JL253A
775 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
monitor mac mac-addr
Configures the MAC address as selection criteria for mirroring traffic on any port or learned VLAN on the switch.
{src | dest | both}
Specifies how the MAC address is used to filter and mirror packets in inbound
and/or outbound traffic on the interfaces on which the mirroring session is
applied:
src: Mirrors all packets in inbound traffic that contain the specified MAC
address as source address.
dest: Mirrors all packets in outbound traffic that contain the specified MAC
address as destination address.
NOTE: The MAC address of the switch is not supported as either
the source or destination MAC address used to select mirrored
traffic.
both: Mirrors all packets in both inbound and outbound traffic that contain the
specified MAC address as either source or destination address.
mirror [1 - 4 | name-
str]
Assigns the inbound and/or outbound traffic filtered by the specified MAC
address to a previously configured mirroring session. The session is identified
by a number or (if configured) a name.
Depending on how many sessions are configured on the switch, you can use
the same command to configure a MAC address as mirroring criteria in up to
four sessions. To identify a session, you can enter either its name or number; for
example: mirror 1 2 3 traffsrc4
1 - 4: Specifies a mirroring session by number, for which the configured MAC
address is used to select and mirror inbound and/or outbound traffic.
Packets that are sent or received on an interface configured with a mirroring session and that contain the MAC
address as source and/or destination address are mirrored to a previously configured destination device.
To remove a MAC address as selection criteria in a mirroring session, you must enter the complete Command
syntax, for example, no monitor mac 998877-665544 dest mirror 4.
The no form of the command removes the MAC address as a mirroring criteria from an active session, but does
not remove the session itself. This enables you to repurpose a session by removing an unwanted mirroring
criteria and adding another in its place.
Configuring classifier-based mirroring
For more information and a list of general steps for the process beginning with this command, see the information
about restrictions on classifier-based mirroring.
Context: Global configuration
Syntax
[no] class [ipv4 | ipv6 classname]
Defines the name of a traffic class and specifies whether a policy is to be applied to IPv4 or IPv6 packets, where
classname is a text string (64 characters maximum.)
Chapter 12 Monitoring and Analyzing Switch Operation 415

Table of Contents

Related product manuals