Mirroring-Port - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

500
C
30: P
HAPTER
ORT
Example

mirroring-port

Syntax
View
Parameter
Description
Example
M
C
C
IRRORING
ONFIGURATION
Layer 2 Ethernet ports, Layer 3 Ethernet interfaces, and tunnel interfaces can all
be destination mirroring ports of local port mirroring groups.
Member ports of an existing port mirroring group cannot be destination ports.
# Add port Ethernet1/1 to port mirroring group 1 (a remote destination port
mirroring group) as the destination port.
<Sysname> system-view
[Sysname] mirroring-group 1 monitor-port ethernet 1/1
[ mirroring-group groupid ] mirroring-port { both | inbound | outbound }
undo [ mirroring-group groupid ] mirroring-port { both | inbound | outbound }
Interface view
groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and
BSR 30 series routers and 1 to 10 for MSR 50 series routers.
both: Mirrors both inbound and outbound packets.
inbound: Mirrors the inbound packets only.
outbound: Mirrors the outbound packets only.
Use the
mirroring-port
group as a source mirroring port.
Use the
undo mirroring-port
Note that:
If you do not specify the mirroring-group groupid keyword-argument
combination, these two commands apply to port mirroring group 1.
Depending on device models, you can add ports/interfaces to local port
mirroring groups as source mirroring ports in Layer 2 Ethernet port view, Layer
3 Ethernet interface view, POS interface view, and CPOS interface view.
When you use the undo mirroring-port command to remove the current port
from a port mirroring group, make sure the both/inbound/outbound
keyword specified matches the actual packet direction of the port.
# Add port Ethernet1/1 to port mirroring group 2, which already exists.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mirroring-group 2 mirroring-port both
# Add POS 5/1 to local port mirroring group 3.
OMMANDS
command to add the current port to a port mirroring
command to remove the configuration.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents