1-29
Table 1-37
Configure traffic mirroring for a port group
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port view of the
destination port
interface
interface-type
interface-number
—
Define the current port as the
destination port
monitor-port
Required
Exit current view
quit
—
Enter port group view
port-group group-id
—
Reference ACLs for identifying traffic
flows and perform traffic mirroring for
packets that match.
mirrored-to
inbound
acl-rule
{
cpu
|
monitor-interface
}
Required
Table 1-38
Configure traffic mirroring for a port
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port view of the
destination port
interface
interface-type
interface-number
—
Define the current port as the
destination port
monitor-port
Required
Exit current view
quit
—
Enter Ethernet port view of traffic
mirroring configuration
interface
interface-type
interface-number
—
Reference ACLs for identifying
traffic flows and perform traffic
mirroring for packets that match.
mirrored-to
inbound
acl-rule
{
cpu
|
monitor-interface
}
Required
The traffic mirroring function configured on a VLAN is only applicable to packets tagged with 802.1Q
header.
Configuration example
Network 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 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
Summary of Contents for S3100 Series
Page 74: ...7 7 Sysname ip http acl 2030...
Page 270: ...1 51 Sysname GigabitEthernet1 0 1 port trunk permit vlan all...
Page 579: ...ii Configuration Example 2 4 QoS Profile Configuration Example 2 4...
Page 713: ...1 22 Total associations 1...
Page 823: ...1 16...
Page 1054: ...i Table of Contents Appendix A Acronyms A 1...