< Home

mirroring to observe-port (VLAN view)

Function

The mirroring to observe-port command copies packets received in a specified VLAN to a specified observing port.

The undo mirroring command restores the default configuration.

By default, packets received in a VLAN are not copied to any observing port.

Format

mirroring to observe-port observe-port-index inbound

undo mirroring [ to observe-port observe-port-index ] inbound

Parameters

Parameter

Description

Value

observe-port-index

Specifies the index of the observing port.

The specified observing port must exist.

Views

VLAN view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

In VLAN mirroring, you can run the mirroring to observe-port command to copy packets on all the active ports in a specified VLAN to observing ports.

Prerequisites

Observing ports have been configured using the observe-port or observe-port command in the system view.

Example

# Copy packets received in VLAN 10 to the observing port with index 1.

<HUAWEI> system-view
[HUAWEI] observe-port 1 interface gigabitethernet 0/0/1
[HUAWEI] vlan 10
[HUAWEI-vlan10] mirroring to observe-port 1 inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >