Monitoring and Analyzing Switch Operation

Traffic Mirroring

 

“Local Mirroring Overview” on page B-44

 

“Remote Mirroring Overview” on page B-46(The remote switch must be

 

a ProCurve switch offering the full mirroring capabilities described in this

 

chapter.)

 

For a detailed description of each step in a mirroring configuration, refer to:

 

“1. Determine the Mirroring Session and Destination” on page B-49

 

“2. Configure a Mirroring Destination on a Remote Switch” on page B-50

 

“3. Configure a Mirroring Session on the Source Switch” on page B-52

 

“4. Configure the Monitored Traffic in a Mirror Session” on page B-55:

 

“Selecting All Inbound/Outbound Traffic to Mirror” on page B-57

 

“Selecting Inbound Traffic Using an ACL (Deprecated)” on page B-62

 

(Deprecated in release K.14.01 and greater)

 

“Selecting Inbound/Outbound Traffic Using a MAC Address” on page

 

B-63

 

“Selecting Inbound Traffic Using Advanced Classifier-Based Mirror­

 

ing” on page B-66

 

 

C a u t i o n

After you configure a mirroring session with traffic-selection criteria and a

 

destination, the switch immediately starts to mirror traffic to each destination

 

device connected to an exit port. In a remote mirroring session which uses

 

IPv4 encapsulation, if the exit switch is not already configured as the destina­

 

tion for the session, its performance may be adversely affected by the stream

 

of mirrored traffic. For this reason, ProCurve strongly recommends that you

 

configure the exit switch for a remote mirroring session before configuring

 

the source switch for the same session.

 

 

Local Mirroring Overview

To configure a local mirroring session in which the mirroring source and destination are on the same switch, follow these general steps:

1. Determine the session and local destination port:• Session number (1-4) and (optional) alphanumeric name

• Exit port (any port on the switch except a monitored interface used to mirror traffic)

2. Enter the mirror < session-# > [ name < session-name>] port < port-# > command to configure the session.

B-44