Creating a local mirroring group
Step
1.
Enter system view.
2.
Create a local mirroring
group.
Configuring source ports for the local mirroring group
To configure source ports for a local mirroring group, use one of the following methods:
•
Assign a list of source ports to the mirroring group in system view.
Assign a port to the mirroring group as a source port in interface view.
•
To assign multiple ports to the mirroring group as source ports in interface view, repeat the
operation.
Configuration restrictions and guidelines
When you configure source ports for a local mirroring group, follow these restrictions and guidelines:
A mirroring group can contain multiple source ports.
•
Typically, a port can act as a source port only for one mirroring group.
•
A source port cannot be configured as a monitor port.
•
Configuring source ports in system view
Step
Enter system view.
1.
2.
Configure source ports for a
local mirroring group.
Configuring source ports in interface view
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure the port as a source
port for a local mirroring
group.
Command
system-view
mirroring-group group-id local
Command
system-view
mirroring-group group-id
mirroring-port interface-list { both |
inbound | outbound }
Command
system-view
•
Enter interface view:
interface interface-type
interface-number
•
Enter CPOS interface view:
controller cpos
interface-number
mirroring-group group-id
mirroring-port { both | inbound |
outbound }
204
Remarks
N/A
By default, no local mirroring
group exists.
Remarks
N/A
By default, no source port is
configured for a local mirroring
group.
Remarks
N/A
N/A
By default, a port does not act as a
source port for any local mirroring
groups.