3com S7906E Guia De Referência

Página de 2327
 
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:  
If you do not specify the mirroring-group group-id keyword-argument combination, these two 
commands apply to port mirroring group 1. 
A remote source mirroring group cannot contain destination mirroring ports. 
Member ports of existing port mirroring groups cannot be destination ports.  
The remote destination mirroring port can be an access, trunk, or hybrid port. It must be assigned 
to the remote mirroring VLAN.  
Before adding the destination port for a port mirroring group, make sure the port mirroring group 
exists. 
Do not enable STP, RSTP, or MSTP on the destination port. Otherwise, the mirroring function may 
be affected. 
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