show monitor [endpoint|<
SESSION-NUMBER
>|name <
SESSION-NAME
>
service-policy
Syntax
service-policy <
mirror-policy-name
> in
Destination mirror on a remote switch
mirror endpoint
Syntax
mirror endpoint ip <
SRC-IP-ADDR
> <
SRC-UDP-PORT
> <
DST-IP-ADDR
> port <
EXIT-PORT
>
Description
Enter this command on a remote switch to configure the exit port to use in a remote mirroring session. to
configure the mirroring source on the local switch.
The
mirror endpoint ip
command configures:
• The unique UDP port number to be used for the mirroring session on the source switch. The recommended
port range is from 7933 to 65535.
• The IP address of the source switch to use in the session.
• The IP address and exit-port number on the remote (endpoint) switch.
In a remote mirroring endpoint, the IP address of exit port and the remote destination switch can belong to
different VLANs.
Source mirror on the local switch
mirror remote ip
Syntax
[no] mirror 1 - 4 [name <
NAME-STR
>] remote ip <
SRC-IP
> <
SRC-UDP-PORT
> <
DST-IP
>
[truncation]
Description
Configures the mirroring source on the local switch.
Parameters and options
no mirror 1–4
Removes both the mirroring session and any mirroring sources previously assigned to the session by the
following commands.
Traffic-direction criteria
Syntax
[no] [interface <
PORT
> <
TRUNK
> <
MESH
>|vlan <
VID-#
>] monitor all in|out|both mirror 1–4|<
NAME-STR
> [1 — 4|<
NAME-STR . . .
>]
Description
Chapter 12 Monitoring and Analyzing Switch Operation
409