360
C
18: P
HAPTER
ORT
Configuring Local Port
Mirroring
M
C
IRRORING
ONFIGURATION
Follow these steps to configure local port mirroring:
To do...
Enter system view
Create a local mirroring group
Add ports to
the port
mirroring
group as
source ports
Add a port to
the mirroring
group as the
destination
port
n
A local mirroring group is effective only when it has both source ports and the
■
destination port configured.
Layer 2 Ethernet ports, Layer 3 Ethernet interfaces, POS interfaces, and CPOS
■
interfaces can all be source mirroring ports, depending on device models.
Layer 2 Ethernet ports, Layer 3 Ethernet interfaces, and tunnel interfaces can all
■
be destination mirroring ports, depending on device models.
Do not enable STP, MSTP, or RSTP on destination ports for fear of interrupting
■
the device operation.
On some types of devices, aggregation ports can be destination ports.
■
Other restrictions concerning destination port exist. Refer to the user manuals
■
of your device for more information.
A port mirroring group can contain multiple source ports and only one
■
destination port.
A port can belong to only one port mirroring group.
■
The destination port and the source ports of a port mirroring group can only be
■
on the same board.
The destination port and the source ports of port mirroring groups created on
■
SIC-4FSW, DSIC-9FSW, and MSR20-21 Fabrics cannot be in different VLANs. So
make sure all the ports in a port mirroring group belong to the same VLAN
before you create the port mirroring group. For an existing port mirroring
group, removing a member port from the VLAN invalidates the port mirroring
Use the command...
system-view
mirroring-group groupid
local
In system view
mirroring-group groupid
mirroring-port
mirroring-port-list { both |
inbound | outbound }
In interface view interface interface-type
interface-number
or
controller cpos
interface-number
[ mirroring-group groupid ]
mirroring-port { both |
inbound | outbound }
quit
In system view
mirroring-group groupid
monitor-port
monitor-port-id
In interface view interface interface-type
interface-number
[ mirroring-group groupid ]
monitor-port
Remarks
-
Required
You can add ports to a port
mirroring group as source
ports in either system view
or interface view.
In system view, you can add
multiple ports to a port
mirroring group at one
time. While in interface
view, you can only add the
current port to a port
mirroring group.
The support for source port
configuration in CPOS
interface view varies with
device models.
You can add a destination
port to a port mirroring
group in either system view
or interface view. They
achieve the same purpose.
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers