![H3C SR6600 SPE-FWM Скачать руководство пользователя страница 164](http://html1.mh-extra.com/html/h3c/sr6600-spe-fwm/sr6600-spe-fwm_command-reference-manual_574801164.webp)
156
inbound
: Mirrors only inbound packets on the specified ports.
outbound
: Mirrors only outbound packets on the specified ports.
Usage guidelines
You cannot configure source ports for a remote destination group.
When removing a source port from a mirroring group, make sure the traffic direction you specified in the
undo mirroring-group mirroring-port
command matches the actual monitored direction specified earlier
in the
mirroring-group mirroring-port
command.
Examples
# Create local mirroring group 1, configure GigabitEthernet 2/0/1 as a source port of the mirroring
group, and configure the mirroring group to monitor the bidirectional traffic of the port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 mirroring-port gigabitethernet 2/0/1 both
# Create remote source group 2, configure GigabitEthernet 2/0/2 as a source port of the mirroring
group, and configure the mirroring group to monitor the bidirectional traffic of the port.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-source
[Sysname] mirroring-group 2 mirroring-port gigabitethernet 2/0/2 both
Related commands
mirroring-group
mirroring-group monitor-egress
Use
mirroring-group monitor-egress
to configure an egress port for a remote source group.
Use
undo mirroring-group monitor-egress
to remove the egress port of the mirroring group.
Syntax
In system view:
mirroring-group
group-id
monitor-egress
monitor-egress-port
undo mirroring-group
group-id
monitor-egress
monitor-egress-port
In interface view:
mirroring-group
group-id
monitor-egress
undo mirroring-group
group-id
monitor-egress
Default
No egress port is configured for a mirroring group.
Views
System view, interface view
Default command level
2: System level
Содержание SR6600 SPE-FWM
Страница 8: ...vi Index 254 ...