H3C S3100 Series Operation Manual page 608

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Table 1-37 Configure traffic mirroring for a port group
Operation
Enter system view
Enter Ethernet port view of the
destination port
Define the current port as the
destination port
Exit current view
Enter port group view
Reference ACLs for identifying traffic
flows and perform traffic mirroring for
packets that match.
Table 1-38 Configure traffic mirroring for a port
Operation
Enter system view
Enter Ethernet port view of the
destination port
Define the current port as the
destination port
Exit current view
Enter Ethernet port view of traffic
mirroring configuration
Reference ACLs for identifying
traffic flows and perform traffic
mirroring for packets that match.
The traffic mirroring function configured on a VLAN is only applicable to packets tagged with 802.1Q
header.
Configuration example
Network requirements:
Ethernet 1/0/1 is connected to the 10.1.1.0/24 network segment.
Duplicate the packets from network segment 10.1.1.0/24 to the destination mirroring port Ethernet
1/0/4.
1)
Method I
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
Command
system-view
interface interface-type
interface-number
monitor-port
quit
port-group group-id
mirrored-to inbound acl-rule
{ cpu | monitor-interface }
Command
system-view
interface interface-type
interface-number
monitor-port
quit
interface interface-type
interface-number
mirrored-to inbound acl-rule
{ cpu | monitor-interface }
1-29
Description
Required
Required
Description
Required
Required

Advertisement

Chapters

Table of Contents
loading

Table of Contents