The flowspec disable sub-port-exclude command disables BGP FlowSpec on an interface but the operation does not take effect on the sub-interfaces of the interface.
The undo flowspec disable sub-port-exclude command cancels the configuration.
By default, BGP FlowSpec is enabled on an interface.
Parameter | Description | Value |
---|---|---|
ipv4 | Disables the BGP IPv4 FlowSpec function on the interface but the operation does not take effect on the sub-interfaces of the interface. |
- |
ipv6 | Disables the BGP IPv6 FlowSpec function on the interface but the operation does not take effect on the sub-interfaces of the interface. |
- |
Usage Scenario
The flowspec disable sub-port-exclude command disables BGP FlowSpec on an interface but the operation does not take effect on the sub-interfaces of the interface.
When the flowspec disable sub-port-exclude command is run:Precautions
The flowspec disable sub-port-exclude and flowspec refluence commands are mutually exclusive.
This command can be configured only on the main interface and cannot be configured on sub-interfaces interfaces. The flowspec disable sub-port-exclude is mutually exclusive with flowspec disable ipv4 sub-port-exclude or flowspec disable ipv6 sub-port-exclude. The flowspec disable ipv4 sub-port-exclude and flowspec disable ipv6 sub-port-exclude are not mutually exclusive and can be both configured.<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/8 [~HUAWEI-GigabitEthernet0/1/8] flowspec disable ipv6 sub-port-exclude
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] flowspec disable sub-port-exclude