Specifying an Observing Port

This section describes how to specify an observing port to associate the observing and mirrored ports.

Context

Two methods are available:
  • Specify an observing port for a line processing unit.
    When packets are mirrored on the NetEngine 8000 F, mirrored traffic on an interface board can be sent only to an observing port. This is the observing port for the interface board.

    The observing port for an interface board can reside on the interface board itself or other interface boards.

    When the mirroring instance mode is used, only Board-based mirroring is supported.

  • Specify an observing port for an interface.

    When packets are mirrored on the NetEngine 8000 F, mirrored traffic on an interface is sent to an observing port. This is the observing port for the interface.

    Packets received on an interface can be mirrored to an observing port on any interface board. That is, the observing port can either reside on the same interface board as the mirrored port or on a different interface board than the mirrored port. If you specify observing ports for both an interface and an interface board, the observing port specified for the interface takes effect if the interface is up; the observing port specified for the interface board takes effect if the interface is down.

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.

    Perform either of the following operations:

    1. Specify an observing port for an interface board.

      • Run slot slot-id

        The slot view is displayed.

      • Run mirror to observe-index observe-index

        An observing port is specified for the interface board in the slot.

    2. Specify an observing port for an interface.

      • Run interface interface-type interface-number

        The interface view is displayed.

      • Run port-mirroring to observe-index observe-index

        The uplink and downlink mirrored traffic on an interface is sent to a specified observing port.

      • Run port-mirroring to observe-index observe-index &<2-8>

        The uplink and downlink mirrored traffic on an interface is sent to multiple specified observing ports.

      • Run port-mirroring to null0

        The uplink and downlink mirrored traffic on an interface is sent to the null0 observing port.

      • Run port-mirroring to observe-index observe-index { inbound | outbound }

        The uplink and downlink mirrored traffic on an interface can be sent to the same observing port or to different observing ports.

      • The port-mirroring to observe-index observe-index, port-mirroring to observe-index observe-index &<2-8>, port-mirroring to null0, and port-mirroring to observe-index observe-index { inbound | outbound } commands are mutually exclusive to one another. If one of the commands has been configured on an interface, the port-mirroring to command of other types cannot be run.
      • Packets received or sent by a mirrored port can be mirrored to either the same observing port or different observing ports. If no observing port is specified for both upstream and downstream packets, the observing port for packets with no direction specified is the observing port specified for the board.

  2. Run commit

    The configuration is committed.

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