flowspec disable
Function
The flowspec disable command disables BGP Flow Specification on an interface.
The undo flowspec disable command enables BGP Flow Specification on an interface.
By default, BGP Flow Specification is enabled on an interface.
Format
flowspec disable
undo flowspec disable
Parameters
None
Views
Interface view
Default Level
2: Configuration level
Task Name and Operations
Task Name
Operations
local-attack-defense write
Usage Guidelines
Usage Scenario
When BGP Flow Specification is not required on an interface, you can disable BGP Flow Specification on the interface to prevent returned traffic from matching the FlowSpec rules again and returning to the traffic cleaning device.
Precautions
The flowspec disable and flowspec refluence commands are mutually exclusive.
Example
# Disable BGP Flow Specification on GE 1/0/0.
<HUAWEI> system-view
[~HUAWEI] interface gigabitethernet 1/0/0
[~HUAWEI-GigabitEthernet1/0/0] flowspec disable