< Home

firewall fragment-cache-maximum

Function

The firewall fragment-cache-maximum command sets the maximum fragments of a packet in the cache.

The undo firewall fragment-cache-maximum command restores the maximum fragments of a packet in the cache to the default value.

Format

firewall [ ipv6 ] fragment-cache-maximum max-number

undo firewall [ ipv6 ] fragment-cache-maximum

Parameters

Parameter Description Value
ipv6 Indicates the IPv6 fragment packet. -
max-number Specifies the maximum fragments of a packet in the cache. The value is an integer ranging from 32 to 255.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the maximum number of the cached fragments of an IPv4 packet is 32 and that of an IPv6 packet is 255.

If the number of fragments of a packet exceeds max-number, the device discards the packet.

Example

# Set the maximum fragments of a packet in the cache to 64.

<sysname> system-view
[sysname] firewall fragment-cache-maximum 64
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >