Operation Manual – QoS-QoS ProfileH3C S3100 Series Ethernet Switches Chapter 1 QoS Configuration1-35Table 1-37 Configure traffic mirroring for a portOperation Command DescriptionEnter system view system-view —Enter Ethernet port view ofthe destination portinterface interface-typeinterface-number —Define the current port as thedestination port monitor-port RequiredExit current view quit —Enter Ethernet port view oftraffic mirroring configurationinterface interface-typeinterface-number —Reference ACLs foridentifying traffic flows andperform traffic mirroring forpackets that match.mirrored-to inboundacl-rule { cpu |monitor-interface }RequiredNote:The traffic mirroring function configured on a VLAN is only applicable to packets taggedwith 802.1Q header.III. Configuration exampleNetwork requirements:z Ethernet 1/0/1 is connected to the 10.1.1.0/24 network segment.z Duplicate the packets from network segment 10.1.1.0/24 to the destinationmirroring port Ethernet 1/0/4.1) Method I 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[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-interface2) Method II system-view[Sysname] acl number 2000[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255