PPPoL2TP configuration and commands [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:bras_bng:bras_pppoe:pppol2tp_conf [2025/09/29 16:29] elena.krasnobryzhen:dpi:bras_bng:bras_pppoe:pppol2tp_conf [2026/06/15 13:53] (current) elena.krasnobryzh
Line 20: Line 20:
 | ''bras_l2tp_enable''          | Enabling BRAS L2TP (PPPoL2TP) functionality. Note: the ''bras_enable'' option must be enabled. Requires restart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                              | | ''bras_l2tp_enable''          | Enabling BRAS L2TP (PPPoL2TP) functionality. Note: the ''bras_enable'' option must be enabled. Requires restart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                              |
 | ''bras_l2tp_max_retransmit''  | Maximum number of CTL message retransmits (RFC 2661 p.5.8). If no acknowledgment is received for any retransmit — the tunnel is closed (as inactive).  \\ Does not require restart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Default value — 5                                                                                                    | | ''bras_l2tp_max_retransmit''  | Maximum number of CTL message retransmits (RFC 2661 p.5.8). If no acknowledgment is received for any retransmit — the tunnel is closed (as inactive).  \\ Does not require restart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Default value — 5                                                                                                    |
-| ''bras_l2tp_mru''             | Maximum size of a PPP packet encapsulated in L2TP. If an MTU is not explicitly set for the L2TP server — the value of the ''bras_l2tp_mru'' option is used.\\ :!: Parameter can be configured at the LNS server level via CLI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Default value — 1460                                                                                                 |+| ''bras_l2tp_mru''             | Maximum size of a PPP packet encapsulated in L2TP. If an MTU is not explicitly set for the L2TP server — the value of the ''bras_l2tp_mru'' option is used.\\ :!: Parameter can be configured at the LNS server level via CLI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Default value — 1462                                                                                                 |
 | ''bras_l2tp_ratelimit''       | Control of the number of requests from a subscriber to open an L2TP tunnel/session per second (L2TP spam prevention). \\ Does not require restart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | 0 — control disabled (default value)                                                                                | | ''bras_l2tp_ratelimit''       | Control of the number of requests from a subscriber to open an L2TP tunnel/session per second (L2TP spam prevention). \\ Does not require restart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | 0 — control disabled (default value)                                                                                |
 | ''bras_l2tp_ratelimit_ban''   | Ban time for a subscriber when ''bras_l2tp_ratelimit'' is exceeded, in seconds.  \\ Does not require restart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | When control mode bras_l2tp_ratelimit is enabled (bras_l2tp_ratelimit != 0), this parameter must be set to a value other than 0  | | ''bras_l2tp_ratelimit_ban''   | Ban time for a subscriber when ''bras_l2tp_ratelimit'' is exceeded, in seconds.  \\ Does not require restart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | When control mode bras_l2tp_ratelimit is enabled (bras_l2tp_ratelimit != 0), this parameter must be set to a value other than 0  |
Line 29: Line 29:
  
 **CLI Commands:** **CLI Commands:**
-^ Command                            ^ Description                                                                                                                                                                              +^ Command                            ^ Description                                                                                                                                                                                   
-| ''l2tp server add IP <props>''     | Adding a new L2TP server                                                                                                                                                        +| ''l2tp server add IP <props>''     | Adding a new L2TP server                                                                                                                                                                      
-| ''l2tp server modify IP <props>''  | Modifying properties of an already set L2TP server                                                                                                                                          +| ''l2tp server modify IP <props>''  | Modifying properties of an already set L2TP server                                                                                                                                            
-| ''l2tp server delete IP''          | Deleting an L2TP server                                                                                                                                                                 +| ''l2tp server delete IP''          | Deleting an L2TP server                                                                                                                                                                       
-| ''l2tp show [all|IP]''             | Viewing L2TP server properties                                                                                                                                                        +| ''l2tp server show [all|IP]''      | Viewing L2TP server properties                                                                                                                                                                
-| ''l2tp stat [all|IP]''             | Viewing L2TP server statistics                                                                                                                                                     |+| ''l2tp server stat [all|IP]''      | Viewing L2TP server statistics                                                                                                                                                                |
 | ''l2tp term''                      | Termination of all L2TP sessions. It is possible to specify parameters ''ip'', ''mac'', ''subs_id'', ''login'' or ''all'':\\ ''l2tp term [hard] [ip=X | mac=X | subs_id=X | login=X | all]''  | | ''l2tp term''                      | Termination of all L2TP sessions. It is possible to specify parameters ''ip'', ''mac'', ''subs_id'', ''login'' or ''all'':\\ ''l2tp term [hard] [ip=X | mac=X | subs_id=X | login=X | all]''  |