How to Configure RADIUS-Sourced Connection Status Updates to CPE Devices
You can use RADIUS-sourced messages to convey information that the BNG transparently forwards to a CPE device, such as a home gateway. For example, this information might be upstream bandwidth or some other connection rate parameter that the CPE device needs.
When you enable this feature, PPP can act on a Connection-Status-Message VSA (26–218) received by authd in either a RADIUS Access-Accept message or a CoA message. PPP then conveys the contents of the VSA in an LCP Connection-Update-Request message to the remote peer. This action requires the following to be true:
At least the first address family has been successfully negotiated and the session is active.
The router LCP is in the Opened state.
Otherwise PPP takes no action on the VSA. If you do not enable the lcp-connection-update option, PPP processes the notification from authd, but takes no action.
You configure this capability in the dynamic client profile associated with subscribers using the CPE device. In practice, you are adding this to numerous other features in the client profile. This example shows only the specific configuration for this feature. This feature also requires you to configure VSA 26-218 on your RADIUS server; that is outside the scope of this documentation.
To configure the connection status updates in a dynamic profile for PPP subscriber interfaces:
- Edit the PPP options in the client profile.[edit dynamic-profiles ppp-client-profile interfaces pp0 unit “$junos-interface-unit”]user@host# edit dynamic-profiles ppp-client-profile interfaces pp0 unit “$junos-interface-unit” ppp-options
- Enable the connection status updates.[edit dynamic-profiles ppp-client-profile interfaces pp0 unit “$junos-interface-unit” ppp-options]user@host# set lcp-connection-update
You can use the show ppp interface extensive command for the PPP logical interface to determine whether LCP connection updates are successful. You can monitor the relevant statistics with the show system subscriber-management statistics ppp command.