Mirroring-Group Monitor-Port (System View) - H3C S5830V2 Series Command Reference Manual

Network management and monitoring
Hide thumbs Also See for S5830V2 Series:
Table of Contents

Advertisement

Examples
# Create local mirroring group 1, and configure port Ten-GigabitEthernet 1/0/1 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mirroring-group 1 monitor-port
# Create remote destination group 2, and configure port Ten-GigabitEthernet 1/0/2 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-destination
[Sysname] interface ten-gigabitethernet 1/0/2
[Sysname-Ten-GigabitEthernet1/0/2] mirroring-group 2 monitor-port
Related commands
mirroring-group

mirroring-group monitor-port (system view)

Use the mirroring-group monitor-port command to configure a port as the monitor port for a mirroring
group.
Use the undo mirroring-group monitor-port command to remove the monitor port from a mirroring
group.
Syntax
mirroring-group group-id monitor-port interface-type interface-number
undo mirroring-group group-id monitor-port interface-type interface-number
Default
No monitor port is configured for a mirroring group.
Views
System view
Predefined user roles
network-admin
Parameters
group-id: Number of the mirroring group. The mirroring group specified by group-id must already exist.
The value ranges from 1 to 4.
interface-type interface-number: Specifies a port to be configured as the monitor port by its type and
number.
Usage guidelines
You can configure a monitor port only for a local mirroring group or remote destination group, but not
for a remote source group.
Do not enable the spanning tree feature on the monitor port.
When a Layer 2 aggregate interface is configured as the monitor port, do not configure its member ports
as source ports.
124

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2 series

Table of Contents