Mirroring-Group Mirroring-Port (System View) - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

mirroring-group mirroring-port (system view)

Use mirroring-group mirroring-port to configure source ports for a mirroring group.
Use undo mirroring-group mirroring-port to remove source ports from a mirroring group.
Syntax
mirroring-group group-id mirroring-port interface-list { both | inbound | outbound }
undo mirroring-group group-id mirroring-port interface-list
Default
No source port is configured for a mirroring group.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
group-id: Specifies a mirroring group by its number. The specified mirroring group must already exist.
The value range for this argument is 1 to 16.
interface-list: Specifies a space-separated list of up to eight interface items. Each item specifies an
interface by its type and number or specifies a range of interfaces in the form of interface-type
interface-number1 to interface-type interface-number2. When you specify a range of interfaces, the
interfaces must be of the same type and on the same slot. The start interface number must be
identical to or lower than the end interface number.
both: Mirrors both received and sent packets.
inbound: Mirrors only received packets.
outbound: Mirrors only sent packets.
Usage guidelines
You can configure source ports only for local mirroring groups and remote source groups.
A Layer 2 or Layer 3 aggregate interface cannot be configured as a source port for a mirroring group.
Do not assign a source port of a mirroring group to the remote probe VLAN of the mirroring group.
A source port cannot be used as a reflector port, monitor port, or egress port.
Examples
# Create local mirroring group 1 to monitor the bidirectional traffic of Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 mirroring-port ten-gigabitethernet 1/0/1 both
# Create remote source group 2 to monitor the bidirectional traffic of Ten-GigabitEthernet 1/0/2.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-source
[Sysname] mirroring-group 2 mirroring-port ten-gigabitethernet 1/0/2 both
Related commands
mirroring-group
322

Advertisement

Table of Contents
loading

Table of Contents