match fragment-type

Configures matching based on fragmentation type for a route-map sequence number.

Syntax

match fragment-type { all | any } [ dont-fragment ] [first-fragment | not-first-fragment ] [fragment | not-fragment] [ last-fragment | not-last-fragment ]
no match fragment-type { all | any } [ dont-fragment ] [first-fragment | not-first-fragment ] [fragment | not-fragment] [ last-fragment | not-last-fragment ]

Command Default

Matching based on fragmentation type is not configured.

Parameters

all
Specfies that matching occurs when traffic matches all of the subsequent specified options.
any
Specfies that matching occurs when traffic matches any of the subsequent specified options.
dont-fragment
Specifies matching based on fragmentation type being equal to DF
first-fragment
Specifies matching based fragmentation type being equal to FF.
not-first-fragment
Specifies matching based on fragmentation type not being equal to FF.
fragment
Specifies that matching occurs when the packet is an IP fragment.
not-fragment
Specifies that matching occurs when the packet is not an IP fragment.
last-fragment
Specifies matching based on fragmentation type being equal to LF.
not-last-fragment
Specifies matching based on fragmentation type not being equal to FF.

Modes

Route-map configuration mode

Usage Guidelines

When issuing the match fragment-type command, you must specify either all or any and at least one other option.

You can configure multiple options by using the match fragment-type command.

Up to 128 match fragment-type configurations are allowed per route-map sequence number.

When multiple match fragment-type configurations exist, matching occurs when traffic matches any one of the configured fragment type configurations.

The no form of the command removes the configuration.

Examples

The following example shows how to configure matching based on fragmentation type being equal to first-fragment or not equal to last-fragment for sequence number 4 in a route-map named rm.

device# configure terminal
device(config)# route-map rm permit 4
device(config-route-map-rm/permit/4)# match fragment-type any first-fragment not-last-fragment 

The following example shows how to configure matching based on fragmentation type equal to last-fragment for sequence number 4 in a route-map named rm.

device# configure terminal
device(config)# route-map rm permit 4
device(config-route-map-rm/permit/4)# match fragment-type all last-fragment