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.
observe-port observe-port-index forwarding disable
undo observe-port observe-port-index forwarding disable
Parameter | Description | Value |
---|---|---|
observe-port-index | Specifies the index of an observing port. |
The specified observing port must exist. |
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.