Mirroring-Group Mirroring-Port - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

Parameters
group-id: Number of a port mirroring group, the value of which can only be 1.
all: Specifies to remove all mirroring groups.
local: Specifies the mirroring group as a local port mirroring group.
remote-destination: Specifies the mirroring group as the destination mirroring group for remote port
mirroring.
remote-source: Specifies the mirroring group as the source mirroring group for remote port mirroring.
Description
Use the mirroring-group command to create a port mirroring group.
Use the undo mirroring-group command to remove a port mirroring group.
The mirroring group you created can take effect only after you configure other parameters for it.
Note that, an S3100 series Ethernet switch supports configuring only one destination port in local port
mirroring or one reflector port in remote port mirroring. That is, on an S3100 switch, there can be only
one effective local mirroring group or one effective remote source mirroring group. The two mirroring
groups cannot coexist.
Related commands: display mirroring-group.
Examples
# Create a port mirroring group on the local switch.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] mirroring-group 1 local

mirroring-group mirroring-port

Syntax
mirroring-group group-id mirroring-port mirroring-port-list { both | inbound | outbound }
undo mirroring-group group-id mirroring-port mirroring-port-list
View
System view, Ethernet port view
Parameters
group-id: Number of a port mirroring group, the value of which can only be 1.
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.
mirroring-port-list
=
{
interface-type
interface-number
1-3
[
to
interface-type

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents