3Com S7902E Command Reference Manual - page 475
1-7
mirroring-port
Syntax
[
mirroring-group group-id
]
mirroring-port
{
inbound
|
outbound
|
both
}
undo
[
mirroring-group group-id
]
mirroring-port
{
inbound
|
outbound
|
both
}
View
Ethernet port view
Default Level
2: System level
Parameters
group-id
: Port mirroring group number, in the range of 1 to 4.
both
: Duplicates both inbound and outbound packets.
inbound
: Duplicates the inbound packets only.
outbound
: Duplicates the outbound packets only.
Description
Use the
mirroring-port
command to configure a port as a source mirroring port of a port mirroring
group.
Use the
undo mirroring-port
command to remove a source mirroring port from a port mirroring group.
Note that:
z
If you do not specify the
mirroring-group group-id
keyword-argument combination, these two
commands apply to port mirroring group 1.
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.
Examples
# Configure Ethernet 2/0/1 as a source mirroring port of remote source port mirroring group 2.
[Sysname] mirroring-group 2 remote-source
[Sysname] interface Ethernet 2/0/1
[Sysname-Ethernet2/0/1] mirroring-group 2 mirroring-port both
monitor-port
Syntax
[
mirroring-group group-id
]
monitor-port
undo
[
mirroring-group group-id
]
monitor-port
View
Ethernet port view