flowspec ipv4-fragment-rule switch

Function

The flowspec ipv4-fragment-rule switch command enables IPv4 fragmentation rules in BGP FlowSpec routes to comply with RFC 5575.

The undo flowspec ipv4-fragment-rule switch command disables IPv4 fragmentation rules in BGP FlowSpec routes from complying with RFC 5575.

By default, IPv4 fragmentation rules in BGP FlowSpec routes do not comply with RFC 5575.

Format

flowspec ipv4-fragment-rule switch

undo flowspec ipv4-fragment-rule switch

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

If IPv4 fragmentation rules in BGP FlowSpec routes do not comply with RFC 5575, you can run the flowspec ipv4-fragment-rule switch command in the system view to enable the rules to comply with RFC 5575.

Precautions

In VS mode, this command is supported only by the admin VS.

Before this command is run, the BGP Flow Specification function does not take effect for packets that match more than two IPv4 fragmentation rules.

After this command is run, the BGP Flow Specification function does not take effect for packets that match two or more IPv4 fragmentation rules.

Example

# Enable BGP Flow Specification IPv4 allocation rules to comply with RFC 5575.
<HUAWEI> system-view
[~HUAWEI] flowspec ipv4-fragment-rule switch
# Disable BGP Flow Specification IPv4 allocation rules from complying with RFC 5575.
<HUAWEI> system-view
[~HUAWEI] undo flowspec ipv4-fragment-rule switch
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >