home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

clear session limit

Clears session related data.

clear session limit [ group | parameter parameter ]
group
Clears session limit group information.
parameter
Clears session limit parameter information for the specified parameter.

Operational mode

Use this command to clear session related data.

Clears maximum half-open, established, and terminating counts; maximum 1s, 1m, and 5m rates; maximum 1s, 1m, and 5m drops; rate-limit blocked counts, and half-open blocked counts. If "group" is specified, the per-rule allowed and blocked counts are reset. There is no option to clear specific groups.

Each session limit parameter maintains counts for sessions in the New, Established, and Terminating states. These sessions are protocol dependent. The table below shows how the state is determined for the four main session protocol types.
Note: There is no Terminating state equivalent for UDP, ICMP Echo, and so on.
Table 1. Main session protocol types
New Established Terminating
TCP syn-sent, simsyn-sent, syn-received Established fin-sent, fin-received, close-wait, fin-wait, closing, last-ack, time-wait
UDP One or more packets in forward direction One or more packets seen in each direction Not applicable
ICMP echo Echo request in forward direction Echo reply in backward direction Not applicable
Other One or more packets in forward direction One or more packets seen in each direction Not applicable