Related Documentation
- M Series
- Dynamic Profiles Overview
- MX Series
- Modifying the CHAP Challenge Length
- Controlling the Negotiation Order of PPP Authentication Protocols
- Dynamic Profiles for PPP Subscriber Interfaces Overview
- Attaching Dynamic Profiles to Static PPP Subscriber Interfaces
- Dynamic Profiles Overview
- Configuring a Basic Dynamic Profile
- Example: Minimum PPPoE Dynamic Profile
- Verifying and Managing PPP Configuration for Subscriber Management
Configuring Dynamic Authentication for PPP Subscribers
You can configure a dynamic profile that includes PPP authentication that enables PPP clients to dynamically access the network. You can specify either CHAP or PAP authentication. Optionally, you can also control the order in which the router negotiates the CHAP and PAP protocols.
For dynamic interfaces, the router supports unidirectional authentication only—the router always functions as the authenticator. When you configure PPP authentication in a dynamic profile, CHAP authentication supports the challenge-length option, which enables you to configure the minimum length and maximum length of the CHAP challenge message. Neither CHAP authentication nor PAP authentication supports any other configuration options, including the passive statement.
![]() | Note: Dynamic profiles for PPP subscribers are supported only on PPPoE interfaces. |
To configure authentication in a dynamic profile for PPP subscriber interfaces:
- Name the dynamic profile. [edit]user@host# edit dynamic-profiles vod-profile-25
- Configure the interfaces and unit for the dynamic profile.
Use pp0 for the interface type and the Junos predefined variable
for the unit. [edit dynamic-profiles vod-profile-25]user@host# edit interfaces pp0 unit $junos-interface-unit
- Configure PPP options. [edit dynamic-profiles vod-profile-25 interfaces pp0 unit “$junos-interface-unit”]user@host# edit ppp-options
- Specify the authentication protocol used in the dynamic
profile. You can configure either CHAP or PAP. There are no additional
options for either authentication protocol.[edit dynamic-profiles vod-profile-25 interfaces pp0 unit “$junos-interface-unit” ppp-options]user@host# set chap
- (Optional) Configure the minimum length and maximum length of the CHAP challenge message.
- (Optional) Configure the order in which the router negotiates
the CHAP and PAP authentication protocols.
See Controlling the Negotiation Order of PPP Authentication Protocols.
Related Documentation
- M Series
- Dynamic Profiles Overview
- MX Series
- Modifying the CHAP Challenge Length
- Controlling the Negotiation Order of PPP Authentication Protocols
- Dynamic Profiles for PPP Subscriber Interfaces Overview
- Attaching Dynamic Profiles to Static PPP Subscriber Interfaces
- Dynamic Profiles Overview
- Configuring a Basic Dynamic Profile
- Example: Minimum PPPoE Dynamic Profile
- Verifying and Managing PPP Configuration for Subscriber Management
