3Com Switch 8800 Family Configuration Guide
QoS Configuration 199
Configuring Traffic
Mirroring
Traffic mirroring duplicates the traffic that matches ACL rules to the CPU or the
designated destination port, for traffic analysis and monitoring.
Perform the following configurations in Ethernet port view.
n
The traffic-statistic command is used to make statistics of traffic statistics
information of all the ports in the port group. To display the traffic statistics
information of the specified port, you must input the specific port information in
the command line.
system-index index here is the system index for an ACL rule. When delivering a
rule, the system assigns a globally unique index to it, for convenience of later
retrieval. You can also assign a system index for it when delivering an ACL rule
with this command, but the index value may change while the system is running.
However, you are not recommended to assign a system index if not urgently
necessary.
See the corresponding Command Manual for details of the commands.
Configuring Port
Mirroring
Port mirroring duplicates data on the monitored port to the designated monitoring
port, for purpose of data analysis and supervision. The switch supports
multiple-to-one mirroring, that is, you can duplicate packets from multiple ports to
a monitoring port.
You can also specify the monitoring direction:
■ Only inbound packets
■ Only outbound packets
Tab le 174 Configure traffic mirroring
Operation Command
Configure traffic mirroring which only applies
IP group ACL
mirrored-to inbound ip-group { acl-number
| acl-name } [ rule rule [ system-index index ]
] { cpu | interface interface-type
interface-number }
Remove traffic mirroring setting which only
applies IP group ACL
undo mirrored-to inbound ip-group {
acl-number | acl-name } [ rule rule ]
Configure traffic mirroring which applies IP
group ACL and link group ACL at same time
mirrored-to inbound ip-group { acl-number
| acl-name } { rule rule link-group {
acl-number | acl-name } [ rule rule [
system-index index ] ] | link-group {
acl-number | acl-name } rule rule } { cpu |
interface interface-type interface-number }
Remove traffic mirroring setting which applies
IP group ACL and link group ACL at same
time
undo mirrored-to inbound ip-group {
acl-number | acl-name } { rule rule link-group
{ acl-number | acl-name } [ rule rule ] |
link-group { acl-number | acl-name } rule rule
}
Configure traffic mirroring which only applies
link group ACL
mirrored-to inbound link-group {
acl-number | acl-name } [ rule rule [
system-index index ] ] { cpu | interface
interface-type interface-number }
Remove traffic mirroring setting which only
applies link group ACL
undo mirrored-to inbound link-group {
acl-number | acl-name } [ rule rule ]