Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

session-limit (IDS MS-MPC)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
session-limit {
    by-destination {
        by-protocol {
            icmp {
                maximum number;
                packets number;
                rate number;
            }
            tcp {
                maximum number;
                packets number;
                rate number;
            }
            udp {
                maximum number;
                packets number;
                rate number;
            }
        }
        maximum number;
        packets number;
        rate number;
    }
    by-source {
        by-protocol {
            icmp {
                maximum number;
                packets number;
                rate number;
            }
            tcp {
                maximum number;
                packets number;
                rate number;
            }
            udp {
                maximum number;
                packets number;
                rate number;
            }
        }
        maximum number;
        packets number;
        rate number;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit services ids rule rule-name term term-name then]

Description

Configure the IDS rule session limits for an individual destination or source address or subnet. This protects against network probing attacks and network flooding attacks. This IDS rule can only be assigned to a service set on an MS-MPC.

You can specify limits for specific protocols (ICMP, TCP, and UDP), or specify limits independent of a protocol.

When a session limit is exceeded for a source or destination, packets from the source or to the destination are dropped until the session limit is no longer exceeded.

To specify limits for destination or source subnets rather than individual addresses, include the aggregation statement at the [edit services ids rule rule-name term term-name then] hierarchy level.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 17.1.

footer-navigation