
B-37
Monitoring and Analyzing Switch Operation
Traffic Mirroring
CLI: Configuring Local and Remote Mirroring
Using the CLI you can configure a mirroring session to an exit port on either
the same switch as the source interface (local mirroring) or on another switch
(remote mirroring). (The remote switch must be a ProCurve switch offering
the full mirroring capabilities described in this chapter.)
Command
Page
Quick Reference
Local Mirroring Commands
Remote Mirroring Commands
Configuring a Session Destination on a Remote Exit Switch
mirror endpoint ip
<
src-ip
> <
src-udp-port
> <
dst-ip
> <
port-#
>
Configuring a Local Destination on a Session Source Switch
mirror < 1 - 4 > [name <
name-str
>] port <
port-#
>
Configuring a Remote Destination on a Session Source Switch
mirror < 1 - 4 > [name <
name-str
>] remote ip
<
src-ip
> <
src-udp-port
> <
dst-ip
>
Defining Traffic To Mirror on a Session Source Switch
interface <
port
/
trunk
/mesh > monitor
all < in | out | both > mirror
ip access-group <
acl-name
> in mirror
vlan <
vid-#
> monitor
all < in | out | both > mirror
ip access-group <
acl-name
> in mirror
monitor mac <
mac-addr
> < src | dest | both > mirror
Display Commands
show monitor [endpoint | 1 - 4 | name <
name-str
>]
Mirroring Examples
Maximum Frame Size
Operating Notes
3500-5400-6200-8200-MCG-Jan08-K_13_01.book Page 37 Monday, January 28, 2008 10:04 AM