if-match fragment-type(IPv6)

Function

The if-match fragment-type command configures a filtering rule based on the fragment type.

The undo if-match fragment-type command deletes the filtering rule based on the fragment type.

By default, no filtering rule based on the fragment type is configured.

Format

if-match fragment-type { not | match } { fragment | non-fragment }

undo if-match fragment-type

undo if-match fragment-type { not | match } { fragment | non-fragment }

Parameters

Parameter Description Value
not

Indicates that traffic that does not match the fragment type can pass the filtering rule.

-

match

Indicates that traffic matching the fragment type can pass the filtering rule.

-

fragment

Indicates that fragments are checked.

-

non-fragment

Indicates that non-fragmented packets are checked.

-

Views

Flow-Route IPv6 VPN instance view, Flow-Route-IPv6 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
flow-route write

Usage Guidelines

Usage Scenario

The if-match fragment-type command is used to configure a filtering rule based on the fragment type for a BGP(IPv6) Flow Specification route or BGP(IPv6)VPN Flow Specification route. Traffic matching the filtering rule will be controlled with the action specified by the apply clause.

Prerequisites

A static BGP(ipv6)Flow Specification route or BGP(IPv6)VPN Flow Specification route has been created using the flow-route command in the system view.

Precautions

If the filtering rules that are configured using the if-match fragment-type not and if-match fragment-type match commands are based on the same fragment type (fragment, non-fragment), the latter command configuration overrides the previous one.

Example

# Configure a filtering rule that is based on the fragment type for the static BGP IPv6 Flow Specification route Rule 1.
<HUAWEI> system-view
[~HUAWEI] flow-route rule1 ipv6
[*HUAWEI-flow-route-ipv6] if-match fragment-type not fragment
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >