nat user-session create-rate

Function

The nat user-session create-rate command sets the rate at which packets are sent to create a flow on a NAT device.

The undo nat user-session create-rate command restores the default rate.

By default, the rate at which packets are sent to create a flow for users is 4 kpps.

This command is supported only on the NetEngine 8000 F1A.

Format

nat user-session create-rate rate

undo nat user-session create-rate [ rate ]

Parameters

Parameter Description Value
create-rate rate

Specifies the rate at which packets are sent to create a user session flow on a NAT device.

The value is an integer ranging from 1 to 64, in kpps.

Views

NAT instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

Usage Scenario

To set the rate at which packets are sent to create a flow on a NAT device, run the nat user-session create-rate command. If the rate at which packets are sent exceeds the configured rate, excess packets are discarded.

Prerequisites

The limitation on the rate at which packets are sent to create a flow on a NAT device has been enabled using the nat user-session create-rate limit enable command. This function is enabled on a device by default.

Example

# Set the rate at which packets are sent to create a flow on a NAT device to 32 kpps in a NAT instance named cpe1.
<HUAWEI> system-view
[~HUAWEI] nat instance cpe1 id 1
[*HUAWEI-nat-instance-cpe1] nat user-session create-rate 32
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >