Monitoring and Analyzing Switch Operation

Traffic Mirroring

Syntax: show monitor < 1 - 4 name < name-str>

Direction: For the selected interface, indicates whether mirrored traffic is entering the switch (in), leaving the switch (out), or both.

Displaying a Remote Mirroring Session. After you configure session 2 for remote mirroring (Figure B-35), you can enter the show monitor 2 command to verify the configuration (Figure B-36).

ProCurve(config)# mirror 2 name test-10 remote ip 10.10.10.1 8010 10.10.30.2 Caution: Please configure destination switch first.

Do you want to continue [y/n]? y ProCurve(config)# interface b1 monitor all both mirror 2

Figure B-35. Configuring a Remote Mirroring Session and Monitored SourceProCurve_8200(config)# show monitor 2

Network Monitoring

Session: 2 Session Name: test-10Policy: no policy relationship exists

Mirror

Destination:

IPv4

UDP Dest AddrStatus
UDP

Source Addr

UDP port

10.10.10.1---------------

--------

---------------

--------

8010

10.10.30.2

active
Monitoring Sources

Direction

Port:------------------B1

---------

Both

If no monitored (source) interface is configured for a mirroring session, no information is displayed in the Monitoring Sources and Direction columns.

Figure B-36. Displaying the Configuration of a Remote Mirroring Session

Displaying a MAC-based Mirroring Session. After you configure a MAC- based mirroring session (Figure B-37), you can enter the show monitor 3 command to verify the configuration (Figure B-38).

ProCurve(config)# mirror 3 port a1ProCurve# monitor mac 112233-445566 src mirror 3Figure B-37. Configuring a MAC-based Mirroring Session
B-80