Mirrored-To Vlan - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Only H3C S3100-EI series switches support this command.
Example
# Mirror packets that match ACL 2000 on port Ethernet 1/0/1 to Ethernet 1/0/4 through traffic mirroring
(assuming that the current device is an S3100-EI series switch).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet 1/0/4
[Sysname-Ethernet1/0/4] monitor-port
[Sysname-Ethernet1/0/4] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] mirrored-to inbound ip-group 2000 monitor-interface
# Display the traffic mirroring configuration of Ethernet 1/0/1.
[Sysname-Ethernet1/0/1] display qos-interface Ethernet 1/0/1 mirrored-to
Ethernet1/0/1: mirrored-to
Inbound:
Matches: Acl 2000 rule 1
Mirrored to: monitor interface

mirrored-to vlan

Syntax
mirrored-to vlan vlan-id inbound acl-rule { cpu | monitor-interface }
undo mirrored-to inbound acl-rule
View
System view
Parameter
vlan-id: VLAN ID, in the range of 1 to 4,094.
inbound: Mirrors the inbound packets.
acl-rule: ACL rules to be applied. This argument can be the combination of multiple ACLs. For more
information about this argument, refer to
must be those defined with the permit keyword specified.
cpu: Duplicates the packets to the CPU.
monitor-interface: Duplicates the packets to the destination mirroring port.
running
Table 1-9
and
Table
1-19
1-10. Note that the ACL rules referenced

Advertisement

Table of Contents
loading

Table of Contents