< Home

observe-port dynamic-allocation enable

Function

The observe-port dynamic-allocation enable command enables the function of dynamically applying for observing port resources.

The undo observe-port dynamic-allocation enable command restores the default configuration.

By default, the function is disabled.

This command is supported only on the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S.

Format

observe-port observe-port-index dynamic-allocation enable

undo observe-port observe-port-index dynamic-allocation enable

Parameters

Parameter Description Value

observe-port-index

Specifies the index of an observing port.

The value is an integer in the range from 2 to 4.

The observing port with index 1 does not support the function of dynamically applying for observing port resources.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

For the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S, when the same observing port is configured for outbound mirroring and inbound mirroring and multiple mirrored ports reside on the same switch, only one copy of the same packets is mirrored to the observing port. To resolve this problem, run the observe-port dynamic-allocation enable command to enable the observing port to dynamically apply for hardware resources.

Precautions

  • In a stack, you can also configure the mirrored ports and observing port on different member switches to prevent this problem, without the need of running this command.
  • You need to run this command before running the observe-port [ observe-port-index ] interface command to create an observing port.
  • After the observe-port dynamic-allocation enable command is configured, observing port resources are occupied only when the port-mirroring to observe-port command is configured on mirrored ports. If both inbound mirroring and outbound mirroring are configured on a mirrored port, one observing port resource is occupied for each direction.

Example

# Enable the function of dynamically applying for observing port resources.

<HUAWEI> system-view
[HUAWEI] observe-port 2 dynamic-allocation enable
[HUAWEI] observe-port 2 interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >