3com S7906E 参照ガイド

ページ / 2327
 
1-3 
Use the group-id argument to specify the port mirroring group to be removed. 
Use the all keyword to remove all the port mirroring groups. 
Use the local keyword to remove all the local port mirroring groups. 
Use the remote-destination keyword to remove all the remote destination port mirroring groups. 
Use the remote-source keyword to remove all the remote source mirroring groups. 
Examples 
# Create a local port mirroring group numbered 1. 
<Sysname> system-view 
[Sysname] mirroring-group 1 local 
# Create remote destination mirroring group numbered 2. 
<Sysname> system-view 
[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  ] }&<1-8>, where the interface-type  argument is port type, the interface-number 
argument is the port number, and &<1-8>  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: 
The source port cannot be a member port of the current mirroring group. 
A remote destination mirroring group cannot contain source mirroring ports.