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 [ ipv4 | ipv6 ]

undo flowspec disable [ ipv4 | ipv6 ]

Parameters

Parameter Description Value
ipv4

Disable BGP IPv4 Flow Specification on an interface.

-

ipv6

Disable BGP IPv6 Flow Specification on an 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, Sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
cpu-defend write

Usage Guidelines

Usage Scenario

When BGP Flow Specification is not required on an interface, you can disable BGP Flow Specification on the interface.

When the flowspec disable command is configured on an interface:

  • If ipv4 and ipv6 are not specified, all BGP Flow Specification functions are disabled on the interface. To be specific, both BGP IPv4 Flow Specification and BGP IPv6 Flow Specification functions do not take effect on the interface.
  • If only ipv4 is specified, the BGP IPv4 Flow Specification function is disabled and does not take effect on the interface, whereas the BGP IPv6 Flow Specification function still takes effect.
  • If only ipv6 is specified, the BGP IPv6 Flow Specification function is disabled and does not take effect on the interface, whereas the BGP IPv4 Flow Specification function still takes effect.

Precautions

The flowspec disable and flowspec refluence commands are mutually exclusive.

This command cannot be configured on Eth-Trunk member interfaces. When the command is configured on a main interface, the command configuration also takes effect on its sub-interfaces.

flowspec disable is mutually exclusive with flowspec disable ipv4 or flowspec disable ipv6. flowspec disable ipv4 and flowspec disable ipv6 are not mutually exclusive and can be both configured.

Example

# Disable BGP IPv6 Flow Specification on GE 0/1/8.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/8
[~HUAWEI-GigabitEthernet0/1/8] flowspec disable ipv6
# Disable BGP Flow Specification on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] flowspec disable
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >