flowspec disable sub-port-exclude

Function

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.

Format

flowspec disable [ ipv4 | ipv6 ] sub-port-exclude

undo flowspec disable [ ipv4 | ipv6 ] sub-port-exclude

Parameters

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.

-

Views

100GE interface view, 10G LAN interface view, 400GE interface view, 40GE interface view, Eth-Trunk interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
cpu-defend write

Usage Guidelines

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:

  • If the ipv4 and ipv6 parameters are not specified, all BGP FlowSpec functions are disabled on the interface but the operation does not take effect on the sub-interfaces of the interface.
  • If only the ipv4 parameter is specified, BGP IPv4 FlowSpec is disabled on the interface but the operation does not take effect on the sub-interfaces of the interface.
  • If only the ipv6 parameter is specified, BGP IPv6 FlowSpec is disabled on the interface but the operation does not take effect on the sub-interfaces of the interface.

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.

Example

# Disable BGP IPv6 FlowSpec on GE 0/1/8 but this operation does not take effect on GE 0/1/8's sub-interfaces.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/8
[~HUAWEI-GigabitEthernet0/1/8] flowspec disable ipv6 sub-port-exclude
# Disable BGP FlowSpec on GE 0/1/0 but this operation does not take effect on GE 0/1/0's sub-interfaces.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] flowspec disable sub-port-exclude
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >