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:

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

Related Topics