< Home

observe-port forwarding disable

Function

The observe-port forwarding disable command disables an observing port from forwarding data packets.

The undo observe-port forwarding disable command restores the default configuration.

By default, an observing port can forward data packets.

Format

observe-port observe-port-index forwarding disable

undo observe-port observe-port-index forwarding disable

Parameters

Parameter Description Value
observe-port-index

Specifies the index of an observing port.

The specified observing port must exist.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You must dedicate observing ports for mirroring use and do not configure other services on them to prevent mirrored traffic and other service traffic from affecting each other. However, the observing port is still capable of forwarding data packets by default. You can run the observe-port forwarding disable command to disable an observing port from forwarding data packets.

Precautions

If an observing port is an Eth-Trunk interface, this function cannot be configured for this observing port.

Example

# Disable the observing port with index 1 from forwarding data packets.

<HUAWEI> system-view
[HUAWEI] observe-port 1 forwarding disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >