The hardware fast-forwarding filter basic interface command configures an interface-based basic filtering condition of hardware fast forwarding.
The undo hardware fast-forwarding filter basic interface command cancels the configuration.
hardware fast-forwarding filter basic interface { include | exclude } interface-type interface-number
undo hardware fast-forwarding filter basic interface { include | exclude } interface-type interface-number
undo hardware fast-forwarding filter basic interface { include | exclude } all
| Parameter | Description | Value |
|---|---|---|
include |
Enables hardware fast forwarding only for the traffic received from a specific interface. |
- |
exclude |
Disables hardware fast forwarding only for the traffic received from a specific interface. |
- |
interface-type interface-number |
Specifies an incoming interface. |
The incoming interface can only be a physical interface but not an MEth interface. For the number of inbound interfaces that can be specified at a time, see the help information for the CLI. |
all |
Deletes all interface-based basic filtering conditions of hardware fast forwarding. |
- |
In versions earlier than V600R007C20SPC200, all models support this command. For V600R007C20SPC200 and later versions, device batches are distinguished by BomID Version (which can be checked using the display version command). All models except the USG6680E and USG6712E/6716E whose BomID Version is 003 or later or whose device BOM numbers contain "-001" support this command.
By default, no interface-based basic filtering condition of hardware fast forwarding is configured.
Configuring an interface-based basic filtering condition of hardware fast forwarding can enable or disable hardware fast forwarding for traffic received from a specific interface. If hardware fast forwarding is disabled on an interface, the traffic received from the interface will still be sent to the CPU for processing.
When multiple filtering conditions are configured, the filtering conditions of the include type of the filtering conditions of the exclude type cannot take effect simultaneously. Only the filtering conditions of the specific type configured later take effect.
For example, if one filtering condition of the include type, two filtering conditions of the exclude type, and three filtering conditions of the include type are configured in sequence, only the three filtering conditions of the include type take effect.
After configuring an interface-based basic filtering condition of hardware fast forwarding, you need to run the hardware fast-forwarding filter basic enable interface command to enable interface-based hardware fast forwarding. Otherwise, the interface-based basic filtering condition of hardware fast forwarding does not take effect.