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

4510g series
Table of Contents

Advertisement

monitor-port

Syntax
[ mirroring-group groupid ] monitor-port
undo [ mirroring-group groupid ] monitor-port
View
Ethernet port view
Default Level
2: System level
Parameters
groupid: Number of a local or remote destination mirroring group, in the range of 1 to 4.
Description
Use the monitor-port command to assign the current port to a local or remote destination mirroring
group as the monitor port.
Use the undo monitor-port command to remove the current port from the mirroring group.
When assigning a port to a mirroring group as the monitor port, note that:
If no mirroring group is specified, the port is assigned to port mirroring group 1.
The port cannot belong to any other mirroring group.
Whether you assign the port to port mirroring group 1 or any other mirroring group, ensure that the
mirroring group already exists.
The remote destination mirroring port can be an access, trunk, or hybrid port. It must be assigned
to the remote mirroring VLAN.
Do not enable STP, RSTP, or MSTP on the destination port. Otherwise, the mirroring function
may be affected.
Do not use the destination mirroring port for any purpose other than port mirroring.
Examples
# Configure GigabitEthernet 1/0/1 as the monitor port in local mirroring group numbered 1.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] monitor-port
12-8

Advertisement

Table of Contents
loading

Table of Contents