(Optional) Configuring Port Mirroring in Integrated Mode

Context

To simplify port mirroring configuration, related commands have been integrated into a single command. Perform the following steps to configure port mirroring in integrated mode:

Table 1 Interfaces supporting local mirroring

Interface Type

Mirrored Port

Observing Port

Layer 3 Ethernet main interfaces (including Eth-Trunk interfaces and a Layer 3 main interface configured as a BAS main interface)

Supported

Supported

BAS interface

Supported
NOTE:

When a VE interface functions as a BAS interface, local flow mirroring is supported only on the access VE interface in hardware loopback mode.

Not supported

Ethernet sub-interfaces (including Eth-Trunk interfaces)

Supported
NOTE:

After a sub-interface is configured as a dot1q, dot1q VLAN tag termination, QinQ VLAN tag termination, EVC, or BAS sub-interface, the sub-interface still supports mirroring.

Supported

NOTE:

After a sub-interface is configured as a dot1q VLAN tag termination, QinQ VLAN tag termination, or BAS sub-interface, the sub-interface does not support be configured as an observing port.

The observing port can only be configured on the EVC sub-interface with untag or dot1q traffic encapsulation type.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run port-mirroring to { null0 | interface interface-type interface-number observe-index observe-index } { inbound | cpu-packet | outbound } [ user-defined-filter user-defined-filter-id ]

    Port mirroring in integrated mode is configured.

  4. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >