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:
- Configure the route prefix for the access route
as a variable.
For IPv4:
For IPv6:
- 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-nexthopFor 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 - 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
- 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
- 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
- Access and Access-Internal Routes for Subscriber Management
- RADIUS IETF Attributes Supported by the AAA Service Framework
- Configuring Dynamic Access-Internal Routes for DHCP Subscriber Management
- Configuring Dynamic Access-Internal Routes for PPP Subscriber Management
- Verifying the Configuration of Access and Access-Internal Routes for Subscriber Management
