short-cycle-protection (Static and Dynamic Subscribers)
Syntax
short-cycle-protection <lockout-time-min minimum-seconds> <lockout-time-max maximum-seconds> <filter [aci]> ;
Hierarchy Level
[edit dynamic-profiles profile-name interfaces demux0 unit logical-unit-number family pppoe], [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number family pppoe], [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number pppoe-underlying-options], [edit interfaces demux0 unit logical-unit-number family pppoe] [edit interfaces interface-name unit logical-unit-number family pppoe], [edit interfaces interface-name unit logical-unit-number pppoe-underlying-options], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family pppoe], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number pppoe-underlying-options]
Description
Configure the router to temporarily prevent (lock
out) a failed or short-lived (also known as short-cycle) PPPoE subscriber
session from reconnecting for a default or configurable period of
time. You can optionally override the default lockout time, 1 through
300 seconds (5 minutes), by specifying the minimum lockout
time and maximum lockout time as part of the short-cycle-protection
statement. You can optionally specify the lockout based on the ACI,
which locks out all PPPoE subscriber sessions that come from the same
household and share the same ACI string.
You can configure PPPoE subscriber session lockout, also known as short-cycle protection, for VLAN, VLAN demux, and PPPoE-over-ATM dynamic subscriber interfaces. Enabling PPPoE subscriber session lockout reduces excessive loading on the router, prevents failed or short-lived sessions from disrupting other sessions on the same underlying interface, and preserves valuable system resources.
Options
filter aci
—(Optional) Use the
agent circuit identifier (ACI) lockout for all subscriber sessions.
lockout-time-min minimum-seconds
—(Optional) Use the specified minimum lockout time for failed
or short-lived PPPoE subscriber sessions. The minimum-seconds value must be less than or equal to the maximum-seconds value. Setting minimum-seconds and maximum-seconds to the same value causes the lockout time
to become fixed at that value.
Range: 1 through 86400 (24 hours)
Default: 1
lockout-time-max maximum-seconds
—(Optional) Use the specified maximum lockout time for failed
or short-lived PPPoE subscriber sessions. The maximum-seconds value must be equal to or greater than the minimum-seconds value. Setting maximum-seconds and minimum-seconds to the same value causes the lockout time
to become fixed at that value.
Range: 1 through 86400 (24 hours)
Default: 300 (5 minutes)
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 11.4.