Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Applying PPP Attributes to L2TP LNS Subscribers Per Inline Service Interface

You can configure PPP attributes that are applied by the LNS on the inline service (si) interface to the PPP subscribers tunneled from the LAC. Because you are configuring the attributes per interface rather than with a user group profile, the attributes for subscribers can be varied with a finer granularity. This configuration matches that used for terminated PPPoE subscribers.

To configure the PPP attributes for dynamically created si interfaces:

  1. Specify the predefined dynamic interface and logical interface variables in the dynamic profile.
    [edit dynamic-profiles profile-name]user@host# edit interfaces "$junos-interface-ifd-name" unit “$junos-interface-unit”
  2. Configure the interval between PPP keepalive messages for the L2TP tunnel terminating on the LNS.
    [edit dynamic-profiles profile-name interfaces "$junos-interface-ifd-name" unit “$junos-interface-unit”]user@host# set keepalives interval seconds
  3. Configure PPP authentication methods that apply to tunneled PPP subscribers at the LNS.
    [edit dynamic-profiles profile-name interfaces "$junos-interface-ifd-name" unit “$junos-interface-unit”]user@host# set ppp-options chapuser@host# set ppp-options pap

To configure the PPP attributes for statically created si interfaces:

  1. Specify the logical inline service interface.
    [edit interfaces si-slot/pic/port]user@host# edit unit logical-unit-number
  2. Configure the interval between PPP keepalive messages for the L2TP tunnel terminating on the LNS.
    [edit interfaces si-slot/pic/port unit logical-unit-number]user@host# set keepalives interval seconds
  3. Configure the number of keepalive packets a destination must fail to receive before the network takes down a link.
    [edit interfaces si-slot/pic/port unit logical-unit-number]user@host# set keepalives down-count number

    Note: The keepalives up-count option is typically not used for subscriber management.

  4. Configure PPP authentication methods that apply to tunneled PPP subscribers at the LNS.
    [edit interfaces si-slot/pic/port unit logical-unit-number]user@host# set ppp-options chapuser@host# set ppp-options pap

Best Practice: Although all other statements subordinate to ppp-options—including those subordinate to chap and pap—are supported, they are typically not used for subscriber management. We recommend that you leave these other statements at their default values.

Note: You can also configure PPP attributes with a user group profile that applies the attributes to all subscribers with that profile on a LAC client. See Applying PPP Attributes to L2TP LNS Subscribers with a User Group Profile for more information. When you configure the PPP attributes for L2TP LNS subscribers both on the si interface and in user group profiles, the inline service interface configuration takes precedence over the user group profile configuration.

Published: 2012-11-29

Supported Platforms

Published: 2012-11-29