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

4510g series
Table of Contents

Advertisement

create the remote source mirroring group on the device where the mirroring port is located and create
the remote destination mirroring group on the device where the monitor port is located.
Examples
# Create a local port mirroring group numbered 1.
<Sysname> system-view
[Sysname] mirroring-group 1 local
# Create remote destination mirroring group numbered 2.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-destination

mirroring-group mirroring-port

Syntax
mirroring-group groupid mirroring-port mirroring-port-list { both | inbound | outbound }
undo mirroring-group groupid mirroring-port mirroring-port-list { both | inbound | outbound }
View
System view
Default Level
2: System level
Parameters
groupid: Number of a local or remote source mirroring group, in the range of 1 to 4.
mirroring-port-list: A list of ports/port ranges to be assigned to or removed from the port mirroring group
specified by groupid. The total number of single ports plus port ranges cannot exceed eight. In the list,
a single port takes the form of interface-type interface-number. A port range takes the form
interface-type start-interface-number to interface-type end-interface-number, where the end port
number must be greater than the start port number.
both: Mirrors both inbound and outbound packets on the specified port(s).
inbound: Mirrors only inbound packets on the specified port(s).
outbound: Mirrors only outbound packets on the specified port(s).
Description
Use the mirroring-group mirroring-port command to assign ports to a local or remote source
mirroring group as mirroring ports.
Use the undo mirroring-group mirroring-port command to remove mirroring ports from the mirroring
group.
By configuring a port as a mirroring port, you can track the packets received from or/and sent out the
port.
Before you can assign a port to a mirroring group, create the mirroring group first.
Note that:
A mirroring port cannot be a member port of an existing port mirroring group.
12-3

Advertisement

Table of Contents
loading

Table of Contents