HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 117
Traffic mirroring configuration commands, mirror-to
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 117 highlights
Traffic mirroring configuration commands The traffic mirroring and remote traffic mirroring functions on the switch are implemented through the cooperation of a QoS policy and remote port mirroring. For the configuration commands about a QoS policy, see ACL and QoS Command Reference. mirror-to Syntax mirror-to { cpu | interface interface-type interface-number } View undo mirror-to { cpu | interface interface-type interface-number } Traffic behavior view Default level 2: System level Parameters cpu: Mirrors traffic to the CPU, which is the CPU of the device where ports with traffic mirroring configured resides. interface interface-type interface-number: Mirrors traffic to a port specified by its type and number. Description Use mirror-to to configure traffic mirroring for a traffic behavior. Use undo mirror-to to remove traffic mirroring configuration. By default, traffic mirroring is not configured for a traffic behavior. You can configure the action of mirroring traffic to a port multiple times for a traffic behavior. Traffic can only be mirrored to the CPU or a port in a traffic behavior. Examples # Create traffic behavior 1 and configure the action of mirroring traffic to the CPU for the traffic behavior. system-view [Sysname] traffic behavior 1 [Sysname-behavior-1] mirror-to cpu # Create traffic behavior 1 and configure the action of mirroring traffic to port GigabitEthernet 1/0/1 for the traffic behavior. system-view [Sysname] traffic behavior 1 [Sysname-behavior-1] mirror-to interface GigabitEthernet 1/0/1 111