3com S7906E Guide De Référence

Page de 2327
 
1-5 
Examples 
# Configure port Ethernet 2/0/1 as the outbound mirroring port of remote port mirroring group 1 in 
system view. 
<Sysname> system-view 
[Sysname] mirroring-group 1 remote-source 
[Sysname] mirroring-group 1 monitor-egress Ethernet 2/0/1 
# Configure port Ethernet 2/0/2 as the outbound mirroring port of remote port mirroring group 2 in 
Ethernet port view. 
<Sysname> system-view 
[Sysname] mirroring-group 2 remote-source 
[Sysname] interface Ethernet 2/0/2 
[Sysname-Ethernet2/0/2] mirroring-group 2 monitor-egress 
mirroring-group monitor-port 
Syntax 
mirroring-group group-id monitor-port monitor-port-id 
undo mirroring-group group-id monitor-port monitor-port-id 
View 
System view 
Default Level 
2: System level 
Parameters 
group-id: Port mirroring group number, in the range of 1 to 4. 
monitor-port-id: Port index. You need to provide this argument in the form of interface-type 
interface-number, where interface-type is the port type and interface-number is the port number.  
Description 
Use the mirroring-group monitor-port command to configure the destination port for a port mirroring 
group.  
Use the undo mirroring-group monitor-port command to remove the destination port from a port 
mirroring group.  
Note that: 
A port mirroring group can contain only one destination port. 
The destination port cannot be a member port of the current mirroring group. 
The destination mirroring port can be an access, trunk, or hybrid port. It must be assigned to the 
remote mirroring VLAN.  
A remote source port mirroring group cannot contain destination ports. 
Before configuring 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.