mirror [1 - 4 | name-str]
[no-tag-added]
The no form of the command removes a mirroring source assigned to the session, but does not remove the
session itself. This enables you to repurpose a session by removing an unwanted mirroring source and adding
another in its place.
Viewing all mirroring sessions configured on the switch
Syntax
show monitor
If a monitored source for a remote session is configured on the switch, the following information is displayed.
Otherwise, the output displays: Mirroring is currently disabled.
Sessions
Status
Type
Sources
Policy
If a remote mirroring endpoint is configured on the switch, the following information is displayed. Otherwise, the
output displays: There are no Remote Mirroring endpoints currently assigned.
Chapter 15 Monitoring and Analyzing Switch Operation
Assigns the traffic specified by the interface and direction to a session by
number or—if configured—by name. The session must have been
previously configured.
Depending on how many sessions are already configured on the switch, you
can use the same command to assign the specified source to up to four
sessions, for example, interface a1 monitor all in mirror 1 2
4.
•
1 - 4: Configures the selected port traffic to be mirrored in the specified
session number.
•
[ name name-str]: Optional; configures the selected port traffic to be
mirrored in the specified session name. The string can be used
interchangeably with the session number when using this command to
assign a mirroring source to a session.
Prevents a VLAN tag from being added to the mirrored copy of an outbound
packet sent to a local or remote mirroring destination.
Lists the four configurable sessions on the switch.
Displays the current status of each session:
•
active: The session is configured.
•
inactive: Only the destination has been configured; the mirroring source is not configured.
•
not defined: Mirroring is not configured for this session.
Indicates whether the mirroring session is local (port), remote (IPv4), or MAC-based (mac) for
local or remote sessions.
Indicates how many monitored source interfaces are configured for each mirroring session.
Indicates whether the source is using a classifier-based mirroring policy to select inbound IPv4
or IPv6 traffic for mirroring.
293
Need help?
Do you have a question about the 2530 and is the answer not in the manual?