View
System view, Ethernet port view
Parameters
group-id: Number of a port mirroring group, in the range 1 to 20.
mirroring-port mirroring-port-list: Specifies a list of source ports. mirroring-port-list is available in
system view only, and there is no such argument in Ethernet port view. mirroring-port-list is provided in
the
format
of
interface-number ] }&<1-8>, where interface-type is the port type, and interface-number is the port
number, and &<1-8> means that you can specify up to 8 ports or port lists.
both: Specifies to mirror the packets received on and sent from the source mirroring port.
inbound: Specifies to mirror the packets received on the source mirroring port.
outbound: Specifies to mirror the packets sent from the source mirroring port.
Description
Use the mirroring-group mirroring-port command to configure the source ports for a local mirroring
group or a remote source mirroring group.
Use the undo mirroring-group mirroring-port command to remove the source ports of a local
mirroring group or a remote source mirroring group.
Note that:
You cannot configure a member port of an existing mirroring group or a fabric port as a source port
for port mirroring.
Before configuring a mirroring source port, make sure that the corresponding mirroring group has
already been created.
A copy of each packet passing through a source port will be sent to the corresponding destination
port.
Related commands: display mirroring-group.
This command is only available for S3600-EI series Ethernet switches.
Examples
# Configure Ethernet 1/0/1 as the source port of local mirroring group 1, and mirror all packets received
on this port.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 mirroring-port Ethernet 1/0/1 inbound
mirroring-port-list
=
{
interface-type
interface-number
1-5
[
to
interface-type
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers