3com 4210 PWR 9-Port 3CR17341-91-ME 用户手册
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
产品代码
3CR17341-91-ME
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.
mirroring to take effect.
■
The destination port cannot be a member port of an aggregation group or a
port enabled with LACP or STP.
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.
commands in any view to view the mirroring running information, so as to verify
your configurations.
Mirroring
Configuration
Example
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.
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.
R&D department and the marketing department through the data detection
device.
Configure
the source
port for the
port
mirroring
group
the source
port for the
port
mirroring
group
In system
view
view
mirroring-group group-id
mirroring-port
mirroring-port-list { both |
inbound | outbound }
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.
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 }
mirroring-port { both |
inbound | outbound }
quit
Configure
the
destination
port for the
port
mirroring
group
the
destination
port for the
port
mirroring
group
In system
view
view
mirroring-group group-id
monitor-port monitor-port-id
monitor-port monitor-port-id
Use either approach
The configurations in the two
views have the same effect.
views have the same effect.
In port view interface interface-type
interface-number
mirroring-group group-id
monitor-port
monitor-port
Table 237 Configuring local port mirroring
Operation
Command Description
Table 238 Display configuration of mirroring
Operation
Command
Description
Display port mirroring
configuration
configuration
display mirroring-group { group-id |
all | local }
all | local }
Available in any
view
view