Traffic Mirroring Configuration Commands; Mirror-To - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

Traffic mirroring configuration commands

mirror-to

Use mirror-to to configure traffic mirroring for a traffic behavior.
Use undo mirror-to to remove traffic mirroring configuration.
Syntax
mirror-to { cpu | interface interface-type interface-number }
undo mirror-to { cpu | interface interface-type interface-number }
Default
Traffic mirroring is not configured for a traffic behavior.
Views
Traffic behavior view
Default command level
2: System level
Parameters
cpu: Mirrors traffic to the CPU, which is the CPU of the card where interfaces with traffic mirroring
configured resides.
interface interface-type interface-number: Mirrors traffic to an interface specified by its type and number.
Usage guidelines
The device only supports mirroring traffic to one destination interface. In a same traffic behavior, the new
configuration overwrites the previous one.
Mirroring outgoing traffic to interfaces only supports known unicasts, and does not support broadcasts,
multicasts, or unknown unicasts.
This command is supported only when SAP interface modules are operating in bridge mode.
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 port GigabitEthernet 2/0/1
for the traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior 1
[Sysname-behavior-1] mirror-to interface gigabitethernet 2/0/1
162

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents