3com 4210 PWR 9-Port 3CR17341-91-ME 用户手册

产品代码
3CR17341-91-ME
下载
页码 567
314
C
HAPTER
 29: M
IRRORING
 C
ONFIGURATION
When configuring local port mirroring, note that:
You need to configure the source and destination ports for the local port 
mirroring to take effect.
The destination port cannot be a member port of an aggregation group or a 
port enabled with LACP or STP.
Displaying Port 
Mirroring
After performing the configurations above, you can execute the display 
commands in any view to view the mirroring running information, so as to verify 
your configurations.
Mirroring 
Configuration 
Example
Network requirements
The departments of a company connect to each other through the Switch 4210:
Research and Development (R&D) department is connected to Switch C 
through Ethernet 1/0/1.
Marketing department is connected to Switch C through Ethernet 1/0/2.
Data detection device is connected to Switch C through Ethernet 1/0/3
The administrator wants to monitor the packets received on and sent from the 
R&D department and the marketing department through the data detection 
device.
Configure 
the source 
port for the 
port 
mirroring 
group 
In system 
view 
mirroring-group group-id 
mirroring-port 
mirroring-port-list { both | 
inbound | outbound } 
Use either approach
You can configure multiple 
source ports at a time in system 
view, or you can configure the 
source port in specific port 
view. The configurations in the 
two views have the same effect. 
In port view  interface interface-type 
interface-number
mirroring-group group-id 
mirroring-port { both | 
inbound | outbound }
quit
Configure 
the 
destination 
port for the 
port 
mirroring 
group 
In system 
view 
mirroring-group group-id 
monitor-port monitor-port-id 
Use either approach
The configurations in the two 
views have the same effect. 
In port view  interface interface-type 
interface-number
mirroring-group group-id 
monitor-port
Table 237   Configuring local port mirroring
Operation
Command Description 
Table 238   Display configuration of mirroring
Operation 
Command 
Description 
Display port mirroring 
configuration 
display mirroring-group { group-id | 
all | local } 
Available in any 
view