Configuring mirroring ports in system view, Configuring a mirroring port in interface view – H3C Technologies H3C S7500E Series Switches User Manual
Page 152
9-5
To do…
Use the command…
Remarks
Create a local mirroring group
mirroring-group group-id local
Required
A local mirroring group takes effect only after you configure a monitor port and mirroring port for it.
Configuring Mirroring Ports for the Local Mirroring Group
You can configure a list of mirroring ports for a mirroring group at a time in system view, or assign only
the current port to it as a mirroring port in interface view. To assign multiple ports to the mirroring group
as mirroring ports in interface view, repeat the step.
Configuring mirroring ports in system view
Follow these steps to configure mirroring ports for a local mirroring group in system view:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure mirroring ports
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
Required
By default, no mirroring port is
configured for a mirroring group.
Configuring a mirroring port in interface view
Follow these steps to configure a mirroring port for a local mirroring group in interface view:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure the current port as a
mirroring port
[ mirroring-group group-id ]
mirroring-port { both | inbound |
outbound }
Required
By default, a port does not serve
as a mirroring port for any
mirroring group.
A mirroring group can contain multiple mirroring ports.