Mirroring-Port - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

Usage guidelines
For a remote source or destination mirroring group, you must configure and can configure only one
remote probe VLAN to carry mirrored packets. You cannot configure the remote probe VLAN for a local
mirroring group.
Only a static VLAN that already exists can be configured as a remote probe VLAN. A VLAN can serve
as the remote probe VLAN for only one mirroring group.
To delete a VLAN that is configured as a remote probe VLAN, remove the remote probe VLAN
configuration first.
Examples
# Create remote source group 1, and configure VLAN 10 as its remote probe VLAN.
<Sysname> system-view
[Sysname] mirroring-group 1 remote-source
[Sysname] mirroring-group 1 remote-probe vlan 10
# Create remote destination group 2, and configure VLAN 20 as its remote probe VLAN.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-destination
[Sysname] mirroring-group 2 remote-probe vlan 20
Related commands
mirroring-group

mirroring-port

Use mirroring-port to assign the current port to a local or remote source group as a source port.
Use undo mirroring-port to remove the current port from the mirroring group.
Syntax
[ mirroring-group group-id ] mirroring-port { inbound | outbound | both }
undo [ mirroring-group group-id ] mirroring-port { inbound | outbound | both }
Default
A port does not serve as a source port for any mirroring group.
Views
Interface view
Default command level
2: System level
Parameters
mirroring-group group-id: Specifies a local or remote source group by its number. The mirroring group
specified by group-id must already exist. The value range for the group-id argument is 1 to 4, and the
default value is 1.
both: Mirrors both inbound and outbound packets on the current port.
inbound: Mirrors only inbound packets on the current port.
outbound: Mirrors only outbound packets on the current port.
159

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents