Traffic Mirroring Commands; Mirror-To - HP 6125XLG Command Reference Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

Traffic mirroring commands

mirror-to

Use mirror-to to specify the mirroring destination for a traffic behavior.
Use undo mirror-to to cancel the configuration.
Syntax
mirror-to { cpu | interface interface-type interface-number }
undo mirror-to { cpu | interface interface-type interface-number }
Default
No mirroring destination is configured for a traffic behavior.
Views
Traffic behavior view
Pre-defined user roles
network-admin
Parameters
cpu: Mirrors traffic to the CPU, which resides in the device configured with traffic mirroring.
interface interface-type interface-number: Mirrors traffic to an interface specified by its type and number.
Support for this option and the interface types depends on your device model.
vlan vlan-id: Mirrors traffic to a VLAN specified by a VLAN ID in the range of 1 to 4094.
Usage guidelines
You can configure the action of mirroring traffic to multiple interfaces for a traffic behavior.
Examples
# Create traffic behavior 1 and configure the action of mirroring traffic to the CPU for the traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior 1
[Sysname-behavior-1] mirror-to cpu
# Create traffic behavior 1 and configure the action of mirroring traffic to interface Ten-GigabitEthernet
1/1/5 for the traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior 1
[Sysname-behavior-1] mirror-to interface ten-gigabitethernet 1/1/5
199

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents