hardware-profile bgp-flowspec-mode

Use this command to set BGP flowspec mode that specifies the installation rules to the hardware.

No support for Install-partial option in Q2. Setting hardware profile to bgp-flowspec-mode requires, disabling and enabling the ipv4-bgp-flowspec to take effect. Chose a appropriate option based on usage. Use install-all option for normal case.

Syntax

Copy
hardware-profile bgp-flowspec-mode (install-all|install-partial|no-prioritizing)

Parameters

install-all

FLOWSPEC rules are prioritized. The already installed all rules are reinstalled when a new rule is added. (default)

install-partial

FLOWSPEC rules are prioritized. Do not reinstall all previously installed rules when a new rule is added to avoid unnecessary reinstallation.

no-prioritizing

FLOWSPEC rules are not prioritized. Install only rules requested to add but not reinstall any other rules when a new rule is added.

Default

None

Command Mode

Configure mode

Applicability

This command was introduced in OcNOS version 6.3.5.

Example

Copy
(config)#hardware-profile filter ipv4-bgp-flowspec disable
(config)#commit 
(config)#hardware-profile bgp-flowspec-mode no-prioritizing 
(config)#commit 
(config)#hardware-profile filter ipv4-bgp-flowspec enable
(config)#commit