3Com S7902E Command Reference Manual - page 471
1-3
z
Use the
group-id
argument to specify the port mirroring group to be removed.
z
Use the
all
keyword to remove all the port mirroring groups.
z
Use the
local
keyword to remove all the local port mirroring groups.
z
Use the
remote-destination
keyword to remove all the remote destination port mirroring groups.
z
Use the
remote-source
keyword to remove all the remote source mirroring groups.
Examples
# Create a local port mirroring group numbered 1.
[Sysname] mirroring-group 1 local
# Create remote destination mirroring group numbered 2.
[Sysname] mirroring-group 2 remote-destination
mirroring-group mirroring-port
Syntax
mirroring-group group-id mirroring-port mirroring-port-list
{
both
|
inbound
|
outbound
}
undo mirroring-group group-id mirroring-port mirroring-port-list
{
both
|
inbound
|
outbound
}
View
System view
Default Level
2: System level
Parameters
group-id
: Port mirroring group number, in the range of 1 to 4.
mirroring-port-list
: List of ports to be added to the port mirroring group. You can specify multiple ports by
providing this argument in the form of {
interface-type interface-number
[
to
interface-type
interface-number
] }&, where the
interface-type
argument is port type, the
interface-number
argument is the port number, and &
means that you can provide up to eight port indexes/port
index lists for this argument.
both
: Specifies to duplicate both inbound and outbound packets.
inbound
: Specifies to duplicate inbound packets only.
outbound
: Specifies to duplicate outbound packets only.
Description
Use the
mirroring-group mirroring-port
command to configure source ports for a port mirroring
group.
Use the
undo mirroring-group mirroring-port
command to remove source ports from a port mirroring
group.
Note that:
z
The source port cannot be a member port of the current mirroring group.
z
A remote destination mirroring group cannot contain source mirroring ports.