![H3C SR6600 SPE-FWM Скачать руководство пользователя страница 163](http://html1.mh-extra.com/html/h3c/sr6600-spe-fwm/sr6600-spe-fwm_command-reference-manual_574801163.webp)
155
Views
System view
Default command level
2: System level
Parameters
group-id
: Specifies the number of the mirroring group, in the range of 1 to 4.
all
: Removes all mirroring groups by using the
undo
command.
local
: Creates a local mirroring group or removes all local mirroring groups with the
undo
command.
remote-destination
: Creates a remote destination group or removes all remote destination groups with
the
undo
command.
remote-source
: Creates a remote source group or removes all remote source groups with the
undo
command.
Examples
# Create a local mirroring group numbered 1.
<Sysname> system-view
[Sysname] mirroring-group 1 local
mirroring-group mirroring-port
Use
mirroring-group mirroring-port
to configure source ports for a local or remote source group.
Use
undo mirroring-group mirroring-port
to remove source ports from the mirroring group.
Syntax
mirroring-group
group-id
mirroring-port
mirroring-port-list
{
both
|
inbound
|
outbound
}
undo mirroring-group
group-id
mirroring-port
mirroring-port-list
{
both
|
inbound
|
outbound
}
Default
No source port is configured for any mirroring group.
Views
System view
Default command level
2: System level
Parameters
group-id
: Number of a local or remote source group, in the range of 1 to 4. The mirroring group
specified by the
group-id
argument must already exist.
mirroring-port-list
: Specifies a list of source ports or port ranges to be assigned to or removed from the
mirroring group specified by
group-id
. You can specify up to eight single ports, port ranges, or
combinations of both for the list. A single port takes the form of
interface-type interface-number
. A port
range takes the form
interface-type interface-number
to
interface-type interface-number
, where the end
port number must be greater than the start port number. For example, you may specify up to eight
combinations of single ports and port ranges for the list like this:
ethernet 1/1 ethernet 1/3 ethernet 1/5
ethernet 2/2 to ethernet 2/10 ethernet 3/1 ethernet 3/4 ethernet 3/6 to ethernet 3/10 ethernet 3/12
.
both
: Mirrors both inbound and outbound packets on the specified ports.
Содержание SR6600 SPE-FWM
Страница 8: ...vi Index 254 ...