Monitoring and Analyzing Switch Operation

Traffic Mirroring

CLI: Configuring Local and Remote Mirroring

Command

Page

 

 

Quick Reference

 

Local Mirroring Commands

B-45

Remote Mirroring Commands

B-47

 

 

Configuring a Remote Mirroring Destination

 

On the remote switch: mirror endpoint ip < src-ip> < src-udp-port> < dst-ip>

B-50

< exit-port >

B-53

On the local switch: mirror < session > remote ip < src-ip> < src-udp-port>

 

< dst-ip >

 

 

 

Configuring a Local Mirroring Destination

 

On the local switch: mirror < session > port < exit-port>

B-53

 

 

Configuring Monitored Traffic1

 

interface < port/trunk/mesh >

 

monitor all < in out both > mirror< session > [no-tag-added]

B-57

monitor ip access-group < acl-name> in mirror < session > (deprecated)

B-62

service-policy <mirror-policy-name> in

B-67

vlan < vid-#>

B-61

monitor all < in out both > mirror < session >

B-61

monitor ip access-group < acl-name> in mirror < session > (deprecated)

B-63

service-policy <mirror-policy-name> in

B-67

monitor mac < mac-addr> < src dest both > mirror

 

 

 

Display Commands

B-76

show monitor [endpoint < session-number> name < session-name>]

 

 

 

Mirroring Examples

B-87

 

 

Maximum Frame Size

B-92

 

 

Operating Notes

B-95

1In release K.14.01 and greater, the use of ACLs to select inbound traffic in a mirroring session <interface vlan> monitor ip access-group in mirror command has been deprecated and is replaced with classifier-based mirroring policies.

Using the CLI, you can configure a mirroring session for a destination device connected to an exit port on either:

The same switch as the source interface (local mirroring)

A different switch (remote mirroring). The remote switch must be a ProCurve switch offering the full mirroring capabilities described in this chapter.

For an overview of the procedures for configuring a local or remote mirroring session, refer to the following sections:

B-43