Command Manual – Mirroring
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Mirroring Commands
Huawei Technologies Proprietary
1-5
View
System view
Parameter
group-id
: Group number of a port mirroring group, in the range of 1 to 20.
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
mirroring.
all
: Deletes all mirroring groups
Description
Use the
mirroring-group
command to configure a port mirroring group.
Use the
undo mirroring-group
command to delete a port mirroring group.
Example
# Configure a port mirroring group on the local switch.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] mirroring-group 1 local
1.1.5
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
Parameter
group-id
: Group number of a port mirroring group, in the range of 1 to 20.
mirroring-port mirroring-port-list
: Specifies a list of mirrored ports.
mirroring-port-list
is
available in system view only, but not in Ethernet port view.
both
: Mirrors packets both received and sent via the port.
inbound
: Mirrors only packets received via the port.
outbound
: Mirrors only packets sent via the port.