3com S7906E Guia De Referência
1-8
Default Level
2: System level
Parameters
group-id: Port mirroring group number, in the range of 1 to 4.
Description
Use the monitor-port command to configure a port as the destination mirroring port of a port mirroring
group.
Use the undo monitor-port command to remove the destination mirroring port from a port mirroring
group.
If you do not specify the mirroring-group group-id keyword-argument combination, the monitor-port
command adds the current port to port mirroring group 1.
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
A remote source mirroring group cannot contain destination mirroring ports.
z
Member ports of existing port mirroring groups cannot be destination ports.
z
The remote destination mirroring port can be an access, trunk, or hybrid port. It must be assigned
to the remote mirroring VLAN.
z
Before adding the destination port for a port mirroring group, make sure the port mirroring group
exists.
z
Do not enable STP, RSTP, or MSTP on the destination port. Otherwise, the mirroring function may
be affected.
z
Do not use the destination mirroring port for any purpose other than port mirroring.
Examples
# Add port Ethernet 2/0/1 to port mirroring group 1 (a local port mirroring group) as the destination port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] interface Ethernet 2/0/1
[Sysname-Ethernet2/0/1] monitor-port
uni mirroring-port
Syntax
uni uni-number mirroring-port { both | inbound | outbound }
undo uni uni-number mirroring-port
View
ONU port view
Default Level
2: System level