Monitoring and Analyzing Switch Operation
Traffic Mirroring
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.
3. Determine the traffic direction and traffic to be selected by any of the
following methods and the appropriate configuration level (port, trunk,
switch):
– Direction: inbound, outbound, or both
– Classifier-based mirroring policy: inbound only for IPv4 or IPv6
traffic
– MAC source and/or destination address: inbound, outbound, or
both
4. Enter the
monitor
command to assign one or more source interfaces to the
session.
After you complete step 4, the switch begins mirroring traffic to the configured
exit port. The next two sections provide a quick reference to the configuration
commands for a local mirroring session.
Quick Reference to Local Mirroring Set-Up.
The following commands
configure mirroring for a local session in which the mirroring source and
destination are on the same switch. For command syntax details, refer to the
pages listed with each heading.
■
The
mirror
command identifies the destination in a mirroring session.
■
The
interface
and
vlan
commands identify the mirroring source, including
source interface, traffic direction, and traffic-selection criteria for a spec
ified session.
Configure a Local Mirroring Session (Page B-35):
Mirror-Session Number, Local Exit Port, and (Optional) Session Name
[no] mirror < 1 - 4 > port <
exit-port-#
> [ name <
name-str
>]
The
no mirror <
session-#
>
command removes the mirroring session and any
mirroring source previously assigned to that session by the following com
mands.
Configure Traffic-Direction Criteria to Select Traffic (Page B-36):
[no] < interface <
port/trunk/mesh
> | vlan <
vid-#
>>
monitor all < in | out | both > mirror <
session
> [<
session
> ... ] [no-tag-added]
B-34
Содержание ProCurve 6120G/XG
Страница 1: ...ProCurve Series 6120 Switches Management and Configuration Guide November 2010 Version Z 14 22 ...
Страница 2: ......
Страница 3: ...HP ProCurve 6120G XG Switch 6120XG Switch November 2010 Z 14 22 Management and Configuration Guide ...
Страница 24: ...xxii ...
Страница 40: ...Getting Started To Set Up and Install the Switch in Your Network 1 10 ...
Страница 54: ...Selecting a Management Interface Advantages of Using ProCurve Manager or ProCurve Manager Plus 2 14 ...
Страница 70: ...Using the Menu Interface Where To Go From Here 3 16 ...
Страница 92: ...Using the ProCurve Web Browser Interface Contents Setting Fault Detection Policy 5 25 5 2 ...
Страница 160: ...Switch Memory and Configuration Automatic Configuration Update with DHCP Option 66 6 44 ...
Страница 288: ...Port Status and Configuration Uplink Failure Detection 10 42 ...
Страница 318: ...Port Trunking Outbound Traffic Distribution Across Trunked Links 11 30 ...
Страница 470: ...File Transfers Copying Diagnostic Data to a Remote Host USB Device PC or UNIX Workstation A 34 ...
Страница 487: ...Monitoring and Analyzing Switch Operation Status and Counters Data B 17 ...
Страница 518: ...Monitoring and Analyzing Switch Operation Traffic Mirroring B 48 ...
Страница 612: ...MAC Address Management Viewing the MAC Addresses of Connected Devices D 8 ...
Страница 616: ...Monitoring Resources When Insufficient Resources Are Available E 4 ...
Страница 620: ...Daylight Savings Time on ProCurve Switches F 4 ...
Страница 638: ...Network Out of Band Management OOBM Tasks G 18 ...
Страница 659: ...download to primary or secondary flash A 21 using to download switch software A 19 Index 19 ...
Страница 660: ...20 Index ...
Страница 661: ......