- Table of Contents
-
- 17-Network Management and Monitoring Command Reference
- 00-Preface
- 01-System maintenance and debugging commands
- 02-NQA commands
- 03-NTP commands
- 04-EAA commands
- 05-Process monitoring and maintenance commands
- 06-NETCONF commands
- 07-Information center commands
- 08-SNMP commands
- 09-RMON commands
- 10-Flow log commands
- 11-Event MIB commands
- 12-Packet capture commands
- 13-Fast log output commands
- 14-Mirroring commands
- 15-GOLD commands
- 16-BFD commands
- 17-Track commands
- 18-Interface collaboration commands
- 19-Process placement commands
- Related Documents
-
Title | Size | Download |
---|---|---|
14-Mirroring commands | 36.61 KB |
Flow mirroring commands
mirror-to interface
Use mirror-to interface to configure a mirroring action that mirrors traffic to an interface.
Use undo mirror-to interface to delete a mirroring action that mirrors traffic to an interface.
Syntax
mirror-to interface interface-type interface-number
undo mirror-to interface interface-type interface-number
Default
No mirroring actions exist to mirror traffic to interfaces.
Views
Traffic behavior view
Predefined user roles
network-admin
context-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
You can execute this command multiple times for a traffic behavior to mirror traffic to different interfaces.
Examples
# Create traffic behavior 1 and configure the action of mirroring traffic to GigabitEthernet 1/0/1 for the traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior 1
[Sysname-behavior-1] mirror-to interface gigabitethernet 1/0/1