Management and Configuration Guide K/KA/KB.15.15

This setting associates the monitored source with the desired remote
endpoint in the remote session by using the same, unique UDP port number
to identify the session on the source and remote switches.
Must exactly match the dst-ip setting you configure on the source
switch for the remote session.
dst-ip
Exit port for mirrored traffic in the remote session, to which a traffic analyzer
or IDS is connected.
exit-port-#
The no form of the command deletes the mirroring endpoint for the configured
session on the remote destination switch.
Configuring a source switch in a local mirroring session
Enter the mirror port command on the source switch to configure an exit port on the same
switch. To create the mirroring session, use the information gathered in “High-level overview of
the mirror configuration process” (page 349).
Syntax
mirror 1 - 4 port exit-port-# [name name-str ]
no mirror 1- 4
Assigns the exit port to use for the specified mirroring session and must be executed
from the global configuration level.
Identifies the mirroring session created by this command.
(Multiple sessions on the switch can use the same exit port.)
1 - 4
Optional alphanumeric name string used to identify the
session ( up to 15 characters)
name name-str
Exit port for mirrored traffic in the remote session. This is
the port to which a traffic analyzer or IDS is connected.
port
exit-port-#
The no form of the command removes the mirroring session and any mirroring
source previously assigned to that session.
Configuring a source switch in a remote mirroring session
Syntax
[ no ] mirror 1 - 4 [name name-str ] remote ip src-ip
src-udp-port dst-ip [truncation]
Used on the source switch to uniquely associate the mirrored traffic in the specified
session with a remote destination switch. You must configure the same source and
destination parameters when you configure the same session on both the source
and destination switches. (If multiple remote sessions use the same source and
destination IP addresses, each session must use a unique UDP port value.)
When you execute this command, the following message is displayed:
Configuring a source switch in a local mirroring session 325