Mirroring-Port - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

Examples
# Specify VLAN 2 as the remote probe VLAN of port mirroring group 1, assuming that VLAN 2 already
exists.
<Sysname> system-view
[Sysname] mirroring-group 1 remote-source
[Sysname] mirroring-group 1 remote-probe vlan 2

mirroring-port

Syntax
[ mirroring-group groupid ] mirroring-port { inbound | outbound | both }
undo [ mirroring-group groupid ] mirroring-port { inbound | outbound | both }
View
Ethernet port view
Default Level
2: System level
Parameters
groupid: Number of a local or remote source mirroring group, in the range of 1 to 4.
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.
Description
Use the mirroring-port command to assign the current port to a local or remote source mirroring
group as a mirroring port.
Use the undo mirroring-port command to remove the current port from the port mirroring group.
When assigning a port to a mirroring group as a mirroring port, note that:
If no mirroring group is specified, the port is assigned to port mirroring group 1.
Whether you assign the port to port mirroring group 1 or any other mirroring group, ensure that the
mirroring group already exists.
A mirroring port cannot be a member port of an existing port mirroring group.
You cannot add a mirroring port for a remote destination mirroring group.
When removing a mirroring port from a mirroring group, make sure the traffic direction you
specified in the undo [ mirroring-group groupid ] mirroring-port command matches the actual
monitored direction of the port.
Examples
# Configure GigabitEthernet 1/0/1 as a source mirroring port of remote source port mirroring group 2.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-source
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mirroring-group 2 mirroring-port both
12-7

Advertisement

Table of Contents
loading

Table of Contents