HP 6120XG ProCurve Series 6120 Blade Switches Management and Configuration Gui - Page 441
Mirror-Session Number, Local Exit Port, and Optional Session Name
View all HP 6120XG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 441 highlights
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 specified 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 command removes the mirroring session and any mirroring source previously assigned to that session by the following commands. 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