Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring Dynamic Access Routes for Subscriber Management

You can dynamically configure access routes for DHCP and PPP subscribers based on the values specified in the following RADIUS attributes:

  • For IPv4 access routes, use the variable, $junos-framed-route-ip-address-prefix. The route prefix variable is dynamically replaced with the value in Framed-Route RADIUS attribute [22].
  • For IPv6 access routes, use the variable, $junos-framed-route-ipv6-address-prefix. The variable is dynamically replaced with the value in Framed-IPv6-Route RADIUS attribute [99].

To dynamically configure access routes:

  1. Configure the route prefix for the access route as a variable.

    For IPv4:

    [edit dynamic-profiles profile-name routing-options]user@host# edit access route $junos-framed-route-ip-address-prefix

    For IPv6:

    [edit dynamic-profiles profile-name routing-options]user@host# edit access route $junos-framed-route-ipv6-address-prefix
  2. Configure the next-hop address as a variable.

    For IPv4:

    [edit dynamic-profiles profile-name routing-options access route “$junos-framed-route-ip-address-prefix”]user@host# set next-hop $junos-framed-route-nexthop

    For IPv6:

    [edit dynamic-profiles profile-name routing-options access route “$junos-framed-route-ipv6-address-prefix”]user@host# set next-hop $junos-framed-route-ipv6-nexthop
  3. Configure the metric as a variable (IPv4 only).
    [edit dynamic-profiles profile-name routing-options access route “$junos-framed-route-ip-address-prefix”]user@host# set metric $junos-framed-route-cost
  4. Configure the preference as a variable (IPv4 only).
    [edit dynamic-profiles profile-name routing-options access route “$junos-framed-route-ip-address-prefix”]user@host# set preference $junos-framed-route-distance
  5. Configure the tag as a variable (IPv4 only).
    [edit dynamic-profiles profile-name routing-options access route “$junos-framed-route-ip-address-prefix”]user@host# set tag $junos-framed-route-tag

Best Practice: We recommend that you always include the access-internal stanza in the dynamic-profile when the access stanza is present for framed route support.

Published: 2013-02-11