Configuring an Observing Port

An observing port copies the traffic on the mirroring port to a packet analyzer. To prevent adverse impacts on running services, do not use the observing port as a service port.

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-observing observe-index observe-index [ without-filter ]

    The observing port is configured.

    The observing port does not filter or modify frames. At the inbound side, a frame is mirrored before the header is removed; at the outbound side, a frame is mirrored after the frame is modified.

  4. (Optional) Run port-observing with-linklayer-header

    The observing port to mirror packets including the link layer header is configured.

  5. (Optional) Run port-observing pop-label { one | two | all } [ sub-interface extend ]

    The observing interface to remove labels from MPLS packets is enabled.

    The port-observing pop-label and port-observing dest-mac commands are mutually exclusive.

  6. (Optional) Run port-observing dest-mac dest-mac-address

    The destination MAC address is configured on the observing port.

    The port-observing dest-mac dest-mac-address and port-observing pop-label commands are mutually exclusive.

  7. Run commit

    The configuration is committed.

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