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.
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. |
- |
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.