Supported Platforms
Related Documentation
Junos OS Predefined Variables That Correspond to RADIUS Attributes and VSAs
Table 1 lists the RADIUS attributes and Juniper Networks VSAs and their corresponding Junos OS predefined variables that are used in dynamic profiles. When the router instantiates a dynamic profile following subscriber access, the Junos OS uses the predefined variable to specify the RADIUS attribute or VSA for the information obtained from the RADIUS server.
Table 1: RADIUS Attributes and Corresponding Junos OS Predefined Variables
RADIUS Attribute or VSA | Junos OS Predefined Variable | Description | Default Value Support for Junos OS Predefined Variable |
---|---|---|---|
RADIUS Attribute | |||
Framed-IP-Address (8) | $junos-framed-route-ip-address | Address for the client | No |
Filter-ID (11) | $junos-input-filter Note: Variable is also used for VSA 26–10. | Input filter to apply to client IPv4 interface | Yes |
Framed-Route (22) | $junos-framed-route-ip-address-prefix | (Subattribute 1): Route prefix for access route | No |
$junos-framed-route-nexthop | (Subattribute 2): Next hop address for access route | No | |
$junos-framed-route-cost | (Subattribute 3): Metric for access route | No | |
$junos-framed-route-distance | (Subattribute 5): Preference for access route | No | |
$junos-framed-route-tag | (Subattribute 6): Tag for access route | No | |
Framed-IPv6-Prefix (97) | $junos-ipv6-ndra-prefix | Prefix value in IPv6 Neighbor Discovery route advertisements | No |
Framed-IPv6-Route (99) | $junos-framed-route-ipv6-address-prefix | (Subattribute 1): Framed IPv6 route prefix configured for the client | No |
$junos-framed-route-ipv6-cost | (Subattribute 3): Metric for access route | No | |
$junos-framed-route-ipv6-distance | (Subattribute 5): Preference for access route | No | |
$junos-framed-route-ipv6-nexthop | (Subattribute 2): IPv6 routing information configured for the client | No | |
$junos-framed-route-ipv6-tag | (Subattribute 6): Tag for access route | No | |
Juniper Networks VSA | |||
Virtual-Router (26–1) | $junos-routing-instance | Routing instance to which subscriber is assigned | No |
Ingress-Policy-Name (26–10) | $junos-input-filter Note: Variable is also used for RADIUS attribute 11. | Input filter to apply to client IPv4 interface | Yes |
Egress-Policy-Name (26–11) | $junos-output-filter | Output filter to apply to client IPv4 interface | Yes |
IGMP-Enable (26–23) | $junos-igmp-enable | Enable or disable IGMP on client interface | Yes |
IGMP-Access-Name (26–71) | $junos-igmp-access-group-name | Access list to use for the group (G) filter | Yes |
IGMP-Access-Src-Name (26–72) | $junos-igmp-access-source-group-name | Access List to use for the source group (S,G) filter | Yes |
MLD-Access-Name (26–74) | $junos-mld-access-group-name | Access list to use for the group (G) filter | Yes |
MLD-Access-Src-Name (26–75) | $junos-mld-access-source-group-name | Access List to use for the source group (S,G) filter | Yes |
MLD-Version (26–77) | $junos-mld-version | MLD protocol version | Yes |
IGMP-Version (26–78) | $junos-igmp-version | IGMP protocol version | Yes |
IGMP-Immediate-Leave (26–97) | $junos-igmp-immediate-leave | IGMP immediate leave | Yes |
MLD-Immediate-Leave (26–100) | $junos-mld-immediate-leave | MLD immediate leave | Yes |
IPv6-Ingress-Policy-Name (26–106) | $junos-input-ipv6-filter | Input filter to apply to client IPv6 interface | Yes |
IPv6-Egress-Policy-Name (26–107) | $junos-output-ipv6-filter | Output filter to apply to client IPv6 interface | Yes |
CoS-Traffic-Control-Profile- | $junos-cos-scheduler-map | (T01: Scheduler-map name) Name of scheduler map configured in traffic-control profile | Yes |
$junos-cos-shaping-rate | (T02: Shaping rate) Shaping rate configured in traffic-control profile | Yes | |
$junos-cos-guaranteed-rate | (T03: Guaranteed rate) Guaranteed rate configured in traffic-control profile | Yes | |
$junos-cos-delay-buffer-rate | (T04: Delay-buffer rate) Delay-buffer rate configured in traffic-control profile | Yes | |
$junos-cos-excess-rate | (T05; Excess rate) Excess rate configured in traffic-control profile | Yes | |
$junos-cos-traffic-control-profile | (T06: Traffic-control profile) Name of the traffic-control profile configured in a dynamic profile | Yes | |
$junos-cos-shaping-mode | (T07; Shaping mode) CoS shaping mode configured in a dynamic profile | Yes | |
$junos-cos-byte-adjust | (T08; Byte adjust) Byte adjustments configured for the shaping mode in a dynamic profile | Yes | |
$junos-cos-adjust-minimum | (T09; Adjust minimum) Minimum adjusted value allowed for the shaping rate in a dynamic profile | Yes | |
$junos-cos-excess-rate-high | (T10; Excess rate high) Excess rate configured for high-priority traffic in a dynamic profile | Yes | |
$junos-cos-excess-rate-low | (T11; Excess rate low) Excess rate configured for low-priority traffic in a dynamic profile | Yes | |
$junos-cos-shaping-rate-burst | (T12; Shaping rate burst) Burst size configured for the shaping rate in a dynamic profile | Yes | |
$junos-cos-guaranteed-rate-burst | (T13; Guaranteed rate burst) Burst size configured for the guaranteed rate in a dynamic profile | Yes | |
Qos-Set-Name (26–130) | $junos-interface-set-name | Name of an interface set configured in a dynamic profile | Yes |
CoS-Scheduler-Pmt-Type (26–146) | $junos-cos-scheduler | (Null: Scheduler name) Name of scheduler configured in a dynamic profile | Yes |
$junos-cos-scheduler-tx | (T01: CoS scheduler transmit rate) Transmit rate for scheduler configured in a dynamic profile | Yes Available for multiple parameters:
| |
$junos-cos-scheduler-bs | (T02: CoS scheduler buffer size) Buffer size for scheduler configured in a dynamic profile | Yes Available for multiple parameters:
| |
$junos-cos-scheduler-pri | (T03: CoS scheduler priority) Packet-scheduling priority for scheduler configured in a dynamic profile | Yes | |
$junos-cos-scheduler-dropfile-low | (T04: CoS scheduler drop-profile low) Name of drop profile for RED loss-priority level low for scheduler configured in a dynamic profile | Yes | |
$junos-cos-scheduler-dropfile-medium-low | (T05: CoS scheduler drop-profile medium-low) Name of drop profile for RED loss-priority level medium-low for scheduler configured in a dynamic profile | Yes | |
$junos-cos-scheduler-dropfile-medium-high | (T06: CoS scheduler drop-profile medium-high) Name of drop profile for RED loss-priority level medium-high for scheduler configured in a dynamic profile | Yes | |
$junos-cos-scheduler-dropfile-high | (T07: CoS scheduler drop-profile high) Name of drop profile for RED loss-priority level high for scheduler configured in a dynamic profile | Yes | |
$junos-cos-scheduler-dropfile-any | (T08: CoS scheduler drop-profile any) Name of drop profile for RED loss-priority level any for scheduler configured in a dynamic profile | Yes | |
$junos-cos-scheduler-excess-rate | (T09: CoS scheduler excess rate) Excess rate configured for a scheduler in a dynamic profile | Yes Available for multiple parameters:
| |
$junos-cos-scheduler-shaping-rate | (T10: CoS scheduler shaping rate) Shaping rate configured for a scheduler in a dynamic profile | Yes Available for multiple parameters:
| |
$junos-cos-scheduler-excess-priority | (T11: CoS scheduler excess priority) Excess priority configured for a scheduler in a dynamic profile | Yes |