Mirroring-Group Mirroring-Port (Interface View) - HP 6125XLG Command Reference Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

mirroring-group mirroring-port (interface view)

Use mirroring-group mirroring-port to configure a source port for a mirroring port.
Use undo mirroring-group mirroring-port to remove a source port from the mirroring group.
Syntax
mirroring-group group-id mirroring-port { both | inbound | outbound }
undo mirroring-group group-id mirroring-port
Default
No source port is configured for any mirroring group.
Views
Interface view
Predefined user roles
network-admin
Parameters
group-id: Number of the mirroring group, in the range of 1 to 4. The mirroring group specified by the
group-id argument must already exist.
both: Mirrors both received and sent packets on the specified port.
inbound: Mirrors only received packets on the specified port.
outbound: Mirrors only sent packets on the specified port.
Usage guidelines
You can configure source ports only for a local mirroring group or remote source group but not for a
remote destination group.
Do not assign a source port to a remote probe VLAN.
A port can serve as a source port for multiple mirroring groups, but the port cannot be a reflector port,
egress port, or monitor port at the same time.
Examples
# Create local mirroring group 1, configure Ten-GigabitEthernet 1/1/5 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] interface ten-gigabitethernet 1/1/5
[Sysname-Ten-GigabitEthernet1/1/5] mirroring-group 1 mirroring-port both
# Create remote source group 2, configure Ten-GigabitEthernet 1/1/6 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] interface ten-gigabitethernet 1/1/6
[Sysname-Ten-GigabitEthernet1/1/6] mirroring-group 2 mirroring-port both
Related commands
mirroring-group
191

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents